bithound 0.0.1 → 0.0.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 +5 -13
- data/lib/bithound.rb +4 -4
- metadata +7 -8
checksums.yaml
CHANGED
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
|
|
5
|
-
data.tar.gz: !binary |-
|
|
6
|
-
YjMyNzk1NGU0MjFkOTMwODFkYTQ0MjZhY2I1MjhlZTAwOTU0OTM2Zg==
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: b31aac9f716c0ef1472ac2286d93778c8ffb4e9b
|
|
4
|
+
data.tar.gz: a1be5783ebcc842aeda9d33eb04a8b39ee98a95b
|
|
7
5
|
SHA512:
|
|
8
|
-
metadata.gz:
|
|
9
|
-
|
|
10
|
-
OTZiOWE0Y2M3ODk0ZmEwNGM0MTExM2U1MTg1ZmE5YzIwNTRjMmNlMmYyZTI1
|
|
11
|
-
YWFlYTRiMWY3OTI4NGZkNDVmNDY4MzI3YTM0MTJkMDQ0OTVlNGU=
|
|
12
|
-
data.tar.gz: !binary |-
|
|
13
|
-
ODE5YzI5Yjc5ODU5NTUzNjg0MDI1MTA4NzcxNGU1YWUyNDNlYjg4OGYxMDIy
|
|
14
|
-
MGEzYmJiOTg3MWQ4MmUxZGI2Y2E0MTY3ZjBkN2I0NzgwYWQ4ZDdmZmNiODY5
|
|
15
|
-
NTA3MjVmMjVjMTAzN2VhNWZlMGU2OTg2ZGI0ZmZlOTkxOTNlMTQ=
|
|
6
|
+
metadata.gz: 4c903bef5c6c6dbb493439da25dc2b8e36d56890d399956a7959f5af783b8c5dae163f9fa4439283f94313e434c01a7c9b34295ebf9057da2e18ab040d9b35d0
|
|
7
|
+
data.tar.gz: e684fe97432dafaa8458b84ab5327d5be89c70713ac84cf3778dbdff46bb929e118b730a15bb3fca0186994e8b23db83a2ed1307e89eb7c15e8309971dda4784
|
data/lib/bithound.rb
CHANGED
|
@@ -9,15 +9,15 @@ def call
|
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
def find
|
|
12
|
-
@parsed_body.detect {|market| market["symbol"] == "
|
|
12
|
+
@parsed_body.detect {|market| market["symbol"] == "okcoinCNY"}
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
call
|
|
16
|
-
@
|
|
16
|
+
@okcoinCNY = find
|
|
17
17
|
|
|
18
18
|
def display
|
|
19
|
-
puts "
|
|
20
|
-
puts "
|
|
19
|
+
puts "okcoinCNY latest_trade = "+ @okcoinCNY.fetch("latest_trade").to_s
|
|
20
|
+
puts "okcoinCNY close = " + @okcoinCNY.fetch("close").to_s
|
|
21
21
|
end
|
|
22
22
|
|
|
23
23
|
display
|
metadata
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bithound
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Charlotte Chang
|
|
8
|
-
- Dave Cameron
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date: 2013-10-
|
|
11
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
|
13
12
|
dependencies: []
|
|
14
|
-
description: a quick way to check the latest trade time and price for
|
|
13
|
+
description: a quick way to check the latest trade time and price for okcoinCNY
|
|
15
14
|
email: charlottechang.ny@gmail.com
|
|
16
15
|
executables:
|
|
17
16
|
- bithound
|
|
18
17
|
extensions: []
|
|
19
18
|
extra_rdoc_files: []
|
|
20
19
|
files:
|
|
21
|
-
- lib/bithound.rb
|
|
22
20
|
- bin/bithound
|
|
21
|
+
- lib/bithound.rb
|
|
23
22
|
homepage: http://rubygems.org/gems/bithound
|
|
24
23
|
licenses:
|
|
25
24
|
- MIT
|
|
@@ -30,17 +29,17 @@ require_paths:
|
|
|
30
29
|
- lib
|
|
31
30
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
32
31
|
requirements:
|
|
33
|
-
- -
|
|
32
|
+
- - ">="
|
|
34
33
|
- !ruby/object:Gem::Version
|
|
35
34
|
version: '0'
|
|
36
35
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
|
-
- -
|
|
37
|
+
- - ">="
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
39
|
version: '0'
|
|
41
40
|
requirements: []
|
|
42
41
|
rubyforge_project:
|
|
43
|
-
rubygems_version: 2.
|
|
42
|
+
rubygems_version: 2.4.2
|
|
44
43
|
signing_key:
|
|
45
44
|
specification_version: 4
|
|
46
45
|
summary: A bitcoin price checking gem
|