Sha256: 8a1123d65370fc4e05fbf121cedf71e87f265078cf9ea78c4b903c6eea88b265

Contents?: true

Size: 652 Bytes

Versions: 29

Compression:

Stored size: 652 Bytes

Contents

all_versions = [ '~> 1.8.1' ]
before_2_2_0 = [ '~> 1.7.7', '~> 1.6.8', '~> 1.5.5' ]
before_2_0_0 = [ '~> 1.4.6', '~> 1.2.4', '~> 1.1.9' ]
before_1_9_2 = [ '1.1.2' ]

json_gems = all_versions.dup
json_gems += before_2_2_0 if RUBY_VERSION < '2.2.0'
json_gems += before_2_0_0 if RUBY_VERSION < '2.0.0'
json_gems += before_1_9_2 if RUBY_VERSION < '1.9.2'

if defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx"
  json_gems.delete('~> 1.7.7')
end

if defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
  json_gems.delete('~> 1.2.4')
  json_gems.delete('~> 1.1.9')
end

json_gems.each do |version|
  gemfile <<-RB
    gem 'rack'
    gem 'json', '#{version}'
  RB
end

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
mmtrix_rpm-1.0.0.1 test/multiverse/suites/json/Envfile
newrelic_rpm-3.12.1.298 test/multiverse/suites/json/Envfile
newrelic_rpm-3.12.0.288 test/multiverse/suites/json/Envfile
newrelic_rpm-3.11.2.286 test/multiverse/suites/json/Envfile
newrelic_rpm-3.11.1.284 test/multiverse/suites/json/Envfile
newrelic_rpm-3.11.0.283 test/multiverse/suites/json/Envfile
newrelic_rpm-3.10.0.279 test/multiverse/suites/json/Envfile
newrelic_rpm-3.9.9.275 test/multiverse/suites/json/Envfile
newrelic_rpm-3.9.8.273 test/multiverse/suites/json/Envfile