statement 1.9.8 → 1.9.9
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: b7585e5c311f08f415b5dd857db4a3868757e525
|
4
|
+
data.tar.gz: 335ef89e72907c1867c3edbeb0913f027879cc39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9c134ef362bfebf125f1f52e53ffe2c89dcd5b42eb6c58fb790489c9cc2f2d0b5460aacf2827ed1c4752b60172458c0dd848d01a0d10823dd8a83a57bf82484
|
7
|
+
data.tar.gz: 390ae95ce5433578b9a761373f32ae77e98b5ba9e8a75f1677ae2e7d144c192eb2a68ad4b29328e3b61aa98aa716f343902cf987fb34482010379c328f3e843c
|
data/lib/statement/scraper.rb
CHANGED
@@ -320,7 +320,7 @@ module Statement
|
|
320
320
|
date_text, title = row.children.map{|c| c.text.strip}.reject{|c| c.empty?}
|
321
321
|
next if date_text == 'Date' or date_text.size > 10
|
322
322
|
date = Date.parse(date_text)
|
323
|
-
|
323
|
+
results << { :source => url, :url => row.children[3].children.first['href'], :title => title, :date => date, :domain => domain }
|
324
324
|
end
|
325
325
|
end
|
326
326
|
results.flatten
|
data/lib/statement/version.rb
CHANGED