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
data/spec/cassettes/Feedlr_Gateway_Microsoft/_unlink_microsoft/resoponds_with_hashie_object.yml
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: delete
|
5
|
+
uri: http://sandbox.feedly.com/v3/microsoft/liveAuth
|
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:51 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
|
+
- '3'
|
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:50 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:41 GMT
|
50
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/Feedlr_Gateway_Mixes/_stream_most_engaging/resoponds_with_hashie_object.yml
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://sandbox.feedly.com/v3/mixes/contents?count=30&streamId=user/96cc52b7-a17f-4ce0-9b38-de1b6f08f156/category/Entreprenuership
|
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 18 18:44:55 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
|
+
- '3747'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '5'
|
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
|
+
- Mon, 19 May 2014 01:44:55 GMT
|
45
|
+
Server:
|
46
|
+
- feedlyServer/1.1
|
47
|
+
body:
|
48
|
+
encoding: ASCII-8BIT
|
49
|
+
string: !binary |-
|
50
|
+
eyJpZCI6InVzZXIvOTZjYzUyYjctYTE3Zi00Y2UwLTliMzgtZGUxYjZmMDhm
|
51
|
+
MTU2L2NhdGVnb3J5L0VudHJlcHJlbnVlcnNoaXAiLCJpdGVtcyI6W3siaWQi
|
52
|
+
OiJxWEtNd0QrSDl3N3JjNDJyR054ajNVMUJ1QUtFNVRwVzFFWkFBTmt6aG1r
|
53
|
+
PV8xNDYwNTU3MzM4Yzo3MWQwOmFlYzYwYmM5Iiwib3JpZ2luSWQiOiJodHRw
|
54
|
+
Oi8vdGVjaHBhZ2VvbmUuZGVsbC5jb20vP3A9NDU1NjIiLCJmaW5nZXJwcmlu
|
55
|
+
dCI6IjM1ZDM5ZGIwIiwia2V5d29yZHMiOlsiRG93bnRpbWUiLCJFbnRyZXBy
|
56
|
+
ZW5ldXJzaGlwIiwiR2FkZ2V0cyAmIERldmljZXMiLCIzRCBwcmludGluZyIs
|
57
|
+
IkJ1c2luZXNzIiwiR3JhY2UgQ2hv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|
+
YVlZLyIsInR5cGUiOiJ0ZXh0L2h0bWwifV0sImF1dGhvciI6IkN1cmF0ZWQg
|
89
|
+
YnkgVGVjaCBQYWdlIE9uZSIsImNyYXdsZWQiOjE0MDAyNDg5Mzk0MDQsInB1
|
90
|
+
Ymxpc2hlZCI6MTQwMDI0ODg0MTAwMCwib3JpZ2luIjp7Imh0bWxVcmwiOiJo
|
91
|
+
dHRwOi8vdGVjaHBhZ2VvbmUuZGVsbC5jb20iLCJzdHJlYW1JZCI6ImZlZWQv
|
92
|
+
aHR0cDovL2ZlZWRzLmZlZWRidXJuZXIuY29tL1RlY2hQYWdlT25lRW50cmVw
|
93
|
+
cmVuZXVycyIsInRpdGxlIjoiVGVjaCBQYWdlIE9uZSDCuyBFbnRyZXByZW5l
|
94
|
+
dXJzaGlwIn0sInVucmVhZCI6ZmFsc2UsImNhdGVnb3JpZXMiOlt7ImlkIjoi
|
95
|
+
dXNlci85NmNjNTJiNy1hMTdmLTRjZTAtOWIzOC1kZTFiNmYwOGYxNTYvY2F0
|
96
|
+
ZWdvcnkvRW50cmVwcmVudWVyc2hpcCIsImxhYmVsIjoiRW50cmVwcmVudWVy
|
97
|
+
c2hpcCJ9XSwidGFncyI6W3siaWQiOiJ1c2VyLzk2Y2M1MmI3LWExN2YtNGNl
|
98
|
+
MC05YjM4LWRlMWI2ZjA4ZjE1Ni90YWcvZ2xvYmFsLnJlYWQiLCJsYWJlbCI6
|
99
|
+
Imdsb2JhbC5yZWFkIn1dfV19
|
100
|
+
http_version:
|
101
|
+
recorded_at: Mon, 19 May 2014 01:46:38 GMT
|
102
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,63 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://sandbox.feedly.com/v3/opml
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |2-
|
9
|
+
|
10
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
11
|
+
<opml version="1.0">
|
12
|
+
<body>
|
13
|
+
<outline title="MY" icon="">
|
14
|
+
<outline title="Coding Horror" type="rss" xmlUrl="http://feeds.feedburner.com/codinghorror" htmlUrl="http://www.codinghorror.com/blog/"/>
|
15
|
+
<outline title="Git Ready" type="rss" xmlUrl="http://feeds.feedburner.com/git-ready" htmlUrl="http://gitready.com/"/>
|
16
|
+
<outline title="PragDave" type="rss" xmlUrl="http://pragdave.blogs.pragprog.com/pragdave/atom.xml" htmlUrl="http://pragdave.blogs.pragprog.com/pragdave/"/>
|
17
|
+
</outline>
|
18
|
+
</body>
|
19
|
+
</opml>
|
20
|
+
headers:
|
21
|
+
Accept:
|
22
|
+
- application/json
|
23
|
+
Content-Type:
|
24
|
+
- text/xml
|
25
|
+
User-Agent:
|
26
|
+
- Feedly Ruby Gem 0.1.0
|
27
|
+
Authorization:
|
28
|
+
- OAuth _oauth_access_token_
|
29
|
+
Accept-Encoding:
|
30
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
31
|
+
response:
|
32
|
+
status:
|
33
|
+
code: 200
|
34
|
+
message: OK
|
35
|
+
headers:
|
36
|
+
Last-Modified:
|
37
|
+
- Mon May 19 11:51:09 PDT 2014
|
38
|
+
Cache-Control:
|
39
|
+
- no-store, no-cache, must-revalidate, max-age=0, post-check=0, pre-check=0
|
40
|
+
Pragma:
|
41
|
+
- no-cache
|
42
|
+
X-Ratelimit-Count:
|
43
|
+
- '4099'
|
44
|
+
Content-Disposition:
|
45
|
+
- attachment; filename="feedly.opml"
|
46
|
+
X-Feedly-Processing-Time:
|
47
|
+
- '419'
|
48
|
+
X-Feedly-Server:
|
49
|
+
- sandbox-he
|
50
|
+
Content-Type:
|
51
|
+
- text/xml;charset=UTF-8
|
52
|
+
Content-Length:
|
53
|
+
- '0'
|
54
|
+
Date:
|
55
|
+
- Mon, 19 May 2014 18:51:09 GMT
|
56
|
+
Server:
|
57
|
+
- feedlyServer/1.1
|
58
|
+
body:
|
59
|
+
encoding: UTF-8
|
60
|
+
string: ''
|
61
|
+
http_version:
|
62
|
+
recorded_at: Mon, 19 May 2014 18:52:55 GMT
|
63
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,80 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://sandbox.feedly.com/v3/opml
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- application/json
|
12
|
+
Content-Type:
|
13
|
+
- text/xml
|
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
|
+
- Sun May 18 03:32:51 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
|
+
- '4670'
|
33
|
+
Content-Disposition:
|
34
|
+
- attachment; filename="feedly.opml"
|
35
|
+
X-Feedly-Processing-Time:
|
36
|
+
- '2'
|
37
|
+
X-Feedly-Server:
|
38
|
+
- sandbox-he
|
39
|
+
Content-Type:
|
40
|
+
- text/xml;charset=UTF-8
|
41
|
+
Vary:
|
42
|
+
- Accept-Encoding
|
43
|
+
Date:
|
44
|
+
- Sun, 18 May 2014 10:32:51 GMT
|
45
|
+
Server:
|
46
|
+
- feedlyServer/1.1
|
47
|
+
Connection:
|
48
|
+
- close
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: |
|
52
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
53
|
+
|
54
|
+
<opml version="1.0">
|
55
|
+
<head>
|
56
|
+
<title>Khaled subscriptions in feedly Cloud</title>
|
57
|
+
</head>
|
58
|
+
<body>
|
59
|
+
<outline text="Design" title="Design">
|
60
|
+
<outline type="rss" text="Design Milk" title="Design Milk" xmlUrl="http://feeds.feedburner.com/design-milk" htmlUrl="http://design-milk.com"/>
|
61
|
+
</outline>
|
62
|
+
<outline text="Kool" title="Kool">
|
63
|
+
<outline type="rss" text="Dave McClure" title="Dave McClure" xmlUrl="http://500hats.com/feed" htmlUrl="http://500hats.com"/>
|
64
|
+
</outline>
|
65
|
+
<outline text="Art" title="Art">
|
66
|
+
<outline type="rss" text="Design Milk" title="Design Milk" xmlUrl="http://feeds.feedburner.com/design-milk" htmlUrl="http://design-milk.com"/>
|
67
|
+
</outline>
|
68
|
+
<outline text="Entreprenuership" title="Entreprenuership">
|
69
|
+
<outline type="rss" text="Tech Page One Entrepreneurs" title="Tech Page One Entrepreneurs" xmlUrl="http://feeds.feedburner.com/TechPageOneEntrepreneurs" htmlUrl="http://techpageone.dell.com"/>
|
70
|
+
<outline type="rss" text="Dave McClure" title="Dave McClure" xmlUrl="http://500hats.com/feed" htmlUrl="http://500hats.com"/>
|
71
|
+
</outline>
|
72
|
+
<outline type="rss" text="TechCrunch" title="TechCrunch" xmlUrl="http://feeds.feedburner.com/Techcrunch" htmlUrl="http://techcrunch.com"/>
|
73
|
+
<outline type="rss" text="The Verge" title="The Verge" xmlUrl="http://www.theverge.com/rss/full.xml" htmlUrl="http://www.theverge.com/"/>
|
74
|
+
<outline type="rss" text="Engadget" title="Engadget" xmlUrl="http://www.engadget.com/rss.xml" htmlUrl="http://www.engadget.com"/>
|
75
|
+
<outline type="rss" text="Yatzer" title="Yatzer" xmlUrl="http://www.yatzer.com/feed/index.php" htmlUrl="http://www.yatzer.com"/>
|
76
|
+
</body>
|
77
|
+
</opml>
|
78
|
+
http_version:
|
79
|
+
recorded_at: Sun, 18 May 2014 10:34:32 GMT
|
80
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://sandbox.feedly.com/v3/preferences
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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
|
+
- Sun May 18 03:32:52 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
|
+
- '4670'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '3'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- application/json;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '124'
|
41
|
+
Date:
|
42
|
+
- Sun, 18 May 2014 10:32:52 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
Connection:
|
46
|
+
- keep-alive
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"gender":"female","fullName":"Best lady","category/reviews/entryOverviewSize":0,"category/photography/entryOverviewSize":7}'
|
50
|
+
http_version:
|
51
|
+
recorded_at: Sun, 18 May 2014 10:34:33 GMT
|
52
|
+
recorded_with: VCR 2.9.0
|
data/spec/cassettes/Feedlr_Gateway_Preferences/_update_preferences/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/preferences
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: '{"category/reviews/entryOverviewSize":0,"category/photography/entryOverviewSize":7}'
|
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:41:08 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
|
+
- '4235'
|
33
|
+
X-Feedly-Processing-Time:
|
34
|
+
- '299'
|
35
|
+
X-Feedly-Server:
|
36
|
+
- sandbox-he
|
37
|
+
Content-Type:
|
38
|
+
- application/json;charset=UTF-8
|
39
|
+
Content-Length:
|
40
|
+
- '124'
|
41
|
+
Date:
|
42
|
+
- Sat, 17 May 2014 12:41:07 GMT
|
43
|
+
Server:
|
44
|
+
- feedlyServer/1.1
|
45
|
+
body:
|
46
|
+
encoding: UTF-8
|
47
|
+
string: '{"gender":"female","fullName":"Best lady","category/reviews/entryOverviewSize":0,"category/photography/entryOverviewSize":7}'
|
48
|
+
http_version:
|
49
|
+
recorded_at: Sat, 17 May 2014 12:42:46 GMT
|
50
|
+
recorded_with: VCR 2.9.0
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://sandbox.feedly.com/v3/profile
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
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:38:13 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
|
+
- '1'
|
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, 17 May 2014 12:38:12 GMT
|
45
|
+
Server:
|
46
|
+
- feedlyServer/1.1
|
47
|
+
body:
|
48
|
+
encoding: UTF-8
|
49
|
+
string: '{"id":"96cc52b7-a17f-4ce0-9b38-de1b6f08f156","client":"feedly","wave":"2014.20","email":"khellls@gmail.com","familyName":"al
|
50
|
+
Habache","givenName":"Khaled","google":"101815568284880592630","gender":"female","picture":"https://lh5.googleusercontent.com/-J8YXQSTt1Tc/AAAAAAAAAAI/AAAAAAAAAVw/Qi9vlcmHukw/photo.jpg?sz=50","paymentProviderId":{},"paymentSubscriptionId":{},"dropboxConnected":false,"created":1400161263309,"windowsLiveConnected":false,"facebookConnected":false,"wordPressConnected":false,"evernoteConnected":false,"pocketConnected":false,"twitterConnected":false,"source":"feedly.desktop
|
51
|
+
20.1.748","fullName":"Best lady"}'
|
52
|
+
http_version:
|
53
|
+
recorded_at: Sat, 17 May 2014 12:39:51 GMT
|
54
|
+
recorded_with: VCR 2.9.0
|