Sha256: 53a638487864064de69ba686fbc9cfd898ff4eac0c6a6280a5b549f2fea350f2

Contents?: true

Size: 863 Bytes

Versions: 10

Compression:

Stored size: 863 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', :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
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

10 entries across 10 versions & 2 rubygems

Version Path
newrelic_rpm-3.14.1.311 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.14.0.305 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.13.2.302 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.13.1.300 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.13.0.299 test/multiverse/suites/curb/Envfile
mmtrix_rpm-1.0.0.3 test/multiverse/suites/curb/Envfile
mmtrix_rpm-1.0.0.2 test/multiverse/suites/curb/Envfile
mmtrix_rpm-1.0.0.1 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.12.1.298 test/multiverse/suites/curb/Envfile
newrelic_rpm-3.12.0.288 test/multiverse/suites/curb/Envfile