standard 1.26.0 → 1.27.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: 98dc49ce80e703d0a3fb0d1d70bf4bac16c28e9dbf16988c09ebada4cb8bcd9f
4
- data.tar.gz: 1e771a7f5eb05183f7700c590bb119eaa5cb104566b656b1945a2198099dd2f2
3
+ metadata.gz: 9da8591aa948bc0d345964c18383dc5213cbca194eca797075c1dbedf2e72e43
4
+ data.tar.gz: a6baa46440bb2658ef887f1ad678fd2a227d510f06790eb58e96679cca64a0e9
5
5
  SHA512:
6
- metadata.gz: 2ed743c84d1ca8fc6ed19678292463cdb98c1e82d6f698c3fce646a2bcc022dd133e0d1040216c68f5c70d6884248b1fae9a04ccace31497403ba200a0b512b5
7
- data.tar.gz: fbef7298ac3da5a0842e087225ed5abd61ec75f8eb6a51629c6213fa196b477cef5b7a7b3b5be161434e405fb6068b9d2f5557f645f0ea145cb9ab39f444fdf0
6
+ metadata.gz: ed7269d761c076913f7581e231a1baa132eb47a32a8bc6c4f3998075cf66c0bb0706cab4d8c2cd5d6ec7000cb03964f4000ff46ea45ba9e07fce094489c57a95
7
+ data.tar.gz: 520f2681b77c15012227bf222462acae00c6b36b15fd16371694c8ef831e25a356bf548d8be34a45b271abc4f805c2b3975483d52ef3c06c85db849509388bf5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.27.0
4
+
5
+ * Update rubocop from 1.48.1 to [1.50.2](https://github.com/rubocop/rubocop/releases/tag/v1.50.2)
6
+ * Enabled [Style/RedundantLineContinuation](https://docs.rubocop.org/rubocop/cops_style.html#styleredundantlinecontinuation)
7
+
3
8
  ## 1.26.0
4
9
 
5
10
  * Introduce `--fix-unsafely` and `rake standard:fix_unsafely` for running
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.26.0)
4
+ standard (1.27.0)
5
5
  language_server-protocol (~> 3.17.0.2)
6
- rubocop (~> 1.48.1)
6
+ rubocop (~> 1.50.2)
7
7
  rubocop-performance (~> 1.16.0)
8
8
 
9
9
  GEM
@@ -20,7 +20,7 @@ GEM
20
20
  rake (>= 0.9.2.2)
21
21
  method_source (1.0.0)
22
22
  minitest (5.18.0)
23
- parallel (1.22.1)
23
+ parallel (1.23.0)
24
24
  parser (3.2.2.0)
25
25
  ast (~> 2.4.1)
26
26
  pry (0.14.2)
@@ -28,16 +28,16 @@ GEM
28
28
  method_source (~> 1.0)
29
29
  rainbow (3.1.1)
30
30
  rake (13.0.6)
31
- regexp_parser (2.7.0)
31
+ regexp_parser (2.8.0)
32
32
  rexml (3.2.5)
33
- rubocop (1.48.1)
33
+ rubocop (1.50.2)
34
34
  json (~> 2.3)
35
35
  parallel (~> 1.10)
36
36
  parser (>= 3.2.0.0)
37
37
  rainbow (>= 2.2.2, < 4.0)
38
38
  regexp_parser (>= 1.8, < 3.0)
39
39
  rexml (>= 3.2.5, < 4.0)
40
- rubocop-ast (>= 1.26.0, < 2.0)
40
+ rubocop-ast (>= 1.28.0, < 2.0)
41
41
  ruby-progressbar (~> 1.7)
42
42
  unicode-display_width (>= 2.4.0, < 3.0)
43
43
  rubocop-ast (1.28.0)
data/README.md CHANGED
@@ -147,7 +147,7 @@ Here's an example yaml file with every option set:
147
147
  fix: true # default: false
148
148
  parallel: true # default: false
149
149
  format: progress # default: Standard::Formatter
150
- ruby_version: 2.3.3 # default: RUBY_VERSION
150
+ ruby_version: 2.3 # default: RUBY_VERSION
151
151
  default_ignores: false # default: true
152
152
 
153
153
  ignore: # default: []
@@ -224,8 +224,10 @@ Here are a few examples of Ruby Standard-compliant teams & projects:
224
224
  * [Level UP Solutions](https://levups.com)
225
225
  * [Monterail](https://www.monterail.com)
226
226
  * [myRent](https://www.myrent.co.nz)
227
+ * [OBLSK](https://oblsk.com/)
227
228
  * [Oyster](https://www.oysterhr.com/)
228
229
  * [Planet Argon](https://www.planetargon.com/)
230
+ * [PLT4M](https://plt4m.com/)
229
231
  * [Podia](https://www.podia.com/)
230
232
  * [Rebase Interactive](https://www.rebaseinteractive.com/)
231
233
  * [Renuo](https://www.renuo.ch/)
@@ -375,7 +377,7 @@ of Ruby (by inspecting `RUBY_VERSION` at runtime. But if you want to lock it
375
377
  down, you can specify `ruby_version` in `.standard.yml`.
376
378
 
377
379
  ```
378
- ruby_version: 1.8.7
380
+ ruby_version: 1.8
379
381
  ```
380
382
 
381
383
  See
data/config/base.yml CHANGED
@@ -2,8 +2,8 @@ require:
2
2
  - rubocop-performance
3
3
 
4
4
  AllCops:
5
- # Prevent RuboCop from exploding when it finds an older-than-2.4 .ruby-version
6
- TargetRubyVersion: 2.5
5
+ # Prevent RuboCop from exploding when it finds an older-than-2.6 .ruby-version
6
+ TargetRubyVersion: 2.6
7
7
  Exclude: []
8
8
 
9
9
  Bundler/DuplicatedGem:
@@ -499,6 +499,9 @@ Lint/DuplicateHashKey:
499
499
  Lint/DuplicateMagicComment:
500
500
  Enabled: true
501
501
 
502
+ Lint/DuplicateMatchPattern:
503
+ Enabled: false
504
+
502
505
  Lint/DuplicateMethods:
503
506
  Enabled: true
504
507
 
@@ -1230,6 +1233,9 @@ Style/ConstantVisibility:
1230
1233
  Style/Copyright:
1231
1234
  Enabled: false
1232
1235
 
1236
+ Style/DataInheritance:
1237
+ Enabled: false
1238
+
1233
1239
  Style/DateTime:
1234
1240
  Enabled: false
1235
1241
 
@@ -1698,6 +1704,9 @@ Style/RedundantInitialize:
1698
1704
  Style/RedundantInterpolation:
1699
1705
  Enabled: true
1700
1706
 
1707
+ Style/RedundantLineContinuation:
1708
+ Enabled: true
1709
+
1701
1710
  Style/RedundantParentheses:
1702
1711
  Enabled: true
1703
1712
 
data/config/ruby-2.6.yml CHANGED
@@ -8,3 +8,6 @@ Style/NumberedParameters:
8
8
 
9
9
  Style/NumberedParametersLimit:
10
10
  Enabled: false
11
+
12
+ Lint/DuplicateMatchPattern:
13
+ Enabled: false
data/config/ruby-3.0.yml CHANGED
@@ -1,4 +1,4 @@
1
- inherit_from: ./base.yml
1
+ inherit_from: ./ruby-3.1.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 3.0
@@ -0,0 +1,7 @@
1
+ inherit_from: ./base.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 3.1
5
+
6
+ Style/DataInheritance:
7
+ Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.26.0")
2
+ VERSION = Gem::Version.new("1.27.0")
3
3
  end
data/standard.gemspec CHANGED
@@ -11,6 +11,9 @@ Gem::Specification.new do |spec|
11
11
 
12
12
  spec.summary = "Ruby Style Guide, with linter & automatic code fixer"
13
13
  spec.homepage = "https://github.com/testdouble/standard"
14
+ spec.metadata["homepage_uri"] = spec.homepage
15
+ spec.metadata["source_code_uri"] = spec.homepage
16
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/main/CHANGELOG.md"
14
17
 
15
18
  spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
16
19
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -20,7 +23,7 @@ Gem::Specification.new do |spec|
20
23
  spec.require_paths = ["lib"]
21
24
  spec.metadata["rubygems_mfa_required"] = "true"
22
25
 
23
- spec.add_dependency "rubocop", "~> 1.48.1"
26
+ spec.add_dependency "rubocop", "~> 1.50.2"
24
27
  spec.add_dependency "rubocop-performance", "~> 1.16.0"
25
28
 
26
29
  # 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.26.0
4
+ version: 1.27.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: 2023-04-02 00:00:00.000000000 Z
11
+ date: 2023-04-19 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.48.1
19
+ version: 1.50.2
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.48.1
26
+ version: 1.50.2
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:
@@ -85,6 +85,7 @@ files:
85
85
  - config/ruby-2.6.yml
86
86
  - config/ruby-2.7.yml
87
87
  - config/ruby-3.0.yml
88
+ - config/ruby-3.1.yml
88
89
  - docs/NEW_RUBIES.md
89
90
  - docs/RELEASE.md
90
91
  - exe/standardrb
@@ -122,8 +123,11 @@ files:
122
123
  homepage: https://github.com/testdouble/standard
123
124
  licenses: []
124
125
  metadata:
126
+ homepage_uri: https://github.com/testdouble/standard
127
+ source_code_uri: https://github.com/testdouble/standard
128
+ changelog_uri: https://github.com/testdouble/standard/blob/main/CHANGELOG.md
125
129
  rubygems_mfa_required: 'true'
126
- post_install_message:
130
+ post_install_message:
127
131
  rdoc_options: []
128
132
  require_paths:
129
133
  - lib
@@ -138,8 +142,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
142
  - !ruby/object:Gem::Version
139
143
  version: '0'
140
144
  requirements: []
141
- rubygems_version: 3.4.10
142
- signing_key:
145
+ rubygems_version: 3.1.6
146
+ signing_key:
143
147
  specification_version: 4
144
148
  summary: Ruby Style Guide, with linter & automatic code fixer
145
149
  test_files: []