ice_cube 0.2.9 → 0.2.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,6 +26,14 @@ module IceCube
26
26
  rule
27
27
  end
28
28
 
29
+ def to_yaml
30
+ to_hash.to_yaml
31
+ end
32
+
33
+ def self.from_yaml(str)
34
+ from_hash(YAML::load(str))
35
+ end
36
+
29
37
  # create a new daily rule
30
38
  def self.daily(interval = 1)
31
39
  DailyRule.new(interval)
@@ -1,5 +1,5 @@
1
1
  module IceCube
2
2
 
3
- VERSION = "0.2.9"
3
+ VERSION = "0.2.10"
4
4
 
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 9
9
- version: 0.2.9
8
+ - 10
9
+ version: 0.2.10
10
10
  platform: ruby
11
11
  authors:
12
12
  - John Crepezzi
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-13 00:00:00 -04:00
17
+ date: 2010-04-14 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -62,7 +62,7 @@ files:
62
62
  - lib/ice_cube/version.rb
63
63
  - lib/ice_cube.rb
64
64
  has_rdoc: true
65
- homepage: http://github.com/seejohnrun/ice_cube
65
+ homepage: http://seejohnrun.github.com/ice_cube/
66
66
  licenses: []
67
67
 
68
68
  post_install_message: