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

Rubocop fixes #240

Merged
merged 19 commits into from
Sep 23, 2016
Merged

Rubocop fixes #240

merged 19 commits into from
Sep 23, 2016

Conversation

alexjfisher
Copy link
Member

Was 76 violations, now 19.

Signed-off-by: Alexander Fisher <[email protected]>
The following cops are fixed in this commit.
`Style/ClosingParenthesisIndentation`
`Style/CaseIndentation`
`Style/IndentationWidth`
`Style/IndentationConsistency`

Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
Refactored `lib/puppet/provider/package/pear.rb` `latest` method to
match `latest` in `lib/puppet/provider/package/pecl.rb`.

Signed-off-by: Alexander Fisher <[email protected]>
I've disabled the cop on the instances where `assignment in
condition` seemed to make very good sense.

Signed-off-by: Alexander Fisher <[email protected]>
Signed-off-by: Alexander Fisher <[email protected]>
@alexjfisher
Copy link
Member Author

Make that 17.

@alexjfisher
Copy link
Member Author

15

Signed-off-by: Alexander Fisher <[email protected]>
@alexjfisher
Copy link
Member Author

10

@bastelfreak bastelfreak merged commit 6e2c594 into voxpupuli:master Sep 23, 2016
@@ -94,7 +94,7 @@ def install(useversion = true)
end
end

if pipe = @resource[:pipe]
if pipe == @resource[:pipe]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bastelfreak Oops. This was clearly not right.

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.

2 participants