ice_cube 0.6.9 → 0.6.10

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.
data/lib/ice_cube/rule.rb CHANGED
@@ -10,7 +10,7 @@ module IceCube
10
10
  hash = Hash.new
11
11
  hash[:rule_type] = self.class.name
12
12
  hash[:interval] = @interval
13
- hash[:until] = @until_date
13
+ hash[:until] = @until_date ? TimeUtil.serialize_time(@until_date) : @until_date
14
14
  hash[:count] = @occurrence_count
15
15
  hash[:validations] = @validations
16
16
  hash
@@ -1,5 +1,5 @@
1
1
  module IceCube
2
2
 
3
- VERSION = '0.6.9'
3
+ VERSION = '0.6.10'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ice_cube
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.9
4
+ version: 0.6.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
- requirement: &70106362064800 !ruby/object:Gem::Requirement
17
+ requirement: &70363623868640 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,7 +22,7 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *70106362064800
25
+ version_requirements: *70363623868640
26
26
  description: ice_cube is a recurring date library for Ruby. It allows for quick,
27
27
  programatic expansion of recurring date rules.
28
28
  email: john@crepezzi.com