top-headlines 0.2.5 → 0.2.6

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0334f3fa831ed7ef17730cf2adc2383409734222
4
- data.tar.gz: 2ed2eac7d54250078b58334516312e517cd33668
3
+ metadata.gz: f07a88ecedef24a95df52524e489fc2d34868a8d
4
+ data.tar.gz: 78c94485d8e99c79a27b878859c196e77998cf0e
5
5
  SHA512:
6
- metadata.gz: 1be10fc88277f4847a4b3d16625cb384a8678e5ca40aa0cfe291ad41ea189bd36dcdc3283b9833bdc40c33a029a8ef5b53ec1fe39baa889e087ad94b552f45be
7
- data.tar.gz: 9b633e5e95e5b37b9f016024f3b91873e196bbace88c6adabeffd6ce92b6249e5bc93f5f51ad674b1fd95156ba52d76ade0def16167a490c399270fe5cc7f6a5
6
+ metadata.gz: 46597162661bf8d02342cf0a0d064cf0dd0de67ad6c65c48c41dbbeec241a19dacba5db8dbd32c4c4a81bcbbe1d759e4bac8fa23759ded5bbe07a085476bb44e
7
+ data.tar.gz: bd1d760b9374cd6393939751e77c4d16cd62fd3d6d7e388ae380f22953710cd538766463f918bfef2d542eef2316f044e96655467a9372b251206e3867934bf5
@@ -32,15 +32,15 @@ class TopHeadlines::Source
32
32
  child_selector: "a"
33
33
  },
34
34
  "GUARDIAN" => {
35
- url: "http://www.theguardian.com/us",
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: "div#center_entries_container h2 a",
43
- urls_selector: "div#center_entries_container h2",
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" => {
@@ -1,3 +1,3 @@
1
1
  module TopHeadlines
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
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.5
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-05-31 00:00:00.000000000 Z
11
+ date: 2016-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler