massa 0.4.0 → 0.5.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3eb969dfc2a0109b9a1ad3e5596b6869d0c76de4
4
- data.tar.gz: 5a30dbfb5e6744d345c8c8146468645166d04a3e
3
+ metadata.gz: 117b89c8f6657f2b09c21ee8993ec6cbe415f748
4
+ data.tar.gz: 49e7a3ed5efb84fca65248bb24ac295138b623bc
5
5
  SHA512:
6
- metadata.gz: 8b03a78e3e29363f06f6a5eca8b23aab00362cc28317582085cc03ba4da3baf05c1abc9a17ce8baf7aa4b3d8df75dbd00ee041f314087b8b6e20f8eb9fb223cb
7
- data.tar.gz: fa54e434e7bf806f2faf16e714d7c440858271755116613c376e8319613141bae685c0420f7cdb5067634254b9d815aabda86c99f34d98367a125e93e2165f30
6
+ metadata.gz: 8ede0e57e1925cc5876b121d81bb3bea76b4a4a0eb988e962273650434567c5ac5df50bb6590b5e3f3001a2d1b38f859a08adbbd4d7faeb968373e54a3845d18
7
+ data.tar.gz: 3cbe381a9696facfa94769206a2e1b66125128428e9ffe420eb6ff061c146a00ff57738c308a2ada4ec39d52ace978d665c1e4bb81be36ba226ac37c6ff251bd
@@ -1,20 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- massa (0.4.0)
4
+ massa (0.5.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.3.0)
10
- codeclimate-test-reporter (0.6.0)
11
- simplecov (>= 0.7.1, < 1.0.0)
10
+ codeclimate-test-reporter (1.0.3)
11
+ simplecov
12
12
  coderay (1.1.1)
13
13
  diff-lcs (1.2.5)
14
14
  docile (1.1.5)
15
15
  json (2.0.2)
16
16
  method_source (0.8.2)
17
- parser (2.3.1.2)
17
+ parser (2.3.3.1)
18
18
  ast (~> 2.2)
19
19
  powerpack (0.1.1)
20
20
  pry (0.10.4)
@@ -27,7 +27,7 @@ GEM
27
27
  rspec-core (~> 3.5.0)
28
28
  rspec-expectations (~> 3.5.0)
29
29
  rspec-mocks (~> 3.5.0)
30
- rspec-core (3.5.2)
30
+ rspec-core (3.5.4)
31
31
  rspec-support (~> 3.5.0)
32
32
  rspec-expectations (3.5.0)
33
33
  diff-lcs (>= 1.2.0, < 2.0)
@@ -36,13 +36,13 @@ GEM
36
36
  diff-lcs (>= 1.2.0, < 2.0)
37
37
  rspec-support (~> 3.5.0)
38
38
  rspec-support (3.5.0)
39
- rubocop (0.42.0)
39
+ rubocop (0.46.0)
40
40
  parser (>= 2.3.1.1, < 3.0)
41
41
  powerpack (~> 0.1)
42
42
  rainbow (>= 1.99.1, < 3.0)
43
43
  ruby-progressbar (~> 1.7)
44
44
  unicode-display_width (~> 1.0, >= 1.0.1)
45
- rubocop-rspec (1.6.0)
45
+ rubocop-rspec (1.8.0)
46
46
  rubocop (>= 0.42.0)
47
47
  ruby-progressbar (1.8.1)
48
48
  simplecov (0.12.0)
@@ -51,7 +51,7 @@ GEM
51
51
  simplecov-html (~> 0.10.0)
52
52
  simplecov-html (0.10.0)
53
53
  slop (3.6.0)
54
- unicode-display_width (1.1.0)
54
+ unicode-display_width (1.1.2)
55
55
 
56
56
  PLATFORMS
57
57
  ruby
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
  rubocop-rspec
68
68
 
69
69
  BUNDLED WITH
70
- 1.12.5
70
+ 1.13.6
@@ -10,7 +10,7 @@ haml_lint:
10
10
 
11
11
  brakeman:
12
12
  description: 'Brakeman (security vulnerability scanner)'
13
- command: 'bundle exec brakeman -Aqz4'
13
+ command: 'bundle exec brakeman -Aqz5'
14
14
  required: true
15
15
 
16
16
  rails_best_practices:
@@ -47,14 +47,14 @@ module Massa
47
47
  IO.popen(tool.command, err: [:child, :out]) { |io| command_output = io.read }
48
48
  end
49
49
 
50
- unless $CHILD_STATUS.success?
51
- Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ #{tool.description} failed:"
52
- Massa::CLI.colorize :yellow, "$ #{tool.command}"
50
+ return if $CHILD_STATUS.success?
53
51
 
54
- puts command_output if command_output.to_s != ''
52
+ Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ #{tool.description} failed:"
53
+ Massa::CLI.colorize :yellow, "$ #{tool.command}"
55
54
 
56
- exit 1 if tool.required?
57
- end
55
+ puts command_output if command_output.to_s != ''
56
+
57
+ exit 1 if tool.required?
58
58
  end
59
59
  end
60
60
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Massa
4
- VERSION = '0.4.0'
4
+ VERSION = '0.5.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: massa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lucas Caton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-03 00:00:00.000000000 Z
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  version: '0'
155
155
  requirements: []
156
156
  rubyforge_project:
157
- rubygems_version: 2.6.6
157
+ rubygems_version: 2.5.2
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Keep the quality, good practices and security of Rails projects.