rubocop-inhouse 0.1.5 → 0.1.6

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: 9f2d2f82b334805ec6ea98e68d067953896fdc9c250cc12115bba836e09c8345
4
- data.tar.gz: dc33c2d393c7661f15226085d70679f3b6c1ac02eaf808613fb469d0180e449c
3
+ metadata.gz: 783b9a5c0fea60b41699c88c0148a5764529a6f28047bcb9f89416aa2361e380
4
+ data.tar.gz: 3976f6adcd23eb59ec25a0cd2f7a7a25c9db4f9bafa998ca3f1f02c9d24856a9
5
5
  SHA512:
6
- metadata.gz: f382c1f1fd115f79da807496d0ff532989536738bbe1b38e8d403ccc217a353562e8e46c61f4f567a78fdf9308a867e74fe43ebf25789ae9e91fe923e7a7229e
7
- data.tar.gz: a416e0b1db47e19d14c15a168e9aff37c5f788c0faa32a014ce4594892d08b0a50cd64f27b7091518bbb2ecc0f70d348bb03fef88ec2a8187d613869619b309e
6
+ metadata.gz: '0928f956cdc2c83a225a2181e534c82ceac408f49a3c79f9e9e74f44cbd0a2cfc75c871cbd6db1ffbf65cc1009352780d5648b2a62fbfcd1f14ef965e1a741a2'
7
+ data.tar.gz: de524bfbe904c937171e473217ba2fddfc3895a450562544187c49d18abc8dee296cdae1c18c64e7d79ac76e802b57f5a7aadc4f13bca189d2a39a745db9b785
data/README.md CHANGED
@@ -19,21 +19,17 @@ Inherit all of the stylistic rules and cops through an inheritance declaration
19
19
  in your `.rubocop.yml`:
20
20
 
21
21
  ```yaml
22
- # .rubocop.yml
22
+ require:
23
+ - rubocop-inhouse
23
24
  inherit_gem:
24
25
  rubocop-inhouse:
25
26
  - config/default.yml # generic Ruby rules and cops
26
27
  - config/rails.yml # Rails-specific rules and cops
27
- ```
28
28
 
29
- Alternatively, only require the additional custom cops in your `.rubocop.yml`
30
- without inheriting/enabling the other stylistic rules:
29
+ AllCops:
30
+ NewCops: enable
31
31
 
32
- ```yaml
33
- # .rubocop.yml
34
- require:
35
- - rubocop-inhouse # generic Ruby cops only
36
- - rubocop-inhouse-rails # Rails-specific cops only
32
+ # The rest of your overrides here
37
33
  ```
38
34
 
39
35
  For more granular control over which of RuboCop's rules are enabled for your
data/config/default.yml CHANGED
@@ -18,6 +18,7 @@ AllCops:
18
18
  - "**/bin/*"
19
19
  - "**/db/migrate/*.rb"
20
20
  - "**/db/schema.rb"
21
+ - "**/node_modules/**/*"
21
22
 
22
23
  # ==== GEMSPEC ====
23
24
  Gemspec/DeprecatedAttributeAssignment:
data/config/rails.yml CHANGED
@@ -160,6 +160,7 @@ Rails/SaveBang:
160
160
  AllowImplicitReturn: false
161
161
  Exclude:
162
162
  - "spec/factories/**/*.rb"
163
+ - "config/**/*.rb"
163
164
 
164
165
  Rails/ShortI18n:
165
166
  Enabled: true
data/config/style.yml CHANGED
@@ -214,9 +214,7 @@ Style/StringChars:
214
214
  Enabled: true
215
215
 
216
216
  Style/StringHashKeys:
217
- Enabled: true
218
- Exclude:
219
- - "config/routes.rb"
217
+ Enabled: false
220
218
 
221
219
  Style/SwapValues:
222
220
  Enabled: true
@@ -2,7 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Inhouse
5
- VERSION = "0.1.5"
6
- public_constant :VERSION
5
+ VERSION = "0.1.6"
7
6
  end
8
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-inhouse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nolan J Tait
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-08 00:00:00.000000000 Z
11
+ date: 2024-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  - !ruby/object:Gem::Version
142
142
  version: '0'
143
143
  requirements: []
144
- rubygems_version: 3.5.7
144
+ rubygems_version: 3.5.9
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Rubocop configuration for InHouse projects