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

force "standard" (rubocop ruleset) to 1.0 #6

Merged
merged 3 commits into from
May 26, 2023

Conversation

lygaret
Copy link
Collaborator

@lygaret lygaret commented May 20, 2023

due to some versioning shenanigans, we need to explicitly mark standard as being >= 1

message from bundle output below:

standardrb/standard#340 (comment)

Versions of Standard prior to 0.0.37 depended on >= 0.63' of RuboCop, which means that Bundler continues to resolve to those (now ancient) versions whenever gem "standard"' is added to a Gemfile that has already locked to a newer version of RuboCop than standard currently depends on.

"How do I fix this?", you might be asking.

How to fix this

If you add a version specifier pinning standard' to a version newer than 0.0.36.1, Bundler will resolve appropriate versions of standard', `rubocop', and any other rubocop-dependent gems you may have installed.

due to some versioning shenanigans, we need to explicitly mark
standard as being >= 1 -- message from bundle output below:

---

Versions of Standard prior to 0.0.37 depended on `>= 0.63' of RuboCop, which
means that Bundler continues to resolve to those (now ancient) versions
whenever `gem "standard"' is added to a Gemfile that has already locked
to a newer version of RuboCop than standard currently depends on.

"How do I fix this?", you might be asking.

How to fix this
---------------
If you add a version specifier pinning `standard' to a version newer
than 0.0.36.1, Bundler will resolve appropriate versions of `standard',
`rubocop', and any other rubocop-dependent gems you may have installed.
per standard rubocop rules, the attribute is deprecated, and unused
see: rubygems/guides#90
generally, only changes were assertion methods.
@guilleiguaran guilleiguaran merged commit 46e115d into master May 26, 2023
@guilleiguaran guilleiguaran deleted the patch/standard-rubocop-version branch May 26, 2023 08:35
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