coins_paid_rails 1.0.1 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/coins_paid_rails.gemspec +1 -2
- data/lib/coins_paid.rb +6 -2
- data/lib/coins_paid/qr_code.rb +1 -1
- 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: accffa021325022ed6042edf69cb52cb0802efa27dcd010ef0231f56450d18f0
|
4
|
+
data.tar.gz: f4af0fa8eb061e4a5d9761d5f7c98e1f7a08c970c1fa84413c2ffaae1284ee11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c5a79288917f9447a1e87d0d929630079ee4fa8d0c43f9193a4f81742c02bde4d610a75580f822d19c50ef0c0da8bd1299a51ff386d9166cf4f4b7a1cbc0085
|
7
|
+
data.tar.gz: 0120a87cb1537bdea850921f5a0dfdfaa7ac3bc57b1484b6d35428a3b8959519c5311629baee6ffd324524ff3966a175d681093b41c678b5d118918bfebe8286
|
data/coins_paid_rails.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'coins_paid_rails'
|
3
3
|
s.authors = ['Artem Biserov(artembiserov)', 'Oleg Ivanov(morhekil)']
|
4
|
-
s.version = '1.
|
4
|
+
s.version = '1.1.1'
|
5
5
|
s.files = `git ls-files`.split("\n")
|
6
6
|
s.summary = 'CoinsPaid Rails Integration'
|
7
7
|
s.license = 'MIT'
|
@@ -12,4 +12,3 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.add_runtime_dependency 'dry-struct', '~> 1.0'
|
13
13
|
s.add_development_dependency 'rspec-rails', '~> 3.0'
|
14
14
|
end
|
15
|
-
|
data/lib/coins_paid.rb
CHANGED
@@ -12,10 +12,14 @@ module CoinsPaid
|
|
12
12
|
|
13
13
|
DEFAULT_CONVERT_TO = ENV['COINS_PAID_CURRENCY']
|
14
14
|
|
15
|
-
|
15
|
+
ADDRESS_PREFIXES = {
|
16
16
|
'BTC' => 'bitcoin',
|
17
|
+
'BCH' => 'bitcoincash',
|
17
18
|
'ETH' => 'ethereum',
|
18
|
-
'
|
19
|
+
'EURTE' => 'ethereum',
|
20
|
+
'LTC' => 'litecoin',
|
21
|
+
'USDT' => 'bitcoin',
|
22
|
+
'USDTE' => 'ethereum'
|
19
23
|
}.freeze
|
20
24
|
|
21
25
|
def address(foreign_id, currency:)
|
data/lib/coins_paid/qr_code.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coins_paid_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
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:
|
12
|
+
date: 2020-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: coins_paid_api
|