post_haste 1.2 → 1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96a4c2886f29d057214ecfc3da0d93f0861c47f7
4
- data.tar.gz: 1896ee276a2cb6a7ea8b478fbdee3711fa609113
3
+ metadata.gz: fceacfa2cfb2c3d4db0d7a2a3a21f51a18b6e51e
4
+ data.tar.gz: 20731150ab70f3808686f634b3fad97706a732f1
5
5
  SHA512:
6
- metadata.gz: 7d1b91668bf311423b2b17fa6e45ea31e79e5bbf2583a2f7cbb3c7dfab2eec019198af93449ab9fb36204be0e700aa91fc8871204378ac4288a567e0a6b2da82
7
- data.tar.gz: a3fc91fb097dd0791ce2b7e7afff2a9f30ec6f99d44007fa247f8304cc2ef1df7715d3b8f73ca0e2aba367c2e5d43d88f56664c5d270862ef798e9b10deb1acd
6
+ metadata.gz: e2db277cb96dbd01e31294e6e9b1d926506083b3de5d26d58564fda1b738e67db68f82b12e42edf792677260b284f5e66db46ba40557497b0f28b682b5412d0a
7
+ data.tar.gz: fc87e612f37ba5cb25dd2eb4e8e83175c5e9c95f7c5cfc46ce74895d10d7e2196b3ce4ff74653016f1fad424170c52d4ae2981af604f80a47bdf86e075dc7b46
@@ -10,17 +10,17 @@ module PostHaste
10
10
  end
11
11
 
12
12
  def self.all(platform='web', limit=25)
13
- url = "http://js.washingtonpost.com/most-viewed/#{platform}/article,blog.feed-#{limit}.json"
13
+ url = "https://js.washingtonpost.com/most-viewed/#{platform}/article,blog.feed-#{limit}.json"
14
14
  create(HTTParty.get(url).parsed_response, platform, 'all')
15
15
  end
16
16
 
17
17
  def self.articles(platform='web', limit=25)
18
- url = "http://js.washingtonpost.com/most-viewed/#{platform}/article.feed-#{limit}.json"
18
+ url = "https://js.washingtonpost.com/most-viewed/#{platform}/article.feed-#{limit}.json"
19
19
  create(HTTParty.get(url).parsed_response, platform, 'articles')
20
20
  end
21
21
 
22
22
  def self.blogs(platform='web', limit=25)
23
- url = "http://js.washingtonpost.com/most-viewed/#{platform}/blog.feed-#{limit}.json"
23
+ url = "https://js.washingtonpost.com/most-viewed/#{platform}/blog.feed-#{limit}.json"
24
24
  create(HTTParty.get(url).parsed_response, platform, 'blogs')
25
25
  end
26
26
 
@@ -1,3 +1,3 @@
1
1
  module PostHaste
2
- VERSION = "1.2"
2
+ VERSION = "1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: post_haste
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.2'
4
+ version: '1.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Derek Willis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-16 00:00:00.000000000 Z
11
+ date: 2015-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty