makandra-rubocop 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed4f3bb8f84c35f5f0bc560dbafc42332ce2c15ddc711e5d9894911f071f1479
4
- data.tar.gz: db6052625fb1b26512904150682a03944e9cd69c83b45670e58ff73cc65f4fdd
3
+ metadata.gz: 2eb2f279fb7d984037fbe5ac17b31485b95da9bd7bc0e6d70b35db2b4643d77f
4
+ data.tar.gz: 4a6f7c331bd9405475cfc3b9a29853f7432ec634139573492e368b6fecb84b64
5
5
  SHA512:
6
- metadata.gz: b290a98d1231d239ea9f3e4ef4d958b083579a3d39c1b49252ffb9e775388a2ceadbc3ab1f27b733a4562902402b91c6ba9292d51dbe2ff25d5809e795ab0404
7
- data.tar.gz: 3894157e1095f4281c5355cfff354eef5d5e05a0ce886f49ce4623a3d3660cdc914a68710ec167a97ed030cb556cd71781af46fb57b0b3cae483c7cabaed9e2e
6
+ metadata.gz: ad044fd984253317df2fee2fc569c5977679b61ccc6f8e19669cfaba4d881f24ae744a99585de9b5c09033ae11d288881a33ae5fef7ff09a19ac1895d474f973
7
+ data.tar.gz: bed2b366e299281903a54dd891a2bcded7fcc2f002a8aca5a8b14478a2c67bd7b3ea5071bfa43320859a216ca7bce184dd3c31d3c6f507c1126299bdab7e6632
@@ -9,12 +9,23 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
9
9
  ### Compatible changes
10
10
 
11
11
 
12
+ ## 4.2.0 - 2020-01-02
13
+
14
+ ### Breaking changes
15
+
16
+ ### Compatible changes
17
+
18
+ - Disable `Rails/HelperInstanceVariable`
19
+ - Disable `Rails/HasManyOrHasOneDependent`
20
+
21
+
12
22
  ## 4.1.0 - 2019-12-06
13
23
 
14
24
  ### Compatible changes
15
25
 
16
26
  - Disable Rails/UnknownEnv cop
17
27
 
28
+
18
29
  ## 4.0.0 - 2019-12-06
19
30
 
20
31
  ### Breaking changes
@@ -25,8 +36,8 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
25
36
  Rubopcop 0.72.0 extracts all its Rails helpers to a new gem. This results in two split config files in the
26
37
  `makandra-rubocop` gem:
27
38
 
28
- * config/default.yml (contains now only Ruby cops)
29
- * config/ext/rails.yml (contains all Rails cops)
39
+ - config/default.yml (contains now only Ruby cops)
40
+ - config/ext/rails.yml (contains all Rails cops)
30
41
 
31
42
  Enabling the Rails cops was and is optional in `makandra-rubocop`. In case you want to use the Ruby cops only, please
32
43
  use the following config as before:
@@ -66,6 +77,7 @@ inherit_gem:
66
77
 
67
78
  - Update bundler to version 2 (only for development)
68
79
 
80
+
69
81
  ## 3.2.0 - 2019-07-29
70
82
 
71
83
  ### Compatible changes
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- makandra-rubocop (4.1.0)
4
+ makandra-rubocop (4.2.0)
5
5
  rubocop (~> 0.76.0)
6
6
  rubocop-rails (~> 2.3.2)
7
7
 
@@ -11,9 +11,9 @@ GEM
11
11
  ast (2.4.0)
12
12
  jaro_winkler (1.5.4)
13
13
  parallel (1.19.1)
14
- parser (2.6.5.0)
14
+ parser (2.7.0.1)
15
15
  ast (~> 2.4.0)
16
- rack (2.0.7)
16
+ rack (2.0.8)
17
17
  rainbow (3.0.0)
18
18
  rake (12.3.2)
19
19
  rubocop (0.76.0)
@@ -38,4 +38,4 @@ DEPENDENCIES
38
38
  rake (~> 12.3)
39
39
 
40
40
  BUNDLED WITH
41
- 2.0.2
41
+ 2.1.2
data/README.md CHANGED
@@ -55,6 +55,15 @@ Layout/MultilineArrayLineBreaks:
55
55
  Enabled: true
56
56
  ```
57
57
 
58
+ It also might be desired to set `inherit_mode`, which specifies which configuration keys that have
59
+ array values should be merged together instead of overriding the inherited value:
60
+
61
+ ```
62
+ inherit_mode:
63
+ merge:
64
+ - Exclude
65
+ ```
66
+
58
67
  ### Executing Rubocop on demand
59
68
 
60
69
  Run Rubocop via `bundle exec rubocop` from your project directory.
@@ -223,14 +223,14 @@ Rails/HasAndBelongsToMany:
223
223
  Rails/HasManyOrHasOneDependent:
224
224
  Description: 'Define the dependent option to the has_many and has_one associations.'
225
225
  StyleGuide: 'https://rails.rubystyle.guide#has_many-has_one-dependent-option'
226
- Enabled: true
226
+ Enabled: false # https://github.com/makandra/makandra-rubocop/issues/13
227
227
  VersionAdded: '0.50'
228
228
  Include:
229
229
  - app/models/**/*.rb
230
230
 
231
231
  Rails/HelperInstanceVariable:
232
232
  Description: 'Do not use instance variables in helpers'
233
- Enabled: true
233
+ Enabled: false # https://github.com/makandra/makandra-rubocop/issues/12
234
234
  VersionAdded: '2.0'
235
235
  Include:
236
236
  - app/helpers/**/*.rb
@@ -1,3 +1,3 @@
1
1
  module MakandraRubocop
2
- VERSION = '4.1.0'.freeze
2
+ VERSION = '4.2.0'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: makandra-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arne Hartherz
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2019-12-06 00:00:00.000000000 Z
12
+ date: 2020-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop