ticker_fetcher 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,3 @@
1
- require 'ticker_fetcher/retriever'
2
-
3
1
  module TickerFetcher
4
2
  class Stock
5
3
  attr_reader :symbol, :name, :last_sale, :market_cap, :ipo_year, :sector, :industry
@@ -0,0 +1,5 @@
1
+ require 'ticker_fetcher/retriever'
2
+ require 'ticker_fetcher/stock'
3
+
4
+ module TickerFetcher
5
+ end
@@ -1,17 +1,18 @@
1
1
  # -*- encoding: utf-8 -*-
2
+ #$:.push File.expand_path("../lib", __FILE__)
2
3
 
3
4
  Gem::Specification.new do |s|
4
5
  s.name = "ticker_fetcher"
5
- s.version = "0.4.0"
6
+ s.version = "0.4.1"
6
7
  s.authors = ["Matt White"]
7
- s.email = %q{mattw922@gmail.com}
8
- s.homepage = %q{http://github.com/whitethunder/ticker_fetcher}
9
- s.summary = %q{Fetches all tickers and other useful data for NYSE, NASDAQ, and AMEX exchanges.}
10
- s.description = %q{Retrieves tickers, names, and other useful data for all stocks listed on the 3 major US exchanges (NYSE, NASDAQ, AMEX).}
8
+ s.email = ["mattw922@gmail.com"]
9
+ s.homepage = "http://github.com/whitethunder/ticker_fetcher"
10
+ s.summary = "Fetches all tickers and other useful data for NYSE, NASDAQ, and AMEX exchanges."
11
+ s.description = "Retrieves tickers, names, and other useful data for all stocks listed on the 3 major US exchanges (NYSE, NASDAQ, AMEX)."
11
12
  s.files = `git ls-files`.split("\n")
12
- s.test_files = `git ls-files -- {test}/*`.split("\n")
13
+ s.test_files = `git ls-files -- test/*`.split("\n")
13
14
  s.require_paths = ["lib"]
14
15
 
15
- s.add_development_dependency(%q{fakeweb}, [">= 1.3.0"])
16
+ s.add_development_dependency("fakeweb")
16
17
  end
17
18
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ticker_fetcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,18 +13,19 @@ date: 2011-08-12 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fakeweb
16
- requirement: &80580980 !ruby/object:Gem::Requirement
16
+ requirement: &70297240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 1.3.0
21
+ version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *80580980
24
+ version_requirements: *70297240
25
25
  description: Retrieves tickers, names, and other useful data for all stocks listed
26
26
  on the 3 major US exchanges (NYSE, NASDAQ, AMEX).
27
- email: mattw922@gmail.com
27
+ email:
28
+ - mattw922@gmail.com
28
29
  executables: []
29
30
  extensions: []
30
31
  extra_rdoc_files: []
@@ -37,6 +38,7 @@ files:
37
38
  - LICENSE
38
39
  - README.rdoc
39
40
  - Rakefile
41
+ - lib/ticker_fetcher.rb
40
42
  - lib/ticker_fetcher/retriever.rb
41
43
  - lib/ticker_fetcher/stock.rb
42
44
  - test/amex_test_data.csv
@@ -70,4 +72,10 @@ rubygems_version: 1.8.6
70
72
  signing_key:
71
73
  specification_version: 3
72
74
  summary: Fetches all tickers and other useful data for NYSE, NASDAQ, and AMEX exchanges.
73
- test_files: []
75
+ test_files:
76
+ - test/amex_test_data.csv
77
+ - test/helper.rb
78
+ - test/nasd_test_data.csv
79
+ - test/nyse_test_data.csv
80
+ - test/test_retriever.rb
81
+ - test/test_stock.rb