coincapper 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coincapper.rb +3 -1
- data/lib/coincapper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf67f77a662c7dcf3f16affda380303e99a125d
|
4
|
+
data.tar.gz: 376e749846056dfcc3cb9576fa901896b5f26b35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c11a4b5442ba2b77e121403510112b6174a67f58f95e601b892e897c34cb95d6c8ccd4317c736f21d31791ca6c963de3bc302a3365cb8a6a6e1b02f1db135e61
|
7
|
+
data.tar.gz: '081c4a84211e725a26aba7843a7406626923bde1ece5680b5a5071fabe514569819c33cffa9efdad328a3925cfc2554a7f3638513bc6ff70b0da61fce968043d'
|
data/lib/coincapper.rb
CHANGED
@@ -117,7 +117,9 @@ class CoinCapper
|
|
117
117
|
open: td[1].text.to_f,
|
118
118
|
high: td[2].text.to_f,
|
119
119
|
low: td[3].text.to_f,
|
120
|
-
close: td[4].text.to_f
|
120
|
+
close: td[4].text.to_f,
|
121
|
+
volume: td[5].text.to_f,
|
122
|
+
market_cap: td[6].text.to_f
|
121
123
|
}
|
122
124
|
|
123
125
|
daily[:average] = ((daily[:high] + daily[:low]).to_d / 2).to_f
|
data/lib/coincapper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coincapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kurt Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -194,7 +194,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
194
194
|
version: '0'
|
195
195
|
requirements: []
|
196
196
|
rubyforge_project:
|
197
|
-
rubygems_version: 2.6.
|
197
|
+
rubygems_version: 2.6.14.1
|
198
198
|
signing_key:
|
199
199
|
specification_version: 4
|
200
200
|
summary: Coinmarketcap V1 API wrapper
|