Skip to content

Commit

Permalink
disable coveralls for ruby < 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
ptomulik committed Jan 6, 2014
1 parent 0b2f415 commit 28bc0a8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
2014-01-03 Pawel Tomulik <ptomulik@meil.pw.edu.pl>
2014-01-06 Pawel Tomulik <ptomulik@meil.pw.edu.pl>
* disable coveralls for ruby < 1.9
* initial commit
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ group :development, :test do
gem 'rspec-system-puppet'
gem 'rspec-system-serverspec', :require => false
# gem 'puppet-lint'
gem 'coveralls', :require => false
if RUBY_VERSION >= "1.9"
gem 'coveralls', :require => false
end
gem 'yard', :require => false
end


if puppetversion = ENV['PUPPET_GEM_VERSION']
gem 'puppet', puppetversion, :require => false
else
Expand Down
8 changes: 5 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
require 'coveralls'
Coveralls.wear! do
add_filter 'spec/'
if RUBY_VERSION >= "1.9"
require 'coveralls'
Coveralls.wear! do
add_filter 'spec/'
end
end

require 'puppetlabs_spec_helper/module_spec_helper'
Expand Down

0 comments on commit 28bc0a8

Please sign in to comment.