-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix plugin regressions introduced in 3.0.0 #66
Conversation
@ekohl Thank you. I was working on a fix for this last night, you beat me to it! 😃 |
spec/spec_helper.rb
Outdated
@@ -134,7 +134,7 @@ def subject | |||
config.include( | |||
RSpec::LintExampleGroup, | |||
type: :lint, | |||
file_path: Regexp.compile(['spec', 'unit', 'puppet-lint', 'plugins'].join('[\\\/]')), | |||
file_path: Regexp.compile(['spec', 'puppet-lint', 'plugins'].join('[\\\/]')), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverting this actually breaks the spec tests in puppet-lint.
Lets make it more inclusive of both patterns:
file_path: Regexp.compile(['spec', 'puppet-lint', 'plugins'].join('[\\\/]')), | |
file_path: Regexp.new('spec[\\\/](unit[\\\/])?puppet-lint[\\\/]plugins'), |
@ekohl Have left a couple of suggestions that should get this PR moving. Happy to merge asap. |
adcc6f7
to
662d189
Compare
662d189
to
a97f52d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect, thank you @ekohl
This allows plugins to work again. See individual commits for details.
Fixes #65