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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf9988be221ab5c4cfdf372e5086ecdde56e6bf917948d630641d297244cbee0
4
- data.tar.gz: b24b32fc84e143eb9452083a917649ad7ff58581e9e3c6264f2803d993d8547a
3
+ metadata.gz: 78253dc7efb504e30da59bf13a0bcd652a3eea2cf7615728953d5be96c4fe2ca
4
+ data.tar.gz: a849fc78ba2fbf5c978d597cc414bf170eae73331a3279192011d0f78fe28429
5
5
  SHA512:
6
- metadata.gz: f75a43f8b08530f675a164f25e209af5e35f864238b5ca8f12f925c6a1502c6321206fb7be336afb819ed95fe864e48fba910132bd32b71653de6add6ec79178
7
- data.tar.gz: a86dbe13e40123aa55bc2cfd41fd234118904392ccdfc10c66836d39f98adc67d0bd05fe3a73a85409f944edd1a6ffe60941208befd8a85fe7ac90215d5764c0
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|
@@ -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.2.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']
@@ -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: true
11
+ Enabled: false
11
12
  EnforcedHashRocketStyle: table
12
13
  EnforcedColonStyle: table
13
14
  EnforcedLastArgumentHashStyle: always_inspect
@@ -1,6 +1,6 @@
1
1
  Metrics/AbcSize:
2
2
  Enabled: true
3
- Max: 15
3
+ Max: 19
4
4
 
5
5
  Metrics/BlockLength:
6
6
  Enabled: true
@@ -10,6 +10,7 @@ Metrics/BlockLength:
10
10
  Exclude:
11
11
  - Rakefile
12
12
  - spec/**/*
13
+ - '*.gemspec'
13
14
 
14
15
  Metrics/BlockNesting:
15
16
  Enabled: true
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armitage-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov