gocardless / statesman

A statesmanlike state machine library.
https://gocardless.com/blog/statesman/
MIT License
1.78k stars 163 forks source link

Update gc_ruboconfig requirement from ~> 2.26.0 to ~> 3.2.0 #472

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on gc_ruboconfig to permit the latest version.

Changelog

Sourced from gc_ruboconfig's changelog.

3.2.0

Enabled new cops from rubocop 1.29.1 and rubocop-rspec 2.11.0

3.1.0

Enabled new cops from rubocop 1.26.1 and rubocop-rails 2.14.0

3.0.1

Remove rubocop-rails require from rubocop.yml

3.0.0

Allowing Rails based cops to be required separately. Add the following to use them:

inherit_gem:
  gc_ruboconfig:
    - rubocop.yml
    - rails.yml

2.33.0

Adding rubocop-rails as part of the default install

  • Enabled all Rails/ cops except:
    • Rails/AddColumnIndex - Allow index: true when creating a column
    • Rails/ShortI18n - Use long form translate and localize instead of t and l

2.32.0

Adding support for new cops:

  • Enabled cops:
    • Performance/StringIdentifierArgument - Only pass symbols to send
    • Style/MapToHash - Prefer to_h {} over map {}.to_h
    • Style/NumberedParameters - Only allow numbered params on single lines
    • Style/NumberedParametersLimit - Cap number of numbered params at 2
    • Security/IoMethods - Disallow direct access to IO.read methods
    • Gemspec/RequireMFA - Require MFA annotation on gemspecs
    • Lint/AmbiguousOperatorPrecedence - Wrap arguments in parenthesis to denote operator preference
    • Lint/IncompatibleIoSelectWithFiberScheduler -
    • Lint/RequireRelativeSelfPath - Don't require_relative on self
    • Lint/UselessRuby2Keywords
    • Naming/BlockForwarding - Prefer def foo(&block) over def foo(&)
    • RSpec/ExcessiveDocstringSpacing - Remove extra spaces in rspec describe/context/it blocks

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #474.