standard 1.19.1 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf52e94f737a041479cf2e741613a0e07d54af0b41f32f12309a94d5a2f0416b
4
- data.tar.gz: 745dd891033fdc11271fd1331858a11c74d9e4188385eac5cc53580616aa7bbb
3
+ metadata.gz: 1e0ed7905758dc33bf60b4ee211ec73c0623ecce07a80832e823fd0b4c92cc63
4
+ data.tar.gz: cf601065a98ddcb9634bb6d0ed7d4a21920fec02f04bc26c31b14af571c48238
5
5
  SHA512:
6
- metadata.gz: d8eb3f8f27fbfc111270b6d2cbf44aed23de2c51eac64add89e3b8b89631adda6ca2348025c944a022cd51513868fb2f3668f1a099954bd8aea08d4acc12ef51
7
- data.tar.gz: 17a3f227ef4044914bf12151ee9dfcf822f9c197938caac644601bf5c839895970ab3e6f58ee0079083fc877fc56849bd4f7391744d7a95da0b917545e76fb3b
6
+ metadata.gz: f08938462874c2e05a7d39caca82c51c4bc74baec78876e1c26f9a0a1ac1c3d3447c2dec0d1f7827cd6f88bc1a28735bea426c38ab4c0031e2c1f92407df6874
7
+ data.tar.gz: 0d53496da3a90508936db4a37cb3f4aa134c437dfb30d071992b2cd6d8f05cd602a1debaf2152fb9115727f43a0f228c1d4a8e42ae0c72bae5268d7356218b52
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.20.0
4
+
5
+ * Update rubocop from 1.39.0 to [1.40.0](https://github.com/rubocop/rubocop/releases/tag/v1.40.0)
6
+
3
7
  ## 1.19.1
4
8
 
5
9
  * Loosen dependency on `language_server-protocol`
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.19.1)
4
+ standard (1.20.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
- rubocop (= 1.39.0)
6
+ rubocop (= 1.40.0)
7
7
  rubocop-performance (= 1.15.1)
8
8
 
9
9
  GEM
@@ -27,7 +27,7 @@ GEM
27
27
  rake (13.0.6)
28
28
  regexp_parser (2.6.1)
29
29
  rexml (3.2.5)
30
- rubocop (1.39.0)
30
+ rubocop (1.40.0)
31
31
  json (~> 2.3)
32
32
  parallel (~> 1.10)
33
33
  parser (>= 3.1.2.1)
data/config/base.yml CHANGED
@@ -182,7 +182,7 @@ Layout/EndOfLine:
182
182
  Layout/ExtraSpacing:
183
183
  Enabled: true
184
184
  AllowForAlignment: false
185
- AllowBeforeTrailingComments: false
185
+ AllowBeforeTrailingComments: true
186
186
  ForceEqualSignAlignment: false
187
187
 
188
188
  Layout/FirstArgumentIndentation:
@@ -444,6 +444,7 @@ Lint/AmbiguousRegexpLiteral:
444
444
  Lint/AssignmentInCondition:
445
445
  Enabled: true
446
446
  AllowSafeAssignment: true
447
+ AutoCorrect: false
447
448
 
448
449
  Lint/BigDecimalNew:
449
450
  Enabled: true
@@ -1127,6 +1128,9 @@ Style/ArgumentsForwarding:
1127
1128
  Style/ArrayCoercion:
1128
1129
  Enabled: false
1129
1130
 
1131
+ Style/ArrayIntersect:
1132
+ Enabled: false
1133
+
1130
1134
  Style/ArrayJoin:
1131
1135
  Enabled: true
1132
1136
 
@@ -1645,6 +1649,9 @@ Style/RedundantCondition:
1645
1649
  Style/RedundantConditional:
1646
1650
  Enabled: true
1647
1651
 
1652
+ Style/RedundantConstantBase:
1653
+ Enabled: false
1654
+
1648
1655
  Style/RedundantEach:
1649
1656
  Enabled: false
1650
1657
 
@@ -1703,6 +1710,9 @@ Style/RedundantStringEscape:
1703
1710
  Style/RegexpLiteral:
1704
1711
  Enabled: false
1705
1712
 
1713
+ Style/RequireOrder:
1714
+ Enabled: false
1715
+
1706
1716
  Style/RescueModifier:
1707
1717
  Enabled: true
1708
1718
 
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.19.1")
2
+ VERSION = Gem::Version.new("1.20.0")
3
3
  end
data/standard.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "rubocop", "1.39.0"
22
+ spec.add_dependency "rubocop", "1.40.0"
23
23
  spec.add_dependency "rubocop-performance", "1.15.1"
24
24
 
25
25
  # not semver: first three are lsp protocol version, last is patch
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.1
4
+ version: 1.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-05 00:00:00.000000000 Z
11
+ date: 2022-12-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.39.0
19
+ version: 1.40.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.39.0
26
+ version: 1.40.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -52,7 +52,7 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: 3.17.0.2
55
- description:
55
+ description:
56
56
  email:
57
57
  - searls@gmail.com
58
58
  executables:
@@ -118,7 +118,7 @@ files:
118
118
  homepage: https://github.com/testdouble/standard
119
119
  licenses: []
120
120
  metadata: {}
121
- post_install_message:
121
+ post_install_message:
122
122
  rdoc_options: []
123
123
  require_paths:
124
124
  - lib
@@ -133,8 +133,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  - !ruby/object:Gem::Version
134
134
  version: '0'
135
135
  requirements: []
136
- rubygems_version: 3.3.20
137
- signing_key:
136
+ rubygems_version: 3.1.6
137
+ signing_key:
138
138
  specification_version: 4
139
139
  summary: Ruby Style Guide, with linter & automatic code fixer
140
140
  test_files: []