vayacondios-server 0.2.7 → 0.2.8
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/app/http_shim.rb +2 -2
- data/lib/vayacondios/version.rb +1 -1
- metadata +3 -3
data/app/http_shim.rb
CHANGED
@@ -45,7 +45,7 @@ class HttpShim < Goliath::API
|
|
45
45
|
|
46
46
|
when :show
|
47
47
|
record = klass.find(mongo, path_params)
|
48
|
-
[200, {},
|
48
|
+
[200, {}, record.body]
|
49
49
|
|
50
50
|
when :update
|
51
51
|
record = klass.new(mongo).update(document, path_params)
|
@@ -57,7 +57,7 @@ class HttpShim < Goliath::API
|
|
57
57
|
|
58
58
|
when :delete
|
59
59
|
record = klass.find(mongo, path_params).destroy(document)
|
60
|
-
[200, {},
|
60
|
+
[200, {}, record.body]
|
61
61
|
end
|
62
62
|
rescue Vayacondios::Error::NotFound => ex
|
63
63
|
return [404, {}, MultiJson.dump({ error: "Not Found" })]
|
data/lib/vayacondios/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vayacondios-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -280,7 +280,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
280
280
|
version: '0'
|
281
281
|
segments:
|
282
282
|
- 0
|
283
|
-
hash:
|
283
|
+
hash: 2663491117038590557
|
284
284
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
285
285
|
none: false
|
286
286
|
requirements:
|
@@ -289,7 +289,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
289
|
version: '0'
|
290
290
|
segments:
|
291
291
|
- 0
|
292
|
-
hash:
|
292
|
+
hash: 2663491117038590557
|
293
293
|
requirements: []
|
294
294
|
rubyforge_project:
|
295
295
|
rubygems_version: 1.8.25
|