Skip to content

(FM-5387) Remove simplecov gem and update for modsync #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ coverage/
.*.sw[op]
.DS_Store
.rspec
tmp/

18 changes: 1 addition & 17 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,9 @@ CONTRIBUTING.md:
unmanaged: true
Gemfile:
supports_windows: true
required:
optional:
':development':
- gem: rake
version: '~>10.1'
- gem: rspec
version: '~>3.0'
- gem: puppet-lint
- gem: puppetlabs_spec_helper
version: '~>0.10.3'
- gem: puppet_facts
- gem: mocha
version: '~>0.10.5'
- gem: pry
- gem: simplecov
- gem: yard
':system_tests':
- gem: beaker-rspec
- gem: beaker
- gem: beaker-puppet_install_helper
Rakefile:
unmanaged: true
spec/spec_helper.rb:
Expand Down
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ end
#end

group :development do
gem 'rake', '~>10.1', :require => false
gem 'rake', :require => false
gem 'rspec', '~>3.0', :require => false
gem 'puppet-lint', :require => false
gem 'puppetlabs_spec_helper', '~>0.10.3', :require => false
gem 'puppet_facts', :require => false
gem 'mocha', '~>0.10.5', :require => false
gem 'pry', :require => false
gem 'simplecov', :require => false
gem 'yard', :require => false
end

Expand Down
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'

# Line length test is 80 chars in puppet-lint 1.1.0
PuppetLint.configuration.send('disable_80chars')
# Line length test is 140 chars in puppet-lint 2.x
PuppetLint.configuration.send('disable_140chars')
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]

desc "Validate manifests, templates, and ruby files"
Expand Down
10 changes: 0 additions & 10 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require 'simplecov'
require 'rspec-puppet'
require 'puppetlabs_spec_helper/module_spec_helper'

Expand All @@ -12,12 +11,3 @@
end
end

SimpleCov.start do
add_group "Functions", "lib/puppet/parser/functions"
add_group "Types", "lib/puppet/type/"
add_group "Provider", "lib/puppet/provider"
add_group "Manifests", "manifests"
add_group "PuppetX", "lib/puppet_x/"
add_filter "/spec/"
end