ish_models 0.0.33.105 → 0.0.33.106

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a5ee54bb9e2f64ca4e1e475735b76cb24ef400a760137c9bd7a6725a297f970
4
- data.tar.gz: 93d9073dc10a680aaacb038577f2116894313bf196e27df0f11c2ca5ccf3c4a7
3
+ metadata.gz: f10773384bc286d4a8eb31fede271150e828e3c8e22c07aa07ad569a3b85f6f0
4
+ data.tar.gz: 79b28731cfa05022a699ff2f8711460959d2468e3a11a45f44e3553b97e13900
5
5
  SHA512:
6
- metadata.gz: b5c035fd46a34780d8965419cf873abb305e40d13ebda9bf27eca5da7a7420b554fbf1d4a248c2230e02b55d05e0a5cb09cddef3b22a6709809d13033b0a7125
7
- data.tar.gz: d11beea10ec8efa44ec3eeb7e9f74236fa9bce648f7572728f045687d8c8d9997d7a7bc3d89bd8a4e21c582336e56bc07a7febe4831b1fc14320cb67076fefc7
6
+ metadata.gz: 6eb75fb041a984126e4f809bb49ecebda6757cc73a920d210ed853701278dbb82c4f11d77cbc624e37b14be3b7225a26f030ad98c8fb3c39be4ee3b4c61f2892
7
+ data.tar.gz: 91d5a810d8f8912a2917fc086b05781e7a7757210087719c4560f3065b19ceb4adb9d5a7b0b5f8e32fee2bc05193a7e2b091f6b99f7cddaefba69202a23d7266
@@ -5,9 +5,9 @@ class ::YahooStockwatcher
5
5
  def watch_once
6
6
 
7
7
  stocks = Ish::StockWatch.where( :notification_type => :EMAIL )
8
- puts! stocks.map(&:ticker), "Watching these stocks"
8
+ # puts! stocks.map(&:ticker), "Watching these stocks"
9
9
  stocks.each do |stock|
10
- puts! stock.ticker, 'ticker'
10
+ # puts! stock.ticker, 'ticker'
11
11
  r = HTTParty.get "https://query1.finance.yahoo.com/v7/finance/chart/#{stock.ticker}?interval=1d&indicators=quote", timeout: 10
12
12
  r = JSON.parse( r.body ).deep_symbolize_keys
13
13
  r = r[:chart][:result][0][:meta][:regularMarketPrice]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.33.105
4
+ version: 0.0.33.106
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox