standard 0.12.0 → 0.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +4 -4
- data/config/base.yml +9 -0
- data/config/ruby-2.5.yml +1 -1
- data/config/ruby-2.7.yml +7 -0
- data/lib/standard/creates_config_store/assigns_rubocop_yaml.rb +2 -0
- data/lib/standard/runners/rubocop.rb +5 -1
- data/lib/standard/version.rb +1 -1
- data/standard.gemspec +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0e6cc49d6d26e0bb428b7d05637a45b00ea6e0542f04a215a621ae5238c35dc
|
4
|
+
data.tar.gz: b7599f068adeff886b013330d72c2dd8fceb415ac6d53299fee208eec6c7b141
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5711e67885d2ed2167fc9ec61614a69397967cbe57f97d313973e17b0d932c822b4fc832e4159caec22a204ac4e4a8144b260bd8368ead6917f9429f8464ce41
|
7
|
+
data.tar.gz: 5f1b78ef4a3962a83bfae6b4593c42efc9cdd588da671e912ed66ff1f9d1bd3571cf05960198989405627211207aa4303f58dc173c8a650d37468d984d66ce3e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.13.0
|
4
|
+
|
5
|
+
* Update rubocop from 1.7.0 to [1.10.0](https://github.com/rubocop-hq/rubocop/releases/tag/v1.10.0) enabling:
|
6
|
+
* [`Lint/AmbiguousAssignment`](https://github.com/rubocop-hq/rubocop/issues/9223)
|
7
|
+
* [`Style/HashExcept`](https://github.com/rubocop-hq/rubocop/pull/9283)
|
8
|
+
* [`Lint/DeprecatedConstants`](https://github.com/rubocop-hq/rubocop/pull/9324)
|
9
|
+
|
3
10
|
## 0.12.0
|
4
11
|
|
5
12
|
* Update rubocop from 1.7.0 to [1.8.1](https://github.com/rubocop-hq/rubocop/releases/tag/v1.8.1)
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
standard (0.
|
5
|
-
rubocop (= 1.
|
4
|
+
standard (0.13.0)
|
5
|
+
rubocop (= 1.10.0)
|
6
6
|
rubocop-performance (= 1.9.2)
|
7
7
|
|
8
8
|
GEM
|
@@ -17,14 +17,14 @@ GEM
|
|
17
17
|
parallel (1.20.1)
|
18
18
|
parser (3.0.0.0)
|
19
19
|
ast (~> 2.4.1)
|
20
|
-
pry (0.
|
20
|
+
pry (0.14.0)
|
21
21
|
coderay (~> 1.1)
|
22
22
|
method_source (~> 1.0)
|
23
23
|
rainbow (3.0.0)
|
24
24
|
rake (13.0.3)
|
25
25
|
regexp_parser (2.0.3)
|
26
26
|
rexml (3.2.4)
|
27
|
-
rubocop (1.
|
27
|
+
rubocop (1.10.0)
|
28
28
|
parallel (~> 1.10)
|
29
29
|
parser (>= 3.0.0.0)
|
30
30
|
rainbow (>= 2.2.2, < 4.0)
|
data/config/base.yml
CHANGED
@@ -329,6 +329,9 @@ Layout/TrailingWhitespace:
|
|
329
329
|
Enabled: true
|
330
330
|
AllowInHeredoc: true
|
331
331
|
|
332
|
+
Lint/AmbiguousAssignment:
|
333
|
+
Enabled: true
|
334
|
+
|
332
335
|
Lint/AmbiguousOperator:
|
333
336
|
Enabled: true
|
334
337
|
|
@@ -360,6 +363,9 @@ Lint/Debugger:
|
|
360
363
|
Lint/DeprecatedClassMethods:
|
361
364
|
Enabled: true
|
362
365
|
|
366
|
+
Lint/DeprecatedConstants:
|
367
|
+
Enabled: true
|
368
|
+
|
363
369
|
Lint/DeprecatedOpenSSLConstant:
|
364
370
|
Enabled: true
|
365
371
|
|
@@ -880,6 +886,9 @@ Style/GlobalVars:
|
|
880
886
|
Enabled: true
|
881
887
|
AllowedVariables: []
|
882
888
|
|
889
|
+
Style/HashExcept:
|
890
|
+
Enabled: true
|
891
|
+
|
883
892
|
Style/HashSyntax:
|
884
893
|
Enabled: true
|
885
894
|
EnforcedStyle: ruby19_no_mixed_keys
|
data/config/ruby-2.5.yml
CHANGED
data/config/ruby-2.7.yml
ADDED
@@ -28,7 +28,11 @@ module Standard
|
|
28
28
|
def print_corrected_code_if_fixing_stdin(rubocop_options)
|
29
29
|
return unless rubocop_options[:stdin] && rubocop_options[:auto_correct]
|
30
30
|
|
31
|
-
|
31
|
+
if rubocop_options[:stderr]
|
32
|
+
warn "=" * 20
|
33
|
+
else
|
34
|
+
puts "=" * 20
|
35
|
+
end
|
32
36
|
print rubocop_options[:stdin]
|
33
37
|
end
|
34
38
|
end
|
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.10.0"
|
23
23
|
spec.add_dependency "rubocop-performance", "1.9.2"
|
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: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Searls
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-16 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.10.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.
|
26
|
+
version: 1.10.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-performance
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- config/ruby-2.2.yml
|
65
65
|
- config/ruby-2.3.yml
|
66
66
|
- config/ruby-2.5.yml
|
67
|
+
- config/ruby-2.7.yml
|
67
68
|
- docs/RELEASE.md
|
68
69
|
- exe/standardrb
|
69
70
|
- lib/standard.rb
|