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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a1fd541ce5377d0b6e93894f354e6b0e75ee870376c6599a451df8616984ccbd
4
- data.tar.gz: 91717a3ac0a1535414c69d3c6387ee732948b86557cc308ff3fe2e5ff9713a74
3
+ metadata.gz: 9b0a089e97181c6298d1ec7f49c8451131e42bf3e2bb3ffd167e8b9927816007
4
+ data.tar.gz: 232c3b6ef7051400b6730849952b24578ba1fcf14d2b5904ddae5f67e70d9993
5
5
  SHA512:
6
- metadata.gz: 73afb57040c45f35f75d8f3094e88680c64d58cc3b0276fecf15bbe5ab4046922c98b2e5877b9f22be75c78a6058eb96140d426c82b99df3ffe9c6ecb858aef0
7
- data.tar.gz: 1e244f248fd3c8399fc0427ce3877443b1862a562a4b52a18a2b7f85a18283fb2cacb30b9155522a23b1547cd8d6fa19278ae077c05d4b2be61a5a09e67362fb
6
+ metadata.gz: 77aebee28ecf4304c597d8db3833d3bab6891d469f2d85fd995198543c5d00164ac3d043a58c576cb9c38b19231cf3b01cf414be77c82060ae99bf84ee549791
7
+ data.tar.gz: 4a2ffc7e8a62612e1f03c124a00bd67789316ff8caf8ea13bbafdb3b38a6e10e5491bd80d2e7f0e159a88f78856708ba4b7cebc5d27e0f07aa6b1ccfcd91f05f
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cryptocoin_fanboi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file