medea 0.2.24 → 0.2.25

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.24
1
+ 0.2.25
@@ -102,6 +102,14 @@ module Medea
102
102
  execute_query unless self.state == :postfetch
103
103
  self.contents.count
104
104
  end
105
+
106
+ def include?(item)
107
+ execute_query unless self.state == :postfetch
108
+ self.contents.each do |i|
109
+ return true if i.jason_key == item.jason_key
110
+ end
111
+ false
112
+ end
105
113
  #end array interface
106
114
 
107
115
  def execute_query
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 24
9
- version: 0.2.24
8
+ - 25
9
+ version: 0.2.25
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Jensen