fablicop 1.4.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -1
- data/README.md +1 -1
- data/config/.base_rubocop.yml +23 -25
- data/lib/fablicop/cli.rb +1 -0
- data/lib/fablicop/version.rb +1 -1
- data/lib/fablicop.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d17d26bea73be0170dc33d115e62dce8e31e117c28ebd15f0d4e13194b170976
|
4
|
+
data.tar.gz: 6daa7320a0ceac473bfff0e0e61a5d98644f15f49b399220e98417e13ab3d20a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6cf903907362483a5e1cabb39fe9bd4fe3c7a83fb59bd2766460f77b192995e38b5336841367e90fb524241d9554a2f00edaaf0f460fbcdc4ea7bbfd5dc0cd61
|
7
|
+
data.tar.gz: 43ae6430aafa6e1ae7d8fd684bb5231a10106a67f2dd3ed7d792d479c81d98b89f97b01b00ae46f5e16e11585ebac74aabce81df8721b2c703cfb8fc7ad34fe6
|
data/CHANGELOG.md
CHANGED
@@ -2,7 +2,31 @@
|
|
2
2
|
|
3
3
|
## [Unreleased](https://github.com/Fablic/fablicop/tree/HEAD)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.
|
5
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.6.0...HEAD)
|
6
|
+
|
7
|
+
**Merged pull requests:**
|
8
|
+
|
9
|
+
- Disable Naming/VariableNumber [\#89](https://github.com/Fablic/fablicop/pull/89) ([yykamei](https://github.com/yykamei))
|
10
|
+
|
11
|
+
## [v1.6.0](https://github.com/Fablic/fablicop/tree/v1.6.0) (2022-07-26)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.5.0...v1.6.0)
|
14
|
+
|
15
|
+
**Merged pull requests:**
|
16
|
+
|
17
|
+
- Enable `Style/Documentation` [\#86](https://github.com/Fablic/fablicop/pull/86) ([yykamei](https://github.com/yykamei))
|
18
|
+
|
19
|
+
## [v1.5.0](https://github.com/Fablic/fablicop/tree/v1.5.0) (2022-07-21)
|
20
|
+
|
21
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.4.1...v1.5.0)
|
22
|
+
|
23
|
+
**Merged pull requests:**
|
24
|
+
|
25
|
+
- Disable Metrics aside from NestedBlocks [\#83](https://github.com/Fablic/fablicop/pull/83) ([DaisukeHirabayashi](https://github.com/DaisukeHirabayashi))
|
26
|
+
|
27
|
+
## [v1.4.1](https://github.com/Fablic/fablicop/tree/v1.4.1) (2022-06-28)
|
28
|
+
|
29
|
+
[Full Changelog](https://github.com/Fablic/fablicop/compare/v1.4.0...v1.4.1)
|
6
30
|
|
7
31
|
**Closed issues:**
|
8
32
|
|
data/README.md
CHANGED
data/config/.base_rubocop.yml
CHANGED
@@ -51,9 +51,9 @@ Style/TrailingCommaInHashLiteral:
|
|
51
51
|
Style/TrailingCommaInArguments:
|
52
52
|
EnforcedStyleForMultiline: comma
|
53
53
|
|
54
|
-
# We
|
54
|
+
# We learned documentation is important.
|
55
55
|
Style/Documentation:
|
56
|
-
Enabled:
|
56
|
+
Enabled: true
|
57
57
|
|
58
58
|
# We sometimes want to use `self` anyway.
|
59
59
|
Style/RedundantSelf:
|
@@ -207,40 +207,38 @@ Lint/ParenthesesAsGroupedExpression:
|
|
207
207
|
|
208
208
|
##################### Metrics ##################################
|
209
209
|
|
210
|
-
|
210
|
+
Metrics/AbcSize:
|
211
|
+
Enabled: false
|
212
|
+
|
213
|
+
Metrics/BlockLength:
|
214
|
+
Enabled: false
|
215
|
+
|
216
|
+
Metrics/ClassLength:
|
217
|
+
Enabled: false
|
218
|
+
|
219
|
+
Metrics/CyclomaticComplexity:
|
220
|
+
Enabled: false
|
221
|
+
|
211
222
|
Metrics/MethodLength:
|
212
|
-
|
213
|
-
|
214
|
-
|
223
|
+
Enabled: false
|
224
|
+
|
225
|
+
Metrics/ModuleLength:
|
226
|
+
Enabled: false
|
215
227
|
|
216
|
-
# We want to measure this metrics without keyword arguments.
|
217
228
|
Metrics/ParameterLists:
|
218
229
|
CountKeywordArgs: false
|
219
230
|
|
220
|
-
Metrics/
|
221
|
-
|
222
|
-
Exclude:
|
223
|
-
- "spec/**/*.rb"
|
224
|
-
- "test/**/*.rb"
|
225
|
-
- "app/admin/*.rb"
|
226
|
-
- "config/**/*.rb"
|
227
|
-
|
228
|
-
# We discussed internally about this parameter and decided to follow this configuration.
|
229
|
-
# https://github.com/onk/onkcop/blob/8066859d3d00328146c1da9e57bdd4a951974ef2/config/rubocop.yml#L113-L116
|
230
|
-
Metrics/AbcSize:
|
231
|
-
Max: 20
|
232
|
-
Exclude:
|
233
|
-
- "test/**/*.rb"
|
234
|
-
|
235
|
-
Metrics/ClassLength:
|
236
|
-
Exclude:
|
237
|
-
- "test/**/*.rb"
|
231
|
+
Metrics/PerceivedComplexity:
|
232
|
+
Enabled: false
|
238
233
|
|
239
234
|
# Does the variable name for an exception object really matter?
|
240
235
|
# There are many things to think about before taking care of it.
|
241
236
|
Naming/RescuedExceptionsVariableName:
|
242
237
|
Enabled: false
|
243
238
|
|
239
|
+
Naming/VariableNumber:
|
240
|
+
Enabled: false
|
241
|
+
|
244
242
|
##################### RSpec ##################################
|
245
243
|
|
246
244
|
# disabling to not to show errors if there is no when/with/without in the context
|
data/lib/fablicop/cli.rb
CHANGED
data/lib/fablicop/version.rb
CHANGED
data/lib/fablicop.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fablicop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tommy
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-
|
13
|
+
date: 2022-08-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rubocop
|