standard 0.4.6 → 0.4.7

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: 8da9b4adf5c100176f57c6d2e7958d3bdc9d20a842cba35fd24d4e680da26496
4
- data.tar.gz: 1bd30e7a596ebaf537daab145a25f6a76a28e2b537a54b0b2f78fca2217841da
3
+ metadata.gz: a6d1ad0141d8e1460bb6001a586107ab181d96c61894c0ba199b4b902904679b
4
+ data.tar.gz: f499489648c8a61ca1d64ae66a3f4dee1e82f64395ad5721bcab12a591348867
5
5
  SHA512:
6
- metadata.gz: e6c532d9a59e84e8e66dc4348b2517e2aabf26fc9c41d1fe52e81432d39824e44be70d306e059dfef5a3206c027fdceaea5c74eca7f93943dd3b7d6e8fa4904e
7
- data.tar.gz: 8db3ea4abffa747c89ebbde1c0bd870fc16384d4bb9d5ebb42785ecac843a9893ac8cf4c67dca4a0218b553a8aa9f4f817f882331f68ab741b294300212e83f6
6
+ metadata.gz: 05f1b00d3505eed59e18908cabc6ce19b9fc3e9ec2123bbf803d08695f66d74f9583d5fedd1b0bdad9161fc33956238613269ef86d4d271c6a75668e0d8a9087
7
+ data.tar.gz: a8306c8a9b88354dbee59896e2b93c1db3c3cc7c1262e7c61157c884f4c69696b7447c083903f874d947d0c860d29b762a0c811b0a966d496916ae1b8f63d715
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.7
4
+
5
+ * Update Rubocop from
6
+ [0.83.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0830-2020-05-11)
7
+ to
8
+ [0.85.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0850-2020-06-01), notably:
9
+
10
+ * Enable
11
+ [Lint/MixedRegexpCaptureTypes](https://rubocop.readthedocs.io/en/stable/cops_lint/#lintmixedregexpcapturetypes)
12
+ * Enable
13
+ [Lint/DeprecatedOpenSSLConstant](https://rubocop.readthedocs.io/en/stable/cops_lint/#lintdeprecatedopensslconstant)
14
+ * Enable
15
+ [Style/RedundantRegexpCharacterClass](https://github.com/rubocop-hq/rubocop/pull/8055)
16
+ * Enable
17
+ [Style/RedundantRegexpEscape](https://github.com/rubocop-hq/rubocop/pull/7908)
18
+ * Update rubocop-performance to
19
+ [1.6.0](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md#160-2020-05-22),
20
+ enabling:
21
+ * [Performance/BindCall](https://github.com/rubocop-hq/rubocop-performance/issues/77)
22
+ * [Performance/DeletePrefix](https://github.com/rubocop-hq/rubocop-performance/pull/105)
23
+ * [Performance/DeleteSuffix](https://github.com/rubocop-hq/rubocop-performance/pull/105)
24
+
25
+
3
26
  ## 0.4.6
4
27
 
5
28
  * Disable `Naming/BinaryOperatorParameterName` because (when non-ascii method
@@ -1,42 +1,47 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (0.4.6)
5
- rubocop (~> 0.83.0)
6
- rubocop-performance (~> 1.5.2)
4
+ standard (0.4.7)
5
+ rubocop (~> 0.85.0)
6
+ rubocop-performance (~> 1.6.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  ast (2.4.0)
12
- coderay (1.1.2)
12
+ coderay (1.1.3)
13
13
  docile (1.3.2)
14
14
  gimme (0.5.0)
15
- method_source (0.9.2)
16
- minitest (5.14.0)
15
+ method_source (1.0.0)
16
+ minitest (5.14.1)
17
17
  parallel (1.19.1)
18
- parser (2.7.1.2)
18
+ parser (2.7.1.3)
19
19
  ast (~> 2.4.0)
20
- pry (0.12.2)
21
- coderay (~> 1.1.0)
22
- method_source (~> 0.9.0)
20
+ pry (0.13.1)
21
+ coderay (~> 1.1)
22
+ method_source (~> 1.0)
23
23
  rainbow (3.0.0)
24
24
  rake (13.0.1)
25
+ regexp_parser (1.7.0)
25
26
  rexml (3.2.4)
26
- rubocop (0.83.0)
27
+ rubocop (0.85.0)
27
28
  parallel (~> 1.10)
28
29
  parser (>= 2.7.0.1)
29
30
  rainbow (>= 2.2.2, < 4.0)
31
+ regexp_parser (>= 1.7)
30
32
  rexml
33
+ rubocop-ast (>= 0.0.3)
31
34
  ruby-progressbar (~> 1.7)
32
35
  unicode-display_width (>= 1.4.0, < 2.0)
33
- rubocop-performance (1.5.2)
36
+ rubocop-ast (0.0.3)
37
+ parser (>= 2.7.0.1)
38
+ rubocop-performance (1.6.0)
34
39
  rubocop (>= 0.71.0)
35
40
  ruby-progressbar (1.10.1)
36
- simplecov (0.18.2)
41
+ simplecov (0.18.5)
37
42
  docile (~> 1.1)
38
43
  simplecov-html (~> 0.11)
39
- simplecov-html (0.12.0)
44
+ simplecov-html (0.12.2)
40
45
  unicode-display_width (1.7.0)
41
46
 
42
47
  PLATFORMS
data/README.md CHANGED
@@ -211,6 +211,7 @@ if you've used StandardJS.)
211
211
  * [Level UP Solutions](https://levups.com)
212
212
  * [Honeybadger](https://www.honeybadger.io)
213
213
  * [Amazon Web Services](https://aws.amazon.com/)
214
+ * [Envoy](https://www.envoy.com)
214
215
  * And that's about it so far!
215
216
 
216
217
  If your team starts using Standard, [send a pull
@@ -160,7 +160,6 @@ Layout/FirstHashElementIndentation:
160
160
 
161
161
  Layout/HeredocIndentation:
162
162
  Enabled: true
163
- EnforcedStyle: squiggly
164
163
 
165
164
  Layout/IndentationConsistency:
166
165
  Enabled: true
@@ -339,6 +338,9 @@ Lint/Debugger:
339
338
  Lint/DeprecatedClassMethods:
340
339
  Enabled: true
341
340
 
341
+ Lint/DeprecatedOpenSSLConstant:
342
+ Enabled: true
343
+
342
344
  Lint/DuplicateCaseCondition:
343
345
  Enabled: true
344
346
 
@@ -409,6 +411,9 @@ Lint/MissingCopEnableDirective:
409
411
  Enabled: true
410
412
  MaximumRangeSize: .inf
411
413
 
414
+ Lint/MixedRegexpCaptureTypes:
415
+ Enabled: true
416
+
412
417
  Lint/MultipleComparison:
413
418
  Enabled: true
414
419
 
@@ -558,6 +563,9 @@ Naming/VariableName:
558
563
  Enabled: true
559
564
  EnforcedStyle: snake_case
560
565
 
566
+ Performance/BindCall:
567
+ Enabled: true
568
+
561
569
  Performance/Caller:
562
570
  Enabled: true
563
571
 
@@ -567,6 +575,12 @@ Performance/CompareWithBlock:
567
575
  Performance/Count:
568
576
  Enabled: true
569
577
 
578
+ Performance/DeletePrefix:
579
+ Enabled: true
580
+
581
+ Performance/DeleteSuffix:
582
+ Enabled: true
583
+
570
584
  Performance/Detect:
571
585
  Enabled: true
572
586
 
@@ -576,8 +590,6 @@ Performance/DoubleStartEndWith:
576
590
 
577
591
  Performance/EndWith:
578
592
  Enabled: true
579
- SafeAutoCorrect: false
580
- AutoCorrect: false
581
593
 
582
594
  Performance/FixedSize:
583
595
  Enabled: true
@@ -612,8 +624,6 @@ Performance/Size:
612
624
 
613
625
  Performance/StartWith:
614
626
  Enabled: true
615
- SafeAutoCorrect: false
616
- AutoCorrect: false
617
627
 
618
628
  Performance/StringReplacement:
619
629
  Enabled: true
@@ -928,6 +938,12 @@ Style/RedundantFreeze:
928
938
  Style/RedundantParentheses:
929
939
  Enabled: true
930
940
 
941
+ Style/RedundantRegexpCharacterClass:
942
+ Enabled: true
943
+
944
+ Style/RedundantRegexpEscape:
945
+ Enabled: true
946
+
931
947
  Style/RedundantReturn:
932
948
  Enabled: true
933
949
  AllowMultipleReturnValues: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("0.4.6")
2
+ VERSION = Gem::Version.new("0.4.7")
3
3
  end
@@ -19,8 +19,8 @@ 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", "~> 0.83.0"
23
- spec.add_dependency "rubocop-performance", "~> 1.5.2"
22
+ spec.add_dependency "rubocop", "~> 0.85.0"
23
+ spec.add_dependency "rubocop-performance", "~> 1.6.0"
24
24
 
25
25
  spec.add_development_dependency "bundler"
26
26
  spec.add_development_dependency "minitest", "~> 5.0"
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: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2020-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.83.0
19
+ version: 0.85.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: 0.83.0
26
+ version: 0.85.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.2
33
+ version: 1.6.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.2
40
+ version: 1.6.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement