ice_cube 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -101,7 +101,7 @@ module IceCube
101
101
 
102
102
  # Retrieve the first (n) occurrences of the schedule. May return less than
103
103
  # n results, if the rules end before n results are reached.
104
- def first(n)
104
+ def first(n = 1)
105
105
  dates = find_occurrences { |head| head.first(n) }
106
106
  dates.slice(0, n)
107
107
  end
@@ -1,5 +1,5 @@
1
1
  module IceCube
2
2
 
3
- VERSION = "0.3.7"
3
+ VERSION = "0.3.8"
4
4
 
5
5
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 7
9
- version: 0.3.7
8
+ - 8
9
+ version: 0.3.8
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-30 00:00:00 -04:00
17
+ date: 2010-05-05 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency