lib/submodules/ably-ruby/spec/spec_helper.rb in ably-rest-1.1.0 vs lib/submodules/ably-ruby/spec/spec_helper.rb in ably-rest-1.1.2.rc1
- old
+ new
@@ -2,10 +2,10 @@
# 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
-unless RUBY_VERSION.match(/^1/)
+unless RUBY_VERSION.match(/^1\./)
require 'coveralls'
Coveralls.wear!
end
require 'webmock/rspec'