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 +4 -4
- data/CHANGELOG.md +12 -0
- data/Gemfile.lock +8 -8
- data/README.md +5 -1
- data/config/base.yml +5 -2
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eccc642c9ef6ba599bd6810a987a2f42b048fd9be747f74569bdc268bca67c9
|
4
|
+
data.tar.gz: eb6df2a69cc05c6efd94cecdff7bfe7caedb03a48725db8e9fe17ce8c54c862c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
5
|
-
rubocop (= 1.
|
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.
|
17
|
+
minitest (5.16.3)
|
18
18
|
parallel (1.22.1)
|
19
|
-
parser (3.1.2.
|
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.
|
28
|
+
rubocop (1.35.1)
|
29
29
|
json (~> 2.3)
|
30
30
|
parallel (~> 1.10)
|
31
|
-
parser (>= 3.1.
|
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.
|
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.
|
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
|
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
|
-
|
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:
|
1844
|
+
IgnoreClassMethods: true
|
1842
1845
|
AllowedMethods:
|
1843
1846
|
- to_ary
|
1844
1847
|
- to_a
|
data/lib/standard/version.rb
CHANGED
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.
|
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.
|
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-
|
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.
|
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.
|
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.
|
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
|