medea 0.2.24 → 0.2.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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