massa 0.0.4 → 0.0.5

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: fdfebe9b182b0591cd8c2c6ffc0eb86149a161fa
4
- data.tar.gz: acff4716f63b4adbd3b162ad5374dff624a78854
3
+ metadata.gz: 6a684424ad5691de80c262630360b5cb87368c6e
4
+ data.tar.gz: e9fe02f50260f6054c9a9a5ba1d54fc68919789a
5
5
  SHA512:
6
- metadata.gz: 1319f8cf5b82b7f0eccf1c360337153470037b6ccd6c60c523ee8176e6bd5b90ecbe6049a4630bf8ebee9c5ad4fd9149b0043d90f03cd567bc6952d59256d0c5
7
- data.tar.gz: 16c9b991be8e8864cfccc0eebb4599fead24d8d6c27892c8311bdc18c43c6c0ac73e4919246e3e1715a4fcaf6e3e9b47aa41233a05e0a7b7b5cf51a4ddf2ced9
6
+ metadata.gz: 048629f9d3c035f15539ed334b67aa12c5aa02875dd19985946ff01b6fe03b84837bc8b005d9ec76165658134566ce8df7329268798ad8f1dcc550eadde34026
7
+ data.tar.gz: c4a4b5babde068d8298ead480611e9c9185c87d9987c2c7f1831a8c151a47972fc15fef5520b60023acdead01798a4f925665cd7aa8ddf391788ebf8d5b8cacd
@@ -14,7 +14,7 @@
14
14
  :required: true
15
15
 
16
16
  - :description: 'HAML lint'
17
- :gem_name: 'haml-lint'
17
+ :gem_name: 'haml_lint'
18
18
  :command: 'bundle exec haml-lint app/views'
19
19
  :required: true
20
20
 
@@ -46,7 +46,7 @@ module Massa
46
46
 
47
47
  unless $?.success?
48
48
  Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ #{tool.description} failed."
49
- puts command_output if command_output.present?
49
+ puts command_output if command_output.to_s != ''
50
50
 
51
51
  exit 1 if tool.required
52
52
  end
data/lib/massa/tool.rb CHANGED
@@ -6,7 +6,7 @@ module Massa
6
6
  end
7
7
 
8
8
  def tools_yaml_file
9
- "#{Gem::Specification.find_by_name('massa').gem_dir}/lib/massa/default_tools.yml"
9
+ "#{Gem::Specification.find_by_name('massa').gem_dir}/config/default_tools.yml"
10
10
  rescue Gem::LoadError
11
11
  Massa::CLI.colorize :red, "¯\\_(ツ)_/¯ 'massa' gem is not in your Gemfile."
12
12
  exit 1
data/lib/massa/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Massa
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  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.0.4
4
+ version: 0.0.5
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-01-21 00:00:00.000000000 Z
11
+ date: 2016-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -83,10 +83,10 @@ files:
83
83
  - README.md
84
84
  - Rakefile
85
85
  - bin/massa
86
+ - config/default_tools.yml
86
87
  - lib/massa.rb
87
88
  - lib/massa/analyzer.rb
88
89
  - lib/massa/cli.rb
89
- - lib/massa/default_tools.yml
90
90
  - lib/massa/tool.rb
91
91
  - lib/massa/version.rb
92
92
  - massa.gemspec