diff --git a/stimulus_reflex.gemspec b/stimulus_reflex.gemspec index 6cf5ff00..029d8b1d 100644 --- a/stimulus_reflex.gemspec +++ b/stimulus_reflex.gemspec @@ -39,12 +39,12 @@ Gem::Specification.new do |gem| gem.required_ruby_version = ">= 3.0.0" - 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 + 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" @@ -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"