rubocop-vaporyhumo 0.3.0 → 0.4.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/CHANGELOG.md +21 -0
- data/SECURITY.md +2 -2
- data/config.yml +70 -0
- metadata +18 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e736c0236e18fd522bf5b05ecfc9c5ff33b3431ac670d80163da5ac8b6b76b68
|
4
|
+
data.tar.gz: 28e6912545600e4da470003d40d61a8a8c5af58eed83402785b3aa14729ea1b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1d222b755c89a9958452045cc640f139aaecfce2530c3d2ef94a425d4bffd4e42b62d8c338fc1f7ecf32bcc9ee64760de90065f16d9ed9f79008ef801a1a71
|
7
|
+
data.tar.gz: b8ec04d41dbdabd9f2ff66c190b2aea2cf3b49565b1b09e1c6dcd2027dc0e1b44169b4af052fa344c12de422ebcac73fe3605d1223ae53945a1ec6b5a150b751
|
data/CHANGELOG.md
CHANGED
@@ -9,6 +9,27 @@ and this project adheres to [Semantic Versioning][2].
|
|
9
9
|
[2]: https://semver.org/spec/v2.0.0.html
|
10
10
|
|
11
11
|
## [Unreleased]
|
12
|
+
## [0.4.0] - 2025-06-23
|
13
|
+
### Added
|
14
|
+
- `Bundler/GemComment` configuration with version specifiers and GitHub enforcement
|
15
|
+
- `Bundler/OrderedGems` configuration with comment group separators disabled
|
16
|
+
- `Gemspec/AttributeAssignment` configuration
|
17
|
+
- `Gemspec/DeprecatedAttributeAssignment` configuration
|
18
|
+
- `Gemspec/OrderedDependencies` configuration with comment group separators disabled
|
19
|
+
- `Gemspec/RequireMFA` configuration
|
20
|
+
- `Metrics/AbcSize` configuration with max complexity of 12
|
21
|
+
- `Metrics/BlockLength` configuration with max length of 5
|
22
|
+
- `Metrics/BlockNesting` configuration with max nesting of 2
|
23
|
+
- `Metrics/ClassLength` configuration with max length of 75
|
24
|
+
- `Metrics/CollectionLiteralLength` configuration with threshold of 10
|
25
|
+
- `Metrics/CyclomaticComplexity` configuration with max complexity of 5
|
26
|
+
- `Metrics/MethodLength` configuration with max length of 5
|
27
|
+
- `Metrics/ModuleLength` configuration with max length of 75
|
28
|
+
- `Metrics/ParameterLists` configuration with max parameters of 3
|
29
|
+
- `Metrics/PerceivedComplexity` configuration with max complexity of 7
|
30
|
+
- `Security/CompoundHash` configuration
|
31
|
+
|
32
|
+
|
12
33
|
## [0.3.0] - 2024-06-13
|
13
34
|
### Added
|
14
35
|
- `Lint` department configurations.
|
data/SECURITY.md
CHANGED
data/config.yml
CHANGED
@@ -4,17 +4,43 @@ inherit_mode:
|
|
4
4
|
- Exclude
|
5
5
|
- IgnoredMethods
|
6
6
|
|
7
|
+
# Bundler
|
8
|
+
Bundler/GemComment:
|
9
|
+
Enabled: true
|
10
|
+
OnlyFor: ['version_specifiers', 'github']
|
11
|
+
|
7
12
|
Bundler/GemVersion:
|
8
13
|
Enabled: true
|
9
14
|
EnforcedStyle: forbidden
|
10
15
|
|
16
|
+
Bundler/OrderedGems:
|
17
|
+
Enabled: true
|
18
|
+
TreatCommentsAsGroupSeparators: false
|
19
|
+
|
20
|
+
|
21
|
+
# Gemspec
|
22
|
+
Gemspec/AttributeAssignment:
|
23
|
+
Enabled: true
|
24
|
+
|
11
25
|
Gemspec/DependencyVersion:
|
12
26
|
Enabled: true
|
13
27
|
EnforcedStyle: required
|
14
28
|
|
29
|
+
Gemspec/DeprecatedAttributeAssignment:
|
30
|
+
Enabled: true
|
31
|
+
|
15
32
|
Gemspec/DevelopmentDependencies:
|
16
33
|
EnforcedStyle: gemspec
|
17
34
|
|
35
|
+
Gemspec/OrderedDependencies:
|
36
|
+
Enabled: true
|
37
|
+
TreatCommentsAsGroupSeparators: false
|
38
|
+
|
39
|
+
Gemspec/RequireMFA:
|
40
|
+
Enabled: true
|
41
|
+
|
42
|
+
|
43
|
+
# Layout
|
18
44
|
Layout/HeredocArgumentClosingParenthesis:
|
19
45
|
Enabled: true
|
20
46
|
|
@@ -24,8 +50,52 @@ Layout/RedundantLineBreak:
|
|
24
50
|
Layout/SingleLineBlockChain:
|
25
51
|
Enabled: true
|
26
52
|
|
53
|
+
|
54
|
+
# Lint
|
27
55
|
Lint/HeredocMethodCallPosition:
|
28
56
|
Enabled: true
|
29
57
|
|
30
58
|
Lint/NumberConversion:
|
31
59
|
Enabled: true
|
60
|
+
|
61
|
+
|
62
|
+
# Metrics
|
63
|
+
Metrics/AbcSize:
|
64
|
+
Max: 12
|
65
|
+
|
66
|
+
Metrics/BlockLength:
|
67
|
+
Max: 5
|
68
|
+
CountAsOne: ['array', 'hash', 'heredoc', 'method_call']
|
69
|
+
|
70
|
+
Metrics/BlockNesting:
|
71
|
+
Max: 2
|
72
|
+
|
73
|
+
Metrics/ClassLength:
|
74
|
+
Max: 75
|
75
|
+
CountAsOne: ['array', 'hash', 'heredoc', 'method_call']
|
76
|
+
|
77
|
+
Metrics/CollectionLiteralLength:
|
78
|
+
Enabled: true
|
79
|
+
LengthThreshold: 10
|
80
|
+
|
81
|
+
Metrics/CyclomaticComplexity:
|
82
|
+
Max: 5
|
83
|
+
|
84
|
+
Metrics/MethodLength:
|
85
|
+
Max: 5
|
86
|
+
CountAsOne: ['array', 'hash', 'heredoc', 'method_call']
|
87
|
+
|
88
|
+
Metrics/ModuleLength:
|
89
|
+
Max: 75
|
90
|
+
CountAsOne: ['array', 'hash', 'heredoc', 'method_call']
|
91
|
+
|
92
|
+
Metrics/ParameterLists:
|
93
|
+
Max: 3
|
94
|
+
|
95
|
+
Metrics/PerceivedComplexity:
|
96
|
+
Max: 7
|
97
|
+
|
98
|
+
|
99
|
+
# Security
|
100
|
+
Security/CompoundHash:
|
101
|
+
Enabled: true
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-vaporyhumo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- vaporyhumo
|
8
|
-
autorequire:
|
7
|
+
- Rodrigo Vilina (vaporyhumo)
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: rubocop
|
@@ -16,71 +15,70 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - "~>"
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
18
|
+
version: '1.77'
|
20
19
|
type: :runtime
|
21
20
|
prerelease: false
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
23
22
|
requirements:
|
24
23
|
- - "~>"
|
25
24
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
25
|
+
version: '1.77'
|
27
26
|
- !ruby/object:Gem::Dependency
|
28
27
|
name: rubocop-performance
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
30
29
|
requirements:
|
31
30
|
- - "~>"
|
32
31
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
32
|
+
version: '1.25'
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
37
36
|
requirements:
|
38
37
|
- - "~>"
|
39
38
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
39
|
+
version: '1.25'
|
41
40
|
- !ruby/object:Gem::Dependency
|
42
41
|
name: rubocop-rake
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
44
43
|
requirements:
|
45
44
|
- - "~>"
|
46
45
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
46
|
+
version: '0.7'
|
48
47
|
type: :runtime
|
49
48
|
prerelease: false
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
51
50
|
requirements:
|
52
51
|
- - "~>"
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
53
|
+
version: '0.7'
|
55
54
|
- !ruby/object:Gem::Dependency
|
56
55
|
name: rubocop-rspec
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
58
57
|
requirements:
|
59
58
|
- - "~>"
|
60
59
|
- !ruby/object:Gem::Version
|
61
|
-
version: '3.
|
60
|
+
version: '3.6'
|
62
61
|
type: :runtime
|
63
62
|
prerelease: false
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
65
64
|
requirements:
|
66
65
|
- - "~>"
|
67
66
|
- !ruby/object:Gem::Version
|
68
|
-
version: '3.
|
67
|
+
version: '3.6'
|
69
68
|
- !ruby/object:Gem::Dependency
|
70
69
|
name: rubocop-sorbet
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
72
71
|
requirements:
|
73
72
|
- - "~>"
|
74
73
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0.
|
74
|
+
version: '0.10'
|
76
75
|
type: :runtime
|
77
76
|
prerelease: false
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
79
78
|
requirements:
|
80
79
|
- - "~>"
|
81
80
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0.
|
83
|
-
description:
|
81
|
+
version: '0.10'
|
84
82
|
email:
|
85
83
|
- roanvilina@gmail.com
|
86
84
|
executables: []
|
@@ -92,13 +90,12 @@ files:
|
|
92
90
|
- README.md
|
93
91
|
- SECURITY.md
|
94
92
|
- config.yml
|
95
|
-
homepage: https://github.com/
|
93
|
+
homepage: https://github.com/rodrigovilina/rubocop-vaporyhumo
|
96
94
|
licenses:
|
97
95
|
- Unlicense
|
98
96
|
metadata:
|
99
|
-
homepage_uri: https://github.com/
|
100
|
-
changelog_uri: https://github.com/
|
101
|
-
post_install_message:
|
97
|
+
homepage_uri: https://github.com/rodrigovilina/rubocop-vaporyhumo
|
98
|
+
changelog_uri: https://github.com/rodrigovilina/rubocop-vaporyhumo/blob/main/CHANGELOG.md
|
102
99
|
rdoc_options: []
|
103
100
|
require_paths:
|
104
101
|
- lib
|
@@ -113,8 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
110
|
- !ruby/object:Gem::Version
|
114
111
|
version: '0'
|
115
112
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
117
|
-
signing_key:
|
113
|
+
rubygems_version: 3.6.9
|
118
114
|
specification_version: 4
|
119
|
-
summary: Rubocop setup used by @
|
115
|
+
summary: Rubocop setup used by @rodrigovilina
|
120
116
|
test_files: []
|