coins_paid_api 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 020d45404c81037d89565ba5e7dcb231982db444abdbd00a6f1535bfd9e73170
4
- data.tar.gz: 84f0ab1f61a80fe45dedca5cc0d0ce8467e5328315fc75d0f3812702e84774a4
3
+ metadata.gz: 344f70ed054fc21fbd7b99ab74a2be43af3c18faf178b8dc0e507bb8787c5361
4
+ data.tar.gz: 67d6cec032e4ee37950ae18f25e3319fbe64cd55aa7403116a93463197d4d52f
5
5
  SHA512:
6
- metadata.gz: cfd4a488e8434dd0ccc78b68feed059545f1d193bbaf2b226e597da371b04b454f459c4a157f55d56750805181048135322ef1671c09f82c78bb8e83186fc50f
7
- data.tar.gz: c7ad6dea7bc2c80882df508506df798d7864cb59073db39f14cf46df55ea8d904d20a4416daf4e26ce8c5eee44570cd3c41b8a451760b2642f1ad1b9dc6761b9
6
+ metadata.gz: 5d5ffcbb104c5b277f4196328cafc70392606541b6c840493f1896b0a35436e2338e049e4811da19f13daca8071b7a60b0b0d7a3192397096ace769fa05cb960
7
+ data.tar.gz: 13191a7d05cf3bd1cb8e0ef1d4e3fa005c4485b23233b080be73e1ae9481fda68ac262b761edc795d31039ec6c70d2605b96a4b8295a6ea040c3722e544ee663
@@ -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 = '1.0.6'
4
+ s.version = '1.0.7'
5
5
  s.files = `git ls-files`.split("\n")
6
6
  s.summary = 'Coins Paid Integration'
7
7
  s.license = 'MIT'
@@ -12,7 +12,7 @@ module CoinsPaid
12
12
  class Response < Dry::Struct
13
13
  attribute :external_id, Types::Integer
14
14
  attribute :address, Types::String
15
- attribute :tag, Types::String.optional
15
+ attribute :tag, Types::Coercible::String.optional
16
16
  end
17
17
 
18
18
  PATH = 'addresses/take'
@@ -15,7 +15,7 @@ describe CoinsPaid::API, '.take_address' do
15
15
  {
16
16
  external_id: 1,
17
17
  address: '12983h13ro1hrt24it432t',
18
- tag: 'tag-123'
18
+ tag: '123'
19
19
  }
20
20
  end
21
21
  subject(:take_address) { described_class.take_address(request_data) }
@@ -27,7 +27,7 @@ describe CoinsPaid::API, '.take_address' do
27
27
  'currency' => 'BTC',
28
28
  'convert_to' => 'EUR',
29
29
  'address' => '12983h13ro1hrt24it432t',
30
- 'tag' => 'tag-123',
30
+ 'tag' => 123,
31
31
  'foreign_id' => 'user-id:2048'
32
32
  }
33
33
  }
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coins_paid_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Artem Biserov(artembiserov)
8
8
  - Oleg Ivanov(morhekil)
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-09-24 00:00:00.000000000 Z
12
+ date: 2021-09-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: dry-struct
@@ -81,8 +81,8 @@ dependencies:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
83
  version: '3.7'
84
- description:
85
- email:
84
+ description:
85
+ email:
86
86
  executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
@@ -112,11 +112,11 @@ files:
112
112
  - spec/support/shared/data.rb
113
113
  - spec/take_address_spec.rb
114
114
  - spec/withdrawal_spec.rb
115
- homepage:
115
+ homepage:
116
116
  licenses:
117
117
  - MIT
118
118
  metadata: {}
119
- post_install_message:
119
+ post_install_message:
120
120
  rdoc_options: []
121
121
  require_paths:
122
122
  - lib
@@ -131,9 +131,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubyforge_project:
134
+ rubyforge_project:
135
135
  rubygems_version: 2.7.6
136
- signing_key:
136
+ signing_key:
137
137
  specification_version: 4
138
138
  summary: Coins Paid Integration
139
139
  test_files: []