rubocop-gem_dev 0.6.0 → 0.8.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 +13 -0
- data/lib/rubocop/gem_dev/version.rb +1 -1
- data/rubocop-gem_dev.gemspec +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6288ce6a62368de0c9c4a4d975d4690846f3225e8d164025a707eed9c2963357
|
|
4
|
+
data.tar.gz: 348913cf8f84f05e91b176fbfbc30414420e6ccf7156619ded3ccddb11e26c7d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd2616e8bfc246544a0dc4c76e88da5532a5989840d621436a32d0d471278c312f702b2819fd56839356f620d2d7571d531e59ade19ec073c748bacfa3e2d44c
|
|
7
|
+
data.tar.gz: 21a3cec608c5b1d818f01067affb80b8013682364f35db4abbb257f71f809d0f9f9b8a386883b21abea6c1c2055b19115e74a6536f7d6c376878c455e58feb9c
|
data/config/rubocop.yml
CHANGED
|
@@ -19,6 +19,10 @@ Lint/ConstantResolution:
|
|
|
19
19
|
Metrics/AbcSize:
|
|
20
20
|
Max: 20
|
|
21
21
|
|
|
22
|
+
# The number of keyword arguments rarely counts
|
|
23
|
+
Metrics/ParameterLists:
|
|
24
|
+
CountKeywordArgs: false
|
|
25
|
+
|
|
22
26
|
# We usually have LICENSE file that describes copyright information.
|
|
23
27
|
Style/Copyright:
|
|
24
28
|
Enabled: false
|
|
@@ -38,13 +42,22 @@ Style/Documentation:
|
|
|
38
42
|
Style/DoubleNegation:
|
|
39
43
|
Enabled: false
|
|
40
44
|
|
|
45
|
+
# `Hash#fetch` and `Hash#[]` are completely different
|
|
46
|
+
# IMO, this should not belong to `Style` anyway
|
|
47
|
+
Style/HashLookupMethod:
|
|
48
|
+
Enabled: false
|
|
49
|
+
|
|
41
50
|
# It's absolutely fine to use inline comments
|
|
42
51
|
Style/InlineComment:
|
|
43
52
|
Enabled: false
|
|
44
53
|
|
|
45
54
|
# These methods are often used without parentheses
|
|
55
|
+
# Also assertions and expectations can be written without parentheses
|
|
46
56
|
Style/MethodCallWithArgsParentheses:
|
|
47
57
|
AllowedMethods: ['require', 'require_relative', 'include', 'extend', 'puts', 'p', 'pp', 'warn', 'raise', 'send', 'public_send', 'alias_method']
|
|
58
|
+
Exclude:
|
|
59
|
+
- 'test/**/*'
|
|
60
|
+
- 'spec/**/*'
|
|
48
61
|
|
|
49
62
|
# Changing require order affects code execution
|
|
50
63
|
# This should not be a style cop
|
data/rubocop-gem_dev.gemspec
CHANGED
|
@@ -10,13 +10,13 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = "RuboCop configuration for gem development"
|
|
12
12
|
spec.description = "RuboCop configuration for gem development"
|
|
13
|
-
spec.homepage = "https://github.com/okuramasafumi/rubocop-
|
|
13
|
+
spec.homepage = "https://github.com/okuramasafumi/rubocop-gem_dev"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
spec.required_ruby_version = ">= 2.6.0"
|
|
16
16
|
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
18
|
-
spec.metadata["source_code_uri"] = "https://github.com/okuramasafumi/rubocop-
|
|
19
|
-
spec.metadata["changelog_uri"] = "https://github.com/okuramasafumi/rubocop-
|
|
18
|
+
spec.metadata["source_code_uri"] = "https://github.com/okuramasafumi/rubocop-gem_dev"
|
|
19
|
+
spec.metadata["changelog_uri"] = "https://github.com/okuramasafumi/rubocop-gem_dev/blob/main/CHANGELOG.md"
|
|
20
20
|
|
|
21
21
|
# Specify which files should be added to the gem when it is released.
|
|
22
22
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OKURA Masafumi
|
|
@@ -28,13 +28,13 @@ files:
|
|
|
28
28
|
- lib/rubocop/gem_dev/version.rb
|
|
29
29
|
- rubocop-gem_dev.gemspec
|
|
30
30
|
- sig/rubocop/gem_dev.rbs
|
|
31
|
-
homepage: https://github.com/okuramasafumi/rubocop-
|
|
31
|
+
homepage: https://github.com/okuramasafumi/rubocop-gem_dev
|
|
32
32
|
licenses:
|
|
33
33
|
- MIT
|
|
34
34
|
metadata:
|
|
35
|
-
homepage_uri: https://github.com/okuramasafumi/rubocop-
|
|
36
|
-
source_code_uri: https://github.com/okuramasafumi/rubocop-
|
|
37
|
-
changelog_uri: https://github.com/okuramasafumi/rubocop-
|
|
35
|
+
homepage_uri: https://github.com/okuramasafumi/rubocop-gem_dev
|
|
36
|
+
source_code_uri: https://github.com/okuramasafumi/rubocop-gem_dev
|
|
37
|
+
changelog_uri: https://github.com/okuramasafumi/rubocop-gem_dev/blob/main/CHANGELOG.md
|
|
38
38
|
rdoc_options: []
|
|
39
39
|
require_paths:
|
|
40
40
|
- lib
|