ice_cube 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/ice_cube/rule.rb CHANGED
@@ -12,8 +12,10 @@ module IceCube
12
12
  end
13
13
 
14
14
  def ==(rule)
15
- hash = to_hash
16
- hash && hash == rule.to_hash
15
+ if rule.is_a? Rule
16
+ hash = to_hash
17
+ hash && hash == rule.to_hash
18
+ end
17
19
  end
18
20
 
19
21
  def hash
@@ -1,5 +1,5 @@
1
1
  module IceCube
2
2
 
3
- VERSION = '0.7.0'
3
+ VERSION = '0.7.1'
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.7.0
4
+ version: 0.7.1
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: &70154139759660 !ruby/object:Gem::Requirement
17
+ requirement: &70343189956780 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :development
24
24
  prerelease: false
25
- version_requirements: *70154139759660
25
+ version_requirements: *70343189956780
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: active_support
28
- requirement: &70154139758460 !ruby/object:Gem::Requirement
28
+ requirement: &70343189956260 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 3.0.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70154139758460
36
+ version_requirements: *70343189956260
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: tzinfo
39
- requirement: &70154139757400 !ruby/object:Gem::Requirement
39
+ requirement: &70343189955800 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70154139757400
47
+ version_requirements: *70343189955800
48
48
  description: ice_cube is a recurring date library for Ruby. It allows for quick,
49
49
  programatic expansion of recurring date rules.
50
50
  email: john@crepezzi.com