ontohub / graphql-pundit

Pundit authorization helpers for the GraphQL Ruby gem
MIT License
111 stars 31 forks source link

Update rubocop requirement from ~> 0.57.0 to ~> 0.68.1 #84

Closed dependabot-preview[bot] closed 5 years ago

dependabot-preview[bot] commented 5 years ago

Updates the requirements on rubocop to permit the latest version.

Release notes *Sourced from [rubocop's releases](https://github.com/rubocop-hq/rubocop/releases).* > ## RuboCop 0.68.1 > ### Bug fixes > > * [#6993](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6993): Allowing for empty if blocks, preventing `Style/SafeNavigation` from crashing. ([@​RicardoTrindade][]) > * [#6995](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6995): Fix an incorrect auto-correct for `Style/RedundantParentheses` when enclosed in parentheses at `while-post` or `until-post`. ([@​koic][]) > * [#6996](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6996): Fix a false positive for `Style/RedundantFreeze` when freezing the result of `String#*`. ([@​bquorning][]) > * [#6998](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6998): Fix autocorrect of `Naming/RescuedExceptionsVariableName` to also rename all references to the variable. ([@​Darhazer][]) > * [#6992](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6992): Fix unknown default configuration for `Layout/IndentFirstParameter` cop. ([@​drenmi][]) > * [#6972](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6972): Fix a false positive for `Style/MixinUsage` when using inside block and `if` condition is after `include`. ([@​koic][]) > * [#6738](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6738): Prevent auto-correct conflict of `Style/Next` and `Style/SafeNavigation`. ([@​hoshinotsuyoshi][]) > * [#6847](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6847): Fix `Style/BlockDelimiters` to properly check if the node is chaned when `braces_for_chaining` is set. ([@​att14][]) > > [@​RicardoTrindade]: https://github.com/RicardoTrindade > [@​koic]: https://github.com/koic > [@​bquorning]: https://github.com/bquorning > [@​Darhazer]: https://github.com/Darhazer > [@​drenmi]: https://github.com/drenmi > [@​hoshinotsuyoshi]: https://github.com/hoshinotsuyoshi > [@​att14]: https://github.com/att14
Changelog *Sourced from [rubocop's changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md).* > ## 0.68.1 (2019-04-30) > > ### Bug fixes > > * [#6993](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6993): Allowing for empty if blocks, preventing `Style/SafeNavigation` from crashing. ([@​RicardoTrindade][]) > * [#6995](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6995): Fix an incorrect auto-correct for `Style/RedundantParentheses` when enclosed in parentheses at `while-post` or `until-post`. ([@​koic][]) > * [#6996](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6996): Fix a false positive for `Style/RedundantFreeze` when freezing the result of `String#*`. ([@​bquorning][]) > * [#6998](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6998): Fix autocorrect of `Naming/RescuedExceptionsVariableName` to also rename all references to the variable. ([@​Darhazer][]) > * [#6992](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6992): Fix unknown default configuration for `Layout/IndentFirstParameter` cop. ([@​drenmi][]) > * [#6972](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6972): Fix a false positive for `Style/MixinUsage` when using inside block and `if` condition is after `include`. ([@​koic][]) > * [#6738](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6738): Prevent auto-correct conflict of `Style/Next` and `Style/SafeNavigation`. ([@​hoshinotsuyoshi][]) > * [#6847](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6847): Fix `Style/BlockDelimiters` to properly check if the node is chaned when `braces_for_chaining` is set. ([@​att14][]) > > ## 0.68.0 (2019-04-29) > > ### New features > > * [#6973](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6973): Add `always_braces` to `Style/BlockDelimiter`. ([@​iGEL][]) > * [#6841](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6841): Node patterns can now match children in any order using `<>`. ([@​marcandre][]) > * [#6928](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6928): Add `--init` option for generate `.rubocop.yml` file in the current directory. ([@​koic][]) > * Add new `Layout/HeredocArgumentClosingParenthesis` cop. ([@​maxh][]) > * [#6895](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6895): Add support for XDG config home for user-config. ([@​Mange][], [@​tejasbubane][]) > * Add initial autocorrection support to `Metrics/LineLength`. ([@​maxh][]) > * Add `Layout/IndentFirstParameter`. ([@​maxh][]) > * [#6974](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6974): Make `Layout/FirstMethodArgumentLineBreak` aware of calling using `super`. ([@​koic][]) > * Add new `Lint/HeredocMethodCallPosition` cop. ([@​maxh][]) > > > ### Bug fixes > > * Do not annotate message with cop name in JSON output. ([@​elebow][]) > * [#6914](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6914): Fix an error for `Rails/RedundantAllowNil` when with interpolations. ([[@​Blue](https://github.com/Blue)-Pix][]) > * [#6888](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6888): Fix an error for `Rails/ActiveRecordOverride ` when no `parent_class` present. ([@​diachini][]) > * [#6941](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6941): Add missing absence validations to `Rails/Validation`. ([@​jmanian][]) > * [#6926](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6926): Allow nil values to unset config defaults. ([@​dduugg][]) > * [#6946](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6946): Allow `Rails/ReflectionClassName` to use string interpolation for `class_name`. ([@​r7kamura][]) > * [#6778](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6778): Fix a false positive in `Style/HashSyntax` cop when a hash key is an interpolated string and EnforcedStyle is ruby19_no_mixed_keys. ([@​tatsuyafw][]) > * [#6902](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6902): Fix a bug where `Naming/RescuedExceptionsVariableName` would handle an only first rescue for multiple rescue groups. ([@​tatsuyafw][]) > * [#6860](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6860): Prevent auto-correct conflict of `Style/InverseMethods` and `Style/Not`. ([@​hoshinotsuyoshi][]) > * [#6935](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6935): `Layout/AccessModifierIndentation` should ignore access modifiers that apply to specific methods. ([[@​deivid](https://github.com/deivid)-rodriguez][]) > * [#6956](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6956): Prevent auto-correct confliction of `Lint/Lambda` and `Lint/UnusedBlockArgument`. ([@​koic][]) > * [#6915](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6915): Fix false positive in `Style/SafeNavigation` when a modifier if is safe guarding a method call being passed to `break`, `fail`, `next`, `raise`, `return`, `throw`, and `yield`. ([@​rrosenblum][]) > * [#6822](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6822): Fix Lint/LiteralInInterpolation autocorrection for single quotes. ([@​hoshinotsuyoshi][]) > * [#6985](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6985): Fix an incorrect auto-correct for `Lint/LiteralInInterpolation` if contains array percent literal. ([@​yakout][]) > * [#7003](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/7003): Fix an incorrect auto-correct for `Style/InverseMethods` when using `BasicObject#!`. ([@​koic][]) > > ### Changes > > * [#6966](https://github-redirect.dependabot.com/rubocop-hq/rubocop/pull/6966): Mark Rails/TimeZone as unsafe. ([@​vfonic][]) > * [#5977](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/5977): Remove Performance cops. ([@​koic][]) > ... (truncated)
Commits - [`98b0340`](https://github.com/rubocop-hq/rubocop/commit/98b03406bcfa091e26a6bd936f3107ce9d9e372d) Cut 0.68.1 - [`36673f0`](https://github.com/rubocop-hq/rubocop/commit/36673f01d347ac03ad813558e0698a835da08d39) [Fix [#6738](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6738)] Prevent auto-correct conflict of `Style/Next` and `Style/SafeNavi... - [`dea47fb`](https://github.com/rubocop-hq/rubocop/commit/dea47fb058ea88bb52f3f1359528de4c0c14d700) Add a validation for RuboCop's config/default.yml for supported styles other ... - [`a242d4a`](https://github.com/rubocop-hq/rubocop/commit/a242d4a34ba079b14822f9ceab6308e48931fc7a) Remove pry-byebug - [`fe316c2`](https://github.com/rubocop-hq/rubocop/commit/fe316c246a020b92189983495996b044d7a257c1) Fix `Style/BlockDelimiters` to properly check if the node is chaned when `bra... - [`853de37`](https://github.com/rubocop-hq/rubocop/commit/853de3774efb9e09aef553f7cfa706ed217b1c1c) Handle properly empty if blocks in Style/SafeNavigation ([#6993](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6993)) - [`ce27c89`](https://github.com/rubocop-hq/rubocop/commit/ce27c8927be24ed10bd464aac1e60990710f41a0) Merge pull request [#7000](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/7000) from koic/fix_false_positive_for_style_mixin_usage - [`5d304d0`](https://github.com/rubocop-hq/rubocop/commit/5d304d0fc047537760ab376bb22ba40b7bd243bd) Fix an incorrect auto-correct for `Style/InverseMethods` - [`11b87ca`](https://github.com/rubocop-hq/rubocop/commit/11b87cae2f58ff23463d16570de177af26329e1c) [Fix [#6972](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6972)] Fix a false positive for `Style/MixinUsage` - [`666696b`](https://github.com/rubocop-hq/rubocop/commit/666696b4c6494fbab9dc42339d095da8ac0e47fe) [Fix [#6992](https://github-redirect.dependabot.com/rubocop-hq/rubocop/issues/6992)] Fix unknown default configuration for Layout/IndentFirstParameter - Additional commits viewable in [compare view](https://github.com/rubocop-hq/rubocop/compare/v0.57.0...v0.68.1)


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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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 use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.
dependabot-preview[bot] commented 5 years ago

Superseded by #85.