coins_paid_api 2.1.0 → 2.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae63814f5c622b449302060a1d1bc2695a58a9b6fe1b105dcd02fe222ab28ab5
4
- data.tar.gz: 427f336033b8974fa444a4a6d37616e92f52af18a1f07636096ae8e2eec5d36a
3
+ metadata.gz: e5d489dc45445bd1c540d17b87cf573edc01b71ff5d00646ddd626b299799706
4
+ data.tar.gz: 974d2626ced65fa33ffa1a8515b691572d5b358975f1c2bbd14eca88a466deeb
5
5
  SHA512:
6
- metadata.gz: 8e1590d6e1ac41a1d68fc99b1e59f319ee451c9ad5edf884750efd358d9f0a93e72613ed2a82fc94107083aa8654394e352d7d103e955a007b0df9c0edb9a35c
7
- data.tar.gz: 2c23d8505878c8a9293a76de9c7e2484e5160eb7bcbb848b5e6e2109426a5be6281040627465719d3991ff3d001680f201f07aea89166bd4fa80d718bd711654
6
+ metadata.gz: 5a98748bdae00c48d8793875f257ba369290f021336e6d73a9654dea05e61aa0e09c920c59ee88b3ee93378a9696956a2eb22cb30f3c0e8176b6f2362124a7bf
7
+ data.tar.gz: f2a4bdfd176b5d27cff6733cba59e2b711ea2fe5186c15a7639b3a84db627724bbc5faa0f9c26dd0895eadfc47660b0fa538a086abb4495e82898abe84a09bca
@@ -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.1.0'
4
+ s.version = '2.2.0'
5
5
  s.files = `git ls-files`.split("\n")
6
6
  s.summary = 'Coins Paid Integration'
7
7
  s.license = 'MIT'
@@ -21,6 +21,7 @@ module CoinsPaid
21
21
  attribute :transaction_type, Types::String
22
22
  attribute :type, Types::String
23
23
  attribute :id, Types::Integer
24
+ attribute? :txid, Types::String
24
25
  end
25
26
 
26
27
  attribute? :currency_sent do
@@ -40,7 +40,7 @@ describe CoinsPaid::API, '.callback' do
40
40
  currency: 'BTC'
41
41
  },
42
42
  transactions: [
43
- { transaction_type: 'blockchain', type: 'deposit', id: 714576 },
43
+ { transaction_type: 'blockchain', type: 'deposit', id: 714576, txid: '3a491da90a1ce5a318d0aeff6867ab98a03219abae29ed68d702291703c3538b' },
44
44
  { transaction_type: 'exchange', type: 'exchange', id: 714577 }
45
45
  ],
46
46
  currency_sent: { currency: 'BTC', amount: '0.01000000' },
@@ -65,7 +65,7 @@ describe CoinsPaid::API, '.callback' do
65
65
  currency: 'BTC'
66
66
  },
67
67
  transactions: [
68
- { transaction_type: 'blockchain', type: 'deposit', id: 714576 },
68
+ { transaction_type: 'blockchain', type: 'deposit', id: 714576, txid: '3a491da90a1ce5a318d0aeff6867ab98a03219abae29ed68d702291703c3538b' },
69
69
  { transaction_type: 'exchange', type: 'exchange', id: 714577 }
70
70
  ]
71
71
  }
@@ -89,7 +89,7 @@ describe CoinsPaid::API, '.callback' do
89
89
  },
90
90
  transactions: [
91
91
  { transaction_type: 'exchange', type: 'exchange', id: 1 },
92
- { transaction_type: 'blockchain', type: 'withdrawal', id: 1 }
92
+ { transaction_type: 'blockchain', type: 'withdrawal', id: 1, txid: 'aa3345b96389e126f1ce88a670d1b1e38f2c3f73fb3ecfff8d9da1b1ce6964a6' }
93
93
  ],
94
94
  currency_sent: { currency: 'EUR', amount: '381' },
95
95
  currency_received: { currency: 'BTC', amount: '0.01000000' }
@@ -114,7 +114,7 @@ describe CoinsPaid::API, '.callback' do
114
114
  },
115
115
  transactions: [
116
116
  { transaction_type: 'exchange', type: 'exchange', id: 714576 },
117
- { transaction_type: 'blockchain', type: 'withdrawal', id: 714577 }
117
+ { transaction_type: 'blockchain', type: 'withdrawal', id: 714577, txid: '3a491da90a1ce5a318d0aeff6867ab98a03219abae29ed68d702291703c3538b' }
118
118
  ]
119
119
  }
120
120
  end
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.1.0
4
+ version: 2.2.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-08-04 00:00:00.000000000 Z
12
+ date: 2024-08-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dry-struct