Sha256: 6af34d5c5bbfc152d0d177511576b6b2d729338d268986ba8cf3e31090e7b75d

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 KB

Contents

suite_condition("SideKiq requires MRI 1.9.3 or JRuby 1.6 in 1.9 mode") do
  RUBY_VERSION >= '1.9.3' || (RUBY_PLATFORM == 'java' && RUBY_VERSION >= '1.9')
end

# Sidekiq 3.x does not support MRI 1.9.x
if (RUBY_VERSION >= '2.0.0' && RUBY_VERSION < '2.4.0') || (RUBY_PLATFORM == 'java')
  gemfile <<-RB
    gem 'json'
    gem 'sidekiq', '~> 3.4.2'
    gem 'rack'

    gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
  RB
end

if RUBY_VERSION >= '2.0.0' || (RUBY_PLATFORM == 'java')
  gemfile <<-RB
    gem 'json'
    gem 'sidekiq', '~> 4.0.0'
    gem 'rack'
    gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
  RB
end

if RUBY_VERSION >= '2.0.0' && RUBY_VERSION < '2.4.0' && RUBY_PLATFORM != 'java'
  # We skip testing Sidekiq 3.5.3 on JRuby due to an error in Sidekiq's shutdown:
  # https://github.com/mperham/sidekiq/issues/2703
  gemfile <<-RB
    gem 'json'
    gem 'sidekiq', '~> 3.5.3'
    gem 'rack'
    gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
  RB
end

gemfile <<-RB
  gem 'json'
  gem 'sidekiq', '~> 2.17.8'
  gem 'rack'
  gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
RB

gemfile <<-RB
  # Almost oldest supported version
  # Having rbx issues on 2.8.0, 2.9.0 seems fine.
  gem 'json'
  gem 'sidekiq', '~> 2.9.0'
  gem 'timers', '~> 1.1.0'
  gem 'rack'
  gem 'newrelic_rpm', :require => false, :path => File.expand_path('../../../../')
RB

# vim: ft=ruby

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
newrelic_rpm-3.18.1.330 test/multiverse/suites/sidekiq/Envfile
newrelic_rpm-3.18.0.329 test/multiverse/suites/sidekiq/Envfile