stock_index 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/bsym/LN.csv +1868 -0
- data/cache/XLON.pstore +0 -0
- data/lib/stock_index/bsym_search.rb +5 -6
- data/lib/stock_index/indices.rb +2 -1
- data/lib/stock_index/scrapers/SP500_scraper.rb +1 -1
- data/lib/stock_index/scrapers/ftse_scraper.rb +47 -0
- data/lib/stock_index/stock_index.rb +2 -0
- data/lib/stock_index/symbol_parser.rb +5 -8
- data/lib/stock_index/version.rb +1 -1
- data/lib/stock_index.rb +2 -1
- data/spec/fixtures/html/ftse_1.html +509 -0
- data/spec/fixtures/html/ftse_2.html +509 -0
- data/spec/fixtures/html/ftse_3.html +509 -0
- data/spec/fixtures/html/ftse_4.html +507 -0
- data/spec/fixtures/html/ftse_5.html +509 -0
- data/spec/fixtures/html/ftse_6.html +53 -0
- data/spec/fixtures/html/ftse_wikipedia.html +695 -0
- data/spec/fixtures/yaml/FTSE.yaml +102 -0
- data/spec/helper.rb +32 -0
- data/spec/stock_index/stock_index_spec.rb +9 -4
- data/spec/stock_index/symbol_parser_spec.rb +1 -1
- metadata +21 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59e50b528179c1a7cb7ec0fc076425b89470d55f
|
4
|
+
data.tar.gz: 27d06ee3c996ce7965c4a92109113bef75436882
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49cb96dd848a9b13602883ec844c6baf3e771d6a7d9e7675646b1e282513c60457ba404b2de4fa86a0fcf147232b2b69741f2f3b6f534aa923843e7f5ce109b9
|
7
|
+
data.tar.gz: 00b78d9c9a7636446cbd3df9f5587b6db194f0bde6924f1b1ad9b2ef1f9d08568408b324da28c2eae4337590d90ccba45e0e68e7efcb54cfa15347256bec348c
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@ There is no a standard for indices symbols, so this gem uses Yahoo Finance symbo
|
|
28
28
|
| ^NDX | NASDAQ 100 | https://indexes.nasdaqomx.com/Index/Weighting/NDX<br/>http://en.wikipedia.org/wiki/NASDAQ-100 |
|
29
29
|
| ^N225 | NIKKEI 225 | http://indexes.nikkei.co.jp/en/nkave/index/component?idx=nk225<br/>http://en.wikipedia.org/wiki/Nikkei_225 |
|
30
30
|
| ^STOXX50E | EURO STOXX 50 | http://www.stoxx.com/indices/index_information.html?symbol=SX5E |
|
31
|
-
| ^FTSE | FTSE 100 | http://www.londonstockexchange.com/exchange/prices-and-markets/stocks/indices/summary/summary-indices-constituents.html?index=UKX |
|
31
|
+
| ^FTSE | FTSE 100 | http://www.londonstockexchange.com/exchange/prices-and-markets/stocks/indices/summary/summary-indices-constituents.html?index=UKX<br/>http://en.wikipedia.org/wiki/FTSE_100_Index#Current_constituents |
|
32
32
|
|
33
33
|
## Usage
|
34
34
|
|
@@ -73,7 +73,7 @@ The name, cik, and bbgid are cached using [PStore](http://ruby-doc.org/stdlib-1.
|
|
73
73
|
|
74
74
|
## Code Status
|
75
75
|
|
76
|
-
[![Gem Version](http://img.shields.io/badge/gem-v0.
|
76
|
+
[![Gem Version](http://img.shields.io/badge/gem-v0.8.0-blue.svg)](https://rubygems.org/gems/stock_index)
|
77
77
|
[![Build Status](https://travis-ci.org/javiervidal/stock_index.svg?branch=master)](https://travis-ci.org/javiervidal/stock_index)
|
78
78
|
[![Coverage Status](https://coveralls.io/repos/javiervidal/stock_index/badge.png?branch=master)](https://coveralls.io/r/javiervidal/stock_index?branch=master)
|
79
79
|
|