gl_rubocop 0.1.1 → 0.2.0

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: 8f75beb7707ab139c3636e5dc9fccf0b17885ff73323fc2a2422d2c87a92c25f
4
- data.tar.gz: f4251bff5975b3c7fe8988cce340b1de53156b2f9af9d221c9e5380bc9f7cc27
3
+ metadata.gz: 0ac5f8622d54482003b700127f3e14837fc0b7bd4f6796f73bf13a64b7b75703
4
+ data.tar.gz: 82367056a96cb055ceb2e5134e1b29314405fb6f55840c64d1dcd2997f4fe6c8
5
5
  SHA512:
6
- metadata.gz: ddbfc9af8ab44142472dfa71ec3c6fe1b344037513f71792b50e1c035229b2d25d56e76da7c1d652532c670948990c711bbad01263504d41bcb5a8e3eabe5e39
7
- data.tar.gz: e15d33f2848455cbbebf08e728b6b9e9e127472ee8844f0264142be7fa3aa45040ee0e5d31138defe14145c394050cb97a7c2170cdc13cc4860a309c8cf83d81
6
+ metadata.gz: d50f105c8ac33c9884e10720396de8ea573768172075ec016f724c2cc17e3e58dfe08dd57a86b59da7a19984a47e053911e5ee9eda5353d53f400b61b8d2d1fe
7
+ data.tar.gz: 7e55a77fe00c70040a70690aba51438ebb7051b2951dc2fe950bd5603634586c6a0fc9b17fcbea3d12bb05be49aa4d89f858b064fcb32c3111bcc1779d132511
@@ -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
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.0'.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.0
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