countdownobj 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  class CountDownObj
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/countdownobj.rb CHANGED
@@ -40,7 +40,11 @@ class CountDownObj
40
40
  end
41
41
  end
42
42
  end
43
- out.chomp(", ")
43
+ if deadline.to_i <= 0
44
+ out = 'deadline'
45
+ else
46
+ out.chomp(", ")
47
+ end
44
48
  end
45
49
 
46
50
  def deadline=(timeObject)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: countdownobj
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel P. Clark / 6ftDan(TM)