statement 1.8 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/statement/scraper.rb +1 -1
- data/lib/statement/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5c984ab9de141e318bb79d62f9426565626bbf0
|
4
|
+
data.tar.gz: 93e33b9da5548f6c765a85f0ac73b5becfddcd6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cb295574961e7afa38ab5e5d5f894c19a06f7b19f743d1b9d7561d3e930c341b94d3960b6dc71eaa74fff2308520b6c07f4b9967bf1632448a0a19ef43e5157
|
7
|
+
data.tar.gz: 53d79f12a6e7fb788069ee45bab96c693043ca9030b202cec925f47b45a18abd82e6e22a1b2376b0a72d98babc9e5265eaec3cdccc437c31eaaf031af22ae17d
|
data/lib/statement/scraper.rb
CHANGED
@@ -544,7 +544,7 @@ module Statement
|
|
544
544
|
link = "http://"+domain.keys.first+"/news/" + row.children[1]['href']
|
545
545
|
title = row.children[1].text.strip
|
546
546
|
date = Date.parse(row.children[3].text.strip)
|
547
|
-
results << { :source => "http://"+domain.keys.first+"/news/"+"documentquery.aspx?DocumentTypeID=#{domain.values.first}&Page=#{page}", :title => title, :url => link, :date => date, :domain => domain }
|
547
|
+
results << { :source => "http://"+domain.keys.first+"/news/"+"documentquery.aspx?DocumentTypeID=#{domain.values.first}&Page=#{page}", :title => title, :url => link, :date => date, :domain => domain.keys.first }
|
548
548
|
end
|
549
549
|
end
|
550
550
|
results.flatten
|
data/lib/statement/version.rb
CHANGED