vayacondios-server 0.2.8 → 0.2.9
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
@@ -60,9 +60,9 @@ class HttpShim < Goliath::API
|
|
60
60
|
[200, {}, record.body]
|
61
61
|
end
|
62
62
|
rescue Vayacondios::Error::NotFound => ex
|
63
|
-
return [404, {},
|
63
|
+
return [404, {}, { error: "Not Found" }]
|
64
64
|
rescue Vayacondios::Error::BadRequest => ex
|
65
|
-
return [400, {},
|
65
|
+
return [400, {}, { error: "Bad Request" }]
|
66
66
|
rescue StandardError => ex
|
67
67
|
puts ex
|
68
68
|
ex.backtrace.each{ |l| puts l }
|
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.9
|
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: -1697239069281091246
|
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: -1697239069281091246
|
293
293
|
requirements: []
|
294
294
|
rubyforge_project:
|
295
295
|
rubygems_version: 1.8.25
|