wechat-pay 1.0.8 → 1.1.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
  SHA256:
3
- metadata.gz: 045dc62b08427aa1464eecd46652ef49bdd9e23844188f8da76b8936df107a98
4
- data.tar.gz: f308b67ccb2d6a4927d385bedd17682cf553808716b280411e68b30f8a0e549e
3
+ metadata.gz: 97a1465d8d7d51844df252100062b9a93e3fca7ec95ba71b3c6efde5be055fdd
4
+ data.tar.gz: 79f475e4b12bd326b67ba5eb20600f2c085fbdfbafcab8dc3c6dfc74e904f948
5
5
  SHA512:
6
- metadata.gz: aa8ac213931f250a5683c046304f18556d84db25e166e0d685e6acfc1068be12699de3bc1c1d3ec236e38922d6f7db2aa2c30f08eeda9edf7c8fc223060f39f9
7
- data.tar.gz: 9adffad7aea7e9390ecc3ba68262eb6eadaec93694ee904c47a7207cf290e52b3b4954831b581f6141f7809a98011ceb3607b573bdfed383c165d8f6941cc93d
6
+ metadata.gz: a4fcb7ab75a019b3de65aae0946bc8db4b3812a651c8ab6652fb2e47bbb31afaf98a10f6d5b6028f81385ac69c319f7f46e872b72b21c1ab0930d8fe36f579b4
7
+ data.tar.gz: 208c39a3eb250aaa7fc13c49d34bc75d093698641b28cb5b992bf33aa825f8c175b8ca3fc4ab9503a11c86f81e0df7628f60fc5669571dc5cb56fb80d8737299
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Next Release
2
2
 
3
+ ## 1.1.0 (07/26/2021)
4
+
5
+ * Fix `Accept-Encoding` issue in wechat.
6
+
7
+
3
8
  ## 1.0.8 (05/26/2021)
4
9
 
5
10
  * Add api `invoke_transactions_in_native` to `WechatPay::Ecommerce`
@@ -16,7 +16,8 @@ module WechatPayHelper # :nodoc:
16
16
  authorization = WechatPay::Sign.build_authorization_header(method, path, for_sign)
17
17
  headers = {
18
18
  'Authorization' => authorization,
19
- 'Content-Type' => 'application/json'
19
+ 'Content-Type' => 'application/json',
20
+ 'Accept-Encoding' => '*'
20
21
  }.merge(extra_headers)
21
22
 
22
23
  RestClient::Request.execute(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module WechatPay
4
- VERSION = '1.0.8'
4
+ VERSION = '1.1.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wechat-pay
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - lanzhiheng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-26 00:00:00.000000000 Z
11
+ date: 2021-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport