Sha256: 08e8d19f6f052ac56e2b556c7f0b169b2052af83e3e93c6a1c64997a67bbde17

Contents?: true

Size: 956 Bytes

Versions: 1

Compression:

Stored size: 956 Bytes

Contents

suite_condition("only test on < 2.4"){ RUBY_VERSION < '2.4.0' }

adapter_gems = <<-RB
  gem 'dm-sqlite-adapter'

  # Pin this version as the adapter breaks with later ones
  gem 'jdbc-sqlite3', '~> 3.7.2.1', :platforms => [:jruby]

  # Needed for the fake collector
  gem 'rack'
RB

gemfile <<-RB
  gem 'json', '>= 1.8.1'
  gem 'datamapper', '~> 1.2.0', :require => 'data_mapper'
  gem 'dm-ar-finders', '~> 1.2.0'
  gem 'addressable', '2.3.8', :require => 'addressable/uri' # addressable >= 2.4.0 does not support Ruby 1.8.7
  #{adapter_gems}
RB

if RUBY_VERSION < '2.0.0'
gemfile <<-RB
  gem 'datamapper', '~> 1.1.0'
  gem 'dm-ar-finders', '~> 1.1.0'
  gem 'addressable', :require => 'addressable/uri'
  #{adapter_gems}
RB

gemfile <<-RB
  gem 'datamapper', '~> 1.0.2'
  gem 'dm-ar-finders', '~> 1.0.2'
  gem 'addressable', '2.3.8', :require => 'addressable/uri' # addressable >= 2.4.0 does not support Ruby 1.8.7
  #{adapter_gems}
RB
end

# vim: ft=ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
newrelic_rpm-3.18.0.329 test/multiverse/suites/datamapper/Envfile