rubocop-cobra 0.4.0 → 0.4.2

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: 76f52eec926c6471df7602e1b37f8a71b95e3f912e9b9dfa68e7630e51c775aa
4
- data.tar.gz: 0ab74366792c29c478052b70ad37c082b14950e708d2112fbd7ab762686d2391
3
+ metadata.gz: 07b98212c7432d3e5fd8d00f879f6c242d121c74e9d24ba1b1d56c708410d78b
4
+ data.tar.gz: bbc10babcde31d9bcbadebf4dd8970f113ecbfc2737c8c459a9a2677e2fa3e35
5
5
  SHA512:
6
- metadata.gz: 6df224d48e7b2f42150dcab95017a47fdaf0565becfab8d2582e981f989c793aa373932bbc7fd73966efb0bfd92abf391e0ee8559fdbcde61b7986fd4b29cf96
7
- data.tar.gz: 4ff949b8763fb54ded35ff09b3250c46d64a2a69a1b67c79aa346716c0cd6d7410e027c04ee87c5d7705e7fa0febfb3774a94b3c02a3e1c93a0f3e7da9cf8d0f
6
+ metadata.gz: 502c3e50f0e19b791160b2b0ef46e3439525ca0fa67fa1b3df225dcc854e8187221bb8004f4b2a926714c970fa8db38dfbca28a876c500297aaa403a79ec37b5
7
+ data.tar.gz: 00625d665102cbab491e723b57911c005078b89a41ddd5007e5394db1023f621ec192c45fc06ecec1fd78844bf658a8ac3d9b857362c6a5a4db21b24ff26d10a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.4.2] - 2023-02-08
4
+
5
+ - Permit Rubocop upgrades again because bug was fixed.
6
+
7
+ ## [0.4.1] - 2023-02-08
8
+
9
+ - Hold back version of Rubocop that's permitted due to incompatibility with our implementation.
10
+
3
11
  ## [0.4.0] - 2022-06-01
4
12
 
5
13
  - Adds Cobra/ViewComponentFilePlacement cop
data/Gemfile CHANGED
@@ -7,6 +7,6 @@ gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
9
9
  gem "rspec", "~> 3.0"
10
- gem "rubocop", "~> 1.29.1"
10
+ gem "rubocop", "~> 1.44.0"
11
11
 
12
12
  gem "rubocop-powerhome", path: "../rubocop-powerhome"
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ../rubocop-powerhome
3
3
  specs:
4
- rubocop-powerhome (0.4.0)
5
- rubocop
4
+ rubocop-powerhome (0.5.2)
5
+ rubocop (~> 1.37)
6
6
  rubocop-performance
7
7
  rubocop-rails
8
8
  rubocop-rake
@@ -11,14 +11,14 @@ PATH
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- rubocop-cobra (0.4.0)
15
- rubocop
14
+ rubocop-cobra (0.4.2)
15
+ rubocop (~> 1.37)
16
16
  rubocop-powerhome
17
17
 
18
18
  GEM
19
19
  remote: https://rubygems.org/
20
20
  specs:
21
- activesupport (7.0.3)
21
+ activesupport (7.0.4.2)
22
22
  concurrent-ruby (~> 1.0, >= 1.0.2)
23
23
  i18n (>= 1.6, < 2)
24
24
  minitest (>= 5.1)
@@ -26,14 +26,22 @@ GEM
26
26
  ast (2.4.2)
27
27
  byebug (11.1.3)
28
28
  coderay (1.1.3)
29
- concurrent-ruby (1.1.10)
29
+ concurrent-ruby (1.2.0)
30
30
  diff-lcs (1.5.0)
31
- i18n (1.10.0)
31
+ i18n (1.12.0)
32
32
  concurrent-ruby (~> 1.0)
33
+ json (2.6.3)
34
+ license_finder (7.1.0)
35
+ bundler
36
+ rubyzip (>= 1, < 3)
37
+ thor (~> 1.2)
38
+ tomlrb (>= 1.3, < 2.1)
39
+ with_env (= 1.1.0)
40
+ xml-simple (~> 1.1.9)
33
41
  method_source (1.0.0)
34
- minitest (5.15.0)
42
+ minitest (5.17.0)
35
43
  parallel (1.22.1)
36
- parser (3.1.2.0)
44
+ parser (3.2.0.0)
37
45
  ast (~> 2.4.1)
38
46
  pry (0.13.1)
39
47
  coderay (~> 1.1)
@@ -41,62 +49,75 @@ GEM
41
49
  pry-byebug (3.9.0)
42
50
  byebug (~> 11.0)
43
51
  pry (~> 0.13.0)
44
- rack (2.2.3.1)
52
+ rack (3.0.4.1)
45
53
  rainbow (3.1.1)
46
54
  rake (13.0.6)
47
- regexp_parser (2.4.0)
55
+ regexp_parser (2.6.2)
48
56
  rexml (3.2.5)
49
- rspec (3.11.0)
50
- rspec-core (~> 3.11.0)
51
- rspec-expectations (~> 3.11.0)
52
- rspec-mocks (~> 3.11.0)
53
- rspec-core (3.11.0)
54
- rspec-support (~> 3.11.0)
55
- rspec-expectations (3.11.0)
57
+ rspec (3.12.0)
58
+ rspec-core (~> 3.12.0)
59
+ rspec-expectations (~> 3.12.0)
60
+ rspec-mocks (~> 3.12.0)
61
+ rspec-core (3.12.1)
62
+ rspec-support (~> 3.12.0)
63
+ rspec-expectations (3.12.2)
56
64
  diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.11.0)
58
- rspec-mocks (3.11.1)
65
+ rspec-support (~> 3.12.0)
66
+ rspec-mocks (3.12.3)
59
67
  diff-lcs (>= 1.2.0, < 2.0)
60
- rspec-support (~> 3.11.0)
61
- rspec-support (3.11.0)
62
- rubocop (1.29.1)
68
+ rspec-support (~> 3.12.0)
69
+ rspec-support (3.12.0)
70
+ rubocop (1.44.1)
71
+ json (~> 2.3)
63
72
  parallel (~> 1.10)
64
- parser (>= 3.1.0.0)
73
+ parser (>= 3.2.0.0)
65
74
  rainbow (>= 2.2.2, < 4.0)
66
75
  regexp_parser (>= 1.8, < 3.0)
67
76
  rexml (>= 3.2.5, < 4.0)
68
- rubocop-ast (>= 1.17.0, < 2.0)
77
+ rubocop-ast (>= 1.24.1, < 2.0)
69
78
  ruby-progressbar (~> 1.7)
70
- unicode-display_width (>= 1.4.0, < 3.0)
71
- rubocop-ast (1.18.0)
79
+ unicode-display_width (>= 2.4.0, < 3.0)
80
+ rubocop-ast (1.24.1)
72
81
  parser (>= 3.1.1.0)
73
- rubocop-performance (1.14.0)
82
+ rubocop-capybara (2.17.0)
83
+ rubocop (~> 1.41)
84
+ rubocop-performance (1.16.0)
74
85
  rubocop (>= 1.7.0, < 2.0)
75
86
  rubocop-ast (>= 0.4.0)
76
- rubocop-rails (2.14.2)
87
+ rubocop-rails (2.17.4)
77
88
  activesupport (>= 4.2.0)
78
89
  rack (>= 1.1)
79
- rubocop (>= 1.7.0, < 2.0)
90
+ rubocop (>= 1.33.0, < 2.0)
80
91
  rubocop-rake (0.6.0)
81
92
  rubocop (~> 1.0)
82
- rubocop-rspec (2.11.1)
83
- rubocop (~> 1.19)
93
+ rubocop-rspec (2.18.1)
94
+ rubocop (~> 1.33)
95
+ rubocop-capybara (~> 2.17)
84
96
  ruby-progressbar (1.11.0)
85
- tzinfo (2.0.4)
97
+ rubyzip (2.3.2)
98
+ thor (1.2.1)
99
+ tomlrb (2.0.3)
100
+ tzinfo (2.0.6)
86
101
  concurrent-ruby (~> 1.0)
87
- unicode-display_width (2.1.0)
102
+ unicode-display_width (2.4.2)
103
+ with_env (1.1.0)
104
+ xml-simple (1.1.9)
105
+ rexml
88
106
 
89
107
  PLATFORMS
90
108
  arm64-darwin-21
109
+ ruby
110
+ x86_64-darwin-21
91
111
  x86_64-linux
92
112
 
93
113
  DEPENDENCIES
114
+ license_finder (~> 7.0)
94
115
  pry-byebug (= 3.9.0)
95
116
  rake (~> 13.0)
96
117
  rspec (~> 3.0)
97
- rubocop (~> 1.29.1)
118
+ rubocop (~> 1.44.0)
98
119
  rubocop-cobra!
99
120
  rubocop-powerhome!
100
121
 
101
122
  BUNDLED WITH
102
- 2.3.7
123
+ 2.3.14
@@ -0,0 +1,3 @@
1
+ ---
2
+ - - :inherit_from
3
+ - https://raw.githubusercontent.com/powerhome/oss-guide/master/license_rules.yml
File without changes
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Cobra
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.2"
6
6
  end
7
7
  end
data/mkdocs.yml ADDED
@@ -0,0 +1,9 @@
1
+ site_name: Rubocop Cobra
2
+ site_description: Gem focused on providing Cops to support a healthy cobra app development
3
+ repo_url: https://github.com/powerhome/power_linting
4
+ edit_uri: edit/main/rubocop_cobra/docs/
5
+ nav:
6
+ - 'Home': 'README.md'
7
+
8
+ plugins:
9
+ - techdocs-core
@@ -35,9 +35,10 @@ Gem::Specification.new do |spec|
35
35
  # For more information and examples about making a new gem, check out our
36
36
  # guide at: https://bundler.io/guides/creating_gem.html
37
37
 
38
- spec.add_runtime_dependency "rubocop"
38
+ spec.add_runtime_dependency "rubocop", "~> 1.37"
39
39
  spec.add_runtime_dependency "rubocop-powerhome"
40
40
  spec.metadata["rubygems_mfa_required"] = "true"
41
41
 
42
+ spec.add_development_dependency "license_finder", "~> 7.0"
42
43
  spec.add_development_dependency "pry-byebug", "3.9.0"
43
44
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-cobra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Palhares
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-06-01 00:00:00.000000000 Z
12
+ date: 2023-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ">="
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0'
20
+ version: '1.37'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ">="
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0'
27
+ version: '1.37'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rubocop-powerhome
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -39,6 +39,20 @@ dependencies:
39
39
  - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: license_finder
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '7.0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '7.0'
42
56
  - !ruby/object:Gem::Dependency
43
57
  name: pry-byebug
44
58
  requirement: !ruby/object:Gem::Requirement
@@ -67,9 +81,10 @@ files:
67
81
  - Gemfile
68
82
  - Gemfile.lock
69
83
  - LICENSE.txt
70
- - README.md
71
84
  - Rakefile
72
85
  - config/default.yml
86
+ - doc/dependency_decisions.yml
87
+ - docs/README.md
73
88
  - lib/rubocop-cobra.rb
74
89
  - lib/rubocop/cobra.rb
75
90
  - lib/rubocop/cobra/inject.rb
@@ -88,6 +103,7 @@ files:
88
103
  - lib/rubocop/cop/cobra/presenter_file_placement.rb
89
104
  - lib/rubocop/cop/cobra/view_component_file_placement.rb
90
105
  - lib/rubocop/cop/cobra_cops.rb
106
+ - mkdocs.yml
91
107
  - rubocop-cobra.gemspec
92
108
  - sig/rubocop/cobra.rbs
93
109
  homepage: https://github.com/powerhome/power_linting
@@ -113,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
129
  - !ruby/object:Gem::Version
114
130
  version: '0'
115
131
  requirements: []
116
- rubygems_version: 3.3.7
132
+ rubygems_version: 3.4.1
117
133
  signing_key:
118
134
  specification_version: 4
119
135
  summary: Cobra rubocop linters