Skip to content

Commit

Permalink
Add base64 gem back into rails
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Jan 10, 2025
1 parent c580190 commit 79f0e84
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
6 changes: 4 additions & 2 deletions spec/fixtures/apps/rails-initializer-config/Gemfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
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')
if ruby_version >= Gem::Version.new('3.4')
gem 'mutex_m', '0.3.0'
gem 'base64', '0.2.0'
end

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
5 changes: 4 additions & 1 deletion spec/fixtures/apps/rails-invalid-initializer-config/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ 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')
if ruby_version >= Gem::Version.new('3.4')
gem 'mutex_m', '0.3.0'
gem 'base64', '0.2.0'
end

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
5 changes: 4 additions & 1 deletion spec/fixtures/apps/rails-no-config/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ 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')
if ruby_version >= Gem::Version.new('3.4')
gem 'mutex_m', '0.3.0'
gem 'base64', '0.2.0'
end

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 79f0e84

Please sign in to comment.