mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
JRuby 1.7 compat fixes
This commit is contained in:
parent
b8dd78a8c1
commit
b983956e76
4 changed files with 7 additions and 4 deletions
3
Gemfile
3
Gemfile
|
@ -5,13 +5,14 @@ gem 'celluloid', "~> 0.12.0"
|
|||
gem 'slim'
|
||||
gem 'sass'
|
||||
gem 'rails', '3.2.8'
|
||||
gem 'sqlite3'
|
||||
gem 'sqlite3', :platform => :mri
|
||||
|
||||
group :test do
|
||||
gem 'simplecov', :require => false
|
||||
end
|
||||
|
||||
group :development do
|
||||
gem 'pry', :platform => :mri
|
||||
gem 'sprockets-sass'
|
||||
gem 'compass'
|
||||
gem 'shotgun'
|
||||
|
|
|
@ -28,5 +28,4 @@ Gem::Specification.new do |gem|
|
|||
gem.add_development_dependency 'rake'
|
||||
gem.add_development_dependency 'actionmailer', '~> 3'
|
||||
gem.add_development_dependency 'activerecord', '~> 3'
|
||||
gem.add_development_dependency 'pry'
|
||||
end
|
||||
|
|
|
@ -4,7 +4,10 @@ if ENV.has_key?("SIMPLECOV")
|
|||
SimpleCov.start
|
||||
end
|
||||
|
||||
begin
|
||||
require 'pry'
|
||||
rescue LoadError
|
||||
end
|
||||
|
||||
require 'minitest/unit'
|
||||
require 'minitest/pride'
|
||||
|
|
|
@ -35,7 +35,7 @@ class TestRetry < MiniTest::Unit::TestCase
|
|||
end
|
||||
end
|
||||
assert msg["error_backtrace"]
|
||||
assert_equal c, msg["error_backtrace"]
|
||||
assert_equal c[0], msg["error_backtrace"][0]
|
||||
end
|
||||
|
||||
it 'saves partial backtraces' do
|
||||
|
|
Loading…
Reference in a new issue