Module: CommitMeat
- Defined in:
- lib/commit-meat.rb,
lib/commit-meat/tester.rb,
lib/commit-meat/version.rb,
lib/commit-meat/installation.rb
Defined Under Namespace
Modules: Installation Classes: Tester
Constant Summary collapse
- VERSION =
'0.0.5'
Class Method Summary collapse
Class Method Details
.run ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/commit-meat.rb', line 10 def self.run tester = Tester.new() tester.test if tester.has_failures? || tester.has_warnings? puts "There's NO MEAT - did not commit.".magenta.bold tester..each { || puts .yellow } tester..each { || puts .red } end stop_commit if tester.has_failures? end |