standard 1.10.0 → 1.12.1

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: 445584a32cfbc578f820da2051b0aae3e0a9478721873c57f05ffcb208447ba0
4
- data.tar.gz: 7c44c0222eafcb75e2c03c90d665777d5e8163485d5d58a4ebb33b43fddf5db1
3
+ metadata.gz: 1d2f2b142c591911c9263ef205ac6c9b1db4b6f5b09b4f7adc376107c2caff76
4
+ data.tar.gz: 4832357da3082761f15bf36bfb9528573359d06afd2f28591e5abf0b5702f3d2
5
5
  SHA512:
6
- metadata.gz: 78d723d29497fbfa509864d809d502899fd777667d49c13a4cd3e776294ec7ccbe46f4a2de9ba80476fefe6477733a9fcb6a868b6c27f9732600fe0decd1ad2d
7
- data.tar.gz: ca4d8308217b59a8189dd9779bc6d4ecb75e8ee63f56b73f75af05827016365c040bd1861aa4632feabeee0acd46bba0f5def2177af226b749661ce8171802ca
6
+ metadata.gz: fc978a164d9321430d0d90c2a66473763d0ba19c9903a58b11fcced6a40bdf0fc89eb3714a05ef8978f939ea16e13c6775c0614f7fc0e5eb63f8ef5c092037c9
7
+ data.tar.gz: ec7e4dd680b36eb882870da21c23acb0c5df1d5f17a1e8d5d46cd680caa4505517eac48e2af5fe34d5bf5961353fdc03aafb08e882052ce3e78f2b7eaf8b2d4f
@@ -30,7 +30,7 @@ jobs:
30
30
  run: |
31
31
  eval "$(bundle outdated rubocop rubocop-performance |
32
32
  grep rubocop |
33
- awk '{print "sed -i \"2i* Update "$1" from "$2" to ["$3"](https://github.com/rubocop/"$1"/tag/v"$3")\" CHANGELOG.md"}' - )";
33
+ awk '{print "sed -i \"2i* Update "$1" from "$2" to ["$3"](https://github.com/rubocop/"$1"/releases/tag/v"$3")\" CHANGELOG.md"}' - )";
34
34
  sed -i '2i\\n## Unreleased\n' CHANGELOG.md;
35
35
  - name: Update Gemspec
36
36
  run: |
data/CHANGELOG.md CHANGED
@@ -1,12 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.12.1
4
+
5
+ * Update rubocop from 1.29.0 to [1.29.1](https://github.com/rubocop/rubocop/releases/tag/v1.29.1), fixing [#413](https://github.com/testdouble/standard/issues/413)
6
+
7
+ ## 1.12.0
8
+
9
+ * Update rubocop from 1.28.2 to [1.29.0](https://github.com/rubocop/rubocop/releases/tag/v1.29.0)
10
+
11
+ ## 1.11.0
12
+
13
+ * Update rubocop from 1.27.0 to [1.28.2](https://github.com/rubocop/rubocop/releases/tag/v1.28.2)
14
+
3
15
  ## 1.10.0
4
16
 
5
- * Update rubocop from 1.26.1 to [1.27.0](https://github.com/rubocop/rubocop/tag/v1.27.0)
17
+ * Update rubocop from 1.26.1 to [1.27.0](https://github.com/rubocop/rubocop/releases/tag/v1.27.0)
6
18
 
7
19
  ## 1.9.1
8
20
 
9
- * Update rubocop from 1.26.0 to [1.26.1](https://github.com/rubocop/rubocop/tag/v1.26.1)
21
+ * Update rubocop from 1.26.0 to [1.26.1](https://github.com/rubocop/rubocop/releases/tag/v1.26.1)
10
22
 
11
23
  ## 1.9.0
12
24
 
@@ -14,7 +26,7 @@
14
26
 
15
27
  ## 1.8.0
16
28
 
17
- * Update rubocop from 1.25.1 to [1.26.0](https://github.com/rubocop/rubocop/tag/v1.26.0)
29
+ * Update rubocop from 1.25.1 to [1.26.0](https://github.com/rubocop/rubocop/releases/tag/v1.26.0)
18
30
 
19
31
  ## 1.7.3
20
32
 
@@ -26,22 +38,22 @@
26
38
 
27
39
  ## 1.7.1
28
40
 
29
- * Update rubocop from 1.25.0 to [1.25.1](https://github.com/rubocop/rubocop/tag/v1.25.1)
41
+ * Update rubocop from 1.25.0 to [1.25.1](https://github.com/rubocop/rubocop/releases/tag/v1.25.1)
30
42
 
31
43
  ## 1.7.0
32
44
 
33
45
  * Update rubocop-performance from 1.13.1 to [1.13.2](https://github.com/rubocop/rubocop-performance/tag/v1.13.2)
34
- * Update rubocop from 1.24.1 to [1.25.0](https://github.com/rubocop/rubocop/tag/v1.25.0)
46
+ * Update rubocop from 1.24.1 to [1.25.0](https://github.com/rubocop/rubocop/releases/tag/v1.25.0)
35
47
 
36
48
  ## 1.6.0
37
49
 
38
50
  * Update rubocop-performance from 1.12.0 to [1.13.1](https://github.com/rubocop/rubocop-performance/tag/v1.13.1)
39
- * Update rubocop from 1.23.0 to [1.24.1](https://github.com/rubocop/rubocop/tag/v1.24.1)
51
+ * Update rubocop from 1.23.0 to [1.24.1](https://github.com/rubocop/rubocop/releases/tag/v1.24.1)
40
52
 
41
53
  ## 1.5.0
42
54
 
43
55
  * Update rubocop-performance from 1.11.5 to [1.12.0](https://github.com/rubocop/rubocop-performance/tag/v1.12.0)
44
- * Update rubocop from 1.22.3 to [1.23.0](https://github.com/rubocop/rubocop/tag/v1.23.0)
56
+ * Update rubocop from 1.22.3 to [1.23.0](https://github.com/rubocop/rubocop/releases/tag/v1.23.0)
45
57
 
46
58
  ## 1.4.0
47
59
 
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.10.0)
5
- rubocop (= 1.27.0)
4
+ standard (1.12.1)
5
+ rubocop (= 1.29.1)
6
6
  rubocop-performance (= 1.13.3)
7
7
 
8
8
  GEM
@@ -15,25 +15,25 @@ GEM
15
15
  method_source (1.0.0)
16
16
  minitest (5.15.0)
17
17
  parallel (1.22.1)
18
- parser (3.1.1.0)
18
+ parser (3.1.2.0)
19
19
  ast (~> 2.4.1)
20
20
  pry (0.14.1)
21
21
  coderay (~> 1.1)
22
22
  method_source (~> 1.0)
23
23
  rainbow (3.1.1)
24
24
  rake (13.0.6)
25
- regexp_parser (2.3.0)
25
+ regexp_parser (2.4.0)
26
26
  rexml (3.2.5)
27
- rubocop (1.27.0)
27
+ rubocop (1.29.1)
28
28
  parallel (~> 1.10)
29
29
  parser (>= 3.1.0.0)
30
30
  rainbow (>= 2.2.2, < 4.0)
31
31
  regexp_parser (>= 1.8, < 3.0)
32
- rexml
33
- rubocop-ast (>= 1.16.0, < 2.0)
32
+ rexml (>= 3.2.5, < 4.0)
33
+ rubocop-ast (>= 1.17.0, < 2.0)
34
34
  ruby-progressbar (~> 1.7)
35
35
  unicode-display_width (>= 1.4.0, < 3.0)
36
- rubocop-ast (1.17.0)
36
+ rubocop-ast (1.18.0)
37
37
  parser (>= 3.1.1.0)
38
38
  rubocop-performance (1.13.3)
39
39
  rubocop (>= 1.7.0, < 2.0)
data/config/base.yml CHANGED
@@ -35,6 +35,9 @@ Bundler/OrderedGems:
35
35
  Gemspec/DateAssignment:
36
36
  Enabled: true
37
37
 
38
+ Gemspec/DependencyVersion:
39
+ Enabled: false
40
+
38
41
  Gemspec/DuplicatedAssignment:
39
42
  Enabled: true
40
43
  Include:
@@ -235,7 +238,7 @@ Layout/IndentationStyle:
235
238
  Layout/IndentationWidth:
236
239
  Enabled: true
237
240
  Width: 2
238
- IgnoredPatterns: []
241
+ AllowedPatterns: []
239
242
 
240
243
  Layout/InitialIndentation:
241
244
  Enabled: true
@@ -787,9 +790,6 @@ Lint/UselessAccessModifier:
787
790
  Lint/UselessAssignment:
788
791
  Enabled: true
789
792
 
790
- Lint/UselessElseWithoutRescue:
791
- Enabled: true
792
-
793
793
  Lint/UselessMethodDefinition:
794
794
  Enabled: false
795
795
 
@@ -1057,6 +1057,9 @@ Performance/StringIdentifierArgument:
1057
1057
  Security/Eval:
1058
1058
  Enabled: true
1059
1059
 
1060
+ Security/CompoundHash:
1061
+ Enabled: true
1062
+
1060
1063
  Security/JSONLoad:
1061
1064
  Enabled: true
1062
1065
  AutoCorrect: false
@@ -1257,6 +1260,9 @@ Style/EndBlock:
1257
1260
  Style/EndlessMethod:
1258
1261
  Enabled: false
1259
1262
 
1263
+ Style/EnvHome:
1264
+ Enabled: false
1265
+
1260
1266
  Style/EvalWithLocation:
1261
1267
  Enabled: true
1262
1268
 
@@ -1272,6 +1278,9 @@ Style/ExplicitBlockArgument:
1272
1278
  Style/ExponentialNotation:
1273
1279
  Enabled: false
1274
1280
 
1281
+ Style/FetchEnvVar:
1282
+ Enabled: false
1283
+
1275
1284
  Style/FloatDivision:
1276
1285
  Enabled: false
1277
1286
 
@@ -1506,6 +1515,9 @@ Style/NumericLiterals:
1506
1515
  Style/NumericPredicate:
1507
1516
  Enabled: false
1508
1517
 
1518
+ Style/ObjectThen:
1519
+ Enabled: false
1520
+
1509
1521
  Style/OneLineConditional:
1510
1522
  Enabled: true
1511
1523
 
@@ -1552,7 +1564,8 @@ Style/Proc:
1552
1564
  Enabled: true
1553
1565
 
1554
1566
  Style/QuotedSymbols:
1555
- Enabled: false
1567
+ Enabled: true
1568
+ EnforcedStyle: same_as_string_literals
1556
1569
 
1557
1570
  Style/RaiseArgs:
1558
1571
  Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new('1.10.0')
2
+ VERSION = Gem::Version.new("1.12.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.27.0"
22
+ spec.add_dependency "rubocop", "1.29.1"
23
23
  spec.add_dependency "rubocop-performance", "1.13.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.10.0
4
+ version: 1.12.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-04-11 00:00:00.000000000 Z
11
+ date: 2022-05-17 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.27.0
19
+ version: 1.29.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.27.0
26
+ version: 1.29.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.2.32
117
+ rubygems_version: 3.3.6
118
118
  signing_key:
119
119
  specification_version: 4
120
120
  summary: Ruby Style Guide, with linter & automatic code fixer