fablicop 1.4.1 → 1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 07eb16fa26e1f0316ef778a520a56f77408b5c9e93677e1a6758a035e97cf299
4
- data.tar.gz: cc78bd7069639395950bbf9aeccd42a7f4884481b1403792aa13a91da6159a7f
3
+ metadata.gz: 2fd914960f40f459282e9c8a408f1b7d0a313888f1286e0ab81392f68c0ea4e1
4
+ data.tar.gz: 10e8ddfbb132085e5ece33be46b00ec7f3695ec551c8ca856f2b30152fbb196d
5
5
  SHA512:
6
- metadata.gz: 8ca4df2f25fc58700fc64ecb106ee876c309a6ee5fbd5d7c12411e11a1361880cfef6b1983ba38c9b1bba5aac1328c7b877aa81d1d5cb0aa56ed005774f67130
7
- data.tar.gz: 9ca49292c708a1062ab5aacd8020a5b19476e4c472a63fbeae92a59ca3fdb1b6997916379b305a1f00fa5f566ab0f1af06a539104ee395940c03551a350c3ddd
6
+ metadata.gz: cdb9a76a7d9b92b240d240661abc1d6ec96f5b6caa7e81d94e586e6d9c490b07d4e3858b5eff16a7504bf03fa24c9530f05a267e7421115895c6d5991c46979a
7
+ data.tar.gz: c8394f80ad72d1bde92267e925c893a8d9b0dad8cbe9244b6f3cc005be18e37891b0854207a1339b489c87dc5b8ab32d620a675bbc989fd84a8d44a977910529
data/CHANGELOG.md CHANGED
@@ -2,7 +2,15 @@
2
2
 
3
3
  ## [Unreleased](https://github.com/Fablic/fablicop/tree/HEAD)
4
4
 
5
- [Full Changelog](https://github.com/Fablic/fablicop/compare/v1.4.0...HEAD)
5
+ [Full Changelog](https://github.com/Fablic/fablicop/compare/v1.4.1...HEAD)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Disable Metrics aside from NestedBlocks [\#83](https://github.com/Fablic/fablicop/pull/83) ([DaisukeHirabayashi](https://github.com/DaisukeHirabayashi))
10
+
11
+ ## [v1.4.1](https://github.com/Fablic/fablicop/tree/v1.4.1) (2022-06-28)
12
+
13
+ [Full Changelog](https://github.com/Fablic/fablicop/compare/v1.4.0...v1.4.1)
6
14
 
7
15
  **Closed issues:**
8
16
 
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![fablicop](https://img.shields.io/gem/v/fablicop?label=fablicop)
1
+ <a href="https://rubygems.org/gems/fablicop"><img alt="fablicop" src="https://img.shields.io/gem/v/fablicop"></a>
2
2
 
3
3
  # fablicop
4
4
 
@@ -207,34 +207,29 @@ Lint/ParenthesesAsGroupedExpression:
207
207
 
208
208
  ##################### Metrics ##################################
209
209
 
210
- # There is something wrong with more than 20 lines aside from migration files.
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
- Max: 20
213
- Exclude:
214
- - "db/migrate/*.rb"
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/BlockLength:
221
- Max: 100
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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fablicop
4
- VERSION = '1.4.1'
4
+ VERSION = '1.5.0'
5
5
  end
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.1
4
+ version: 1.5.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-06-28 00:00:00.000000000 Z
13
+ date: 2022-07-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rubocop