Skip to content

Commit

Permalink
Use correct strings for version declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Jan 10, 2025
1 parent 0151738 commit c580190
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/fixtures/apps/rails-initializer-config/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

ruby_version = Gem::Version.new(RUBY_VERSION.dup)

gem 'mutex_m', 0.3.0 if ruby_version >= Gem::Version.new('3.4')
gem 'mutex_m', '0.3.0' if ruby_version >= Gem::Version.new('3.4')

gem 'railties', ruby_version <= Gem::Version.new('2.6') ? '4.2.10' : '~> 6.0.2', require: %w(action_controller rails)
gem 'rake', ruby_version <= Gem::Version.new('1.9.3') ? '~> 11.3.0' : '~> 12.3.0'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

ruby_version = Gem::Version.new(RUBY_VERSION.dup)

gem 'mutex_m', 0.3.0 if ruby_version >= Gem::Version.new('3.4')
gem 'mutex_m', '0.3.0' if ruby_version >= Gem::Version.new('3.4')

gem 'railties', ruby_version <= Gem::Version.new('2.6') ? '4.2.10' : '~> 6.0.2', require: %w(action_controller rails)
gem 'rake', ruby_version <= Gem::Version.new('1.9.3') ? '~> 11.3.0' : '~> 12.3.0'
Expand Down
2 changes: 1 addition & 1 deletion spec/fixtures/apps/rails-no-config/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'

ruby_version = Gem::Version.new(RUBY_VERSION.dup)

gem 'mutex_m', 0.3.0 if ruby_version >= Gem::Version.new('3.4')
gem 'mutex_m', '0.3.0' if ruby_version >= Gem::Version.new('3.4')

gem 'railties', ruby_version <= Gem::Version.new('2.6') ? '4.2.10' : '~> 6.0.2', require: %w(action_controller rails)
gem 'rake', ruby_version <= Gem::Version.new('1.9.3') ? '~> 11.3.0' : '~> 12.3.0'
Expand Down

0 comments on commit c580190

Please sign in to comment.