Skip to content

Commit

Permalink
Update gemspec to be compatible with Rails 8 (#726)
Browse files Browse the repository at this point in the history
Installing stimulus reflex on Rails 8.0 was failing, this change will
get it to install.

---------

Co-authored-by: Marco Roth <[email protected]>
  • Loading branch information
sara-g and marcoroth authored Dec 15, 2024
1 parent b6ca1bd commit 39388ab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ PATH
remote: .
specs:
stimulus_reflex (3.5.2)
actioncable (>= 5.2, < 8)
actionpack (>= 5.2, < 8)
actionview (>= 5.2, < 8)
activesupport (>= 5.2, < 8)
actioncable (>= 5.2)
actionpack (>= 5.2)
actionview (>= 5.2)
activesupport (>= 5.2)
cable_ready (~> 5.0)
nokogiri (~> 1.0)
nokogiri-html5-inference (~> 0.3)
rack (>= 2, < 4)
railties (>= 5.2, < 8)
railties (>= 5.2)
redis (>= 4.0, < 6.0)

GEM
Expand Down Expand Up @@ -253,7 +253,7 @@ DEPENDENCIES
magic_frozen_string_literal (~> 1.2)
minitest (= 5.18.1)
mocha (~> 1.13)
rails (>= 5.2, < 8)
rails (>= 5.2)
rake (~> 13.0)
standard (~> 1.24)
stimulus_reflex!
Expand Down
14 changes: 7 additions & 7 deletions stimulus_reflex.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ Gem::Specification.new do |gem|

gem.required_ruby_version = ">= 3.0.0"

rails_version = [">= 5.2", "< 8"]
gem.add_dependency "actioncable", *rails_version
gem.add_dependency "actionpack", *rails_version
gem.add_dependency "actionview", *rails_version
gem.add_dependency "activesupport", *rails_version
gem.add_dependency "railties", *rails_version
rails_version = ">= 5.2"
gem.add_dependency "actioncable", rails_version
gem.add_dependency "actionpack", rails_version
gem.add_dependency "actionview", rails_version
gem.add_dependency "activesupport", rails_version
gem.add_dependency "railties", rails_version

gem.add_dependency "cable_ready", "~> 5.0"
gem.add_dependency "nokogiri", "~> 1.0"
Expand All @@ -55,7 +55,7 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "bundler", "~> 2.0"
gem.add_development_dependency "magic_frozen_string_literal", "~> 1.2"
gem.add_development_dependency "mocha", "~> 1.13"
gem.add_development_dependency "rails", *rails_version
gem.add_development_dependency "rails", rails_version
gem.add_development_dependency "rake", "~> 13.0"
gem.add_development_dependency "standard", "~> 1.24"
gem.add_development_dependency "minitest", "5.18.1"
Expand Down

0 comments on commit 39388ab

Please sign in to comment.