-
Notifications
You must be signed in to change notification settings - Fork 552
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
Conversation
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" }) |
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.
This rule has been removed.
|
||
Style/HashTransformValues: | ||
Enabled: true | ||
|
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.
These are new lints which Rubocop recommended either explicitly enabling or disabling from .rubocop.yml
.
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.
LGTM
Thx! |
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