prioritizable 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,7 +30,7 @@ module ActsAsPrioritizable
30
30
  end
31
31
 
32
32
  def prioritizables
33
- prioritizable_parent.send self.class.send(:class_variable_get, :@@prioritizables)
33
+ prioritizable_parent.send(self.class.send(:class_variable_get, :@@prioritizables)) rescue []
34
34
  end
35
35
 
36
36
  def set_priority
@@ -1,3 +1,3 @@
1
1
  module Prioritizable
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prioritizable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: