Sha256: 5491ba93fb7eedbe5b76a98944d283936a944d1980103cf748355c30487b9b52

Contents?: true

Size: 1.25 KB

Versions: 10

Compression:

Stored size: 1.25 KB

Contents

suite_condition("Typhoeus not supported in 1.8.6 and 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.6') &&
  (RUBY_VERSION != '1.8.7' || RUBY_DESCRIPTION =~ /Enterprise/)
end

gemfile <<-RB
  gem 'typhoeus', '~> 0.6.3'
  gem 'rack'
  if RUBY_VERSION < '1.9.0'
    gem 'json'
  end
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'
  if RUBY_VERSION < '1.9.0'
    gem 'json'
  end
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'
  if RUBY_VERSION < '1.9.0'
    gem 'json'
  end
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'
  if RUBY_VERSION < '1.9.0'
    gem 'json'
  end
RB

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
newrelic_rpm-3.7.1.182 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.7.1.180 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.7.0.177 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.7.0.174.beta test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.6.9.171 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.6.8.168 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.6.8.164 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.6.7.159 test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.6.7.159.beta test/multiverse/suites/typhoeus/Envfile
newrelic_rpm-3.6.7.152 test/multiverse/suites/typhoeus/Envfile