rubocop-config-umbrellio 0.48.1.2 → 0.48.1.4
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/lib/rubocop.rails.yml +8 -3
- data/lib/rubocop.yml +6 -3
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dd320abf4cf90666b05e7c0e53ed77ac865a304
|
4
|
+
data.tar.gz: d88f866190a523d0edf74b3ed1e4b7bf43f30663
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ef8262b121e3d87af87ac786e680e4e26da1882f3a7b2153b80d64de3b7b5ef89dc96d8ba13971f62763f005205b7698eeb7797c3939be424da03e0bc700066
|
7
|
+
data.tar.gz: 58d1e57742936c4ea3eb6152c3a5aff074e20513ca1fb77e2cbf08f3489764c70a9cb84756264d9689737cab21a50ee2f95636a64ae9dce8a952a33eff7381af
|
data/lib/rubocop.rails.yml
CHANGED
@@ -6,15 +6,20 @@ inherit_gem:
|
|
6
6
|
Metrics/BlockLength:
|
7
7
|
# TODO: use 'ExcludedMethods' config which is more selective
|
8
8
|
Exclude:
|
9
|
+
- config/initializers/**/*
|
9
10
|
- config/routes.rb
|
10
11
|
- spec/**/*
|
11
12
|
|
12
13
|
Metrics/LineLength:
|
13
14
|
Exclude:
|
14
|
-
- config/initializers/*
|
15
15
|
- config/environments/*
|
16
16
|
- lib/**/tasks/**/*
|
17
17
|
|
18
|
+
Metrics/MethodLength:
|
19
|
+
Exclude:
|
20
|
+
- db/**/*
|
21
|
+
- config/initializers/**/*
|
22
|
+
|
18
23
|
# Rails
|
19
24
|
|
20
25
|
Rails:
|
@@ -56,11 +61,11 @@ Rails/SkipsModelValidations:
|
|
56
61
|
- update_columns
|
57
62
|
- update_counters
|
58
63
|
|
59
|
-
|
60
64
|
# Style
|
61
65
|
|
62
66
|
Style/ClassAndModuleChildren:
|
63
|
-
Enabled:
|
67
|
+
Enabled: true
|
68
|
+
EnforcedStyle: compact
|
64
69
|
|
65
70
|
Style/HashSyntax:
|
66
71
|
Exclude:
|
data/lib/rubocop.yml
CHANGED
@@ -11,7 +11,7 @@ Lint/AmbiguousBlockAssociation:
|
|
11
11
|
Enabled: false
|
12
12
|
|
13
13
|
Lint/AmbiguousOperator:
|
14
|
-
Enabled:
|
14
|
+
Enabled: false
|
15
15
|
|
16
16
|
Lint/NonLocalExitFromIterator:
|
17
17
|
Enabled: false
|
@@ -74,7 +74,7 @@ RSpec/LetSetup:
|
|
74
74
|
Enabled: false
|
75
75
|
|
76
76
|
RSpec/MessageSpies:
|
77
|
-
|
77
|
+
Enabled: false
|
78
78
|
|
79
79
|
RSpec/MultipleDescribes:
|
80
80
|
Enabled: false
|
@@ -104,6 +104,10 @@ Style/AndOr:
|
|
104
104
|
# `do_something and return`
|
105
105
|
Enabled: false
|
106
106
|
|
107
|
+
Style/ClassAndModuleChildren:
|
108
|
+
# Enable it in non-rails projects with EnforcedStyle you prefer
|
109
|
+
Enabled: false
|
110
|
+
|
107
111
|
Style/CommentAnnotation:
|
108
112
|
# Also, i think that better to use yard's `@todo` and other in ruby code
|
109
113
|
Enabled: false
|
@@ -202,5 +206,4 @@ Style/TrailingCommaInLiteral:
|
|
202
206
|
|
203
207
|
Style/TrivialAccessors:
|
204
208
|
AllowPredicates: true
|
205
|
-
# REWIEW: Why don't we disable it?
|
206
209
|
Enabled: false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-config-umbrellio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.48.1.
|
4
|
+
version: 0.48.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JelF
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -94,9 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
requirements: []
|
96
96
|
rubyforge_project:
|
97
|
-
rubygems_version: 2.5.
|
97
|
+
rubygems_version: 2.5.1
|
98
98
|
signing_key:
|
99
99
|
specification_version: 4
|
100
100
|
summary: This gem provides default rubocop settings for Umbrellio projects
|
101
101
|
test_files: []
|
102
|
-
has_rdoc:
|