Skip to content

Commit

Permalink
Bump gem to 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Brushett committed Mar 12, 2021
1 parent 38db979 commit 74b3e86
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
rubocop-sorbet (0.5.1)
rubocop-sorbet (0.6.0)
rubocop

GEM
Expand Down
6 changes: 3 additions & 3 deletions config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Sorbet/FalseSigil:
Sorbet/ForbidExtendTSigHelpersInShims:
Description: 'Forbid the use of `extend T::Sig` and `extend T::Helpers` in RBI shims'
Enabled: true
VersionAdded: '0.86'
VersionAdded: '0.6.0'
Include:
- "**/*.rbi"

Expand Down Expand Up @@ -102,7 +102,7 @@ Sorbet/KeywordArgumentOrdering:
Sorbet/OnedAncestorPerLine:
Description: 'Enforces one ancestor per call to requires_ancestor'
Enabled: false
VersionAdded: '0.86'
VersionAdded: '0.6.0'

Sorbet/ParametersOrderingInSignature:
Description: 'Enforces same parameter order between a method and its signature.'
Expand All @@ -122,7 +122,7 @@ Sorbet/SignatureBuildOrder:
Sorbet/SingleLineRbiClassModuleDefinitions:
Description: 'Empty class and module definitions in RBI must be on a single line.'
Enabled: false
VersionAdded: '0.86'
VersionAdded: '0.6.0'
Include:
- "**/*.rbi"

Expand Down
2 changes: 1 addition & 1 deletion lib/rubocop/sorbet/version.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true
module RuboCop
module Sorbet
VERSION = "0.5.1"
VERSION = "0.6.0"
end
end
4 changes: 2 additions & 2 deletions manual/cops_sorbet.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Exclude | `bin/**/*`, `db/**/*.rb`, `script/**/*` | Array

Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
--- | --- | --- | --- | ---
Enabled | Yes | Yes | 0.86 | -
Enabled | Yes | Yes | 0.6.0 | -

This cop ensures RBI shims do not include a call to extend T::Sig
or to extend T::Helpers
Expand Down Expand Up @@ -360,7 +360,7 @@ You can subclass it to use the `on_signature` trigger and the `signature?` node
Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged
--- | --- | --- | --- | ---
Disabled | Yes | Yes | 0.86 | -
Disabled | Yes | Yes | 0.6.0 | -
This cop ensures empty class/module definitions in RBI files are
done on a single line rather than being split across multiple lines.
Expand Down

0 comments on commit 74b3e86

Please sign in to comment.