Skip to content

Commit

Permalink
benchmark is stdgem, explicitly list as dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasfed committed Nov 14, 2024
1 parent 05081b7 commit b212e11
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions delayed_job.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Gem::Specification.new do |s|

s.add_dependency 'activerecord', '>= 7', '< 8.1'
s.add_dependency 'railties'
s.add_dependency 'benchmark'

s.add_development_dependency 'bundler'
s.add_development_dependency 'rake'
Expand Down
2 changes: 2 additions & 0 deletions gemfiles/rails_70.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PATH
specs:
delayed_job (1.7.0)
activerecord (>= 7, < 8.1)
benchmark
railties

GEM
Expand Down Expand Up @@ -31,6 +32,7 @@ GEM
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
benchmark (0.4.0)
builder (3.3.0)
concurrent-ruby (1.3.4)
crass (1.0.6)
Expand Down
2 changes: 2 additions & 0 deletions gemfiles/rails_71.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PATH
specs:
delayed_job (1.7.0)
activerecord (>= 7, < 8.1)
benchmark
railties

GEM
Expand Down Expand Up @@ -41,6 +42,7 @@ GEM
mutex_m
tzinfo (~> 2.0)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.8)
builder (3.3.0)
concurrent-ruby (1.3.4)
Expand Down
2 changes: 2 additions & 0 deletions gemfiles/rails_72.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PATH
specs:
delayed_job (1.7.0)
activerecord (>= 7, < 8.1)
benchmark
railties

GEM
Expand Down Expand Up @@ -43,6 +44,7 @@ GEM
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
base64 (0.2.0)
benchmark (0.4.0)
bigdecimal (3.1.8)
builder (3.3.0)
concurrent-ruby (1.3.4)
Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_80.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ PATH
specs:
delayed_job (1.7.0)
activerecord (>= 7, < 8.1)
benchmark
railties

GEM
Expand Down
1 change: 1 addition & 0 deletions lib/delayed/job.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require 'active_record'
require 'benchmark'
require 'socket'

module Delayed
Expand Down
2 changes: 2 additions & 0 deletions lib/delayed/worker.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'benchmark'

module Delayed
class Worker
SLEEP = 5
Expand Down

0 comments on commit b212e11

Please sign in to comment.