rollbar.gemspec in rollbar-2.3.0 vs rollbar.gemspec in rollbar-2.4.0
- old
+ new
@@ -1,9 +1,12 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/rollbar/version', __FILE__)
+
Gem::Specification.new do |gem|
+ is_jruby = defined?(JRUBY_VERSION) || (defined?(RUBY_ENGINE) && 'jruby' == RUBY_ENGINE)
+
gem.authors = ["Rollbar, Inc."]
gem.email = ["support@rollbar.com"]
gem.description = %q{Easy and powerful exception tracking for Ruby}
gem.executables = ['rollbar-rails-runner']
gem.summary = %q{Reports exceptions to Rollbar}
@@ -26,7 +29,8 @@
gem.add_development_dependency 'sinatra'
gem.add_development_dependency 'resque'
gem.add_development_dependency 'delayed_job'
gem.add_development_dependency 'rake', '>= 0.9.0'
gem.add_development_dependency 'redis'
- gem.add_runtime_dependency 'oj', '~> 2.12.14'
+ gem.add_runtime_dependency 'multi_json'
+ gem.add_development_dependency 'oj', '~> 2.12.14' unless is_jruby
end