texel-recurrence-rule-parser 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. data/lib/rrule_parser.rb +1 -5
  2. metadata +1 -1
@@ -119,11 +119,7 @@ class RruleParser
119
119
  # as Times instead. Right now we are going to assume all exdates
120
120
  # are stored as UTC. We can support time zone conversion later.
121
121
  self.exceptions = self.event.exception_dates.map do |exception_time|
122
- if exception_time.is_a?(Time)
123
- exception_time
124
- else
125
- Time.parse(exception_time)
126
- end
122
+ Time.parse(exception_time)
127
123
  end
128
124
  end
129
125
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: texel-recurrence-rule-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh Caplan