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 +4 -4
- data/lib/xi_wechat_corp/callback/rack.rb +1 -0
- data/lib/xi_wechat_corp/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75a4857269dfe9e0bd116f7f3fcaa54df2ae201f
|
4
|
+
data.tar.gz: 9979e3e68ebff7c71ff5206b4fdad85fa10078c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?
|
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.
|
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-
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|