rubocop-gem_dev 0.4.0 → 0.5.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 +4 -4
- data/config/rubocop.yml +8 -0
- data/lib/rubocop/gem_dev/version.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: a1eea19ae1220ec926df2b4285eb76c4f0a4206cde251e9f546f3ed247ba7172
|
|
4
|
+
data.tar.gz: 993bf47149697512ebc3517f8f40714a505d44b38418dc322332442921ebeeac
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d91315bcbe0af675099dd33a01a93facaac4fdd628c6691a47a34f3b86e467243fa74a52a8960d55b24e4081aff30903cc52a875694bc278052556a51167d90
|
|
7
|
+
data.tar.gz: b9875d703050435cfc76ac67d66f053d62d156d39c2cde3182372ef3a857ff1331d0e0636a7ac623159f49541ceef01e2fa8b073378d645ef85573ea486dd5df
|
data/config/rubocop.yml
CHANGED
|
@@ -2,6 +2,10 @@ AllCops:
|
|
|
2
2
|
# Exclude auto-generated files by Rails
|
|
3
3
|
Exclude:
|
|
4
4
|
- 'vendor/bundle/**/*'
|
|
5
|
+
# Enable all cops
|
|
6
|
+
# This setting allows us to use latest cops without explicit enabling
|
|
7
|
+
NewCops: enable
|
|
8
|
+
EnabledByDefault: true
|
|
5
9
|
|
|
6
10
|
# Items in Gemfile are dev dependencies and we don't have to specify versions.
|
|
7
11
|
Bundler/GemVersion:
|
|
@@ -24,6 +28,10 @@ Style/DoubleNegation:
|
|
|
24
28
|
Style/InlineComment:
|
|
25
29
|
Enabled: false
|
|
26
30
|
|
|
31
|
+
# These methods are often used without parentheses
|
|
32
|
+
Style/MethodCallWithArgsParentheses:
|
|
33
|
+
AllowedMethods: ['require', 'require_relative', 'include', 'extend', 'puts', 'p', 'warn', 'raise', 'send', 'public_send', 'alias_method']
|
|
34
|
+
|
|
27
35
|
# Changing require order affects code execution
|
|
28
36
|
# This should not be a style cop
|
|
29
37
|
Style/RequireOrder:
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-gem_dev
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OKURA Masafumi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-02-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: RuboCop configuration for gem development
|
|
14
14
|
email:
|
|
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
51
51
|
- !ruby/object:Gem::Version
|
|
52
52
|
version: '0'
|
|
53
53
|
requirements: []
|
|
54
|
-
rubygems_version: 3.
|
|
54
|
+
rubygems_version: 3.5.5
|
|
55
55
|
signing_key:
|
|
56
56
|
specification_version: 4
|
|
57
57
|
summary: RuboCop configuration for gem development
|