Skip to content

Commit

Permalink
Merge pull request #1119 from Shopify/update-minimum-versions
Browse files Browse the repository at this point in the history
Require Ruby 3.1 and Rails 6.1
  • Loading branch information
etiennebarrie authored Nov 15, 2024
2 parents 4f7a4c5 + 9815ab9 commit e498cf0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ PATH
remote: .
specs:
maintenance_tasks (2.8.0)
actionpack (>= 6.0)
activejob (>= 6.0)
activerecord (>= 6.0)
actionpack (>= 6.1)
activejob (>= 6.1)
activerecord (>= 6.1)
csv
job-iteration (>= 1.3.6)
railties (>= 6.0)
railties (>= 6.1)
zeitwerk (>= 2.6.2)

GEM
Expand Down
11 changes: 6 additions & 5 deletions maintenance_tasks.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
spec.summary = "A Rails engine for queuing and managing maintenance tasks"
spec.license = "MIT"

spec.required_ruby_version = ">= 3.0"
spec.required_ruby_version = ">= 3.1"

spec.metadata = {
"source_code_uri" =>
Expand All @@ -21,11 +21,12 @@ Gem::Specification.new do |spec|
spec.bindir = "exe"
spec.executables = ["maintenance_tasks"]

spec.add_dependency("actionpack", ">= 6.0")
spec.add_dependency("activejob", ">= 6.0")
spec.add_dependency("activerecord", ">= 6.0")
minimum_rails_version = "6.1"
spec.add_dependency("actionpack", ">= #{minimum_rails_version}")
spec.add_dependency("activejob", ">= #{minimum_rails_version}")
spec.add_dependency("activerecord", ">= #{minimum_rails_version}")
spec.add_dependency("csv")
spec.add_dependency("job-iteration", ">= 1.3.6")
spec.add_dependency("railties", ">= 6.0")
spec.add_dependency("railties", ">= #{minimum_rails_version}")
spec.add_dependency("zeitwerk", ">= 2.6.2")
end

0 comments on commit e498cf0

Please sign in to comment.