Skip to content

Commit

Permalink
Add support for Que v0 and v1
Browse files Browse the repository at this point in the history
  • Loading branch information
mrrooijen committed May 23, 2024
1 parent 69879d6 commit fb35d78
Show file tree
Hide file tree
Showing 46 changed files with 845 additions and 47 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
- good_job_2
- good_job_3
- queue_classic_4
- que_0
- que_1
- que_2
- rack_2
- rack_3
Expand Down
12 changes: 12 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@ appraise "queue_classic_4" do
gem "queue_classic", "~> 4"
end

appraise "que_0" do
gem "pg"
gem "rails", "~> 7"
gem "que", "~> 0", require: false
end

appraise "que_1" do
gem "pg"
gem "rails", "~> 7"
gem "que", "~> 1", require: false
end

appraise "que_2" do
gem "pg"
gem "rails", "~> 7"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## v1.0.3

* Add support for `que ~> 0` and `que ~> 1`, in addition to `que ~> 2`, for both the `job_queue_size` and `job_queue_latency` macros.

## v1.0.2

* Add support for dashes in `HireFire::Worker` names to match the Procfile process naming format. `HireFire::Worker` is implicitly used when configuring HireFire using the `HireFire::Configuration#dyno` method.
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
hirefire-resource (1.0.2)
hirefire-resource (1.0.3)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ APPRAISAL_VERSIONS = {
"delayed_job_mongoid" => %w[3],
"queue_classic" => %w[4],
"resque" => %w[2],
"que" => %w[2]
"que" => %w[0 1 2]
}

def matrix
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/bunny_2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
hirefire-resource (1.0.2)
hirefire-resource (1.0.3)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/default.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
hirefire-resource (1.0.2)
hirefire-resource (1.0.3)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/delayed_job_active_record_4.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
hirefire-resource (1.0.2)
hirefire-resource (1.0.3)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/delayed_job_mongoid_3.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
hirefire-resource (1.0.2)
hirefire-resource (1.0.3)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/good_job_2.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
hirefire-resource (1.0.2)
hirefire-resource (1.0.3)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/good_job_3.gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ..
specs:
hirefire-resource (1.0.2)
hirefire-resource (1.0.3)

GEM
remote: https://rubygems.org/
Expand Down
20 changes: 20 additions & 0 deletions gemfiles/que_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "debug"
gem "rake"
gem "standardrb"
gem "minitest"
gem "webmock"
gem "mocha"
gem "timecop"
gem "yard"
gem "rack"
gem "webrick"
gem "simplecov", require: false
gem "pg"
gem "rails", "~> 7"
gem "que", "~> 0", require: false

gemspec path: "../"
Loading

0 comments on commit fb35d78

Please sign in to comment.