Sha256: 9c93309cbd88761f04338d8d3518188981d67c6590f2ce4216a2d6386b0a7e2c

Contents?: true

Size: 1.41 KB

Versions: 6

Compression:

Stored size: 1.41 KB

Contents

suite_condition("Typhoeus excluded on 1.8.7 non-REE") do
  # Under Ruby 1.8.7 (but not REE), there are persistent segfaults with Typhoeus
  # and the Ruby agent. This predated our Typhoeus instrumentation, but given
  # usage levels and obscurity of the issue, it isn't worth deeper digging.
  # Just use REE, or better yet >= 1.9
  (RUBY_VERSION != '1.8.7' || RUBY_DESCRIPTION =~ /Enterprise/)
end

gemfile <<-RB
  gem 'typhoeus', '~> 0.6.5'
  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 'typhoeus', '~> 0.6.5'
  gem 'rack'
  gem 'json', :platforms => [:rbx, :mri_18]
RB

gemfile <<-RB
  # Compatibility issues with ethon 0.5.12 https://github.com/typhoeus/ethon/issues/51
  gem 'ethon', '0.5.11'

  gem 'typhoeus', '~> 0.5.4'
  gem 'rack'
  gem 'json', :platforms => [:rbx, :mri_18]
RB

# Earliest supported version
gemfile <<-RB
  # Compatibility issues with ethon 0.5.12 https://github.com/typhoeus/ethon/issues/51
  gem 'ethon', '0.5.11'

  gem 'typhoeus', '0.5.3'
  gem 'rack'
  gem 'json', :platforms => [:rbx, :mri_18]
RB

# Prior to supported versions
gemfile <<-RB
  # Compatibility issues with ethon 0.5.12 https://github.com/typhoeus/ethon/issues/51
  gem 'ethon', '0.5.11'

  gem 'typhoeus', '0.5.2'
  gem 'rack'
  gem 'json', :platforms => [:rbx, :mri_18]
RB

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
newrelic_rpm-3.9.7.266 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.9.6.257 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.9.5.251 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.9.4.245 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.9.3.241 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.9.2.239 test/multiverse/suites/typhoeus/Envfile