rubocul 4.0.8 → 4.0.9

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: 4cfb7938b2243b1e4adc9c432f668be03b81f24d84024807403331c2f68aa0c5
4
- data.tar.gz: 2bd9b7b553c00d79400783cf852374a6580810b3dc4eb507fecbfc72b28b1b7d
3
+ metadata.gz: 2c43f695ef924a964a2c454ae742c5f60cbac615511b0d9b8bd7c85f3eb823eb
4
+ data.tar.gz: b808247f83c2ac84d0d190cd13e663f1a24b2cf844d452d792600ebe064f107e
5
5
  SHA512:
6
- metadata.gz: 9c1a54ae2fe101a3ffbd61a37e6d1e546b0424ba85af52edee25285a46301ec928a7fcbd5e168673264d575ae95de465e3eb59559f88c16ed55554bb9c7b4751
7
- data.tar.gz: b480f78d5deac4561deed86c931668f1eb796d972419e4ad52d9fd32ff16c5f5f60f46220a8320c3b07dd33aa75c9144b63cef07616d04d060383c2584440ada
6
+ metadata.gz: 8920d8408802290e2553b7bf63c71c16882e7f41ed2fb6f2c5859134da56ed94c9bc5dd43710877040f67985076382436af846d8c57aea0fa271d4e9c21272f3
7
+ data.tar.gz: 5a97a5b87d8bd554359950dc7399fb035d2672bf0b2630943a0a68f4f95ccb5c928f710a76c41131213ceef824611a4caddda102eb81d35d78f02dcfb0f6854b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocul (4.0.7)
4
+ rubocul (4.0.8)
5
5
  rubocop (~> 1.26)
6
6
  rubocop-ast
7
7
  rubocop-factory_bot
@@ -13,7 +13,7 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activesupport (7.1.2)
16
+ activesupport (7.1.3.2)
17
17
  base64
18
18
  bigdecimal
19
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -25,8 +25,8 @@ GEM
25
25
  tzinfo (~> 2.0)
26
26
  ast (2.4.2)
27
27
  base64 (0.2.0)
28
- bigdecimal (3.1.5)
29
- concurrent-ruby (1.2.2)
28
+ bigdecimal (3.1.6)
29
+ concurrent-ruby (1.2.3)
30
30
  connection_pool (2.4.1)
31
31
  drb (2.2.0)
32
32
  ruby2_keywords
@@ -34,22 +34,22 @@ GEM
34
34
  concurrent-ruby (~> 1.0)
35
35
  json (2.7.1)
36
36
  language_server-protocol (3.17.0.3)
37
- minitest (5.20.0)
37
+ minitest (5.22.2)
38
38
  mutex_m (0.2.0)
39
39
  parallel (1.24.0)
40
- parser (3.2.2.4)
40
+ parser (3.3.0.5)
41
41
  ast (~> 2.4.1)
42
42
  racc
43
43
  racc (1.7.3)
44
- rack (3.0.8)
44
+ rack (3.0.9.1)
45
45
  rainbow (3.1.1)
46
- regexp_parser (2.8.3)
46
+ regexp_parser (2.9.0)
47
47
  rexml (3.2.6)
48
- rubocop (1.59.0)
48
+ rubocop (1.60.2)
49
49
  json (~> 2.3)
50
50
  language_server-protocol (>= 3.17.0)
51
51
  parallel (~> 1.10)
52
- parser (>= 3.2.2.4)
52
+ parser (>= 3.3.0.2)
53
53
  rainbow (>= 2.2.2, < 4.0)
54
54
  regexp_parser (>= 1.8, < 3.0)
55
55
  rexml (>= 3.2.5, < 4.0)
@@ -58,21 +58,21 @@ GEM
58
58
  unicode-display_width (>= 2.4.0, < 3.0)
59
59
  rubocop-ast (1.30.0)
60
60
  parser (>= 3.2.1.0)
61
- rubocop-capybara (2.19.0)
61
+ rubocop-capybara (2.20.0)
62
62
  rubocop (~> 1.41)
63
- rubocop-factory_bot (2.24.0)
64
- rubocop (~> 1.33)
65
- rubocop-graphql (1.1.1)
66
- rubocop (>= 0.87, < 2)
67
- rubocop-performance (1.20.0)
63
+ rubocop-factory_bot (2.25.1)
64
+ rubocop (~> 1.41)
65
+ rubocop-graphql (1.5.0)
66
+ rubocop (>= 0.90, < 2)
67
+ rubocop-performance (1.20.2)
68
68
  rubocop (>= 1.48.1, < 2.0)
69
69
  rubocop-ast (>= 1.30.0, < 2.0)
70
- rubocop-rails (2.23.0)
70
+ rubocop-rails (2.23.1)
71
71
  activesupport (>= 4.2.0)
72
72
  rack (>= 1.1)
73
73
  rubocop (>= 1.33.0, < 2.0)
74
74
  rubocop-ast (>= 1.30.0, < 2.0)
75
- rubocop-rspec (2.25.0)
75
+ rubocop-rspec (2.26.1)
76
76
  rubocop (~> 1.40)
77
77
  rubocop-capybara (~> 2.17)
78
78
  rubocop-factory_bot (~> 2.22)
data/rubocul.gemspec CHANGED
@@ -1,7 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Gem::Specification.new do |spec|
2
4
  spec.name = 'rubocul'
3
- spec.version = '4.0.8'
4
- spec.authors = ["Eric O'Hanlon", "Ben Armintor", "Carla Galarza"]
5
+ spec.version = '4.0.9'
6
+ spec.authors = ["Eric O'Hanlon", 'Ben Armintor', 'Carla Galarza']
5
7
 
6
8
  spec.summary = 'A style configuration for Rubocop'
7
9
  spec.description = 'Recommended Rubocop configuration for Ruby projects created by the Columbia University Libraries'
@@ -11,14 +13,15 @@ Gem::Specification.new do |spec|
11
13
  spec.require_paths = ['lib']
12
14
 
13
15
  spec.add_development_dependency 'bundler', '~> 2.0'
14
- # TODO: Add rspec and enable tests
15
- #spec.add_development_dependency 'rspec', '~> 3.12'
16
+ # TODO: Add rspec as development dependency and enable tests
17
+ # spec.add_development_dependency 'rspec', '~> 3.12'
16
18
 
17
19
  spec.add_dependency 'rubocop', '~> 1.26'
18
20
  spec.add_dependency 'rubocop-ast'
21
+ spec.add_dependency 'rubocop-capybara'
22
+ spec.add_dependency 'rubocop-factory_bot'
23
+ spec.add_dependency 'rubocop-graphql'
19
24
  spec.add_dependency 'rubocop-performance'
20
25
  spec.add_dependency 'rubocop-rails'
21
26
  spec.add_dependency 'rubocop-rspec'
22
- spec.add_dependency 'rubocop-graphql'
23
- spec.add_dependency 'rubocop-factory_bot'
24
27
  end
data/rubocul_default.yml CHANGED
@@ -8,6 +8,7 @@ inherit_from:
8
8
  - rubocul_rules_rails.yml
9
9
  - rubocul_rules_rspec.yml
10
10
  - rubocul_rules_security.yml
11
+ - rubocul_rules_capybara.yml
11
12
 
12
13
  AllCops:
13
14
  TargetRubyVersion: 2.7
@@ -75,6 +76,18 @@ Style/SymbolArray:
75
76
  RSpec/ExpectInHook:
76
77
  Enabled: false
77
78
 
79
+ Style/BlockComments:
80
+ Enabled: false
81
+
82
+ Rails/RakeEnvironment:
83
+ Enabled: false
84
+
85
+ Style/NonNilCheck:
86
+ Enabled: false
87
+
88
+ RSpec/ContextWording:
89
+ Enabled: false
90
+
78
91
  # TODO: Decide how we feel about this later
79
92
  Naming/VariableNumber:
80
93
  Enabled: false
@@ -0,0 +1,2 @@
1
+ require:
2
+ - rubocop-capybara
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocul
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.8
4
+ version: 4.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric O'Hanlon
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-12-18 00:00:00.000000000 Z
13
+ date: 2024-02-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -55,7 +55,7 @@ dependencies:
55
55
  - !ruby/object:Gem::Version
56
56
  version: '0'
57
57
  - !ruby/object:Gem::Dependency
58
- name: rubocop-performance
58
+ name: rubocop-capybara
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ">="
@@ -69,7 +69,7 @@ dependencies:
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  - !ruby/object:Gem::Dependency
72
- name: rubocop-rails
72
+ name: rubocop-factory_bot
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ">="
@@ -83,7 +83,7 @@ dependencies:
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  - !ruby/object:Gem::Dependency
86
- name: rubocop-rspec
86
+ name: rubocop-graphql
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ">="
@@ -97,7 +97,7 @@ dependencies:
97
97
  - !ruby/object:Gem::Version
98
98
  version: '0'
99
99
  - !ruby/object:Gem::Dependency
100
- name: rubocop-graphql
100
+ name: rubocop-performance
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - ">="
@@ -111,7 +111,21 @@ dependencies:
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  - !ruby/object:Gem::Dependency
114
- name: rubocop-factory_bot
114
+ name: rubocop-rails
115
+ requirement: !ruby/object:Gem::Requirement
116
+ requirements:
117
+ - - ">="
118
+ - !ruby/object:Gem::Version
119
+ version: '0'
120
+ type: :runtime
121
+ prerelease: false
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ version: '0'
127
+ - !ruby/object:Gem::Dependency
128
+ name: rubocop-rspec
115
129
  requirement: !ruby/object:Gem::Requirement
116
130
  requirements:
117
131
  - - ">="
@@ -143,6 +157,7 @@ files:
143
157
  - rubocul.gemspec
144
158
  - rubocul_default.yml
145
159
  - rubocul_rules_bundler.yml
160
+ - rubocul_rules_capybara.yml
146
161
  - rubocul_rules_factory_bot.yml
147
162
  - rubocul_rules_graphql.yml
148
163
  - rubocul_rules_performance.yml
@@ -168,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
168
183
  - !ruby/object:Gem::Version
169
184
  version: '0'
170
185
  requirements: []
171
- rubygems_version: 3.1.6
186
+ rubygems_version: 3.4.10
172
187
  signing_key:
173
188
  specification_version: 4
174
189
  summary: A style configuration for Rubocop