rubocul 4.0.6 → 4.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +93 -0
- data/rubocul.gemspec +9 -3
- data/rubocul_default.yml +17 -0
- data/rubocul_rules_capybara.yml +2 -0
- data/rubocul_rules_factory_bot.yml +2 -0
- metadata +38 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2c43f695ef924a964a2c454ae742c5f60cbac615511b0d9b8bd7c85f3eb823eb
|
4
|
+
data.tar.gz: b808247f83c2ac84d0d190cd13e663f1a24b2cf844d452d792600ebe064f107e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8920d8408802290e2553b7bf63c71c16882e7f41ed2fb6f2c5859134da56ed94c9bc5dd43710877040f67985076382436af846d8c57aea0fa271d4e9c21272f3
|
7
|
+
data.tar.gz: 5a97a5b87d8bd554359950dc7399fb035d2672bf0b2630943a0a68f4f95ccb5c928f710a76c41131213ceef824611a4caddda102eb81d35d78f02dcfb0f6854b
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
rubocul (4.0.8)
|
5
|
+
rubocop (~> 1.26)
|
6
|
+
rubocop-ast
|
7
|
+
rubocop-factory_bot
|
8
|
+
rubocop-graphql
|
9
|
+
rubocop-performance
|
10
|
+
rubocop-rails
|
11
|
+
rubocop-rspec
|
12
|
+
|
13
|
+
GEM
|
14
|
+
remote: https://rubygems.org/
|
15
|
+
specs:
|
16
|
+
activesupport (7.1.3.2)
|
17
|
+
base64
|
18
|
+
bigdecimal
|
19
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
20
|
+
connection_pool (>= 2.2.5)
|
21
|
+
drb
|
22
|
+
i18n (>= 1.6, < 2)
|
23
|
+
minitest (>= 5.1)
|
24
|
+
mutex_m
|
25
|
+
tzinfo (~> 2.0)
|
26
|
+
ast (2.4.2)
|
27
|
+
base64 (0.2.0)
|
28
|
+
bigdecimal (3.1.6)
|
29
|
+
concurrent-ruby (1.2.3)
|
30
|
+
connection_pool (2.4.1)
|
31
|
+
drb (2.2.0)
|
32
|
+
ruby2_keywords
|
33
|
+
i18n (1.14.1)
|
34
|
+
concurrent-ruby (~> 1.0)
|
35
|
+
json (2.7.1)
|
36
|
+
language_server-protocol (3.17.0.3)
|
37
|
+
minitest (5.22.2)
|
38
|
+
mutex_m (0.2.0)
|
39
|
+
parallel (1.24.0)
|
40
|
+
parser (3.3.0.5)
|
41
|
+
ast (~> 2.4.1)
|
42
|
+
racc
|
43
|
+
racc (1.7.3)
|
44
|
+
rack (3.0.9.1)
|
45
|
+
rainbow (3.1.1)
|
46
|
+
regexp_parser (2.9.0)
|
47
|
+
rexml (3.2.6)
|
48
|
+
rubocop (1.60.2)
|
49
|
+
json (~> 2.3)
|
50
|
+
language_server-protocol (>= 3.17.0)
|
51
|
+
parallel (~> 1.10)
|
52
|
+
parser (>= 3.3.0.2)
|
53
|
+
rainbow (>= 2.2.2, < 4.0)
|
54
|
+
regexp_parser (>= 1.8, < 3.0)
|
55
|
+
rexml (>= 3.2.5, < 4.0)
|
56
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
57
|
+
ruby-progressbar (~> 1.7)
|
58
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
59
|
+
rubocop-ast (1.30.0)
|
60
|
+
parser (>= 3.2.1.0)
|
61
|
+
rubocop-capybara (2.20.0)
|
62
|
+
rubocop (~> 1.41)
|
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
|
+
rubocop (>= 1.48.1, < 2.0)
|
69
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
70
|
+
rubocop-rails (2.23.1)
|
71
|
+
activesupport (>= 4.2.0)
|
72
|
+
rack (>= 1.1)
|
73
|
+
rubocop (>= 1.33.0, < 2.0)
|
74
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
75
|
+
rubocop-rspec (2.26.1)
|
76
|
+
rubocop (~> 1.40)
|
77
|
+
rubocop-capybara (~> 2.17)
|
78
|
+
rubocop-factory_bot (~> 2.22)
|
79
|
+
ruby-progressbar (1.13.0)
|
80
|
+
ruby2_keywords (0.0.5)
|
81
|
+
tzinfo (2.0.6)
|
82
|
+
concurrent-ruby (~> 1.0)
|
83
|
+
unicode-display_width (2.5.0)
|
84
|
+
|
85
|
+
PLATFORMS
|
86
|
+
ruby
|
87
|
+
|
88
|
+
DEPENDENCIES
|
89
|
+
bundler (~> 2.0)
|
90
|
+
rubocul!
|
91
|
+
|
92
|
+
BUNDLED WITH
|
93
|
+
2.1.4
|
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.
|
4
|
-
spec.authors = ["Eric O'Hanlon",
|
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,11 +13,15 @@ Gem::Specification.new do |spec|
|
|
11
13
|
spec.require_paths = ['lib']
|
12
14
|
|
13
15
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
16
|
+
# TODO: Add rspec as development dependency and enable tests
|
17
|
+
# spec.add_development_dependency 'rspec', '~> 3.12'
|
14
18
|
|
15
19
|
spec.add_dependency 'rubocop', '~> 1.26'
|
16
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'
|
17
24
|
spec.add_dependency 'rubocop-performance'
|
18
25
|
spec.add_dependency 'rubocop-rails'
|
19
26
|
spec.add_dependency 'rubocop-rspec'
|
20
|
-
spec.add_dependency 'rubocop-graphql'
|
21
27
|
end
|
data/rubocul_default.yml
CHANGED
@@ -3,10 +3,12 @@ require:
|
|
3
3
|
|
4
4
|
inherit_from:
|
5
5
|
- rubocul_rules_bundler.yml
|
6
|
+
- rubocul_rules_factory_bot.yml
|
6
7
|
- rubocul_rules_performance.yml
|
7
8
|
- rubocul_rules_rails.yml
|
8
9
|
- rubocul_rules_rspec.yml
|
9
10
|
- rubocul_rules_security.yml
|
11
|
+
- rubocul_rules_capybara.yml
|
10
12
|
|
11
13
|
AllCops:
|
12
14
|
TargetRubyVersion: 2.7
|
@@ -40,6 +42,9 @@ Metrics/BlockLength:
|
|
40
42
|
- 'namespace' # rake
|
41
43
|
- 'task' # rake
|
42
44
|
|
45
|
+
RSpec/NestedGroups:
|
46
|
+
Max: 5
|
47
|
+
|
43
48
|
# Documentation is great, but we're not currently forcing people to add a top level comment
|
44
49
|
# to all classes and modules.
|
45
50
|
Style/Documentation:
|
@@ -71,6 +76,18 @@ Style/SymbolArray:
|
|
71
76
|
RSpec/ExpectInHook:
|
72
77
|
Enabled: false
|
73
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
|
+
|
74
91
|
# TODO: Decide how we feel about this later
|
75
92
|
Naming/VariableNumber:
|
76
93
|
Enabled: false
|
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.
|
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:
|
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-
|
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-
|
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-
|
86
|
+
name: rubocop-graphql
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
89
|
- - ">="
|
@@ -97,7 +97,35 @@ dependencies:
|
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
|
-
name: rubocop-
|
100
|
+
name: rubocop-performance
|
101
|
+
requirement: !ruby/object:Gem::Requirement
|
102
|
+
requirements:
|
103
|
+
- - ">="
|
104
|
+
- !ruby/object:Gem::Version
|
105
|
+
version: '0'
|
106
|
+
type: :runtime
|
107
|
+
prerelease: false
|
108
|
+
version_requirements: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
- !ruby/object:Gem::Dependency
|
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
|
101
129
|
requirement: !ruby/object:Gem::Requirement
|
102
130
|
requirements:
|
103
131
|
- - ">="
|
@@ -119,6 +147,7 @@ extra_rdoc_files: []
|
|
119
147
|
files:
|
120
148
|
- ".gitignore"
|
121
149
|
- Gemfile
|
150
|
+
- Gemfile.lock
|
122
151
|
- LICENSE
|
123
152
|
- README.md
|
124
153
|
- Rakefile
|
@@ -128,6 +157,8 @@ files:
|
|
128
157
|
- rubocul.gemspec
|
129
158
|
- rubocul_default.yml
|
130
159
|
- rubocul_rules_bundler.yml
|
160
|
+
- rubocul_rules_capybara.yml
|
161
|
+
- rubocul_rules_factory_bot.yml
|
131
162
|
- rubocul_rules_graphql.yml
|
132
163
|
- rubocul_rules_performance.yml
|
133
164
|
- rubocul_rules_rails.yml
|
@@ -152,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
183
|
- !ruby/object:Gem::Version
|
153
184
|
version: '0'
|
154
185
|
requirements: []
|
155
|
-
rubygems_version: 3.
|
186
|
+
rubygems_version: 3.4.10
|
156
187
|
signing_key:
|
157
188
|
specification_version: 4
|
158
189
|
summary: A style configuration for Rubocop
|