aliquot-pay 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aliquot-pay.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de325f6d9f9b8988ee46c31c329e0f69f330454b57f18b3be3665263fc45a345
|
4
|
+
data.tar.gz: fd06a3137fe6b7658f9e068d30aa89c108d0a5806df6b4ca2cc489982f86fb7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7054008a630ee057bff90e9f38c95a2b315c7cb63d384f099398ba5292eaf9f9aad90291df27c566e05853ca7f24f1d6c1d2cff4d275775b005468ab18bfc621
|
7
|
+
data.tar.gz: cb8b13785fe956b580c2a6988edb795b8540cf68f6639fb0d78e3a8d153b125aea1816a0321aa035310c2e852d22f577c6f2b6570935fa67465ea8cc98e46036
|
data/lib/aliquot-pay.rb
CHANGED
@@ -104,7 +104,7 @@ module AliquotPay
|
|
104
104
|
}
|
105
105
|
end
|
106
106
|
|
107
|
-
def self.generate_token_ecv2(payment, signing_key, intermediate_key, recipient, signed_message)
|
107
|
+
def self.generate_token_ecv2(payment, signing_key, intermediate_key, recipient, signed_message = nil)
|
108
108
|
cipher = OpenSSL::Cipher::AES256.new(:CTR)
|
109
109
|
signed_message ||= JSON.unparse(encrypt(JSON.unparse(payment), recipient, cipher))
|
110
110
|
signature_string = signature_string(signed_message)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aliquot-pay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clearhaus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-01-
|
11
|
+
date: 2019-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hkdf
|