Sha256: 6c1fb34027637214fb1bd3a0c28ae6bdf80dc5583fed5ae04f533060f48eba01

Contents?: true

Size: 933 Bytes

Versions: 8

Compression:

Stored size: 933 Bytes

Contents

suite_condition("Curb is not useful on JRuby") do
  RUBY_PLATFORM != 'java'
end

# There appears to be a bug in curb 0.8.6 that manifests in hangs of this suite
# when run on Ruby 1.8.7 or REE, so don't run against that version on those
# Rubies.
curb_version_spec = RUBY_VERSION == "1.8.7" ? '0.8.5' : '~>0.8.6'
gemfile <<-RB
  gem 'curb', '#{curb_version_spec}'
  gem 'rack'
  gem 'json', :platforms => [:rbx, :mri_18]

  # We try translating URIs through Addressable if it's there, so test with it.
  gem 'addressable', :require => 'addressable/uri'
RB

gemfile <<-RB
  gem 'curb', '#{curb_version_spec}'
  gem 'rack'
  gem 'json', :platforms => [:rbx, :mri_18]
RB

# Older curb's than 0.8.6 don't build against Ruby 2.2.0-preview1
# Recheck on later RC's, but for now, just skip this env for Ruby 2.2.0
if RUBY_VERSION < "2.2.0"
gemfile <<-RB
  gem 'curb', '0.8.1'
  gem 'rack'
  gem 'json', :platforms => [:rbx, :mri_18]
RB
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
newrelic_rpm-3.11.2.286 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.11.1.284 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.11.0.283 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.10.0.279 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.9.9.275 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.9.8.273 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.9.7.266 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.9.6.257 test/multiverse/suites/curb/Envfile