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

Upgrade to Rubocop 0.80 #903

Merged
merged 1 commit into from
Feb 18, 2020
Merged

Upgrade to Rubocop 0.80 #903

merged 1 commit into from
Feb 18, 2020

Conversation

brandur
Copy link
Contributor

@brandur brandur commented Feb 18, 2020

Just noticed that a new version of Rubocop came out today. The upgrade
seemed relatively painless, so just went for it.

r? @ob-stripe
cc @stripe/api-libraries

Just noticed that a new version of Rubocop came out today. The upgrade
seemed relatively painless, so just went for it.
@@ -213,28 +213,28 @@ def to_hash
should "mass assign values with #update_attributes" do
obj = Stripe::StripeObject.construct_from(id: 1, name: "Stripe")

obj.update_attributes({ name: "STRIPE" }) # rubocop:disable Style/BracesAroundHashParameters
obj.update_attributes({ name: "STRIPE" })
Copy link
Contributor

Choose a reason for hiding this comment

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


Style/HashTransformValues:
Enabled: true

Copy link
Contributor

Choose a reason for hiding this comment

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

These are new lints which Rubocop recommended either explicitly enabling or disabling from .rubocop.yml.

Copy link
Contributor

@ob-stripe ob-stripe left a comment

Choose a reason for hiding this comment

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

LGTM

@brandur-stripe
Copy link
Contributor

Thx!

@brandur-stripe brandur-stripe merged commit 554f18b into master Feb 18, 2020
@brandur-stripe brandur-stripe deleted the brandur-rubocop-080 branch February 18, 2020 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants