coins_paid_api 2.0.0 → 2.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 +4 -4
- data/coins_paid_api.gemspec +1 -1
- data/lib/coins_paid/api/callback_data.rb +1 -0
- data/spec/callback_spec.rb +4 -0
- 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: ae63814f5c622b449302060a1d1bc2695a58a9b6fe1b105dcd02fe222ab28ab5
|
|
4
|
+
data.tar.gz: 427f336033b8974fa444a4a6d37616e92f52af18a1f07636096ae8e2eec5d36a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e1590d6e1ac41a1d68fc99b1e59f319ee451c9ad5edf884750efd358d9f0a93e72613ed2a82fc94107083aa8654394e352d7d103e955a007b0df9c0edb9a35c
|
|
7
|
+
data.tar.gz: 2c23d8505878c8a9293a76de9c7e2484e5160eb7bcbb848b5e6e2109426a5be6281040627465719d3991ff3d001680f201f07aea89166bd4fa80d718bd711654
|
data/coins_paid_api.gemspec
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'coins_paid_api'
|
|
3
3
|
s.authors = ['Artem Biserov(artembiserov)', 'Oleg Ivanov(morhekil)']
|
|
4
|
-
s.version = '2.
|
|
4
|
+
s.version = '2.1.0'
|
|
5
5
|
s.files = `git ls-files`.split("\n")
|
|
6
6
|
s.summary = 'Coins Paid Integration'
|
|
7
7
|
s.license = 'MIT'
|
data/spec/callback_spec.rb
CHANGED
|
@@ -36,6 +36,7 @@ describe CoinsPaid::API, '.callback' do
|
|
|
36
36
|
status: 'confirmed',
|
|
37
37
|
error: '',
|
|
38
38
|
crypto_address: {
|
|
39
|
+
address: '123abc',
|
|
39
40
|
currency: 'BTC'
|
|
40
41
|
},
|
|
41
42
|
transactions: [
|
|
@@ -60,6 +61,7 @@ describe CoinsPaid::API, '.callback' do
|
|
|
60
61
|
status: 'cancelled',
|
|
61
62
|
error: 'Invalid params: expected a hex-encoded hash with 0x prefix.',
|
|
62
63
|
crypto_address: {
|
|
64
|
+
address: '123abc',
|
|
63
65
|
currency: 'BTC'
|
|
64
66
|
},
|
|
65
67
|
transactions: [
|
|
@@ -82,6 +84,7 @@ describe CoinsPaid::API, '.callback' do
|
|
|
82
84
|
foreign_id: '20',
|
|
83
85
|
error: '',
|
|
84
86
|
crypto_address: {
|
|
87
|
+
address: '1k2btnz8cqnfbphaq729mdj8w6g3w2nbbl',
|
|
85
88
|
currency: 'EUR'
|
|
86
89
|
},
|
|
87
90
|
transactions: [
|
|
@@ -106,6 +109,7 @@ describe CoinsPaid::API, '.callback' do
|
|
|
106
109
|
foreign_id: '20',
|
|
107
110
|
error: 'Invalid params: expected a hex-encoded hash with 0x prefix.',
|
|
108
111
|
crypto_address: {
|
|
112
|
+
address: '1k2btnz8cqnfbphaq729mdj8w6g3w2nbbl',
|
|
109
113
|
currency: 'EUR'
|
|
110
114
|
},
|
|
111
115
|
transactions: [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: coins_paid_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Artem Biserov(artembiserov)
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2024-
|
|
12
|
+
date: 2024-08-04 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: dry-struct
|