Sha256: 082ad8d6ed79b663d025226e5ffcffcf14c8c7825e6e8d48f26019018b994a3e

Contents?: true

Size: 923 Bytes

Versions: 15

Compression:

Stored size: 923 Bytes

Contents

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

# There appears to be a bug in later curbs (> 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.8'
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', '2.3.8', :require => 'addressable/uri' # addressable >= 2.4.0 does not support Ruby 1.8.7
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
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

15 entries across 15 versions & 2 rubygems

Version Path
newrelic_rpm-3.18.1.330 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.18.0.329 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.17.2.327 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.17.1.326 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.17.0.325 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.16.3.323 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.16.2.321 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.16.1.320 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.16.0.318 test/multiverse/suites/curb/Envfile
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/newrelic_rpm-3.15.2.317/test/multiverse/suites/curb/Envfile
newrelic_rpm-3.15.2.317 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.15.1.316 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.15.0.314 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.14.3.313 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.14.2.312 test/multiverse/suites/curb/Envfile