lib/submodules/ably-ruby/spec/spec_helper.rb in ably-rest-0.9.0 vs lib/submodules/ably-ruby/spec/spec_helper.rb in ably-rest-0.9.1
- old
+ new
@@ -2,11 +2,13 @@
# Useful for debugging as clearly visible, and name is not used anywhere else in library as opposed to debug or puts
def console(message)
puts "\033[31m[#{Time.now.strftime('%H:%M:%S.%L')}]\033[0m \033[33m#{message}\033[0m"
end
-require 'coveralls'
-Coveralls.wear!
+unless RUBY_VERSION.match(/^1/)
+ require 'coveralls'
+ Coveralls.wear!
+end
require 'webmock/rspec'
require 'ably'