standard 1.14.0 → 1.16.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 93197f658f1dd3576f944e866175bef36842cf969496c160ea4e4deac911ce05
4
- data.tar.gz: a8d405717903f251c6f27731aef338f4b7831698d7e2aa52b1b3fd56b7e0c8fc
3
+ metadata.gz: 0eccc642c9ef6ba599bd6810a987a2f42b048fd9be747f74569bdc268bca67c9
4
+ data.tar.gz: eb6df2a69cc05c6efd94cecdff7bfe7caedb03a48725db8e9fe17ce8c54c862c
5
5
  SHA512:
6
- metadata.gz: a5929c4b9f4d4184a91a0e994d4f25fbabf00e1483adacdd7be29c6a711c1618bf4231ab4dbaf9a65dd837ef3b8d3da7fe815918c001bb6e58740a3fa434b2a9
7
- data.tar.gz: ded2c3e5d2e20b9da5212995dea0a723e494618fd0a52e2ca6eb5d00a63d80f7d226b1162acd5a7334042eb5cda224c57168ae68786770bd57680df101b980ee
6
+ metadata.gz: 293b881fbe10c38247b1cc5e59736cb71e27d94bcdf7479ed5863dca5614943f99511518183f0e06c8ae2883086f5b573f1c9e75bc82a9ea4a0c1aa46dcb3142
7
+ data.tar.gz: 40351aa4be24ae0aa07d650d511577d349df8b1e4abf7a0a87973606a26e0cd26d149401a247ea35480c6a4f30d2ced5580e73d1c7b408241386943607a19a31
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.16.1
4
+
5
+ * Update rubocop from 1.35.0 to [1.35.1](https://github.com/rubocop/rubocop/releases/tag/v1.35.1)
6
+
7
+ ## 1.16.0
8
+
9
+ * Update rubocop from 1.33.0 to [1.35.0](https://github.com/rubocop/rubocop/releases/tag/v1.35.0)
10
+
11
+ ## 1.15.0
12
+
13
+ * Update rubocop from 1.32.0 to [1.33.0](https://github.com/rubocop/rubocop/releases/tag/v1.33.0)
14
+
3
15
  ## 1.14.0
4
16
 
5
17
  * Update rubocop from 1.31.2 to [1.32.0](https://github.com/rubocop/rubocop/releases/tag/v1.32.0)
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.14.0)
5
- rubocop (= 1.32.0)
4
+ standard (1.16.1)
5
+ rubocop (= 1.35.1)
6
6
  rubocop-performance (= 1.14.3)
7
7
 
8
8
  GEM
@@ -14,9 +14,9 @@ GEM
14
14
  gimme (0.5.0)
15
15
  json (2.6.2)
16
16
  method_source (1.0.0)
17
- minitest (5.16.2)
17
+ minitest (5.16.3)
18
18
  parallel (1.22.1)
19
- parser (3.1.2.0)
19
+ parser (3.1.2.1)
20
20
  ast (~> 2.4.1)
21
21
  pry (0.14.1)
22
22
  coderay (~> 1.1)
@@ -25,17 +25,17 @@ GEM
25
25
  rake (13.0.6)
26
26
  regexp_parser (2.5.0)
27
27
  rexml (3.2.5)
28
- rubocop (1.32.0)
28
+ rubocop (1.35.1)
29
29
  json (~> 2.3)
30
30
  parallel (~> 1.10)
31
- parser (>= 3.1.0.0)
31
+ parser (>= 3.1.2.1)
32
32
  rainbow (>= 2.2.2, < 4.0)
33
33
  regexp_parser (>= 1.8, < 3.0)
34
34
  rexml (>= 3.2.5, < 4.0)
35
- rubocop-ast (>= 1.19.1, < 2.0)
35
+ rubocop-ast (>= 1.20.1, < 2.0)
36
36
  ruby-progressbar (~> 1.7)
37
37
  unicode-display_width (>= 1.4.0, < 3.0)
38
- rubocop-ast (1.19.1)
38
+ rubocop-ast (1.21.0)
39
39
  parser (>= 3.1.1.0)
40
40
  rubocop-performance (1.14.3)
41
41
  rubocop (>= 1.7.0, < 2.0)
data/README.md CHANGED
@@ -182,7 +182,7 @@ The beauty of Ruby Standard Style is that it's simple. No one wants to
182
182
  maintain multiple hundred-line style configuration files for every module/project
183
183
  they work on. Enough of this madness!
184
184
 
185
- This gem saves you (and others!) time in three ways:
185
+ This gem saves you (and others!) time in four ways:
186
186
 
187
187
  - **No configuration.** The easiest way to enforce consistent style in your
188
188
  project. Just drop it in.
@@ -190,6 +190,9 @@ This gem saves you (and others!) time in three ways:
190
190
  messy or inconsistent code.
191
191
  - **Catch style issues & programmer errors early.** Save precious code review
192
192
  time by eliminating back-and-forth between reviewer & contributor.
193
+ - **Deliberate pace.** We strive to take the hassle of upgrading Rubocop out of each
194
+ individual team's hands and shoulder it ourselves. We enable about ~20% of new
195
+ cops and generally choose conservative configurations for them.
193
196
 
194
197
  Adopting Standard style means ranking the importance of code clarity and
195
198
  community conventions higher than personal style. This might not make sense for
@@ -223,6 +226,7 @@ if you've used StandardJS.)
223
226
  * [Brave Software](https://github.com/brave-intl/publishers)
224
227
  * [Collective Idea](https://collectiveidea.com/)
225
228
  * [Culture Foundry](https://www.culturefoundry.com/)
229
+ * [Elevate Labs](https://elevatelabs.com)
226
230
  * [Envoy](https://www.envoy.com)
227
231
  * [Evil Martians](https://evilmartians.com)
228
232
  * [Hashrocket](https://hashrocket.com)
data/config/base.yml CHANGED
@@ -1413,6 +1413,9 @@ Style/LineEndConcatenation:
1413
1413
  Enabled: true
1414
1414
  SafeAutoCorrect: false
1415
1415
 
1416
+ Style/MagicCommentFormat:
1417
+ Enabled: false
1418
+
1416
1419
  Style/MapCompactWithConditionalBlock:
1417
1420
  Enabled: true
1418
1421
 
@@ -1424,7 +1427,7 @@ Style/MethodCallWithArgsParentheses:
1424
1427
 
1425
1428
  Style/MethodCallWithoutArgsParentheses:
1426
1429
  Enabled: true
1427
- IgnoredMethods: []
1430
+ AllowedMethods: []
1428
1431
 
1429
1432
  Style/MethodCalledOnDoEndBlock:
1430
1433
  Enabled: false
@@ -1838,7 +1841,7 @@ Style/TrivialAccessors:
1838
1841
  ExactNameMatch: true
1839
1842
  AllowPredicates: true
1840
1843
  AllowDSLWriters: false
1841
- IgnoreClassMethods: false
1844
+ IgnoreClassMethods: true
1842
1845
  AllowedMethods:
1843
1846
  - to_ary
1844
1847
  - to_a
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new('1.14.0')
2
+ VERSION = Gem::Version.new('1.16.1')
3
3
  end
data/standard.gemspec CHANGED
@@ -19,6 +19,6 @@ 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.32.0"
22
+ spec.add_dependency "rubocop", "1.35.1"
23
23
  spec.add_dependency "rubocop-performance", "1.14.3"
24
24
  end
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.14.0
4
+ version: 1.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-25 00:00:00.000000000 Z
11
+ date: 2022-08-30 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.32.0
19
+ version: 1.35.1
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.32.0
26
+ version: 1.35.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: '0'
116
116
  requirements: []
117
- rubygems_version: 3.3.12
117
+ rubygems_version: 3.1.6
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Ruby Style Guide, with linter & automatic code fixer