top-headlines 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/top-headlines/source.rb +3 -3
- data/lib/top-headlines/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f07a88ecedef24a95df52524e489fc2d34868a8d
|
4
|
+
data.tar.gz: 78c94485d8e99c79a27b878859c196e77998cf0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46597162661bf8d02342cf0a0d064cf0dd0de67ad6c65c48c41dbbeec241a19dacba5db8dbd32c4c4a81bcbbe1d759e4bac8fa23759ded5bbe07a085476bb44e
|
7
|
+
data.tar.gz: bd1d760b9374cd6393939751e77c4d16cd62fd3d6d7e388ae380f22953710cd538766463f918bfef2d542eef2316f044e96655467a9372b251206e3867934bf5
|
data/lib/top-headlines/source.rb
CHANGED
@@ -32,15 +32,15 @@ class TopHeadlines::Source
|
|
32
32
|
child_selector: "a"
|
33
33
|
},
|
34
34
|
"GUARDIAN" => {
|
35
|
-
url: "
|
35
|
+
url: "https://www.theguardian.com/us",
|
36
36
|
headlines_selector: "section#headlines div.fc-container__inner div.fc-item__container a.u-faux-block-link__overlay.js-headline-text",
|
37
37
|
urls_selector: "section#headlines div.fc-container__inner div.fc-item__container",
|
38
38
|
child_selector: "a.u-faux-block-link__overlay.js-headline-text"
|
39
39
|
},
|
40
40
|
"HUFF POST" => {
|
41
41
|
url: "http://www.huffingtonpost.com/",
|
42
|
-
headlines_selector: "
|
43
|
-
urls_selector: "
|
42
|
+
headlines_selector: "h2[class*='js-card-headline']",
|
43
|
+
urls_selector: "h2[class*='js-card-headline']",
|
44
44
|
child_selector: "a"
|
45
45
|
},
|
46
46
|
"FORBES" => {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: top-headlines
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Newburgh
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|