cryptocoin_fanboi 0.7.1 → 0.7.2
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/cryptocoin_fanboi.rb +3 -5
- metadata +22 -2
- 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: 5ef4bae8b92abd3289d625aa4e96b224621e7cf38b3c67ff2513afa9b8caf5c2
|
|
4
|
+
data.tar.gz: 672ddbe2c7bc1028ea8c22787fd964a7ef371c02fdd4daf2bc31b23ccea3f6ed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2d692a56d955250234354dc45215b4fc309eb0bcc710f610843f4a1e34341e26248880a0f62c20319cc31309a28c8b5a4edc537abc0c8a3e2ca3184c324ea46d
|
|
7
|
+
data.tar.gz: 98ea11eec9269b428b9fd935b2badbf309105c1ca0c762db494741d23adffde41244345459f3c04c0ab1fd53e8190110939cce23cb0eeed4d4681862d4b5b109
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data.tar.gz.sig
CHANGED
|
Binary file
|
data/lib/cryptocoin_fanboi.rb
CHANGED
|
@@ -13,6 +13,7 @@ require 'rexle'
|
|
|
13
13
|
require 'kramdown'
|
|
14
14
|
require 'justexchangerates'
|
|
15
15
|
require 'coinquery'
|
|
16
|
+
require 'coin360api21'
|
|
16
17
|
|
|
17
18
|
# 02-May 2021 ----
|
|
18
19
|
#
|
|
@@ -390,11 +391,8 @@ class CryptocoinFanboi
|
|
|
390
391
|
|
|
391
392
|
def total_market_cap()
|
|
392
393
|
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
h = JSON.parse(response.body)
|
|
396
|
-
'$' + h["total_market_cap"].round.to_s.reverse.gsub(/...(?=.)/,'\&,')\
|
|
397
|
-
.reverse
|
|
394
|
+
'$' + Coin360Api21::Global.new.latest.total_market_cap.round.to_s\
|
|
395
|
+
.reverse.gsub(/...(?=.)/,'\&,').reverse
|
|
398
396
|
|
|
399
397
|
end
|
|
400
398
|
|
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.7.
|
|
4
|
+
version: 0.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
|
35
35
|
8apOj5Vc5mSZcvmZkImt0L0+RfWgzVjyK6LWXmWC0fkURO1c8pu+DEn2QI5HEKpD
|
|
36
36
|
zda3SGyo8CEr8HOwCV4H0aAY
|
|
37
37
|
-----END CERTIFICATE-----
|
|
38
|
-
date: 2021-05-
|
|
38
|
+
date: 2021-05-04 00:00:00.000000000 Z
|
|
39
39
|
dependencies:
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: colored
|
|
@@ -157,6 +157,26 @@ dependencies:
|
|
|
157
157
|
- - "~>"
|
|
158
158
|
- !ruby/object:Gem::Version
|
|
159
159
|
version: '0.2'
|
|
160
|
+
- !ruby/object:Gem::Dependency
|
|
161
|
+
name: coin360api21
|
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
|
163
|
+
requirements:
|
|
164
|
+
- - ">="
|
|
165
|
+
- !ruby/object:Gem::Version
|
|
166
|
+
version: 0.2.0
|
|
167
|
+
- - "~>"
|
|
168
|
+
- !ruby/object:Gem::Version
|
|
169
|
+
version: '0.2'
|
|
170
|
+
type: :runtime
|
|
171
|
+
prerelease: false
|
|
172
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
173
|
+
requirements:
|
|
174
|
+
- - ">="
|
|
175
|
+
- !ruby/object:Gem::Version
|
|
176
|
+
version: 0.2.0
|
|
177
|
+
- - "~>"
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: '0.2'
|
|
160
180
|
description:
|
|
161
181
|
email: digital.robertson@gmail.com
|
|
162
182
|
executables: []
|
metadata.gz.sig
CHANGED
|
Binary file
|