cryptocoin_fanboi 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/cryptocoin_fanboi.rb +22 -1
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b0a089e97181c6298d1ec7f49c8451131e42bf3e2bb3ffd167e8b9927816007
|
4
|
+
data.tar.gz: 232c3b6ef7051400b6730849952b24578ba1fcf14d2b5904ddae5f67e70d9993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77aebee28ecf4304c597d8db3833d3bab6891d469f2d85fd995198543c5d00164ac3d043a58c576cb9c38b19231cf3b01cf414be77c82060ae99bf84ee549791
|
7
|
+
data.tar.gz: 4a2ffc7e8a62612e1f03c124a00bd67789316ff8caf8ea13bbafdb3b38a6e10e5491bd80d2e7f0e159a88f78856708ba4b7cebc5d27e0f07aa6b1ccfcd91f05f
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/cryptocoin_fanboi.rb
CHANGED
@@ -86,7 +86,7 @@ class CryptocoinFanboi
|
|
86
86
|
|
87
87
|
@colored, @debug, @filepath = colored, debug, filepath
|
88
88
|
@exchangerate_key, @cmc_apikey = exchangerate_key, cmc_apikey
|
89
|
-
|
89
|
+
puts 'before coinquery'
|
90
90
|
@cq = CoinQuery.new(dym: false, timeout: 7, debug: debug)
|
91
91
|
|
92
92
|
@watch= watch.map(&:upcase)
|
@@ -587,6 +587,27 @@ class CryptocoinFanboi
|
|
587
587
|
|
588
588
|
end
|
589
589
|
|
590
|
+
class CryptocoinFanboiPlus < CryptocoinFanboi
|
591
|
+
|
592
|
+
def initialize(reg_domain, watch: [], ignore: [], colored: true, debug: false,
|
593
|
+
filepath: '.')
|
594
|
+
|
595
|
+
reg = RemoteDwsRegistry.new domain: reg_domain
|
596
|
+
|
597
|
+
exchangerate_key = JustExchangeRatesPlus.fetch_app_id(reg)
|
598
|
+
puts 'exchangerate_key:' + exchangerate_key.inspect if debug
|
599
|
+
|
600
|
+
cmc_apikey = CoinmarketcapLitePlus.fetch_apikey(reg)
|
601
|
+
puts 'cmc_apikey: ' + cmc_apikey.inspect if debug
|
602
|
+
|
603
|
+
super(watch: watch, ignore: ignore, colored: colored, debug: debug,
|
604
|
+
filepath: filepath, exchangerate_key: exchangerate_key,
|
605
|
+
cmc_apikey: cmc_apikey)
|
606
|
+
|
607
|
+
end
|
608
|
+
|
609
|
+
end
|
610
|
+
|
590
611
|
|
591
612
|
|
592
613
|
if __FILE__ == $0 then
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|