ticker_fetcher 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/lib/ticker_fetcher.rb +16 -9
- data/test/amex_test_data.csv +6 -41
- data/test/nasd_test_data.csv +6 -41
- data/test/nyse_test_data.csv +6 -41
- data/test/test_ticker_fetcher.rb +4 -4
- data/ticker_fetcher-0.1.0.gem +0 -0
- data/ticker_fetcher.gemspec +61 -0
- metadata +6 -4
data/Rakefile
CHANGED
@@ -6,7 +6,7 @@ begin
|
|
6
6
|
Jeweler::Tasks.new do |gem|
|
7
7
|
gem.name = "ticker_fetcher"
|
8
8
|
gem.summary = %Q{Fetches all tickers for NYSE, NASDAQ, and AMEX exchanges.}
|
9
|
-
gem.description = %Q{Retrieves tickers,
|
9
|
+
gem.description = %Q{Retrieves tickers, and names for all securities listed on the 3 major US exchanges (NYSE, NASDAQ, AMEX).}
|
10
10
|
gem.email = "mattw922@gmail.com"
|
11
11
|
gem.homepage = "http://github.com/whitethunder/ticker_fetcher"
|
12
12
|
gem.authors = ["Matt White"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/ticker_fetcher.rb
CHANGED
@@ -3,6 +3,12 @@ require 'open-uri'
|
|
3
3
|
require 'fastercsv'
|
4
4
|
|
5
5
|
class TickerFetcher
|
6
|
+
Symbol = 0
|
7
|
+
Name = 1
|
8
|
+
LastSale = 2
|
9
|
+
MarketCap = 3
|
10
|
+
Sector = 5
|
11
|
+
Industry = 6
|
6
12
|
attr_accessor :exchanges
|
7
13
|
|
8
14
|
# Passing 1 or more exchange names will retrieve only those exchanges. Default
|
@@ -10,14 +16,16 @@ class TickerFetcher
|
|
10
16
|
def initialize
|
11
17
|
@exchanges = {}
|
12
18
|
@exchange_urls = {
|
13
|
-
'NASD' => 'http://www.nasdaq.com/
|
14
|
-
'AMEX' => 'http://www.nasdaq.com/
|
15
|
-
'NYSE' => 'http://www.nasdaq.com/
|
19
|
+
'NASD' => 'http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download',
|
20
|
+
'AMEX' => 'http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=AMEX&render=download',
|
21
|
+
'NYSE' => 'http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NYSE&render=download'
|
16
22
|
}
|
17
23
|
end
|
18
24
|
|
19
|
-
def retrieve(
|
20
|
-
|
25
|
+
def retrieve(exchange)
|
26
|
+
unless exchange == :all
|
27
|
+
@exchange_urls.delete_if { |k,v| exchange.upcase != k }
|
28
|
+
end
|
21
29
|
@exchange_urls.each { |exchange, url| @exchanges[exchange] = parse_exchange(exchange, url) }
|
22
30
|
end
|
23
31
|
|
@@ -31,12 +39,11 @@ class TickerFetcher
|
|
31
39
|
def parse_csv(data)
|
32
40
|
tickers = []
|
33
41
|
FasterCSV.parse(data) { |row|
|
34
|
-
name = row[
|
35
|
-
ticker = row[
|
42
|
+
name = row[Name]
|
43
|
+
ticker = row[Symbol].strip.gsub('"', '')
|
36
44
|
unless(ticker.nil? || ticker.empty? || ticker == 'Symbol')
|
37
45
|
ticker = ticker.gsub('/', '.').gsub('^', '-') if ticker =~ /\W/
|
38
|
-
|
39
|
-
tickers << [ticker, name, description]
|
46
|
+
tickers << [ticker, name]
|
40
47
|
end
|
41
48
|
}
|
42
49
|
tickers
|
data/test/amex_test_data.csv
CHANGED
@@ -1,41 +1,6 @@
|
|
1
|
-
"
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
"AwesomeCompany, Inc.","AC^B","Common Stock","26,656,000","$75.7","For more than 40 years, AwesomeCompany, Inc. - ""Your Premier Provider of All Things Awesome"" -
|
8
|
-
has been providing customers around the world with the awesomest awesome you can imagine.
|
9
|
-
|
10
|
-
Customers can ""call, click, or come in"" to shop for awesome."
|
11
|
-
"Company, Inc.","C-A","Common Stock","26,656,000","$75.7","For more than 50 years, Company, Inc. - ""Your Premier Provider of All Things"" -
|
12
|
-
has been providing customers around the world with evarything.
|
13
|
-
|
14
|
-
Customers can ""call, click, or come in"" to shop."
|
15
|
-
"Zygo Corporation","ZIGO","Common Stock","17,411,000","$162.8","Zygo Corporation (<93>ZYGO,<92><92> <93>we,<92><92> <93>us,<92><92> <93>our,<92><92> or <93>Company<92><92>) designs,
|
16
|
-
develops, and manufactures ultra-high precision measurement solutions to improve
|
17
|
-
our customers<92> manufacturing yields, and top-tier optical sub-systems and
|
18
|
-
components for original equipment manufacturers (<93>OEM<94>) and end-user
|
19
|
-
applications. We operate with two divisions. Our Metrology Solutions Division
|
20
|
-
(also referred to herein as the <93>Metrology segment<94>) manufactures products to
|
21
|
-
improve quality, increase productivity, and decrease the overall cost of product
|
22
|
-
development and manufacturing for high-technology companies, particularly in
|
23
|
-
their semiconductor manufacturing processes. Our Optical Systems Division (also
|
24
|
-
referred to herein as the <93>Optics segment<94>) provides leading-edge product
|
25
|
-
development and manufacturing services that leverage a variety of core
|
26
|
-
technologies across medical, defense, semiconductor, laser fusion research,
|
27
|
-
biomedical, and other industrial markets. ... More...""http://secfilings.nasdaq.com/edgar_conv_html%2f2007%2f09%2f20%2f0000930413-07-007562.html#FIS_BUSINESS"" "
|
28
|
-
"ZymoGenetics, Inc.","ZGEN","Common Stock","85,473,000","$555.6","This Annual Report on Form 10-K contains, in addition to historical information,
|
29
|
-
forward-looking statements within the meaning of the Private Securities
|
30
|
-
Litigation Reform Act of 1995 that involve risks and uncertainties. This Act
|
31
|
-
provides a <93>safe harbor<94> for forward-looking statements to encourage companies
|
32
|
-
to provide prospective information about themselves. All statements other than
|
33
|
-
statements of historical fact, including statements regarding company and
|
34
|
-
industry prospects and future results of operations, financial position and cash
|
35
|
-
flows, made in this Annual Report on Form 10-K are forward-looking. We use words
|
36
|
-
such as <93>anticipate,<94> <93>believe,<94> <93>continue,<94> <93>could,<94> <93>estimate,<94> <93>expect,<94>
|
37
|
-
<93>future,<94> <93>intend,<94> <93>may,<94> <93>potential,<94> <93>seek,<94> <93>should,<94> <93>target<94> and similar
|
38
|
-
expressions, including negatives, to identify forward-looking statements.
|
39
|
-
Forward-looking statements reflect management<92>s current expectations, plans or
|
40
|
-
projections and are inherently uncertain. ... More...""http://secfilings.nasdaq.com/edgar_conv_html%2f2008%2f02%2f29%2f0001193125-08-043300.html#FIS_BUSINESS"" "
|
41
|
-
"© Copyright 2010, The NASDAQ Stock Market, Inc. All Rights Reserved.","","",""
|
1
|
+
"Symbol","Name","LastSale","MarketCap","IPOyear","Sector","Industry","Summary Quote"
|
2
|
+
"SC","StupidCompany, Inc.",2.71,72858350,"1999","Consumer Services","Other Specialty Stores","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=SC&selected=SC"
|
3
|
+
"AC^B","AwesomeCompany, Inc.",100,26656000,"n/a","n/a","n/a","n/a"
|
4
|
+
"C-A","Company, Inc.",0.15,26656000,"2001","Health Care","Major Banks","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=C-A&selected=C-A"
|
5
|
+
"ZIGO","Zygo Corporation",5,17411000,"2010","Consumer Durables","Specialty Chemicals","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=ZIGO&selected=ZIGO"
|
6
|
+
"ZGEN","ZymoGenetics, Inc.",25,85473000,"2015","Technology","Semiconductors","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=ZGEN&selected=ZGEN"
|
data/test/nasd_test_data.csv
CHANGED
@@ -1,41 +1,6 @@
|
|
1
|
-
"
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
"AwesomeCompany, Inc.","AC^B","Common Stock","26,656,000","$75.7","For more than 40 years, AwesomeCompany, Inc. - ""Your Premier Provider of All Things Awesome"" -
|
8
|
-
has been providing customers around the world with the awesomest awesome you can imagine.
|
9
|
-
|
10
|
-
Customers can ""call, click, or come in"" to shop for awesome."
|
11
|
-
"Company, Inc.","C-A","Common Stock","26,656,000","$75.7","For more than 50 years, Company, Inc. - ""Your Premier Provider of All Things"" -
|
12
|
-
has been providing customers around the world with evarything.
|
13
|
-
|
14
|
-
Customers can ""call, click, or come in"" to shop."
|
15
|
-
"Zygo Corporation","ZIGO","Common Stock","17,411,000","$162.8","Zygo Corporation (<93>ZYGO,<92><92> <93>we,<92><92> <93>us,<92><92> <93>our,<92><92> or <93>Company<92><92>) designs,
|
16
|
-
develops, and manufactures ultra-high precision measurement solutions to improve
|
17
|
-
our customers<92> manufacturing yields, and top-tier optical sub-systems and
|
18
|
-
components for original equipment manufacturers (<93>OEM<94>) and end-user
|
19
|
-
applications. We operate with two divisions. Our Metrology Solutions Division
|
20
|
-
(also referred to herein as the <93>Metrology segment<94>) manufactures products to
|
21
|
-
improve quality, increase productivity, and decrease the overall cost of product
|
22
|
-
development and manufacturing for high-technology companies, particularly in
|
23
|
-
their semiconductor manufacturing processes. Our Optical Systems Division (also
|
24
|
-
referred to herein as the <93>Optics segment<94>) provides leading-edge product
|
25
|
-
development and manufacturing services that leverage a variety of core
|
26
|
-
technologies across medical, defense, semiconductor, laser fusion research,
|
27
|
-
biomedical, and other industrial markets. ... More...""http://secfilings.nasdaq.com/edgar_conv_html%2f2007%2f09%2f20%2f0000930413-07-007562.html#FIS_BUSINESS"" "
|
28
|
-
"ZymoGenetics, Inc.","ZGEN","Common Stock","85,473,000","$555.6","This Annual Report on Form 10-K contains, in addition to historical information,
|
29
|
-
forward-looking statements within the meaning of the Private Securities
|
30
|
-
Litigation Reform Act of 1995 that involve risks and uncertainties. This Act
|
31
|
-
provides a <93>safe harbor<94> for forward-looking statements to encourage companies
|
32
|
-
to provide prospective information about themselves. All statements other than
|
33
|
-
statements of historical fact, including statements regarding company and
|
34
|
-
industry prospects and future results of operations, financial position and cash
|
35
|
-
flows, made in this Annual Report on Form 10-K are forward-looking. We use words
|
36
|
-
such as <93>anticipate,<94> <93>believe,<94> <93>continue,<94> <93>could,<94> <93>estimate,<94> <93>expect,<94>
|
37
|
-
<93>future,<94> <93>intend,<94> <93>may,<94> <93>potential,<94> <93>seek,<94> <93>should,<94> <93>target<94> and similar
|
38
|
-
expressions, including negatives, to identify forward-looking statements.
|
39
|
-
Forward-looking statements reflect management<92>s current expectations, plans or
|
40
|
-
projections and are inherently uncertain. ... More...""http://secfilings.nasdaq.com/edgar_conv_html%2f2008%2f02%2f29%2f0001193125-08-043300.html#FIS_BUSINESS"" "
|
41
|
-
"© Copyright 2010, The NASDAQ Stock Market, Inc. All Rights Reserved.","","",""
|
1
|
+
"Symbol","Name","LastSale","MarketCap","IPOyear","Sector","Industry","Summary Quote"
|
2
|
+
"SC","StupidCompany, Inc.",2.71,72858350,"1999","Consumer Services","Other Specialty Stores","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=SC&selected=SC"
|
3
|
+
"AC^B","AwesomeCompany, Inc.",100,26656000,"n/a","n/a","n/a","n/a"
|
4
|
+
"C-A","Company, Inc.",0.15,26656000,"2001","Health Care","Major Banks","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=C-A&selected=C-A"
|
5
|
+
"ZIGO","Zygo Corporation",5,17411000,"2010","Consumer Durables","Specialty Chemicals","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=ZIGO&selected=ZIGO"
|
6
|
+
"ZGEN","ZymoGenetics, Inc.",25,85473000,"2015","Technology","Semiconductors","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=ZGEN&selected=ZGEN"
|
data/test/nyse_test_data.csv
CHANGED
@@ -1,41 +1,6 @@
|
|
1
|
-
"
|
2
|
-
"
|
3
|
-
"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
"AwesomeCompany, Inc.","AC^B","Common Stock","26,656,000","$75.7","For more than 40 years, AwesomeCompany, Inc. - ""Your Premier Provider of All Things Awesome"" -
|
8
|
-
has been providing customers around the world with the awesomest awesome you can imagine.
|
9
|
-
|
10
|
-
Customers can ""call, click, or come in"" to shop for awesome."
|
11
|
-
"Company, Inc.","C/A","Common Stock","26,656,000","$75.7","For more than 50 years, Company, Inc. - ""Your Premier Provider of All Things"" -
|
12
|
-
has been providing customers around the world with evarything.
|
13
|
-
|
14
|
-
Customers can ""call, click, or come in"" to shop."
|
15
|
-
"Zygo Corporation","ZIGO","Common Stock","17,411,000","$162.8","Zygo Corporation (<93>ZYGO,<92><92> <93>we,<92><92> <93>us,<92><92> <93>our,<92><92> or <93>Company<92><92>) designs,
|
16
|
-
develops, and manufactures ultra-high precision measurement solutions to improve
|
17
|
-
our customers<92> manufacturing yields, and top-tier optical sub-systems and
|
18
|
-
components for original equipment manufacturers (<93>OEM<94>) and end-user
|
19
|
-
applications. We operate with two divisions. Our Metrology Solutions Division
|
20
|
-
(also referred to herein as the <93>Metrology segment<94>) manufactures products to
|
21
|
-
improve quality, increase productivity, and decrease the overall cost of product
|
22
|
-
development and manufacturing for high-technology companies, particularly in
|
23
|
-
their semiconductor manufacturing processes. Our Optical Systems Division (also
|
24
|
-
referred to herein as the <93>Optics segment<94>) provides leading-edge product
|
25
|
-
development and manufacturing services that leverage a variety of core
|
26
|
-
technologies across medical, defense, semiconductor, laser fusion research,
|
27
|
-
biomedical, and other industrial markets. ... More...""http://secfilings.nasdaq.com/edgar_conv_html%2f2007%2f09%2f20%2f0000930413-07-007562.html#FIS_BUSINESS"" "
|
28
|
-
"ZymoGenetics, Inc.","ZGEN","Common Stock","85,473,000","$555.6","This Annual Report on Form 10-K contains, in addition to historical information,
|
29
|
-
forward-looking statements within the meaning of the Private Securities
|
30
|
-
Litigation Reform Act of 1995 that involve risks and uncertainties. This Act
|
31
|
-
provides a <93>safe harbor<94> for forward-looking statements to encourage companies
|
32
|
-
to provide prospective information about themselves. All statements other than
|
33
|
-
statements of historical fact, including statements regarding company and
|
34
|
-
industry prospects and future results of operations, financial position and cash
|
35
|
-
flows, made in this Annual Report on Form 10-K are forward-looking. We use words
|
36
|
-
such as <93>anticipate,<94> <93>believe,<94> <93>continue,<94> <93>could,<94> <93>estimate,<94> <93>expect,<94>
|
37
|
-
<93>future,<94> <93>intend,<94> <93>may,<94> <93>potential,<94> <93>seek,<94> <93>should,<94> <93>target<94> and similar
|
38
|
-
expressions, including negatives, to identify forward-looking statements.
|
39
|
-
Forward-looking statements reflect management<92>s current expectations, plans or
|
40
|
-
projections and are inherently uncertain. ... More...""http://secfilings.nasdaq.com/edgar_conv_html%2f2008%2f02%2f29%2f0001193125-08-043300.html#FIS_BUSINESS"" "
|
41
|
-
"© Copyright 2010, The NASDAQ Stock Market, Inc. All Rights Reserved.","","",""
|
1
|
+
"Symbol","Name","LastSale","MarketCap","IPOyear","Sector","Industry","Summary Quote"
|
2
|
+
"SC","StupidCompany, Inc.",2.71,72858350,"1999","Consumer Services","Other Specialty Stores","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=SC&selected=SC"
|
3
|
+
"AC^B","AwesomeCompany, Inc.",100,26656000,"n/a","n/a","n/a","n/a"
|
4
|
+
"C-A","Company, Inc.",0.15,26656000,"2001","Health Care","Major Banks","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=C-A&selected=C-A"
|
5
|
+
"ZIGO","Zygo Corporation",5,17411000,"2010","Consumer Durables","Specialty Chemicals","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=ZIGO&selected=ZIGO"
|
6
|
+
"ZGEN","ZymoGenetics, Inc.",25,85473000,"2015","Technology","Semiconductors","http://quotes.nasdaq.com/asp/SummaryQuote.asp?symbol=ZGEN&selected=ZGEN"
|
data/test/test_ticker_fetcher.rb
CHANGED
@@ -4,9 +4,9 @@ class TestTickerFetcher < Test::Unit::TestCase
|
|
4
4
|
def setup
|
5
5
|
@t = TickerFetcher.new
|
6
6
|
@t_mock = flexmock(@t)
|
7
|
-
@t_mock.should_receive(:parse_exchange).with('NYSE', 'http://www.nasdaq.com/
|
8
|
-
@t_mock.should_receive(:parse_exchange).with('NASD', 'http://www.nasdaq.com/
|
9
|
-
@t_mock.should_receive(:parse_exchange).with('AMEX', 'http://www.nasdaq.com/
|
7
|
+
@t_mock.should_receive(:parse_exchange).with('NYSE', 'http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NYSE&render=download').and_return(@t_mock.send(:parse_csv, File.open("test/nyse_test_data.csv").read))
|
8
|
+
@t_mock.should_receive(:parse_exchange).with('NASD', 'http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=NASDAQ&render=download').and_return(@t_mock.send(:parse_csv, File.open("test/nasd_test_data.csv").read))
|
9
|
+
@t_mock.should_receive(:parse_exchange).with('AMEX', 'http://www.nasdaq.com/screening/companies-by-industry.aspx?exchange=AMEX&render=download').and_return(@t_mock.send(:parse_csv, File.open("test/amex_test_data.csv").read))
|
10
10
|
# @t_mock.should_receive(:retrieve).with_no_args.and_return({'NYSE' => File.open("test/nyse_test_data.csv").read, 'NASD' => File.open("test/nasd_test_data.csv").read, 'AMEX' => File.open("test/amex_test_data.csv").read})
|
11
11
|
# @t_mock.should_receive(:retrieve).with('NYSE').and_return({'NYSE' => File.open("test/nyse_test_data.csv").read})
|
12
12
|
# @t_mock.should_receive(:retrieve).with('NYSE', 'NASD').and_return({'NYSE' => File.open("test/nyse_test_data.csv").read, 'NASD' => File.open("test/nasd_test_data.csv").read})
|
@@ -19,7 +19,7 @@ class TestTickerFetcher < Test::Unit::TestCase
|
|
19
19
|
assert_nil(@t_mock.exchanges['AMEX'])
|
20
20
|
assert_equal('SC', @t_mock.exchanges['NYSE'][0][0])
|
21
21
|
assert_equal('AC-B', @t_mock.exchanges['NYSE'][1][0])
|
22
|
-
assert_equal('C
|
22
|
+
assert_equal('C-A', @t_mock.exchanges['NYSE'][2][0])
|
23
23
|
end
|
24
24
|
|
25
25
|
def test_retrieve_with_two_exchanges_returns_a_ticker_fetcher_with_the_correct_data
|
Binary file
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{ticker_fetcher}
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Matt White"]
|
12
|
+
s.date = %q{2010-05-25}
|
13
|
+
s.description = %q{Retrieves tickers, and names for all securities listed on the 3 major US exchanges (NYSE, NASDAQ, AMEX).}
|
14
|
+
s.email = %q{mattw922@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/ticker_fetcher.rb",
|
27
|
+
"test/amex_test_data.csv",
|
28
|
+
"test/helper.rb",
|
29
|
+
"test/nasd_test_data.csv",
|
30
|
+
"test/nyse_test_data.csv",
|
31
|
+
"test/test_ticker_fetcher.rb",
|
32
|
+
"ticker_fetcher-0.1.0.gem",
|
33
|
+
"ticker_fetcher.gemspec"
|
34
|
+
]
|
35
|
+
s.homepage = %q{http://github.com/whitethunder/ticker_fetcher}
|
36
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
37
|
+
s.require_paths = ["lib"]
|
38
|
+
s.rubygems_version = %q{1.3.6}
|
39
|
+
s.summary = %q{Fetches all tickers for NYSE, NASDAQ, and AMEX exchanges.}
|
40
|
+
s.test_files = [
|
41
|
+
"test/test_ticker_fetcher.rb",
|
42
|
+
"test/helper.rb"
|
43
|
+
]
|
44
|
+
|
45
|
+
if s.respond_to? :specification_version then
|
46
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
47
|
+
s.specification_version = 3
|
48
|
+
|
49
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
50
|
+
s.add_development_dependency(%q<fastercsv>, [">= 1.5.0"])
|
51
|
+
s.add_development_dependency(%q<flexmock>, [">= 0.8.2"])
|
52
|
+
else
|
53
|
+
s.add_dependency(%q<fastercsv>, [">= 1.5.0"])
|
54
|
+
s.add_dependency(%q<flexmock>, [">= 0.8.2"])
|
55
|
+
end
|
56
|
+
else
|
57
|
+
s.add_dependency(%q<fastercsv>, [">= 1.5.0"])
|
58
|
+
s.add_dependency(%q<flexmock>, [">= 0.8.2"])
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Matt White
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-05-25 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
version: 0.8.2
|
46
46
|
type: :development
|
47
47
|
version_requirements: *id002
|
48
|
-
description: Retrieves tickers,
|
48
|
+
description: Retrieves tickers, and names for all securities listed on the 3 major US exchanges (NYSE, NASDAQ, AMEX).
|
49
49
|
email: mattw922@gmail.com
|
50
50
|
executables: []
|
51
51
|
|
@@ -67,6 +67,8 @@ files:
|
|
67
67
|
- test/nasd_test_data.csv
|
68
68
|
- test/nyse_test_data.csv
|
69
69
|
- test/test_ticker_fetcher.rb
|
70
|
+
- ticker_fetcher-0.1.0.gem
|
71
|
+
- ticker_fetcher.gemspec
|
70
72
|
has_rdoc: true
|
71
73
|
homepage: http://github.com/whitethunder/ticker_fetcher
|
72
74
|
licenses: []
|