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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aliquot-pay.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44e7c529e137eb8f24695acbee32655f9a1099fb129037ae7a6b7fb9df7eb024
4
- data.tar.gz: 30134f32f42423d14db49b1ddd3d52d1f9e2efc30c8646ffe64f1ffac199863b
3
+ metadata.gz: de325f6d9f9b8988ee46c31c329e0f69f330454b57f18b3be3665263fc45a345
4
+ data.tar.gz: fd06a3137fe6b7658f9e068d30aa89c108d0a5806df6b4ca2cc489982f86fb7b
5
5
  SHA512:
6
- metadata.gz: 8e8475d0481e3a95fa3211a305645921d07bbd5c50ff5d4e7288a7adbb8974da04fc91c886f3f22d628e5acb1cfc06f988f5203605fd59cdf934b13b1ed54f76
7
- data.tar.gz: 4057c7276c7ce1f0fb9cc6cdfac418fa1a83a0e2a422570ab61205e49b6d0b19cdbdcd64e8c4612be6c4078af5b2a2448c8210a38a478a74b0e1b76fde46faf0
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.0
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-09 00:00:00.000000000 Z
11
+ date: 2019-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hkdf