gl_rubocop 0.1.1 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{.rubocop.yml → default.yml} +5 -4
- data/gl_rubocop.gemspec +1 -1
- data/lib/gl_rubocop/version.rb +1 -1
- data/lib/gl_rubocop.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b7c0c391c5aa0eb1e4febae169ca5932322f78fccc85613be40eb1af4a8b79f
|
4
|
+
data.tar.gz: f4fd73808497ff42a67188ba0ef3c6bf9f0d7b054e950152b95bc83f1972204e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 388def57e19d2aa78934a79d6508235764ac758c5bef028215d91a8f3e60db5a99632571da26c65040a4303660851fb4cb9049ea8922dc537067372670d407b1
|
7
|
+
data.tar.gz: 6aab3e2ea8352084f7ac29cfd3077df54d4503a3085c4e63cd35894dfab04570a3c1c6ccab7d22516e7260ddd81f580558b8b362f5fca68fbb24d040e5028e0d
|
@@ -26,7 +26,7 @@ AllCops:
|
|
26
26
|
GLCops/InteractorInheritsFromInteractorBase:
|
27
27
|
Enabled: true
|
28
28
|
Include:
|
29
|
-
- '
|
29
|
+
- 'app/interactors/**/*'
|
30
30
|
|
31
31
|
GLCops/CallbackMethodNames:
|
32
32
|
Enabled: true
|
@@ -36,8 +36,8 @@ GLCops/PreventErbFiles:
|
|
36
36
|
|
37
37
|
GLCops/SidekiqInheritsFromSidekiqJob:
|
38
38
|
Include:
|
39
|
-
- '
|
40
|
-
- '
|
39
|
+
- 'app/**/*_worker.rb'
|
40
|
+
- 'app/**/*_job.rb'
|
41
41
|
|
42
42
|
Layout/LineLength:
|
43
43
|
Max: 100
|
@@ -46,7 +46,7 @@ Layout/LineLength:
|
|
46
46
|
|
47
47
|
Lint/MissingSuper:
|
48
48
|
Exclude:
|
49
|
-
-
|
49
|
+
- /app/components/**/*
|
50
50
|
|
51
51
|
MagicNumbers/NoAssignment:
|
52
52
|
Enabled: false
|
@@ -226,6 +226,7 @@ Rails/CreateTableWithTimestamps:
|
|
226
226
|
Rails/UnknownEnv:
|
227
227
|
Environments:
|
228
228
|
- development
|
229
|
+
- loadtesting
|
229
230
|
- staging
|
230
231
|
- sandbox
|
231
232
|
- production
|
data/gl_rubocop.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
|
19
19
|
# Specify which files should be added to the gem when it is released.
|
20
20
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
|
-
spec.files = %w[gl_rubocop.gemspec README.md LICENSE .
|
21
|
+
spec.files = %w[gl_rubocop.gemspec README.md LICENSE default.yml] +
|
22
22
|
`git ls-files | grep -E '^(lib)'`.split("\n")
|
23
23
|
|
24
24
|
spec.bindir = 'exe'
|
data/lib/gl_rubocop/version.rb
CHANGED
data/lib/gl_rubocop.rb
CHANGED
@@ -2,7 +2,7 @@ require 'rubocop'
|
|
2
2
|
|
3
3
|
module GLRubocop
|
4
4
|
PROJECT_ROOT = File.expand_path('../', __dir__)
|
5
|
-
CONFIG_DEFAULT = File.join(PROJECT_ROOT, '.
|
5
|
+
CONFIG_DEFAULT = File.join(PROJECT_ROOT, 'default.yml')
|
6
6
|
|
7
7
|
# Register your custom RuboCop config
|
8
8
|
RuboCop::ConfigLoader.default_configuration = RuboCop::ConfigLoader.merge_with_default(
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gl_rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Give Lively
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -101,9 +101,9 @@ extensions: []
|
|
101
101
|
extra_rdoc_files:
|
102
102
|
- README.md
|
103
103
|
files:
|
104
|
-
- ".rubocop.yml"
|
105
104
|
- LICENSE
|
106
105
|
- README.md
|
106
|
+
- default.yml
|
107
107
|
- gl_rubocop.gemspec
|
108
108
|
- lib/gl_rubocop.rb
|
109
109
|
- lib/gl_rubocop/gl_cops/callback_method_names.rb
|