feedlr 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +3 -0
- data/.travis.yml +22 -0
- data/.yardopts +5 -0
- data/Gemfile +32 -0
- data/Guardfile +7 -0
- data/LICENSE.md +16 -0
- data/README.md +85 -0
- data/Rakefile +10 -0
- data/feedlr.gemspec +27 -0
- data/lib/feedlr.rb +34 -0
- data/lib/feedlr/base.rb +4 -0
- data/lib/feedlr/client.rb +60 -0
- data/lib/feedlr/collection.rb +15 -0
- data/lib/feedlr/error.rb +79 -0
- data/lib/feedlr/gateway/categories.rb +36 -0
- data/lib/feedlr/gateway/entries.rb +40 -0
- data/lib/feedlr/gateway/evernote.rb +37 -0
- data/lib/feedlr/gateway/facebook.rb +28 -0
- data/lib/feedlr/gateway/feeds.rb +26 -0
- data/lib/feedlr/gateway/markers.rb +195 -0
- data/lib/feedlr/gateway/microsoft.rb +30 -0
- data/lib/feedlr/gateway/mixes.rb +29 -0
- data/lib/feedlr/gateway/opml.rb +26 -0
- data/lib/feedlr/gateway/preferences.rb +25 -0
- data/lib/feedlr/gateway/profile.rb +25 -0
- data/lib/feedlr/gateway/search.rb +41 -0
- data/lib/feedlr/gateway/shorten.rb +17 -0
- data/lib/feedlr/gateway/streams.rb +42 -0
- data/lib/feedlr/gateway/subscriptions.rb +43 -0
- data/lib/feedlr/gateway/tags.rb +88 -0
- data/lib/feedlr/gateway/topics.rb +43 -0
- data/lib/feedlr/gateway/twitter.rb +29 -0
- data/lib/feedlr/mapper.rb +25 -0
- data/lib/feedlr/rate_limit.rb +21 -0
- data/lib/feedlr/request.rb +148 -0
- data/lib/feedlr/success.rb +5 -0
- data/lib/feedlr/version.rb +15 -0
- data/spec/cassettes/Feedlr_Gateway_Categories/_change_category_label/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Categories/_delete_category/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Categories/_user_categories/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Entries/_add_entry/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Entries/_user_entries/resoponds_with_hashie_object.yml +337 -0
- data/spec/cassettes/Feedlr_Gateway_Evernote/_add_to_evernote/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Evernote/_evernote_notebooks/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Evernote/_unlink_evernote/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Facebook/_facebook_suggestions/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Facebook/_unlink_facebook/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Feeds/_feeds/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_lastest_tagged_entries/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_articles_as_read/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_articles_as_unread/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_categories_as_read/with_asOf_param/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_categories_as_read/with_lastReadEntryId_param/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_feeds_as_read/with_asOf_param/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_mark_feeds_as_read/with_lastReadEntryId_param/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_sync_read_counts/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_undo_mark_categories_as_read/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_undo_mark_feeds_as_read/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Markers/_user_unread_counts/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Microsoft/_add_to_onenote/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Microsoft/_unlink_microsoft/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Mixes/_stream_most_engaging/resoponds_with_hashie_object.yml +102 -0
- data/spec/cassettes/Feedlr_Gateway_Opml/_import_opml/resoponds_with_hashie_object.yml +63 -0
- data/spec/cassettes/Feedlr_Gateway_Opml/_user_opml/resoponds_with_hashie_object.yml +80 -0
- data/spec/cassettes/Feedlr_Gateway_Preferences/_preferences/resoponds_with_hashie_object.yml +52 -0
- data/spec/cassettes/Feedlr_Gateway_Preferences/_update_preferences/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Profile/_get_profile/resoponds_with_hashie_object.yml +54 -0
- data/spec/cassettes/Feedlr_Gateway_Profile/_profile/resoponds_with_hashie_object.yml +54 -0
- data/spec/cassettes/Feedlr_Gateway_Profile/_update_profile/resoponds_with_hashie_object.yml +54 -0
- data/spec/cassettes/Feedlr_Gateway_Search/_search_feeds/resoponds_with_hashie_object.yml +303 -0
- data/spec/cassettes/Feedlr_Gateway_Search/_search_stream/resoponds_with_hashie_object.yml +1941 -0
- data/spec/cassettes/Feedlr_Gateway_Shorten/_shorten/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Streams/_stream_entries_contents/resoponds_with_hashie_object.yml +1150 -0
- data/spec/cassettes/Feedlr_Gateway_Streams/_stream_entries_ids/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_add_subscription/resoponds_with_hashie_object.yml +53 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_create_subscription/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_delete_subscription/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_update_subscription/resoponds_with_hashie_object.yml +51 -0
- data/spec/cassettes/Feedlr_Gateway_Subscriptions/_user_subscriptions/resoponds_with_hashie_object.yml +57 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_change_tag_label/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_delete_tags/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_get_tags/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_tag_entries/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_untag_entries/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Tags/_user_tags/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Topics/_add_topic/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Topics/_delete_topic/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Topics/_update_topic/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Topics/_user_topics/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Twitter/_twitter_suggestions/resoponds_with_hashie_object.yml +50 -0
- data/spec/cassettes/Feedlr_Gateway_Twitter/_unlink_twitter/resoponds_with_hashie_object.yml +50 -0
- data/spec/feedly/base_spec.rb +10 -0
- data/spec/feedly/client_spec.rb +49 -0
- data/spec/feedly/collection_spec.rb +21 -0
- data/spec/feedly/error_spec.rb +59 -0
- data/spec/feedly/feedly_spec.rb +54 -0
- data/spec/feedly/gateway/categories_spec.rb +59 -0
- data/spec/feedly/gateway/entries_spec.rb +67 -0
- data/spec/feedly/gateway/evernote_spec.rb +60 -0
- data/spec/feedly/gateway/facebook_spec.rb +36 -0
- data/spec/feedly/gateway/feeds_spec.rb +36 -0
- data/spec/feedly/gateway/markers_spec.rb +295 -0
- data/spec/feedly/gateway/microsoft_spec.rb +40 -0
- data/spec/feedly/gateway/mixes_spec.rb +27 -0
- data/spec/feedly/gateway/opml_spec.rb +57 -0
- data/spec/feedly/gateway/preferences_spec.rb +41 -0
- data/spec/feedly/gateway/profile_spec.rb +40 -0
- data/spec/feedly/gateway/search_spec.rb +43 -0
- data/spec/feedly/gateway/shorten_spec.rb +27 -0
- data/spec/feedly/gateway/streams_spec.rb +44 -0
- data/spec/feedly/gateway/subscriptions_spec.rb +87 -0
- data/spec/feedly/gateway/tags_spec.rb +129 -0
- data/spec/feedly/gateway/topics_spec.rb +77 -0
- data/spec/feedly/gateway/twitter_spec.rb +37 -0
- data/spec/feedly/mapper_spec.rb +25 -0
- data/spec/feedly/rate_limit_spec.rb +41 -0
- data/spec/feedly/request_spec.rb +74 -0
- data/spec/feedly/success_spec.rb +7 -0
- data/spec/feedly/version_spec.rb +9 -0
- data/spec/helper.rb +52 -0
- metadata +319 -0
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://sandbox.feedly.com/v3/evernote/note
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"notebookName":"feedly notebook","comment":"user comment","url":"http://techcrunch.com/2014/03/05/evernote-adds-handwriting-to-its-android-app/","notebookType":"personal","notebookGuid":"bc1815a0-0a56-46aa-9dca-4c8a53a4eb42","tags":["tag1","tag2"]}'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Feedly Ruby Gem 0.1.0
|
16
|
+
Authorization:
|
17
|
+
- OAuth _oauth_access_token_
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Last-Modified:
|
26
|
+
- Fri May 23 07:09:14 PDT 2014
|
27
|
+
Cache-Control:
|
28
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Ratelimit-Count:
|
32
|
+
- '2512'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '3547'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- application/json;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '2'
|
41
|
+
Date:
|
42
|
+
- Fri, 23 May 2014 14:09:17 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '{}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Fri, 23 May 2014 14:11:12 GMT
|
50
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/Feedlr_Gateway_Evernote/_evernote_notebooks/resoponds_with_hashie_object.yml
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://sandbox.feedly.com/v3/evernote/notebooks
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Feedly Ruby Gem 0.1.0
|
16
|
+
Authorization:
|
17
|
+
- OAuth _oauth_access_token_
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Last-Modified:
|
26
|
+
- Sun May 25 06:27:42 PDT 2014
|
27
|
+
Cache-Control:
|
28
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Ratelimit-Count:
|
32
|
+
- '3834'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '84'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- application/json;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '105'
|
41
|
+
Date:
|
42
|
+
- Sun, 25 May 2014 13:27:42 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '{"notebooks":[{"guid":"8fcf3dd9-b1ec-4706-ae83-ad9235513f87","name":"First
|
48
|
+
Notebook","type":"personal"}]}'
|
49
|
+
http_version:
|
50
|
+
recorded_at: Sun, 25 May 2014 13:29:43 GMT
|
51
|
+
recorded_with: VCR 2.9.1
|
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: http://sandbox.feedly.com/v3/evernote/auth
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Feedly Ruby Gem 0.1.0
|
16
|
+
Authorization:
|
17
|
+
- OAuth _oauth_access_token_
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Last-Modified:
|
26
|
+
- Tue May 20 20:19:26 PDT 2014
|
27
|
+
Cache-Control:
|
28
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Ratelimit-Count:
|
32
|
+
- '1485'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '14'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- application/json;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '0'
|
41
|
+
Date:
|
42
|
+
- Wed, 21 May 2014 03:19:26 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: ''
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 21 May 2014 03:21:15 GMT
|
50
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/Feedlr_Gateway_Facebook/_facebook_suggestions/resoponds_with_hashie_object.yml
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://sandbox.feedly.com/v3/facebook/suggestions
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Feedly Ruby Gem 0.1.0
|
16
|
+
Authorization:
|
17
|
+
- OAuth _oauth_access_token_
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Last-Modified:
|
26
|
+
- Tue May 20 02:10:19 PDT 2014
|
27
|
+
Cache-Control:
|
28
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Ratelimit-Count:
|
32
|
+
- '2520'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '169'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- application/json;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '30'
|
41
|
+
Date:
|
42
|
+
- Tue, 20 May 2014 09:10:20 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"facebookUserId":"620435209"}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Tue, 20 May 2014 09:12:07 GMT
|
52
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: http://sandbox.feedly.com/v3/facebook/auth
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Feedly Ruby Gem 0.1.0
|
16
|
+
Authorization:
|
17
|
+
- OAuth _oauth_access_token_
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Last-Modified:
|
26
|
+
- Tue May 20 20:24:16 PDT 2014
|
27
|
+
Cache-Control:
|
28
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Ratelimit-Count:
|
32
|
+
- '1485'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '2'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- application/json;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '0'
|
41
|
+
Date:
|
42
|
+
- Wed, 21 May 2014 03:24:16 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: ''
|
48
|
+
http_version:
|
49
|
+
recorded_at: Wed, 21 May 2014 03:26:05 GMT
|
50
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://sandbox.feedly.com/v3/feeds/.mget
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '["feed/http://feeds.engadget.com/weblogsinc/engadget","feed/http://www.yatzer.com/feed/index.php"]'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Faraday v0.9.0
|
16
|
+
Accept-Encoding:
|
17
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
18
|
+
response:
|
19
|
+
status:
|
20
|
+
code: 200
|
21
|
+
message: OK
|
22
|
+
headers:
|
23
|
+
Last-Modified:
|
24
|
+
- Sun May 18 03:32:51 PDT 2014
|
25
|
+
Cache-Control:
|
26
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
29
|
+
X-Feedly-Processing-Time:
|
30
|
+
- '1'
|
31
|
+
X-Feedly-Server:
|
32
|
+
- sandbox-he
|
33
|
+
Content-Type:
|
34
|
+
- application/json;charset=UTF-8
|
35
|
+
Vary:
|
36
|
+
- Accept-Encoding
|
37
|
+
Date:
|
38
|
+
- Sun, 18 May 2014 10:32:51 GMT
|
39
|
+
Server:
|
40
|
+
- feedlyServer/1.1
|
41
|
+
Connection:
|
42
|
+
- close
|
43
|
+
body:
|
44
|
+
encoding: UTF-8
|
45
|
+
string: '[{"id":"feed/http://feeds.engadget.com/weblogsinc/engadget","feedId":"feed/http://feeds.engadget.com/weblogsinc/engadget","title":"Engadget
|
46
|
+
RSS Feed","velocity":261.3,"subscribers":4,"language":"en","website":"http://www.engadget.com","description":"Engadget"},{"id":"feed/http://www.yatzer.com/feed/index.php","feedId":"feed/http://www.yatzer.com/feed/index.php","title":"Feed
|
47
|
+
- Yatzer.com","velocity":5.8,"subscribers":5,"language":"en","website":"http://www.yatzer.com","description":"Latest
|
48
|
+
Articles @ Yatzer.com"}]'
|
49
|
+
http_version:
|
50
|
+
recorded_at: Sun, 18 May 2014 10:34:32 GMT
|
51
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/Feedlr_Gateway_Markers/_lastest_tagged_entries/resoponds_with_hashie_object.yml
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://sandbox.feedly.com/v3/markers/tags?newerThan=1400876097
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
User-Agent:
|
15
|
+
- Feedly Ruby Gem 0.1.0
|
16
|
+
Authorization:
|
17
|
+
- OAuth _oauth_access_token_
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Last-Modified:
|
26
|
+
- Sat May 24 13:14:59 PDT 2014
|
27
|
+
Cache-Control:
|
28
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Ratelimit-Count:
|
32
|
+
- '3296'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '6'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- application/json;charset=UTF-8
|
39
|
+
Transfer-Encoding:
|
40
|
+
- chunked
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Date:
|
44
|
+
- Sat, 24 May 2014 20:14:59 GMT
|
45
|
+
Server:
|
46
|
+
- feedlyServer/1.1
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"taggedEntries":{"user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/tag/google":["PSNTZO8gXFUe+cpCZyApw0vEKWPT4b14D6teBEocIAE=_14606fa9138:1a538:ac33133c"],"user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/tag/Mobile":["+hU+Be0MOgb6WHAxbp8odTG2WhCSf28bbdoVLhFTa14=_1462ccda2c7:69b:4436cee5"]}}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Sat, 24 May 2014 20:16:58 GMT
|
52
|
+
recorded_with: VCR 2.9.1
|
data/spec/cassettes/Feedlr_Gateway_Markers/_mark_articles_as_read/resoponds_with_hashie_object.yml
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://sandbox.feedly.com/v3/markers
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"entryIds":["qXKMwD+H9w7rc42rGNxj3U1BuAKE5TpW1EZAANkzhmk=_145e2cb3a50:2c3:592195db","qXKMwD+H9w7rc42rGNxj3U1BuAKE5TpW1EZAANkzhmk=_145b9cdf580:544:7f4ba42e"],"action":"markAsRead","type":"entries"}'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Authorization:
|
15
|
+
- OAuth _oauth_access_token_
|
16
|
+
User-Agent:
|
17
|
+
- Faraday v0.9.0
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Last-Modified:
|
26
|
+
- Sat May 17 05:37:48 PDT 2014
|
27
|
+
Cache-Control:
|
28
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Ratelimit-Count:
|
32
|
+
- '4248'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '310'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- text/plain;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '0'
|
41
|
+
Date:
|
42
|
+
- Sat, 17 May 2014 12:37:47 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: ''
|
48
|
+
http_version:
|
49
|
+
recorded_at: Sat, 17 May 2014 12:39:26 GMT
|
50
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/Feedlr_Gateway_Markers/_mark_articles_as_unread/resoponds_with_hashie_object.yml
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://sandbox.feedly.com/v3/markers
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"entryIds":["qXKMwD+H9w7rc42rGNxj3U1BuAKE5TpW1EZAANkzhmk=_145e2cb3a50:2c3:592195db","qXKMwD+H9w7rc42rGNxj3U1BuAKE5TpW1EZAANkzhmk=_145b9cdf580:544:7f4ba42e"],"action":"keepUnread","type":"entries"}'
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- application/json
|
14
|
+
Authorization:
|
15
|
+
- OAuth _oauth_access_token_
|
16
|
+
User-Agent:
|
17
|
+
- Faraday v0.9.0
|
18
|
+
Accept-Encoding:
|
19
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
20
|
+
response:
|
21
|
+
status:
|
22
|
+
code: 200
|
23
|
+
message: OK
|
24
|
+
headers:
|
25
|
+
Last-Modified:
|
26
|
+
- Sat May 17 05:37:57 PDT 2014
|
27
|
+
Cache-Control:
|
28
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
29
|
+
Pragma:
|
30
|
+
- no-cache
|
31
|
+
X-Ratelimit-Count:
|
32
|
+
- '4248'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '335'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- text/plain;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '0'
|
41
|
+
Date:
|
42
|
+
- Sat, 17 May 2014 12:37:57 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: ''
|
48
|
+
http_version:
|
49
|
+
recorded_at: Sat, 17 May 2014 12:39:35 GMT
|
50
|
+
recorded_with: VCR 2.9.0
|