medea 0.2.23 → 0.2.24
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/medea/jasondeferredquery.rb +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.24
|
@@ -118,11 +118,11 @@ module Medea
|
|
118
118
|
/\/([^\/]*)\/([^\/]*)$/.match result[k]["POST_TO"]
|
119
119
|
#$1 is the class name, $2 is the key
|
120
120
|
item = type.new($2, :lazy)
|
121
|
-
if result[k].has_key?
|
121
|
+
if result[k].has_key?("CONTENT") && result[k]["CONTENT"] != ""
|
122
122
|
item.instance_variable_set(:@__jason_data, result[k]["CONTENT"])
|
123
123
|
item.instance_variable_set(:@__jason_state, :stale)
|
124
124
|
end
|
125
|
-
if result[k].has_key?
|
125
|
+
if result[k].has_key?("HTTP_X_PARENT") && result[k]["HTTP_X_PARENT"] != ""
|
126
126
|
item.jason_parent_key = result[k]["HTTP_X_PARENT"]
|
127
127
|
end
|
128
128
|
self.contents << item
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 0.2.
|
8
|
+
- 24
|
9
|
+
version: 0.2.24
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Michael Jensen
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-12-
|
17
|
+
date: 2010-12-31 00:00:00 +11:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|