mondido 1.0.3 → 1.0.4

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: c33816bde0eff24b935079e95f9d04c92dff923a
4
- data.tar.gz: 93e9dfe570fb9bc3046f1f059c1f8a1b7d7c07fa
3
+ metadata.gz: 285090a9e140ae630ba8905076acd6f1c9e91cc8
4
+ data.tar.gz: ef01af7a7325bb5ffe9dd15921c9b4e4a4d59358
5
5
  SHA512:
6
- metadata.gz: 3a9263860d69245df0096091677686358ca2917452f2666093797a98e84bb09625a1d0eb4054000abfefcfcfbc217d3ebaaecb18b484704069bd44b247dd4aa0
7
- data.tar.gz: 672dd484c386b691ca101621362160f086c64aa5a0697b74d1d7b08bbbc5e2c7c87d5d27f3c2f25d7ae50dffb34207387975fa21a1e678a17b6a7dd441a2f8df
6
+ metadata.gz: ed405ac5cca0a9f7973f63a35c9be929ac944b49e0aa16b3def62753bdc03658c2177bb8f30f704954cf0d706b1cf84a614afa8fc3a6779b2df58b0ac11a75a1
7
+ data.tar.gz: 0aa0b7b923e09d8c1a7803759cb4656311b821ed7aaa31d6e7d06633c3d8e5a128cf8ad99e37031160519d6bf0bf5f8eed8240ec7aac648328282cb0a5a47410
@@ -64,7 +64,7 @@ module Mondido
64
64
  end
65
65
 
66
66
  def set_hash!
67
- unhashed = [Mondido::Credentials.merchant_id, payment_ref, amount, currency, Mondido::Credentials.secret]
67
+ unhashed = [Mondido::Credentials.merchant_id, payment_ref, customer_ref, amount, currency, Mondido::Credentials.secret].map(&:to_s)
68
68
  self.hash = Digest::MD5.hexdigest(unhashed.join)
69
69
  end
70
70
 
@@ -1,3 +1,3 @@
1
1
  module Mondido
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mondido
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Falkén