lanmao 0.11.0 → 0.12.0
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 +4 -4
- data/lib/lanmao/http/request.rb +1 -1
- data/lib/lanmao/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec1b50001eaf25787977eb60ea0621c2d9cb371e
|
|
4
|
+
data.tar.gz: d14495939be0475eb6f4891d33e4d9a2742dced6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f99f5f17bef1bf0b63f6ea928050da6feed4056ae8c96911290b5d716d668c7594cefb3f789347d72a7ddbc65976216f8aa3bd48398f68212ae79fbe0792ee07
|
|
7
|
+
data.tar.gz: 123c9ca00aa501269d5a9de62e6e73295a71d1eb863f177317379e85188e51508fb0a3c868b2794500f170d3aa63024e000f88efbf1d8eab5d265a0742beec7e
|
data/lib/lanmao/http/request.rb
CHANGED
|
@@ -63,7 +63,7 @@ module Lanmao
|
|
|
63
63
|
Lanmao.logger.info "#{identifier} 发送的报文为:\n#{post_body}\n"
|
|
64
64
|
http_response = RestClient.post(@url, post_body)
|
|
65
65
|
|
|
66
|
-
Lanmao.logger.info "#{identifier} 返回的报文为:\n#{http_response.body.force_encoding('utf-8')}\n"
|
|
66
|
+
Lanmao.logger.info "#{identifier} 返回的报文为:\n#{http_response.body.force_encoding('utf-8')}\n" if @type != :download
|
|
67
67
|
|
|
68
68
|
# 直接返回,数据以字节流形式在 response body 中输出,无签名
|
|
69
69
|
return http_response.body if @type == :download
|
data/lib/lanmao/version.rb
CHANGED