guanyi-erp 1.0.1 → 1.0.2

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: 7eb961a0abed17ca2a9a3677fa5a000e97646f1c
4
- data.tar.gz: 721dfa029bf2ba35cb60af57a765548ea90609c0
3
+ metadata.gz: ec373f9a3b44e23bf63cc155be778fabd34aad78
4
+ data.tar.gz: d3b346207b5fbb2c88a4fb972138cc9926f4078a
5
5
  SHA512:
6
- metadata.gz: af4f48b3d15a2965cb2d111564ac9745014549609b3b01fa1fc7ec6f180e9f98abe2134752c5de6c7acd1e88a43ab44c8054495d59bcaaeb181fbb8649174b63
7
- data.tar.gz: 1be3df9579419d6e50261c8c5cd40a710be257156df49ed9bc3ebe91e14efb3acf9c7cfad4a096bb659e9010903490000d304ddc161f599513c53ea92ce3ca27
6
+ metadata.gz: 7ce797e7a149521004b29c7067042826267b9c618fee2a593b1497393fd14eb26bfaf5f09c519272b221236bcc48ceb67c5751979d50a93f0dab2a81c8a0f954
7
+ data.tar.gz: abaca6ea48af6afeac275178f6b68fd49e21d0959e5e388fa711542d79e43a90d8e26d26344a2530300897c4c7ddca117d2a453c0470cd2921732556e9f5bd82
@@ -30,7 +30,7 @@ module GuanyiErp
30
30
  end
31
31
 
32
32
  def self.sign(body_hash)
33
- Digest::MD5.hexdigest("#{GuanyiErp::Config.secret}#{body_hash.to_json}#{GuanyiErp::Config.secret}")
33
+ Digest::MD5.hexdigest("#{GuanyiErp::Config.secret}#{body_hash.to_json.gsub(/\\u([0-9a-z]{4})/){|s| [$1.to_i(16)].pack("U")}}#{GuanyiErp::Config.secret}")
34
34
  end
35
35
  end
36
36
  end
@@ -1,3 +1,3 @@
1
1
  module GuanyiErp
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guanyi-erp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - liuxi