xi_wechat_corp 1.2.0 → 1.2.1

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: ea696c0f425a8c09f218831490f7066e0b1a8be6
4
- data.tar.gz: cd8160b093ab9e98023d9a518bd98e6e0dbb1a5a
3
+ metadata.gz: 75a4857269dfe9e0bd116f7f3fcaa54df2ae201f
4
+ data.tar.gz: 9979e3e68ebff7c71ff5206b4fdad85fa10078c9
5
5
  SHA512:
6
- metadata.gz: 4f279c4577eefb16d2e8810a29001e7b9d9868ca4e19568ebdc49ba5fce29cdbbae889be8488e28a0c3cb41cdc08a44a91aff9bf6d4a389df268edd2902d0e7f
7
- data.tar.gz: ac876379962b1bd3195be9bf17a9df6c0803c7f27aec20af5be6ce994f5e57b9f67b1eef3c58fe1931dff3602e7562302a024266e1dfa93abb2588e56d40619f
6
+ metadata.gz: 40eaebeb6d7965b01b31186736b55e4436446c501a44139b2a9d6544c1261933abcf8f1e97ed0c784868dc20a430e23fbc05e126586fc55e8d023fc7c8c1bfc2
7
+ data.tar.gz: b99ead191957ee7219522aa2ca8f0366930bdf2dba48e7bd2d906fc7264ca83d9e7a908313dd4d23494d83eb14ea02c95c787ec675dd3951f9a687540c68fdb9
@@ -29,6 +29,7 @@ module XiWechatCorp
29
29
  status, headers, body = @app.call(env)
30
30
  rack_response = ::Rack::Response.new([], status, headers)
31
31
  if rack_response.successful?
32
+ rack_response.status = 200 if status == 201
32
33
  response = request.build_response(read_body(body))
33
34
  xml = response.to_s
34
35
  if !xml.empty?
@@ -1,3 +1,3 @@
1
1
  module XiWechatCorp
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xi_wechat_corp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Yang
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-08 00:00:00.000000000 Z
11
+ date: 2015-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday