Skip to content
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

Remove some redundant requires from Rakefile #148

Merged
merged 1 commit into from
May 8, 2016

Conversation

alex-harvey-z3q
Copy link
Contributor

All of these are in puppetlabs_spec_helper/rake_tasks.rb

All of these are in puppetlabs_spec_helper/rake_tasks.rb
@rnelson0
Copy link
Member

rnelson0 commented May 7, 2016

For lack of ability to test this myself right now, got a link to a module with this trimmed file that tests properly?

@alex-harvey-z3q
Copy link
Contributor Author

alex-harvey-z3q commented May 8, 2016

How about lib/puppetlabs_spec_helper/rake_tasks.rb at lines 6-11, 376 and 393.

I tested by removing all those lines and confirming that I had 23 rake tasks with or without them in rake -T. I don't know of a module that has this config, other than one I'm not quite ready to push. Will this do?

@alex-harvey-z3q
Copy link
Contributor Author

The latest version of lib/puppetlabs_spec_helper/rake_tasks.rb at line 3 also requires rubocop, but seems like that hasn't been released unfortunately.

@bastelfreak
Copy link
Member

I just tested this on puppet-zabbix, I get the same amount of rake tasks after applying your patch (42).

@bastelfreak bastelfreak merged commit e2183b5 into voxpupuli:master May 8, 2016
bastelfreak added a commit to voxpupuli/puppet-zabbix that referenced this pull request May 8, 2016
based on voxpupuli/modulesync_config#148

I got 42 rake tasks before and after the merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants