opening_hours 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,3 @@
1
1
  class OpeningHours
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/opening_hours.rb CHANGED
@@ -120,7 +120,7 @@ class OpeningHours
120
120
 
121
121
  end
122
122
 
123
- class Fixnum
123
+ Fixnum.class_eval do
124
124
  def to_human_readable_hours
125
125
  t = Time.local(Date.today.year, Date.today.month, Date.today.day)
126
126
  t += self.seconds
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opening_hours
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: