1
0
Fork 0
mirror of https://github.com/endofunky/sidetiq.git synced 2022-11-09 13:53:30 -05:00

Don't require coveralls on JRuby.

This commit is contained in:
Tobias Svensson 2013-08-27 11:49:13 +01:00
parent 6245cc210b
commit 775a27a51c
2 changed files with 8 additions and 3 deletions

View file

@ -26,5 +26,8 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'sinatra'
gem.add_development_dependency 'mocha'
gem.add_development_dependency 'rack-test'
gem.add_development_dependency 'coveralls'
if RUBY_PLATFORM != "java"
gem.add_development_dependency 'coveralls'
end
end

View file

@ -1,5 +1,7 @@
require 'coveralls'
Coveralls.wear!
if RUBY_PLATFORM != "java"
require 'coveralls'
Coveralls.wear!
end
require 'minitest/autorun'
require 'mocha/setup'