massa 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +9 -9
- data/config/default_tools.yml +1 -1
- data/lib/massa/analyzer.rb +6 -6
- data/lib/massa/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 117b89c8f6657f2b09c21ee8993ec6cbe415f748
|
4
|
+
data.tar.gz: 49e7a3ed5efb84fca65248bb24ac295138b623bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8ede0e57e1925cc5876b121d81bb3bea76b4a4a0eb988e962273650434567c5ac5df50bb6590b5e3f3001a2d1b38f859a08adbbd4d7faeb968373e54a3845d18
|
7
|
+
data.tar.gz: 3cbe381a9696facfa94769206a2e1b66125128428e9ffe420eb6ff061c146a00ff57738c308a2ada4ec39d52ace978d665c1e4bb81be36ba226ac37c6ff251bd
|
data/Gemfile.lock
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
massa (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.
|
11
|
-
simplecov
|
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
|
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.
|
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.
|
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.
|
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.
|
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.
|
70
|
+
1.13.6
|
data/config/default_tools.yml
CHANGED
data/lib/massa/analyzer.rb
CHANGED
@@ -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
|
-
|
51
|
-
Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ #{tool.description} failed:"
|
52
|
-
Massa::CLI.colorize :yellow, "$ #{tool.command}"
|
50
|
+
return if $CHILD_STATUS.success?
|
53
51
|
|
54
|
-
|
52
|
+
Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ #{tool.description} failed:"
|
53
|
+
Massa::CLI.colorize :yellow, "$ #{tool.command}"
|
55
54
|
|
56
|
-
|
57
|
-
|
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
|
data/lib/massa/version.rb
CHANGED
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
|
+
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-
|
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.
|
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.
|