statement 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -413,7 +413,7 @@ module Statement
413
413
  doc = open_html(url)
414
414
  return if doc.nil?
415
415
  doc.xpath("//li")[7..-1].each do |row|
416
- results << { :source => url, :url => "http://"+domain + row.children[3].children[1].children[4].children[0]['href'], :title => row.children[3].children[1].children[4].text, :date => Date.strptime(row.children[3].children[1].children[0].text, "%m/%d/%y"), :domain => domain}
416
+ results << { :source => url, :url => "http://"+domain+'/public/'+row.children[3].children[1].children[4].children[0]['href'], :title => row.children[3].children[1].children[4].text, :date => Date.strptime(row.children[3].children[1].children[0].text, "%m/%d/%y"), :domain => domain}
417
417
  end
418
418
  results
419
419
  end
@@ -1,3 +1,3 @@
1
1
  module Statement
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: statement
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 4
10
- version: 1.0.4
9
+ - 5
10
+ version: 1.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Derek Willis