-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathyahoo_stock_splits.gemspec
28 lines (22 loc) · 1.09 KB
/
yahoo_stock_splits.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "yahoo_stock_splits/version"
Gem::Specification.new do |s|
s.name = "yahoo_stock_splits"
s.version = YahooStockSplits::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Javier Vidal"]
s.email = ["zanaguara@gmail.com"]
s.homepage = "https://github.com/javiervidal/yahoo_stock_splits"
s.summary = %q{Retrieve stock splits from Yahoo! Finance}
s.description = <<END_OF_DESC
yahoo_stock_splits retrieves stock splits from Yahoo! Finance. Split information is not available via CSV download, so this gem scraps the basic chart page of the desired stock.
It returns an array of arrays that contain the date, post split shares, and pre split shares, in that order.
END_OF_DESC
s.rubyforge_project = "yahoo_stock_splits"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_dependency('nokogiri')
end