spec/spec_helper.rb in puppet-lint-leading_zero-check-0.1.0 vs spec/spec_helper.rb in puppet-lint-leading_zero-check-0.1.1
- old
+ new
@@ -1,6 +1,8 @@
-require 'coveralls'
-Coveralls.wear!
+unless RUBY_VERSION =~ /^1\.8/
+ require 'coveralls'
+ Coveralls.wear!
+end
require 'puppet-lint'
PuppetLint::Plugins.load_spec_helper