armitage-rubocop 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -2
- data/armitage-rubocop.gemspec +1 -1
- data/lib/general/layout.yml +2 -1
- data/lib/general/metrics.yml +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78253dc7efb504e30da59bf13a0bcd652a3eea2cf7615728953d5be96c4fe2ca
|
4
|
+
data.tar.gz: a849fc78ba2fbf5c978d597cc414bf170eae73331a3279192011d0f78fe28429
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aff7d0c011652057f8ef6485fff365026d0b599d27e62213b0e78a2122e1204f90707e519e9d08520afe640095eacbc92202ebda7c31992b4787f3f1f541602
|
7
|
+
data.tar.gz: ac5691d1c0ca86f99059de8eaa12c600b6d65d1cb3a8ea381a8576d63c6243549fde24c095097c5467e2352e83f75dd7b3f9f08818aec99da463bfbd29237c65
|
data/Rakefile
CHANGED
@@ -14,7 +14,6 @@ end
|
|
14
14
|
|
15
15
|
namespace :armitage_rubocop do
|
16
16
|
task :build do
|
17
|
-
# rubocop:disable Layout/AlignHash
|
18
17
|
build_processes = {
|
19
18
|
code_style_check:
|
20
19
|
Open3.popen3('bundle exec rake rubocop'),
|
@@ -23,7 +22,6 @@ namespace :armitage_rubocop do
|
|
23
22
|
yaml_validation:
|
24
23
|
Open3.popen3('bundle exec rake armitage_rubocop:validation:valid_yamls')
|
25
24
|
}
|
26
|
-
# rubocop:enable Layout/AlignHash
|
27
25
|
|
28
26
|
# NOTE: results structure { type => exit_code }
|
29
27
|
results = {}.tap do |result_data|
|
data/armitage-rubocop.gemspec
CHANGED
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
8
|
spec.name = 'armitage-rubocop'
|
9
|
-
spec.version = '0.
|
9
|
+
spec.version = '0.3.0'
|
10
10
|
spec.license = 'MIT'
|
11
11
|
spec.authors = ['Rustam Ibragimov']
|
12
12
|
spec.email = ['iamdaiver@icloud.com']
|
data/lib/general/layout.yml
CHANGED
@@ -6,8 +6,9 @@ Layout/AccessModifierIndentation:
|
|
6
6
|
Layout/AlignArray:
|
7
7
|
Enabled: true
|
8
8
|
|
9
|
+
# NOTE: sometimes - good, sometimes - bad. readability depends on case by case.
|
9
10
|
Layout/AlignHash:
|
10
|
-
Enabled:
|
11
|
+
Enabled: false
|
11
12
|
EnforcedHashRocketStyle: table
|
12
13
|
EnforcedColonStyle: table
|
13
14
|
EnforcedLastArgumentHashStyle: always_inspect
|
data/lib/general/metrics.yml
CHANGED