gemfiles/rails42.gemfile in rollbar-2.14.0 vs gemfiles/rails42.gemfile in rollbar-2.14.1

- old
+ new

@@ -1,53 +1,52 @@ require 'rubygems/version' -source "https://rubygems.org" +source 'https://rubygems.org' is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE) +is_not_jruby = !is_jruby -gem "sqlite3", :platform => [:ruby, :mswin, :mingw] -gem "jruby-openssl", :platform => :jruby -gem "activerecord-jdbcsqlite3-adapter", :platform => :jruby -gem "appraisal" -gem "rubysl", "~> 2.0", :platform => :rbx -gem "racc", :platform => :rbx -gem "minitest", :platform => :rbx -gem "rubinius-developer_tools", :platform => :rbx -gem "rails", "4.2.3" -gem 'rspec-rails', '~> 3.4' +gem 'appraisal' +gem 'activerecord-jdbcsqlite3-adapter', :platform => :jruby +gem 'jruby-openssl', :platform => :jruby +gem 'rails', '4.2.3' gem 'rake' +gem 'rspec-rails', '~> 3.4' +gem 'sqlite3', :platform => [:ruby, :mswin, :mingw] gem 'sidekiq', '>= 2.13.0' if RUBY_VERSION != '1.8.7' -if RUBY_VERSION.start_with?('1.9') - gem 'sucker_punch', '~> 1.0' -elsif RUBY_VERSION.start_with?('2') - gem 'sucker_punch', '~> 2.0' +platforms :rbx do + gem 'minitest' + gem 'racc' + gem 'rubinius-developer_tools' + gem 'rubysl', '~> 2.0' unless RUBY_VERSION.start_with?('1') end -if RUBY_VERSION.start_with?('2.4') - gem 'oj', '~> 2.16.0' unless is_jruby -else - gem 'oj', '~> 2.12.14' unless is_jruby +if RUBY_VERSION.start_with?('2.4') && is_not_jruby + gem 'oj', '~> 2.16.0' +elsif is_not_jruby + gem 'oj', '~> 2.12.14' end -gem 'sinatra' -gem 'resque' -gem 'delayed_job', :require => false -gem 'redis' +gem 'codeclimate-test-reporter', :group => :test, :require => nil gem 'database_cleaner', '~> 1.0.0' -gem 'girl_friday', '>= 0.11.1' +gem 'delayed_job', :require => false gem 'generator_spec' -gem 'codeclimate-test-reporter', :group => :test, :require => nil +gem 'girl_friday', '>= 0.11.1' +gem 'redis' +gem 'resque' +gem 'sinatra' +gem 'nokogiri', '~> 1.6.0' if Gem::Version.new(RUBY_VERSION) <= Gem::Version.new('2.0') + if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.0') gem 'mime-types', '< 3.0' gem 'public_suffix', '< 1.5' + gem 'sucker_punch', '~> 1.0' gem 'webmock', '< 2.3.0', :require => false else + gem 'sucker_punch', '~> 2.0' gem 'webmock', :require => false end - -gem 'resque' - -gemspec :path => "../" +gemspec :path => '../'