stock_index 0.6.0 → 0.7.0

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
  SHA1:
3
- metadata.gz: 0c587529847bd7aec40fb68c34143c97da5bc63b
4
- data.tar.gz: 391c669017f278afacda495baf32cd4c61d37603
3
+ metadata.gz: ea7cdebb23698a7ec5e20a66d284253a749cffd4
4
+ data.tar.gz: 06ea3b4fdb14814fcd07990228ebed82d158890c
5
5
  SHA512:
6
- metadata.gz: 397bc3ba4835c9302f76917d877dfa9217e949f5e178a594cdd3b3a81deb24d6198533214de25cf75a88315071f63de39e183053728544a6e2cda4e82e7da7f4
7
- data.tar.gz: 74b3386e6fe3d2815fffad3a7df947140bba9826f39ceea7a4fdd511143cb4646609115b81ab9e2a7da098fe87b9e09532a6a36e2040fe0c24477d0d36a44a2b
6
+ metadata.gz: 83037a12503d07e92596dbdf15845ac37afaa34940c7561736fe0ccf79b7fe3c22728d7829396ffd6bfca8ac19617cb3ae39d2e9deb1ba644b085ac8ac5c9a3b
7
+ data.tar.gz: bb008502a9f97be8c20b0f63722b1142a7d9f296a37d59936aff201f1dd7edce6083c87555fa0366fa5c6d9b9199786eac2316174dcc1a70f89de28faa48b083
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - "2.1.3"
4
+ script: bundle exec rspec spec
data/README.md CHANGED
@@ -25,8 +25,8 @@ There is no a standard for indices symbols, so this gem uses Yahoo Finance symbo
25
25
  | ------ | ---------- | -------------- |
26
26
  | ^DJI | DOW JONES INDUSTRIAL AVERAGE | http://en.wikipedia.org/wiki/Dow_Jones_Industrial_Average |
27
27
  | ^GSPC | S&P 500 | http://en.wikipedia.org/wiki/List_of_S%26P_500_companies |
28
- | ^NDX | NASDAQ 100 | http://en.wikipedia.org/wiki/NASDAQ-100 |
29
- | ^N225 | NIKKEI 225 | http://indexes.nikkei.co.jp/en/nkave/index/component?idx=nk225 |
28
+ | ^NDX | NASDAQ 100 | https://indexes.nasdaqomx.com/Index/Weighting/NDX<br/>http://en.wikipedia.org/wiki/NASDAQ-100 |
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
31
  | ^FTSE | FTSE 100 | http://www.londonstockexchange.com/exchange/prices-and-markets/stocks/indices/summary/summary-indices-constituents.html?index=UKX |
32
32
 
@@ -43,7 +43,7 @@ This method returns an array of components. Each component is a Hash with this f
43
43
  :symbol => 'MMM',
44
44
  :name => '3M CO',
45
45
  :wikipedia => 'http://en.wikipedia.org/wiki/3M',
46
- :cik => '66740',
46
+ :cik => '0000066740',
47
47
  :bbgid => 'BBG000BP52R2'
48
48
  }
49
49
  ```
@@ -54,7 +54,7 @@ This method returns an array of components. Each component is a Hash with this f
54
54
  | symbol | Component symbol |
55
55
  | name | Component name according to [Bloomberg Open Symbology](http://bsym.bloomberg.com/sym/) |
56
56
  | wikipedia | Link to the wikipedia page of the component |
57
- | cik | Component CIK (Central Index Key) assigned to the company by the SEC |
57
+ | cik | Component CIK (Central Index Key) assigned to the company by the SEC. Only for US components. |
58
58
  | bbgid | BBGID (Bloomberg Security Identifier) according to [Bloomberg Open Symbology](http://bsym.bloomberg.com/sym/)|
59
59
 
60
60
  The name and cik are obtained querying the [EDGAR database](http://www.sec.gov/edgar/searchedgar/companysearch.html).
@@ -71,6 +71,12 @@ The name, cik, and bbgid are cached using [PStore](http://ruby-doc.org/stdlib-1.
71
71
  4. Push to the branch (`git push origin my-new-feature`)
72
72
  5. Create new Pull Request
73
73
 
74
+ ## Code Status
75
+
76
+ [![Gem Version](http://img.shields.io/badge/gem-v0.7.0-blue.svg)](https://rubygems.org/gems/stock_index)
77
+ [![Build Status](https://travis-ci.org/javiervidal/stock_index.svg?branch=master)](https://travis-ci.org/javiervidal/stock_index)
78
+ [![Coverage Status](https://coveralls.io/repos/javiervidal/stock_index/badge.png?branch=master)](https://coveralls.io/r/javiervidal/stock_index?branch=master)
79
+
74
80
  ## Copyright
75
81
 
76
82
  Copyright (c) 2014 – ∞ Javier Vidal