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 ~> 2.32.0 #455

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.

v2.32.0

What's Changed

Full Changelog: https://github.com/gocardless/gc_ruboconfig/compare/v2.31.0...v2.32.0

Changelog

Sourced from gc_ruboconfig's changelog.

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/ }

2.31.0

  • Set sensible defaults for:
    • Metrics/AbcSize
    • Metrics/CyclomaticComplexity
    • Metrics/ParameterLists

2.30.0

  • Disabled cop:
    • RSpec/FactoryBot/SyntaxMethods

2.29.0

  • Disabled cop:
    • Metrics/MethodLength

2.28.0

  • Enable support for new cops:
    • Layout/LineEndStringConcatenationIndentation
    • Naming/InclusiveLanguage (disabled by default)

... (truncated)

Commits
  • 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
  • 570c106 Version bump
  • 7bb70ec Set sensible defaults for 'complexity' metrics
  • 0b29421 Merge pull request #90 from gocardless/prepare-for-2-30-0-release
  • 5990632 Prepare for 2.30.0 release
  • 595cfdf Merge pull request #89 from gocardless/disable-factory-body-syntax-methods
  • 18dc6ad Disable factory bot syntax mathods
  • 469c9f5 prepare to release v2.29.0 (#88)
  • 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 #456.