statement 0.7 → 0.7.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,3 +1,3 @@
1
1
  module Statement
2
- VERSION = "0.7"
2
+ VERSION = "0.7.1"
3
3
  end
data/lib/statement.rb CHANGED
@@ -293,6 +293,7 @@ module Statement
293
293
  doc = open_html(url)
294
294
  return if doc.nil?
295
295
  doc.xpath("//tr")[1..-1].each do |row|
296
+ next if row.text.strip.size < 30
296
297
  results << { :source => url, :url => row.children[2].children[0]['href'].strip, :title => row.children[2].text, :date => Date.parse(row.children[0].text), :domain => domain}
297
298
  end
298
299
  results
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statement
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.7'
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -129,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
129
129
  version: '0'
130
130
  segments:
131
131
  - 0
132
- hash: 3428073218065646458
132
+ hash: 4139166016064656408
133
133
  required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  none: false
135
135
  requirements:
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  version: '0'
139
139
  segments:
140
140
  - 0
141
- hash: 3428073218065646458
141
+ hash: 4139166016064656408
142
142
  requirements: []
143
143
  rubyforge_project:
144
144
  rubygems_version: 1.8.24