alephant-publisher-request 0.0.2 → 0.0.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cfd32b39a5fcdd4d15d0d24925f861614a57bde
4
- data.tar.gz: e8fb3770ab80f2bcd4b8e972909c23d03d20b449
3
+ metadata.gz: c15f852464713d472f48b82c990ed703a58b37cf
4
+ data.tar.gz: 781ed1fa26682f45f50a8c96da5dd97f2b16bbb6
5
5
  SHA512:
6
- metadata.gz: e2576063f21c41344fb0b74bbc32192fa7e6585e5f0a58212bff778c215cfad2da400ccf30f1ab36ae2bfb0617ca5c7e9ea580cd2dc0ce8276f63b5dce299332
7
- data.tar.gz: 33794b02c484149ac16b821b65b026fd199ab3054d2feb7df3c9928ca442e4c01b86923169cb221297a497aa26d7e2a40e8ebc069931bc490d435adc7f881cca
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('', 204, DEFAULT_CONTENT_TYPE)
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),
@@ -1,7 +1,7 @@
1
1
  module Alephant
2
2
  module Publisher
3
3
  module Request
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
@@ -15,7 +15,7 @@ describe Alephant::Publisher::Request do
15
15
  end
16
16
 
17
17
  context "status code" do
18
- specify { expect(last_response.status).to eq 204 }
18
+ specify { expect(last_response.status).to eq 200 }
19
19
  end
20
20
  end
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-publisher-request
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Integralist