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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b382344e2692e4ea4bed87489cbdd44be2d3c3f
4
- data.tar.gz: f9cf220cc90da310ce90f7c77f59e78d4ea68a80
3
+ metadata.gz: ec1b50001eaf25787977eb60ea0621c2d9cb371e
4
+ data.tar.gz: d14495939be0475eb6f4891d33e4d9a2742dced6
5
5
  SHA512:
6
- metadata.gz: 4946201426ee9b3f0c18ae839f334dab68a961bed32bafc99d7f86c8ac546071d413a4a71d1b8f49281eedcb5b401ba506455d6864870b9c54ebb9de4031f944
7
- data.tar.gz: a0e0e63ba2754f02c6820de6fa382854ead6a35eeaeaade81471892677118ca6dd5ac6ad49a6b4a7681bade97568460f5a774bf87a44a1aed71aebc7a0953312
6
+ metadata.gz: f99f5f17bef1bf0b63f6ea928050da6feed4056ae8c96911290b5d716d668c7594cefb3f789347d72a7ddbc65976216f8aa3bd48398f68212ae79fbe0792ee07
7
+ data.tar.gz: 123c9ca00aa501269d5a9de62e6e73295a71d1eb863f177317379e85188e51508fb0a3c868b2794500f170d3aa63024e000f88efbf1d8eab5d265a0742beec7e
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Lanmao
2
- VERSION = "0.11.0"
2
+ VERSION = "0.12.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lanmao
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tony