huh 1.0.2 → 1.0.3

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.
@@ -1,4 +1,4 @@
1
- require "huh"
1
+ require File.dirname(__FILE__) + "/../lib/huh"
2
2
 
3
3
  class Test < Huh
4
4
 
@@ -1,4 +1,4 @@
1
- require "huh"
1
+ require File.dirname(__FILE__) + "/../lib/huh"
2
2
 
3
3
  class Test < Huh
4
4
 
@@ -1,4 +1,4 @@
1
- require "huh"
1
+ require File.dirname(__FILE__) + "/../lib/huh"
2
2
 
3
3
  class PostTest < Huh
4
4
 
data/lib/huh.rb CHANGED
@@ -18,6 +18,5 @@ class Huh
18
18
  def self.assert_equal(a,b); assert(a == b); end # true == true..yes
19
19
  def self.assert_nil(a); assert(a.nil?); end # true == true..yes
20
20
  def self.finish!;puts "\n#{oz(@t)} tests, #{oz(@a)} assertions, #{oz(@f)} failures. #{(((oz(@t)-oz(@f)).to_f/@t.to_f)*100).to_i}% passing tests"; end # spit out info
21
- end
22
21
  end
23
22
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: huh
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 2
10
- version: 1.0.2
9
+ - 3
10
+ version: 1.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Baker