hiccup 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86859b5552e51f3c4bb91170033f32fb4cdf2c4e
4
- data.tar.gz: 8987c7d7ae39b2c83dc109ac7f409f3f22d5d7dc
3
+ metadata.gz: 04f487d3ef152b2d9acbe752721818bf43655d4a
4
+ data.tar.gz: 6dd7029be2338fd9c38861c03d1e16e229df7ad9
5
5
  SHA512:
6
- metadata.gz: 68dc0bbf57fba21d13aae5c6786ff679761f690fbc1e6ed05c382d698150e59d4501317f74d84e21fdb8825ef47fed0d362215b4d628d9fcf85f9f15905ebc1e
7
- data.tar.gz: eb01df9e219e4a0a38fdd79fd7e5c63fae0a8def9ca1c5b0db745a9e562615566154aa03719178ea847a8345ae8586c8b507e943cc326ab90bd8bdf97ac99272
6
+ metadata.gz: 199f5e264c7c492e68b12e4d5b6cbc55e86e308afe9171c5689e35fdaafd3f4dc1c9859098ceaa3668a6fc7aeb9eb150aa1089e41eae7111cc50f5b057684876
7
+ data.tar.gz: 753a487f8efbf7f6f49769b2efda70cb84f8940fc1b37260ef04decc2ec3ce4e42752f7abc10d2220758428cb21bf0ef66cf2959b35a9d1049b049a050d45aba
@@ -27,13 +27,13 @@ module Hiccup
27
27
 
28
28
  def next
29
29
  @cursor = started? ? advance! : first_occurrence_on_or_after(seed_start_date)
30
- return nil if ends? && @cursor > end_date
30
+ return nil if @cursor && ends? && @cursor > end_date
31
31
  @cursor
32
32
  end
33
33
 
34
34
  def prev
35
35
  @cursor = started? ? rewind! : first_occurrence_on_or_before(seed_end_date)
36
- return nil if @cursor < start_date
36
+ return nil if @cursor && @cursor < start_date
37
37
  @cursor
38
38
  end
39
39
 
@@ -1,3 +1,3 @@
1
1
  module Hiccup
2
- VERSION = "0.5.1"
2
+ VERSION = "0.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiccup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Lail
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-03 00:00:00.000000000 Z
11
+ date: 2013-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport