commit-meat 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,6 @@
1
+ _0.0.4_
2
+ * Fixed installation error.
3
+
1
4
  _0.0.3_
2
5
  * Fixed typos.
3
6
 
@@ -2,8 +2,6 @@ module CommitMeat
2
2
 
3
3
  class Tester
4
4
 
5
- extend Tests
6
-
7
5
  attr_reader :failure_messages
8
6
 
9
7
  def initialize(message)
@@ -21,17 +19,15 @@ module CommitMeat
21
19
  end
22
20
 
23
21
  def check_if(bad_commit_test, failure_message)
24
- unless send(bad_commit_test)
22
+ if send(bad_commit_test)
25
23
  @failure_messages << failure_message
26
24
  end
27
25
  end
28
26
 
29
- end
30
-
31
- module Tests
27
+ ## tests
32
28
 
33
29
  def has_only_one_word
34
- @message.split.size > 1
30
+ @message.split.size == 1
35
31
  end
36
32
 
37
33
  def includes_bad_words
@@ -46,4 +42,5 @@ module CommitMeat
46
42
  end
47
43
 
48
44
  end
45
+
49
46
  end
@@ -1,5 +1,5 @@
1
1
  module CommitMeat
2
2
 
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commit-meat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: