icalendar-recurrence 1.0 → 1.0.1

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.
@@ -83,12 +83,15 @@ module Icalendar
83
83
 
84
84
  extend self
85
85
  end
86
+
87
+ module TimeExtensions
88
+ def force_zone(tzid)
89
+ TimeUtil.force_zone(self, tzid)
90
+ end
91
+ end
86
92
  end
87
93
  end
88
94
 
89
- # Should we move this to a module and extend time?
90
95
  class Time
91
- def force_zone(tzid)
92
- TimeUtil.force_zone(self, tzid)
93
- end
94
- end
96
+ include Icalendar::Recurrence::TimeExtensions
97
+ end
@@ -1,5 +1,5 @@
1
1
  module Icalendar
2
2
  module Recurrence
3
- VERSION = "1.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: icalendar-recurrence
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-23 00:00:00.000000000 Z
12
+ date: 2014-10-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: icalendar