Skip to content

Commit

Permalink
add racc pin to rails env files
Browse files Browse the repository at this point in the history
  • Loading branch information
tannalynn committed Oct 19, 2021
1 parent c2bb9b7 commit 75c6ebf
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
8 changes: 8 additions & 0 deletions test/multiverse/suites/activemerchant/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ if RUBY_VERSION >= '3.0.0'
gem 'nokogiri'
gem 'minitest', '~> 5.1.0'

gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'

# Need to load newrelic_rpm after ActiveMerchant Gateways are required
gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
RB
Expand All @@ -23,6 +25,8 @@ if RUBY_VERSION >= '2.5.0' && RUBY_VERSION < '3.0.0'
gem 'nokogiri'
gem 'minitest', '~> 5.1.0'

gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'

# Need to load newrelic_rpm after ActiveMerchant Gateways are required
gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
RB
Expand All @@ -37,6 +41,8 @@ if RUBY_VERSION >= '2.3.0' && RUBY_VERSION < '3.0.0'
gem 'nokogiri'
gem 'minitest', '~> 5.1.0'

gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'

# Need to load newrelic_rpm after ActiveMerchant Gateways are required
gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
RB
Expand All @@ -52,6 +58,8 @@ if RUBY_VERSION < '2.4.0'
gem 'activesupport', '~>4.0.4'
gem 'nokogiri', '~>1.6.1'

gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'

# Need to load newrelic_rpm after ActiveMerchant Gateways are required
gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
RB
Expand Down
9 changes: 9 additions & 0 deletions test/multiverse/suites/rails/Envfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
if RUBY_VERSION >= '2.5.0'
gemfile <<-RB
gem 'rails', '~> 6.1.0'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'haml', '~>5.0.0'
gem 'haml-rails', '2.0.0'
gem 'minitest', '5.2.3'
Expand All @@ -12,6 +13,7 @@ if RUBY_VERSION >= '2.5.0' && RUBY_VERSION < '3.0.0'

gemfile <<-RB
gem 'rails', '6.0.0'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'haml', '~>5.0.0'
gem 'haml-rails', '2.0.0'
gem 'minitest', '5.2.3'
Expand All @@ -23,13 +25,15 @@ if RUBY_VERSION >= '2.2.2' && RUBY_VERSION < '3.0.0'

gemfile <<-RB
gem 'rails', '5.2.2'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'haml', '~>5.0.0'
gem 'haml-rails', '~>1.0.0'
gem 'minitest', '5.2.3'
RB

gemfile <<-RB
gem 'rails', '~>5.1.0'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'haml', '~>5.0.0'
gem 'haml-rails', '~>1.0.0'
gem 'minitest', '5.2.3'
Expand All @@ -46,6 +50,7 @@ end
if RUBY_VERSION < '2.4.0'
gemfile <<-RB
gem 'rails', '~>4.2.1'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'haml', '~>5.0.0'
gem 'haml-rails', '~>1.0.0'
gem 'minitest', '5.2.3'
Expand All @@ -54,6 +59,7 @@ if RUBY_VERSION < '2.4.0'

gemfile <<-RB
gem 'rails', '~>4.1.10'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
# Multiverse has an incompatibility with Minitest 5.3.0, so lock here for
# now
gem 'haml', '~>5.0.0'
Expand All @@ -64,20 +70,23 @@ if RUBY_VERSION < '2.4.0'

gemfile <<-RB
gem 'rails', '~>4.0.13'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'haml', '~>5.0.0'
gem 'haml-rails', '~>1.0.0'
gem 'nokogiri', '< 1.7' if RUBY_VERSION < '2.1.0' # nokogiri 1.7.0 only supports >= 2.1.0
RB

gemfile <<-RB
gem 'rails', '~>3.2.22.2'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'i18n', '~>0.6.11'
gem 'haml', '4.0.2' # Getting load issues with haml 4.0.3
gem 'minitest_tu_shim', :require => false
RB

gemfile <<-RB
gem 'rails', '~>3.2.22.2'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'i18n', '~>0.6.11'
gem 'sinatra', '~> 1.4.5'
gem 'haml', '4.0.2' # Getting load issues with haml 4.0.3
Expand Down
9 changes: 8 additions & 1 deletion test/multiverse/suites/rails_prepend/Envfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ if RUBY_VERSION >= '2.5.0' && RUBY_VERSION < '3.0.0'
gem 'haml', '~>5.0.0'
gem 'newrelic_prepender', path: File.expand_path('../newrelic_prepender', __FILE__)
gem 'minitest', '5.2.3'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
RB
end

Expand All @@ -13,19 +14,22 @@ if RUBY_VERSION >= '2.2.2' && RUBY_VERSION < '3.0.0'
gem 'haml', '~>5.0.0'
gem 'newrelic_prepender', path: File.expand_path('../newrelic_prepender', __FILE__)
gem 'minitest', '5.2.3'
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
RB

gemfile <<-RB
gem 'rails', '~>5.1.0'
gem 'haml', '~>5.0.0'
gem 'newrelic_prepender', path: File.expand_path('../newrelic_prepender', __FILE__)
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'minitest', '5.2.3'
RB

gemfile <<-RB
gem 'rails', '~>5.0.0'
gem 'haml', '~>5.0.0'
gem 'newrelic_prepender', path: File.expand_path('../newrelic_prepender', __FILE__)
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
gem 'minitest', '5.2.3'
RB
end
Expand All @@ -38,7 +42,8 @@ if RUBY_VERSION < '2.4.0'
gem 'minitest', '5.2.3'
gem 'nokogiri', '< 1.7' if RUBY_VERSION < '2.1.0' # nokogiri 1.7.0 only supports >= 2.1.0
gem 'thor', '< 0.20.1' if RUBY_PLATFORM == 'java' # unpredictable thor errors
RB
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
RB

gemfile <<-RB
gem 'rails', '~>4.1.10'
Expand All @@ -49,6 +54,7 @@ if RUBY_VERSION < '2.4.0'
gem 'minitest', '5.2.3'
gem 'nokogiri', '< 1.7' if RUBY_VERSION < '2.1.0' # nokogiri 1.7.0 only supports >= 2.1.0
gem 'thor', '< 0.20.1' if RUBY_PLATFORM == 'java' # unpredictable thor errors
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
RB

gemfile <<-RB
Expand All @@ -57,5 +63,6 @@ if RUBY_VERSION < '2.4.0'
gem 'newrelic_prepender', path: File.expand_path('../newrelic_prepender', __FILE__)
gem 'nokogiri', '< 1.7' if RUBY_VERSION < '2.1.0' # nokogiri 1.7.0 only supports >= 2.1.0
gem 'thor', '< 0.20.1' if RUBY_PLATFORM == 'java' # unpredictable thor errors
gem 'racc', '<= 1.5.2' if RUBY_PLATFORM == 'java'
RB
end

0 comments on commit 75c6ebf

Please sign in to comment.