standard 1.7.1 → 1.8.0

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: a9d7e41be999895d2ccd72d50fd5023792af89a2e0456ebadf233d1bab9769e2
4
- data.tar.gz: 1a5387cefbf33539d46001b751ea9a7ad800d6dcc940f422421097e561dcba00
3
+ metadata.gz: 2cb18f6663bfbf93a64dd88b13a663d5f71afad9a97de84653a7264f73c4ff2e
4
+ data.tar.gz: 011d683887002ab475fd0b480db3b14d03a0570745ecfc677360156155ccd7eb
5
5
  SHA512:
6
- metadata.gz: 9174f67d57161c8b3cd8942f67399a3260e8c86e232c7e82c7d865ae147bc50eec2eece52bec727dddf336ac64e24311ba0d933c5432491da364fda3ad4cc70a
7
- data.tar.gz: 84d4bb6c00601685030464d0d89c432ce4ae15d6f7b3d43a592b424b86b950efd0a43236957de51cb7fd52049491b3f3fda0db09985d51a9e09adad3b82579b5
6
+ metadata.gz: f1fad93a60bbd4ad5628565b5c8bb18b020bda8e59f3a0bdb6b2364f2b1439ffe85bed5bb21b0dec8522afb155aafa36bb4e48177c0ba67b577b139e05cb0870
7
+ data.tar.gz: 86bd3d2c83a2a228ff18961480cee446d7c01e2f69139ac5187e472e784ef82eeec8be0ac4cca9f092e8782b8a7d940b1d6c5f0621354236b30535df375fc7a1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.8.0
4
+
5
+ * Update rubocop from 1.25.1 to [1.26.0](https://github.com/rubocop/rubocop/tag/v1.26.0)
6
+
7
+ ## 1.7.3
8
+
9
+ * Update rubocop-performance from 1.13.2 to [1.13.3](https://github.com/rubocop/rubocop-performance/tag/v1.13.3)
10
+
11
+ ## 1.7.2
12
+
13
+ * Removes Style/RedundantBegin from Ruby versions <= 2.4
14
+
3
15
  ## 1.7.1
4
16
 
5
17
  * Update rubocop from 1.25.0 to [1.25.1](https://github.com/rubocop/rubocop/tag/v1.25.1)
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (1.7.1)
5
- rubocop (= 1.25.1)
6
- rubocop-performance (= 1.13.2)
4
+ standard (1.8.0)
5
+ rubocop (= 1.26.0)
6
+ rubocop-performance (= 1.13.3)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -15,27 +15,27 @@ GEM
15
15
  method_source (1.0.0)
16
16
  minitest (5.15.0)
17
17
  parallel (1.21.0)
18
- parser (3.1.0.0)
18
+ parser (3.1.1.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.2.0)
25
+ regexp_parser (2.2.1)
26
26
  rexml (3.2.5)
27
- rubocop (1.25.1)
27
+ rubocop (1.26.0)
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
32
  rexml
33
- rubocop-ast (>= 1.15.1, < 2.0)
33
+ rubocop-ast (>= 1.16.0, < 2.0)
34
34
  ruby-progressbar (~> 1.7)
35
35
  unicode-display_width (>= 1.4.0, < 3.0)
36
- rubocop-ast (1.15.1)
37
- parser (>= 3.0.1.1)
38
- rubocop-performance (1.13.2)
36
+ rubocop-ast (1.16.0)
37
+ parser (>= 3.1.1.0)
38
+ rubocop-performance (1.13.3)
39
39
  rubocop (>= 1.7.0, < 2.0)
40
40
  rubocop-ast (>= 0.4.0)
41
41
  ruby-progressbar (1.11.0)
@@ -44,7 +44,7 @@ GEM
44
44
  simplecov-html (~> 0.11)
45
45
  simplecov_json_formatter (~> 0.1)
46
46
  simplecov-html (0.12.3)
47
- simplecov_json_formatter (0.1.3)
47
+ simplecov_json_formatter (0.1.4)
48
48
  unicode-display_width (2.1.0)
49
49
 
50
50
  PLATFORMS
data/config/base.yml CHANGED
@@ -1446,6 +1446,9 @@ Style/NegatedUnless:
1446
1446
  Style/NegatedWhile:
1447
1447
  Enabled: true
1448
1448
 
1449
+ Style/NestedFileDirname:
1450
+ Enabled: true
1451
+
1449
1452
  Style/NestedModifier:
1450
1453
  Enabled: true
1451
1454
 
data/config/ruby-2.4.yml CHANGED
@@ -2,3 +2,6 @@ inherit_from: ./ruby-2.5.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 2.5 # The oldest supported
5
+
6
+ Style/RedundantBegin:
7
+ Enabled: false
data/config/ruby-2.7.yml CHANGED
@@ -1,7 +1,7 @@
1
- inherit_from: ./base.yml
1
+ inherit_from: ./ruby-3.0.yml
2
2
 
3
3
  AllCops:
4
4
  TargetRubyVersion: 2.7
5
5
 
6
6
  Style/HashExcept:
7
- Enabled: true
7
+ Enabled: false
data/config/ruby-3.0.yml CHANGED
@@ -3,8 +3,8 @@ inherit_from: ./base.yml
3
3
  AllCops:
4
4
  TargetRubyVersion: 3.0
5
5
 
6
- Style/HashExcept:
7
- Enabled: true
8
-
9
6
  Naming/BlockForwarding:
10
7
  Enabled: false
8
+
9
+ Style/NestedFileDirname:
10
+ Enabled: false
@@ -28,6 +28,8 @@ class Standard::CreatesConfigStore
28
28
  "ruby-2.5.yml"
29
29
  elsif desired_version < Gem::Version.new("3.0")
30
30
  "ruby-2.7.yml"
31
+ elsif desired_version < Gem::Version.new("3.1")
32
+ "ruby-3.0.yml"
31
33
  else
32
34
  default
33
35
  end
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("1.7.1")
2
+ VERSION = Gem::Version.new('1.8.0')
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.25.1"
23
- spec.add_dependency "rubocop-performance", "1.13.2"
22
+ spec.add_dependency "rubocop", "1.26.0"
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.7.1
4
+ version: 1.8.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: 2022-02-09 00:00:00.000000000 Z
11
+ date: 2022-03-16 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: 1.25.1
19
+ version: 1.26.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.25.1
26
+ version: 1.26.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.13.2
33
+ version: 1.13.3
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.13.2
40
+ version: 1.13.3
41
41
  description:
42
42
  email:
43
43
  - searls@gmail.com