rubocop-vaporyhumo 0.3.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +36 -0
  3. data/SECURITY.md +2 -2
  4. data/config.yml +93 -0
  5. metadata +19 -22
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e3715785e08509c2cd6987c3e79c04fe14b26829e328c31703a735b21a6f04e
4
- data.tar.gz: cd523093a8531c0490d8286f96bb5818bd6e00304bac90b9c1cfbc096f483351
3
+ metadata.gz: 0b40d9eb61aebea939011d0f003e556eec518f449a4d3ff2beca0b6a33087e54
4
+ data.tar.gz: 1c9640c008ea75b270bea8dca54acf623e3049f8881f47885aa6ab48f64ce8f2
5
5
  SHA512:
6
- metadata.gz: b63a4fcad77630235023807ba6b7989f1ed192d3d997a66c6c9e217990bd65c589c1bf2057e6ac11c70fc4170e05cff0c0f39e0a114e4b589d3b9832ff4a4733
7
- data.tar.gz: 31db8847a3d709966d54b85573b921f8006083eb6ca20d51df78b84cd910e2479561dcfa57e1be412548d1eb88b94b53f59f2ccbbfc66ed71b7814da06f2a18c
6
+ metadata.gz: cd0d246c7f5814cbdb30cee4dd39d8325fd4305549bf434700af36310c0ce472f5c374b18236b0d66f1a9f8d256b6dfb95f637f4034602e2e26e052e40cd1f6c
7
+ data.tar.gz: b263bf6ee6418b02e4f352c1c296fd4efc23b8d5a53ca5a79ded8d1b15f20f2e72c2767d837d066363bc0e7cc89694a6646762358bbfc15dc2497ea61a4e57e1
data/CHANGELOG.md CHANGED
@@ -9,6 +9,42 @@ 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
+
13
+
14
+ ## [0.5.0] - 2025-06-23
15
+ ### Added
16
+ - `Naming/BlockForwarding` configuration
17
+ - `Naming/InclusiveLanguage` configuration
18
+ - `Naming/MemoizedInstanceVariableName` configuration
19
+ - `Naming/PredicateMethid` configuration
20
+ - `Naming/PredicatePrefix` configuration
21
+ - `Style/ColonMethodCall` disabled
22
+
23
+ ### Changed
24
+ - `Metrics/ParameterLists` configuration: max parameters increased from 3 to 4
25
+
26
+
27
+ ## [0.4.0] - 2025-06-23
28
+ ### Added
29
+ - `Bundler/GemComment` configuration with version specifiers and GitHub enforcement
30
+ - `Bundler/OrderedGems` configuration with comment group separators disabled
31
+ - `Gemspec/AttributeAssignment` configuration
32
+ - `Gemspec/DeprecatedAttributeAssignment` configuration
33
+ - `Gemspec/OrderedDependencies` configuration with comment group separators disabled
34
+ - `Gemspec/RequireMFA` configuration
35
+ - `Metrics/AbcSize` configuration with max complexity of 12
36
+ - `Metrics/BlockLength` configuration with max length of 5
37
+ - `Metrics/BlockNesting` configuration with max nesting of 2
38
+ - `Metrics/ClassLength` configuration with max length of 75
39
+ - `Metrics/CollectionLiteralLength` configuration with threshold of 10
40
+ - `Metrics/CyclomaticComplexity` configuration with max complexity of 5
41
+ - `Metrics/MethodLength` configuration with max length of 5
42
+ - `Metrics/ModuleLength` configuration with max length of 75
43
+ - `Metrics/ParameterLists` configuration with max parameters of 3
44
+ - `Metrics/PerceivedComplexity` configuration with max complexity of 7
45
+ - `Security/CompoundHash` configuration
46
+
47
+
12
48
  ## [0.3.0] - 2024-06-13
13
49
  ### Added
14
50
  - `Lint` department configurations.
data/SECURITY.md CHANGED
@@ -6,8 +6,8 @@ Currently supported version are:
6
6
 
7
7
  | Version | Supported |
8
8
  | ------- | ------------------ |
9
- | 0.3.0 | :white_check_mark: |
10
- | < 0.3.0 | :x: |
9
+ | 0.5.0 | :white_check_mark: |
10
+ | < 0.5.0 | :x: |
11
11
 
12
12
  ## Reporting a Vulnerability
13
13
 
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,75 @@ 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: 4
94
+
95
+ Metrics/PerceivedComplexity:
96
+ Max: 7
97
+
98
+
99
+ # Naming
100
+ Naming/BlockForwarding:
101
+ Enabled: true
102
+
103
+ Naming/InclusiveLanguage:
104
+ Enabled: true
105
+
106
+ Naming/MemoizedInstanceVariableName:
107
+ EnforcedStyleForLeadingUnderscores: optional
108
+
109
+ Naming/PredicateMethod:
110
+ Enabled: true
111
+
112
+ Naming/PredicatePrefix:
113
+ Enabled: true
114
+ UseSorbetSigs: true
115
+
116
+
117
+ # Security
118
+ Security/CompoundHash:
119
+ Enabled: true
120
+
121
+
122
+ # Style
123
+ Style/ColonMethodCall:
124
+ Enabled: false
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.3.0
4
+ version: 0.5.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: 2024-06-14 00:00:00.000000000 Z
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.64'
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.64'
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.21'
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.21'
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.6'
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.6'
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.0'
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.0'
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.8'
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.8'
83
- description:
81
+ version: '0.10'
84
82
  email:
85
83
  - roanvilina@gmail.com
86
84
  executables: []
@@ -92,13 +90,13 @@ files:
92
90
  - README.md
93
91
  - SECURITY.md
94
92
  - config.yml
95
- homepage: https://github.com/vaporyhumo/rubocop-vaporyhumo
93
+ homepage: https://github.com/rodrigovilina/rubocop-vaporyhumo
96
94
  licenses:
97
95
  - Unlicense
98
96
  metadata:
99
- homepage_uri: https://github.com/vaporyhumo/rubocop-vaporyhumo
100
- changelog_uri: https://github.com/vaporyhumo/rubocop-vaporyhumo/blob/main/CHANGELOG.md
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
99
+ rubygems_mfa_required: 'true'
102
100
  rdoc_options: []
103
101
  require_paths:
104
102
  - lib
@@ -113,8 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
113
111
  - !ruby/object:Gem::Version
114
112
  version: '0'
115
113
  requirements: []
116
- rubygems_version: 3.5.7
117
- signing_key:
114
+ rubygems_version: 3.6.9
118
115
  specification_version: 4
119
- summary: Rubocop setup used by @vaporyhumo
116
+ summary: Rubocop setup used by @rodrigovilina
120
117
  test_files: []