stockticker_cli 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/stockticker_cli/cli.rb +3 -2
- data/lib/stockticker_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b15731913ff0de59abb1f3267caf19be14249582909a0984cfbbac9705000f7
|
4
|
+
data.tar.gz: 19801b052cb0e4a3414f22f0ebd75a598d28651751ca7afb06ebe40913b355a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed7fed565baf2a88da209fddefbc78148483400213423f7493d537d102570225818493920b1c2336a1f52a2633fef097e559f34f2bcf8070fd738ed0dee5e5c1
|
7
|
+
data.tar.gz: 5f29cf77f3d9c611db0ba929ae6561586bbdebf73f65de2bc2bcd41ff8c89e87aa0e352a80d06c55b7aa5e25419db6c425b503528b9f472c5fa79df89cde02ee
|
data/Gemfile.lock
CHANGED
data/lib/stockticker_cli/cli.rb
CHANGED
@@ -27,7 +27,7 @@ class StocktickerCli::CLI
|
|
27
27
|
# API call
|
28
28
|
puts ""
|
29
29
|
stock_query = StocktickerCli::API.query
|
30
|
-
|
30
|
+
|
31
31
|
# Return
|
32
32
|
puts "Pick a stock from the list"
|
33
33
|
puts ""
|
@@ -53,7 +53,8 @@ class StocktickerCli::CLI
|
|
53
53
|
|
54
54
|
if (input.between?(0, 10))
|
55
55
|
s = StocktickerCli::STOCK.all[input - 1]
|
56
|
-
StocktickerCli::API.info_query(s)
|
56
|
+
StocktickerCli::API.info_query(s)
|
57
|
+
binding.pry
|
57
58
|
puts ""
|
58
59
|
puts "#{s.symbol} - #{s.companyName} - $#{s.price}"
|
59
60
|
puts ""
|