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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 260803735b1d42b79cef17dcedd7c0a7e5fc3dd448651467cd532ab14bb96b29
4
- data.tar.gz: c43acc80ec9ae13d4c467a9e842a31265b4e2393cea90750f45b23eeb5895ee3
3
+ metadata.gz: ae63814f5c622b449302060a1d1bc2695a58a9b6fe1b105dcd02fe222ab28ab5
4
+ data.tar.gz: 427f336033b8974fa444a4a6d37616e92f52af18a1f07636096ae8e2eec5d36a
5
5
  SHA512:
6
- metadata.gz: 42eb5f8e6a79eeda063e26d805f0aa0d7713bdab969239f2eb7a31c3a8373579b4d2bd2b5d51cbe1d7b490cd73e45b2fbbb426dbf95e24f0233b477089e0ad54
7
- data.tar.gz: 9d6d1eb7b2ae14885fc37195a7ab9160cdfdba9581f3c89a5c8998d9d4f32f9d2dd1d0e6771692b59ee166117863da4412bc1f19e30f8a7b4c4469f5803a66d1
6
+ metadata.gz: 8e1590d6e1ac41a1d68fc99b1e59f319ee451c9ad5edf884750efd358d9f0a93e72613ed2a82fc94107083aa8654394e352d7d103e955a007b0df9c0edb9a35c
7
+ data.tar.gz: 2c23d8505878c8a9293a76de9c7e2484e5160eb7bcbb848b5e6e2109426a5be6281040627465719d3991ff3d001680f201f07aea89166bd4fa80d718bd711654
@@ -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.0.0'
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'
@@ -14,6 +14,7 @@ module CoinsPaid
14
14
 
15
15
  attribute? :crypto_address do
16
16
  attribute :currency, Types::String
17
+ attribute :address, Types::String
17
18
  end
18
19
 
19
20
  attribute? :transactions, Types::Array do
@@ -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.0.0
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-07-12 00:00:00.000000000 Z
12
+ date: 2024-08-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dry-struct