standard-custom 1.0.1 → 1.0.2

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: bdb9a93c9bbbe219ccff460d8c3007ef817444990132625d10ab749bd6202833
4
- data.tar.gz: 4a5f35d8fa927465334653129f8a792bdb1c27688a87ace74e4b68b5009f048a
3
+ metadata.gz: b725435ecef4183bc0c5d67c0b6c192a7cfe5be95ac1e550a729230b5f056cb6
4
+ data.tar.gz: e393736a4447ca93aad195692a6c7c80f6ad3e1bfcd3e5dd0d9ad6401aa784aa
5
5
  SHA512:
6
- metadata.gz: 33c4d1bccc555767189e9fa3db72d7e415e081c219848fa5e766fd44fb4c539abc70680c470a7859f60c3c8ecda35c2b2e6c6a1ba893786d3fa2d22b58b657ce
7
- data.tar.gz: 3be5212f892ddc8e52725eae0e7ee7360516d70b473fa0825ba939443e249c0a3a7dacede1cdbdf878dff68a0291011526e460f817c4c5f9ec056bd9c11428e3
6
+ metadata.gz: 36d213b5f7a7ce1020c1704c2a806903b402cf4679454bbcf9e48d5fb4800fdb2a0eadae98d83bd1e5aa80f710ece9519944f7575cbcfeb2fbe3198c72412e99
7
+ data.tar.gz: 453166dc9e58df8531e7a27f22067bb691a4b7a115e5ed43b58c4311ec79b116dff87a04cd1c3fb5bc54816ca73f74619963af1895657c9f1a2d15d587e37982
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [1.0.2]
2
+
3
+ - Fix compatibility when executed via the rubocop CLI and instead of Standard
4
+ [569](https://github.com/standardrb/standard/issues/569)
5
+
1
6
  ## [1.0.1]
2
7
 
3
8
  - Remove erroneous file
data/Gemfile CHANGED
@@ -5,7 +5,3 @@ gem "rake"
5
5
  gem "minitest"
6
6
  gem "standard"
7
7
  gem "m"
8
-
9
- group :test do
10
- gem "rubocop", "~> 1.48.1"
11
- end
data/Gemfile.lock CHANGED
@@ -1,8 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard-custom (1.0.1)
4
+ standard-custom (1.0.2)
5
5
  lint_roller (~> 1.0)
6
+ rubocop (~> 1.50)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
@@ -10,39 +11,46 @@ GEM
10
11
  ast (2.4.2)
11
12
  json (2.6.3)
12
13
  language_server-protocol (3.17.0.3)
13
- lint_roller (1.0.0)
14
+ lint_roller (1.1.0)
14
15
  m (1.6.1)
15
16
  method_source (>= 0.6.7)
16
17
  rake (>= 0.9.2.2)
17
18
  method_source (1.0.0)
18
- minitest (5.18.0)
19
+ minitest (5.18.1)
19
20
  parallel (1.23.0)
20
- parser (3.2.2.1)
21
+ parser (3.2.2.3)
21
22
  ast (~> 2.4.1)
23
+ racc
24
+ racc (1.7.1)
22
25
  rainbow (3.1.1)
23
26
  rake (13.0.6)
24
- regexp_parser (2.8.0)
27
+ regexp_parser (2.8.1)
25
28
  rexml (3.2.5)
26
- rubocop (1.48.1)
29
+ rubocop (1.52.1)
27
30
  json (~> 2.3)
28
31
  parallel (~> 1.10)
29
- parser (>= 3.2.0.0)
32
+ parser (>= 3.2.2.3)
30
33
  rainbow (>= 2.2.2, < 4.0)
31
34
  regexp_parser (>= 1.8, < 3.0)
32
35
  rexml (>= 3.2.5, < 4.0)
33
- rubocop-ast (>= 1.26.0, < 2.0)
36
+ rubocop-ast (>= 1.28.0, < 2.0)
34
37
  ruby-progressbar (~> 1.7)
35
38
  unicode-display_width (>= 2.4.0, < 3.0)
36
39
  rubocop-ast (1.29.0)
37
40
  parser (>= 3.2.1.0)
38
- rubocop-performance (1.16.0)
41
+ rubocop-performance (1.18.0)
39
42
  rubocop (>= 1.7.0, < 2.0)
40
43
  rubocop-ast (>= 0.4.0)
41
44
  ruby-progressbar (1.13.0)
42
- standard (1.26.0)
45
+ standard (1.30.1)
43
46
  language_server-protocol (~> 3.17.0.2)
44
- rubocop (~> 1.48.1)
45
- rubocop-performance (~> 1.16.0)
47
+ lint_roller (~> 1.0)
48
+ rubocop (~> 1.52.0)
49
+ standard-custom (~> 1.0.0)
50
+ standard-performance (~> 1.1.0)
51
+ standard-performance (1.1.1)
52
+ lint_roller (~> 1.1)
53
+ rubocop-performance (~> 1.18.0)
46
54
  unicode-display_width (2.4.2)
47
55
 
48
56
  PLATFORMS
@@ -53,7 +61,6 @@ DEPENDENCIES
53
61
  m
54
62
  minitest
55
63
  rake
56
- rubocop (~> 1.48.1)
57
64
  standard
58
65
  standard-custom!
59
66
 
@@ -1,3 +1,5 @@
1
+ require "rubocop"
2
+
1
3
  # Check for uses of braces around single line blocks, but allows either
2
4
  # braces or do/end for multi-line blocks.
3
5
  #
@@ -18,8 +18,6 @@ module Standard::Custom
18
18
  end
19
19
 
20
20
  def rules(context)
21
- require_relative "../cop/block_single_line_braces"
22
-
23
21
  LintRoller::Rules.new(
24
22
  type: :path,
25
23
  config_format: :rubocop,
@@ -1,5 +1,5 @@
1
1
  module Standard
2
2
  module Custom
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
@@ -1,9 +1,10 @@
1
1
  require "lint_roller"
2
2
 
3
- require_relative "custom/version"
4
- require_relative "custom/plugin"
5
-
6
3
  module Standard
7
4
  module Custom
8
5
  end
9
6
  end
7
+
8
+ require_relative "cop/block_single_line_braces"
9
+ require_relative "custom/version"
10
+ require_relative "custom/plugin"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard-custom
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lint_roller
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.50'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.50'
27
41
  description:
28
42
  email:
29
43
  - searls@gmail.com
@@ -67,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  requirements: []
70
- rubygems_version: 3.4.10
84
+ rubygems_version: 3.4.14
71
85
  signing_key:
72
86
  specification_version: 4
73
87
  summary: Plugin containing implementations of custom cops that are bundled as defaults