Skip to content

Commit

Permalink
Do not use coveralls on Ruby 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Feb 19, 2015
1 parent 6665e68 commit deae842
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion puppet-lint-spaceship_operator_without_tag-check.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec-its', '~> 1.0'
spec.add_development_dependency 'rspec-collection_matchers', '~> 1.0'
spec.add_development_dependency 'mime-types', '~> 1.0' # 2.x dropped Ruby 1.8 support
spec.add_development_dependency 'coveralls', '~> 0.7'
spec.add_development_dependency 'coveralls', '~> 0.7' unless RUBY_VERSION =~ /^1\.8/
spec.add_development_dependency 'rake'
end
6 changes: 4 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require 'coveralls'
Coveralls.wear!
unless RUBY_VERSION =~ /^1\.8/
require 'coveralls'
Coveralls.wear!
end

require 'puppet-lint'

Expand Down

0 comments on commit deae842

Please sign in to comment.