Sha256: 3be7331800c7f59722dbc43c0af0e2f0734f80e54b9b62fd93f18df63745f7d2

Contents?: true

Size: 1.26 KB

Versions: 4

Compression:

Stored size: 1.26 KB

Contents

boilerplate_gems = <<-BOILERPLATE
  gem 'rack'
  gem 'rake'
  if RUBY_PLATFORM == 'java'
    gem "activerecord-jdbcmysql-adapter"
  else
    gem 'mysql'
  end
BOILERPLATE

if RUBY_VERSION >= '1.9.3'
  gemfile <<-RB
    gem 'activerecord', '~> 4.2.0'
    gem 'minitest', '~> 5.2.3'
    #{boilerplate_gems}
  RB

  gemfile <<-RB
    gem 'activerecord', '~> 4.1.6'
    gem 'minitest', '~> 5.2.3'
    #{boilerplate_gems}
  RB

  gemfile <<-RB
    gem 'activerecord', '~> 4.0.11'
    #{boilerplate_gems}
  RB
end

gemfile <<-RB
  gem 'activerecord', '~> 3.2.19'
  #{boilerplate_gems}
RB

gemfile <<-RB
  gem 'activerecord', '~> 3.1.12'
  #{boilerplate_gems}
RB

gemfile <<-RB
  gem 'activerecord', '~> 3.0.20'
  #{boilerplate_gems}
RB

# We pull in Rails on the older verions because ActiveRecord didn't have all
# the tasks we need for setup, and there are some TestUnit vs Minitest oddities
#
# JRuby testing with 1.7 on Rails 2.x has issues and was already excluded in
# test:env
if RUBY_VERSION <= '1.9.3' && (!defined?(RUBY_ENGINE) || RUBY_ENGINE != 'jruby')
gemfile <<-RB
  gem 'rails', '~> 2.3.18'
  #{boilerplate_gems}
RB

gemfile <<-RB
  gem "rails", "~> 2.2.3"
  #{boilerplate_gems}
RB
end

if RUBY_VERSION < '1.9.2'
gemfile <<-RB
  gem "rails", "~> 2.1.2"
  #{boilerplate_gems}
RB
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
newrelic_rpm-3.12.0.288 test/multiverse/suites/active_record/Envfile
newrelic_rpm-3.11.2.286 test/multiverse/suites/active_record/Envfile
newrelic_rpm-3.11.1.284 test/multiverse/suites/active_record/Envfile
newrelic_rpm-3.11.0.283 test/multiverse/suites/active_record/Envfile