vnews 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/lib/vnews/display.rb CHANGED
@@ -46,7 +46,7 @@ class Vnews
46
46
  "no date"
47
47
  elsif d.year != Time.now.year
48
48
  d.strftime("%b %Y")
49
- elsif d.to_date == Time.now.to_date
49
+ elsif d.to_date >= Time.now.to_date
50
50
  d.strftime("%I:%M%P")
51
51
  else
52
52
  d.strftime("%b %d")
data/lib/vnews/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  class Vnews
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
4
4
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi