gocardless / statesman

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

Update gc_ruboconfig requirement from ~> 2.26.0 to ~> 3.0.1 #458

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Updates the requirements on gc_ruboconfig to permit the latest version.

Release notes

Sourced from gc_ruboconfig's releases.

v3.0.1

What's Changed

Full Changelog: https://github.com/gocardless/gc_ruboconfig/compare/v3.0.0...v3.0.1

Changelog

Sourced from gc_ruboconfig's changelog.

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
    • RSpec/SubjectDeclaration - Ensure subject is defined using subject {} rather than let(:subject) {}
    • RSpec/Rails/AvoidSetupHook - Don't use setup {} in tests
    • Performance/ConcurrentMonotonicTime - Use correct monotonic time
  • Disabled cops:

    • Style/HashSyntax - Don't permit shorthand hash assignment foo = 1; { foo: }
    • Style/FileRead - Allow use of File.open(path, "r")
    • Style/FileWrite - Allow use of File.open(path, "w")
    • Style/OpenStructUse - Allow use of OpenStructs
    • Style/SelectByRegexp - Allow select { _1 =~ /regex/ }

... (truncated)

Commits
  • 5c94d8a Merge pull request #95 from gocardless/joesouthan/change-require
  • b665101 Remove rubocop-rails require
  • b3e58c4 Merge pull request #94 from gocardless/joesouthan/optional-rails
  • 15bcb7f Allow rails cops to be required separately
  • e543f35 Merge pull request #93 from gocardless/joesouthan/rails-cops
  • 2996c32 Remove special case on rubocop-rails from readme
  • 035afb4 Include rubocop-rails
  • 4275606 Merge pull request #92 from gocardless/joesouthan/new-cops
  • eb6760e Add support for new cops
  • f162006 Merge pull request #91 from gocardless/complexity-cops
  • Additional commits viewable in compare view


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 #461.