medea 0.2.28 → 0.2.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,9 +18,9 @@ module Medea
18
18
 
19
19
  def method_missing name, *args, &block
20
20
  #is this a list property on the base class?
21
- if (@type.class_variable_defined? :@@lists) && (@type.class_variable_get(:@@lists).has_key? name)
21
+ if (@type.class_variable_defined? :@@lists) && (@type.send(:class_variable_get, :@@lists).has_key? name)
22
22
  #if so, we'll just return a new ListProperty with my query as the parent
23
- new_list_class, new_list_type = @type.class_variable_get(:@@lists)[name]
23
+ new_list_class, new_list_type = @type.send(:class_variable_get, :@@lists)[name]
24
24
  base_query = self.clone
25
25
  base_query.result_format = :keylist
26
26
  JasonListProperty.new base_query, name.to_sym, new_list_class, new_list_type
data/lib/medea/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Medea
2
- VERSION = "0.2.28"
2
+ VERSION = "0.2.29"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: medea
3
3
  version: !ruby/object:Gem::Version
4
- hash: 47
4
+ hash: 45
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 28
10
- version: 0.2.28
9
+ - 29
10
+ version: 0.2.29
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Jensen