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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f75beb7707ab139c3636e5dc9fccf0b17885ff73323fc2a2422d2c87a92c25f
4
- data.tar.gz: f4251bff5975b3c7fe8988cce340b1de53156b2f9af9d221c9e5380bc9f7cc27
3
+ metadata.gz: 3b7c0c391c5aa0eb1e4febae169ca5932322f78fccc85613be40eb1af4a8b79f
4
+ data.tar.gz: f4fd73808497ff42a67188ba0ef3c6bf9f0d7b054e950152b95bc83f1972204e
5
5
  SHA512:
6
- metadata.gz: ddbfc9af8ab44142472dfa71ec3c6fe1b344037513f71792b50e1c035229b2d25d56e76da7c1d652532c670948990c711bbad01263504d41bcb5a8e3eabe5e39
7
- data.tar.gz: e15d33f2848455cbbebf08e728b6b9e9e127472ee8844f0264142be7fa3aa45040ee0e5d31138defe14145c394050cb97a7c2170cdc13cc4860a309c8cf83d81
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
- - '**/interactors/**/*'
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
- - '**/*_worker.rb'
40
- - '**/*_job.rb'
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
- - 'app/components/**/*'
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 .rubocop.yml] +
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'
@@ -1,3 +1,3 @@
1
1
  module GLRubocop
2
- VERSION = '0.1.1'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
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, '.rubocop.yml')
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.1.1
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: 2024-11-27 00:00:00.000000000 Z
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