alephant-publisher-request 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c15f852464713d472f48b82c990ed703a58b37cf
|
4
|
+
data.tar.gz: 781ed1fa26682f45f50a8c96da5dd97f2b16bbb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5eb6b6d1ce675cf2cd999d0735a5a10c751a5ee278443b7d9cf8faaf4f4c886983c4eaede287bb072ec452690f878467ddbf196a63383a763e226b98c3716a35
|
7
|
+
data.tar.gz: b5e0d38a65c58422ef4c7c4c610ce82ed4dea283900da790f2b4073499a97ffd66a487ed5bdee1fee248ab92c474940eb86c0b6de47ce2a8ac7193cbc8c60ba4
|
@@ -31,7 +31,7 @@ module Alephant
|
|
31
31
|
|
32
32
|
case req.path_info
|
33
33
|
when /status$/
|
34
|
-
response = Rack::Response.new('',
|
34
|
+
response = Rack::Response.new('ok', 200, DEFAULT_CONTENT_TYPE)
|
35
35
|
when /component\/(?<id>[^\/]+)$/
|
36
36
|
response = Rack::Response.new(
|
37
37
|
template_data($~['id'], req.params),
|