cointools 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/cointools/coinmarketcap.rb +1 -2
- data/lib/cointools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07c4923fbebff07307e03a347fd0df3fc986b9fb
|
4
|
+
data.tar.gz: e886e0e2a7cac42478e3f83d4c84e5cb70b28953
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6124192a609140f41188e6026f4d75a40ac0e643d42bf9aba0643cbf177f20f872c61b9c8e13f9dc17e8811f7a5723ca802372341d65b75b3e33f7dffbe5722
|
7
|
+
data.tar.gz: 6548ab95644fe0d8c2418e21d2b1782626dfb0721a44e18d9a908c2670d4cd07f046705df2e4554f0b57917b01738a42ad68c86087420276002aa1e53186b8df
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
#### Version 0.5.1 (19.07.2018)
|
2
|
+
|
3
|
+
* fixed bug in `CoinMarketCap#get_all_prices` that caused duplicated entries
|
4
|
+
|
1
5
|
#### Version 0.5.0 (12.07.2018)
|
2
6
|
|
3
7
|
* switched to CoinMarketCap API v2, CMC's `get_price` and `get_price_by_symbol` calls now return data like coin name/symbol, rank and market cap
|
@@ -177,11 +177,10 @@ module CoinTools
|
|
177
177
|
url.query += "&convert=BTC"
|
178
178
|
end
|
179
179
|
|
180
|
-
start = 0
|
181
180
|
coins = []
|
182
181
|
|
183
182
|
loop do
|
184
|
-
new_batch = fetch_full_ticker_page(url, convert_to, coins.length, &block)
|
183
|
+
new_batch = fetch_full_ticker_page(url, convert_to, coins.length + 1, &block)
|
185
184
|
|
186
185
|
if new_batch.empty?
|
187
186
|
break
|
data/lib/cointools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cointools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kuba Suder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|