theforeman-rubocop 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/all.yml +6 -1
- data/default.yml +2 -4
- data/lib/theforeman/rubocop/version.rb +1 -1
- data/rules/base.yml +5 -0
- data/rules/metrics.yml +8 -0
- data/rules/style.yml +0 -8
- data/rules/style_permissive.yml +22 -0
- data/theforeman-rubocop.gemspec +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dec7eda262ed8ce64a081f73d79ab7ca5dbf8ecfe3c764603cd354ed876f2608
|
4
|
+
data.tar.gz: c665678918e1ff4447bb680602de6969efabcf670a4cea6bb96633180330b777
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 614d380c95d209a784b6e4def72fa6d75e5eed9532f0274f07d736d965facf05fe3a539d16f92b9849aa3c7b51881260dda07a13e2061da6308f2f0dcfcc02df
|
7
|
+
data.tar.gz: cc33b094bb9d3dea816fd9b8d8902536d618d0281d7797aafd5eb7726ff37534ecf11f162d5535cac14a22d63c6293721f78392a47654d208060b40f9163ca4e
|
data/README.md
CHANGED
data/all.yml
CHANGED
data/default.yml
CHANGED
data/rules/base.yml
ADDED
data/rules/metrics.yml
ADDED
data/rules/style.yml
CHANGED
@@ -22,14 +22,6 @@ Style/Documentation:
|
|
22
22
|
Style/EmptyMethod:
|
23
23
|
EnforcedStyle: expanded
|
24
24
|
|
25
|
-
# Support both, Ruby 1.9 hashmap and hash-rocket syntax
|
26
|
-
Style/HashSyntax:
|
27
|
-
EnforcedStyle: no_mixed_keys
|
28
|
-
|
29
|
-
# Both double and single quotes are OK
|
30
|
-
Style/StringLiterals:
|
31
|
-
Enabled: false
|
32
|
-
|
33
25
|
Style/TernaryParentheses:
|
34
26
|
EnforcedStyle: require_parentheses_when_complex
|
35
27
|
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Don't prefer is_a? over kind_of?
|
2
|
+
Style/ClassCheck:
|
3
|
+
Enabled: false
|
4
|
+
|
5
|
+
# Support both, Ruby 1.9 hashmap and hash-rocket syntax
|
6
|
+
Style/HashSyntax:
|
7
|
+
EnforcedStyle: no_mixed_keys
|
8
|
+
|
9
|
+
# disabled until we can configure "+" as concat sign
|
10
|
+
Style/LineEndConcatenation:
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
# Both double and single quotes are OK
|
14
|
+
Style/StringLiterals:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
Style/SymbolArray:
|
18
|
+
EnforcedStyle: brackets
|
19
|
+
MinSize: 1
|
20
|
+
|
21
|
+
Style/WordArray:
|
22
|
+
Enabled: false
|
data/theforeman-rubocop.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = IO.readlines('AUTHORS', encoding: 'utf-8').map(&:strip)
|
11
11
|
spec.email = ['foreman-dev@googlegroups.com']
|
12
12
|
|
13
|
-
spec.summary = '
|
13
|
+
spec.summary = 'Shared Rubocop configuration for theforeman.org family of projects.'
|
14
14
|
spec.homepage = 'https://github.com/theforeman/theforeman-rubocop'
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: theforeman-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -136,11 +136,14 @@ files:
|
|
136
136
|
- default.yml
|
137
137
|
- edge.yml
|
138
138
|
- lib/theforeman/rubocop/version.rb
|
139
|
+
- rules/base.yml
|
140
|
+
- rules/metrics.yml
|
139
141
|
- rules/minitest.yml
|
140
142
|
- rules/performance.yml
|
141
143
|
- rules/rails.yml
|
142
144
|
- rules/ruby_target.yml
|
143
145
|
- rules/style.yml
|
146
|
+
- rules/style_permissive.yml
|
144
147
|
- theforeman-rubocop.gemspec
|
145
148
|
homepage: https://github.com/theforeman/theforeman-rubocop
|
146
149
|
licenses: []
|
@@ -163,5 +166,5 @@ requirements: []
|
|
163
166
|
rubygems_version: 3.1.2
|
164
167
|
signing_key:
|
165
168
|
specification_version: 4
|
166
|
-
summary:
|
169
|
+
summary: Shared Rubocop configuration for theforeman.org family of projects.
|
167
170
|
test_files: []
|