rubocop-config-coverhound 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/default.yml +19 -1
  3. metadata +7 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9bbd4108924a92a1d1ff9ab89c05a93bce2b759f
4
- data.tar.gz: 91646cbbef96f10a3863e7c153cec54624a56e32
3
+ metadata.gz: ca479d158948980c11118e2db0d667de82bf5457
4
+ data.tar.gz: c2914e56e892d6ff5c88a31cd9fdd84c3c6f7d8a
5
5
  SHA512:
6
- metadata.gz: 5542515312aea281dd79cb4105c3c147857079970e5bfa36fe26db45d01661bd21dbac7467bd295bbefd68d2bba4d40551ad9396b16fd28890ca19516afecac1
7
- data.tar.gz: 8692f545cc21b502ba9101ad42a88656dd6d1b9c831b790025367333b43101c2cc6c02152ff6cc2656463a7ca612096bf80b88aca85ca499d4a76c454499ba34
6
+ metadata.gz: 7103939a0accfc0eaa32e5e1b04988509502eecdcd975e71bf0417baac9e6423f73e023f7c6ee7f29491e8985fda3a8ee6d0dff27c8e516d6512a8eb89b6b428
7
+ data.tar.gz: 82a00e0a90d079bf8d8c0e7d3a92736ca28c87cdde25c8e59b4981b4e894cb41542578ccf43b28bff1f216ebe65c9ca6ed8b5d2734b269c448f2e9d77012ff03
data/default.yml CHANGED
@@ -87,6 +87,14 @@ Metrics/LineLength:
87
87
  Metrics/MethodLength:
88
88
  Max: 20
89
89
 
90
+ # ========================================
91
+ # RAILS
92
+ # ========================================
93
+
94
+ # We'e OK with syntax like `return unless foo.present?`
95
+ Rails/Blank:
96
+ UnlessPresent: false
97
+
90
98
  # ========================================
91
99
  # STYLE
92
100
  # ========================================
@@ -126,7 +134,10 @@ Style/StringLiterals:
126
134
  # :three,
127
135
  # ]
128
136
  #
129
- Style/TrailingCommaInLiteral:
137
+ Style/TrailingCommaInArrayLiteral:
138
+ EnforcedStyleForMultiline: comma
139
+
140
+ Style/TrailingCommaInHashLiteral:
130
141
  EnforcedStyleForMultiline: comma
131
142
 
132
143
  # See ^
@@ -136,3 +147,10 @@ Style/TrailingCommaInArguments:
136
147
  # This can be worse for diffs if we know it's variable
137
148
  Style/WordArray:
138
149
  Enabled: false
150
+
151
+ # ========================================
152
+ # PERFORMANCE
153
+ # ========================================
154
+ # This is less readable for a 20% performance boost
155
+ Performance/Casecmp:
156
+ Enabled: false
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-config-coverhound
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bernardo Farah
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-11 00:00:00.000000000 Z
11
+ date: 2018-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.49'
19
+ version: '0.56'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.49'
26
+ version: '0.56'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -62,7 +62,8 @@ files:
62
62
  - README.md
63
63
  - default.yml
64
64
  homepage: https://github.com/coverhound/coverhound-style
65
- licenses: []
65
+ licenses:
66
+ - MIT
66
67
  metadata: {}
67
68
  post_install_message:
68
69
  rdoc_options: []
@@ -80,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
81
  version: '0'
81
82
  requirements: []
82
83
  rubyforge_project:
83
- rubygems_version: 2.6.12
84
+ rubygems_version: 2.5.2
84
85
  signing_key:
85
86
  specification_version: 4
86
87
  summary: CoverHound style guides and shared style configs.