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.
Gemfile gem 'yahoo_stock_splits', '~> 1.0.3'
install gem install yahoo_stock_splits -v 1.0.3