ystock 0.2.3 → 0.2.4

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.
Files changed (4) hide show
  1. data/Rakefile +1 -1
  2. data/lib/ystock.rb +1 -1
  3. data/ystock.gemspec +1 -1
  4. metadata +1 -1
data/Rakefile CHANGED
@@ -2,7 +2,7 @@
2
2
  require 'rubygems'
3
3
  require 'rake'
4
4
  require 'echoe'
5
- Echoe.new('ystock', '0.2.3') do |p|
5
+ Echoe.new('ystock', '0.2.4') do |p|
6
6
  p.description = "Get stock information from Yahoo Finance"
7
7
  p.url = "http://github.com/gregwinn/ystock"
8
8
  p.author = "Greg Winn"
data/lib/ystock.rb CHANGED
@@ -18,7 +18,7 @@ module Ystock
18
18
  @@service_uri = "http://download.finance.yahoo.com/d/quotes.csv"
19
19
 
20
20
  # Ystock.find(['stock', 'stock'])
21
- def find(args)
21
+ def self.find(args)
22
22
  output = Array.new
23
23
  args.each do |stock|
24
24
  s = send_request(stock.to_s)
data/ystock.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ystock}
5
- s.version = "0.2.3"
5
+ s.version = "0.2.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Greg Winn"]
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ystock
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.3
5
+ version: 0.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Greg Winn