test/multiverse/suites/excon/Envfile in newrelic_rpm-3.11.2.286 vs test/multiverse/suites/excon/Envfile in newrelic_rpm-3.12.0.288

- old
+ new

@@ -1,10 +1,17 @@ -if defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx" - # Excon 0.10.0 doesn't seem to work on Rubinius 2.2.10 - excon_versions = %w(0.25.0 0.24.0 0.19.0 0.18.0) +if RUBY_VERSION >= '2.2.0' + excon_versions = %w(0.45.3) else - excon_versions = %w(0.25.0 0.24.0 0.19.0 0.18.0 0.10.0) + excon_versions = %w(0.45.3 + 0.25.0 + 0.24.0 + 0.19.0 + 0.18.0 + 0.10.0) end + +# Excon 0.10.0 doesn't seem to work on Rubinius 2.2.10 +excon_versions.delete("0.10.0") if defined?(RUBY_ENGINE) && RUBY_ENGINE == "rbx" excon_versions.each do |excon_version| gemfile <<-RB gem 'excon', '~> #{excon_version}' gem 'rack'