Skip to content

Commit b798673

Browse files
committed
Moderize code.
1 parent 45dda96 commit b798673

File tree

16 files changed

+44
-17
lines changed

16 files changed

+44
-17
lines changed

.github/copilot-instructions.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# GitHub Copilot Instructions
2+
3+
## Use Agent Context
4+
5+
When working on this project, consult the `agent.md` file for project-specific guidelines, architecture decisions, and development patterns. This file contains curated information that will help you make better decisions aligned with the project's goals and standards.
6+
7+
If the file does not exist, you will need to install it, by running the following command:
8+
9+
```bash
10+
$ bundle install
11+
$ bundle exec bake agent:context:install
12+
```
13+
14+
This command will set up the necessary context files that help you understand the project structure, dependencies, and conventions.
15+
16+
## Ignoring Files
17+
18+
The `.gitignore` file is split into two sections, separated by a blank line. The first section is automatically generated, while the second section is user controlled.
19+
20+
While working on pull requests, you should not add unrelated changes to the `.gitignore` file as part of the pull request.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
/.bundle
1+
/agent.md
22
/.context
3+
/.bundle
34
/pkg
45
/gems.locked
56
/.covered.db

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
Shopify Inc. <samuel.williams@shopify.com>
2+
Luiz Carlos <llimadosanjos@gmail.com>

async-job.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
77
spec.version = Async::Job::VERSION
88

99
spec.summary = "An asynchronous job queue for Ruby."
10-
spec.authors = ["Samuel Williams", "Shopify Inc.", "Alexey Ivanov"]
10+
spec.authors = ["Samuel Williams", "Shopify Inc.", "Alexey Ivanov", "Garen Torikian", "Luiz Carlos"]
1111
spec.license = "MIT"
1212

1313
spec.cert_chain = ["release.cert"]

bake.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2025, by Samuel Williams.
4+
# Copyright, 2025, by Shopify Inc.
55

66
# Update the project documentation with the new version number.
77
#
88
# @parameter version [String] The new version number.
99
def after_gem_release_version_increment(version)
1010
context["releases:update"].call(version)
11-
context["utopia:project:readme:update"].call
11+
context["utopia:project:update"].call
1212
end

examples/benchmark/async_job_benchmark_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ def perform(index)
1919
PERFORMANCE_LOG.write "{index: #{index}, end_time: #{Process.clock_gettime(Process::CLOCK_MONOTONIC)}}\n"
2020
PERFORMANCE_LOG.flush
2121
end
22-
end
22+
end

examples/benchmark/async_job_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ def benchmark_async_job(job_count = 10_000)
3737
exit 1
3838
end
3939

40-
benchmark_async_job(job_count)
40+
benchmark_async_job(job_count)

examples/benchmark/bake.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# frozen_string_literal: true
2+
3+
# Released under the MIT License.
4+
# Copyright, 2025, by Samuel Williams.
15

26
def performance_log_rate
37
File.open("performance.log", "r") do |file|

examples/benchmark/config/environment.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
begin
2626
require "sidekiq-pro"
2727
require "sidekiq-ent"
28-
28+
2929
Sidekiq::Client.reliable_push!
30-
30+
3131
Sidekiq.configure_server do |config|
3232
config.super_fetch!
3333
config.reliable_scheduler!

examples/benchmark/gems.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22

33
# Released under the MIT License.
4-
# Copyright, 2024, by Samuel Williams.
4+
# Copyright, 2024-2025, by Samuel Williams.
55

66
source "https://rubygems.org"
77

0 commit comments

Comments
 (0)