nas-yahoo_stock 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -21,3 +21,8 @@
21
21
  * 2 changes related with ruby 1.9:
22
22
  * modifies quote class to be compatible with ruby 1.9
23
23
  * modifies interface class to be compatible with 1.9
24
+
25
+ === 0.1.5 2009-09-06
26
+
27
+ * 1 changes related with ruby 1.9:
28
+ * modifies ScripSymbol class to be compatible with ruby 1.9
@@ -52,8 +52,8 @@ module YahooStock
52
52
  row_data = []
53
53
  cells.each_with_index do |cell, cell_i|
54
54
  datum = cell.sub('</a>','').gsub(/\<.*\>/,'')
55
- row_data << datum if !datum.nil? || !datum.any?
56
- row_data.reject!{|rd| !rd.any?}
55
+ row_data << datum if !datum.nil? || datum.empty?
56
+ row_data.reject!{|rd| rd.empty?}
57
57
  end
58
58
  data << row_data if row_data.length > 1
59
59
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nas-yahoo_stock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nasir Jamal
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-31 00:00:00 -07:00
12
+ date: 2009-09-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency