cloudapp 0.0.14 → 0.0.15
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.
- data/Gemfile.lock +2 -2
- data/bin/cloudapp +16 -23
- data/cloudapp.gemspec +4 -3
- data/lib/cloudapp/drop_service.rb +30 -11
- data/lib/cloudapp.rb +1 -1
- data/spec/cassettes/DropService/create_bookmark.yml +29 -87
- data/spec/cassettes/DropService/create_bookmark_with_bad_credentials.yml +8 -16
- data/spec/cassettes/DropService/create_bookmark_with_name.yml +25 -30
- data/spec/cassettes/DropService/create_private_bookmark.yml +24 -38
- data/spec/cassettes/DropService/create_public_bookmark.yml +25 -41
- data/spec/cassettes/DropService/list_drops.yml +18 -24
- data/spec/cassettes/DropService/list_drops_with_bad_credentials.yml +8 -16
- data/spec/cassettes/DropService/list_drops_with_limit.yml +17 -23
- data/spec/cassettes/DropService/list_trash.yml +20 -26
- data/spec/cassettes/DropService/list_trash_with_bad_credentials.yml +10 -19
- data/spec/cassettes/DropService/retrieve_token.yml +42 -0
- data/spec/cassettes/DropService/retrieve_token_with_bad_credentials.yml +43 -0
- data/spec/cassettes/DropService/upload_file.yml +67 -72
- data/spec/cassettes/DropService/upload_public_file.yml +47 -66
- data/spec/cloudapp/drop_service_spec.rb +78 -72
- metadata +26 -25
- data/lib/cloudapp/digestable_typhoeus.rb +0 -17
@@ -2,9 +2,11 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://
|
5
|
+
uri: http://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
|
+
Authorization:
|
9
|
+
- Token token="bad-token"
|
8
10
|
Accept:
|
9
11
|
- application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
|
10
12
|
text/plain
|
@@ -15,33 +17,23 @@ http_interactions:
|
|
15
17
|
headers:
|
16
18
|
Cache-Control:
|
17
19
|
- no-cache
|
18
|
-
- no-cache
|
19
20
|
Content-Type:
|
20
21
|
- application/json; charset=utf-8
|
21
|
-
- application/json; charset=utf-8
|
22
22
|
Server:
|
23
|
-
- thin 1.
|
24
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
23
|
+
- thin 1.3.1 codename Triple Espresso
|
25
24
|
Www-Authenticate:
|
26
|
-
-
|
27
|
-
opaque="9eb56ccb2e8b017ae42bdb4739690863"
|
28
|
-
- Digest realm="Application", qop="auth", algorithm=MD5, nonce="MTMyODkwOTA5MjpmNDRhMjMzYzU1OThmMzRjNWNhYzE3MjJkODEyODQwYQ==",
|
29
|
-
opaque="9eb56ccb2e8b017ae42bdb4739690863"
|
25
|
+
- Token realm="Application"
|
30
26
|
X-Runtime:
|
31
|
-
- '0.
|
32
|
-
- '0.026132'
|
27
|
+
- '0.017084'
|
33
28
|
X-Ua-Compatible:
|
34
29
|
- IE=Edge,chrome=1
|
35
|
-
- IE=Edge,chrome=1
|
36
30
|
Transfer-Encoding:
|
37
31
|
- chunked
|
38
|
-
- chunked
|
39
32
|
Connection:
|
40
33
|
- keep-alive
|
41
|
-
|
42
|
-
body: ! 'HTTP Digest: Access denied.
|
34
|
+
body: ! 'HTTP Token: Access denied.
|
43
35
|
|
44
36
|
'
|
45
37
|
http_version:
|
46
|
-
recorded_at:
|
38
|
+
recorded_at: Tue, 14 Feb 2012 14:44:00 GMT
|
47
39
|
recorded_with: VCR 2.0.0.rc1
|
@@ -2,9 +2,11 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://
|
5
|
+
uri: http://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
|
+
Authorization:
|
9
|
+
- Token token="8762f6679f8d001016b2"
|
8
10
|
Accept:
|
9
11
|
- application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
|
10
12
|
text/plain
|
@@ -18,18 +20,13 @@ http_interactions:
|
|
18
20
|
Content-Type:
|
19
21
|
- application/json; charset=utf-8
|
20
22
|
Etag:
|
21
|
-
- ! '"
|
23
|
+
- ! '"857fd84f26ef95ce47d9d41d1b235cf8"'
|
22
24
|
Last-Modified:
|
23
|
-
- Tue,
|
25
|
+
- Tue, 14 Feb 2012 14:24:16 GMT
|
24
26
|
Server:
|
25
|
-
- thin 1.
|
26
|
-
Set-Cookie:
|
27
|
-
- _engine_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYTA0MmUzMGVhYjZmYTM2MGRiNGM4YTBjYmQ1ZmI3MzVJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYAxYTM5Mjg4MzhlZDcwY2UyOGVkYWRkOGE1MDU2NWU1MzFlNzlhOTg4ODQxZmY5NTkxMjAzNWNhYTU1ZmIxZTZhODliMmMzN2VlYzkzMzFmOWE2ZDRjN2Y1ZDM4ZDIwNGE5NjM1ZTI0YTAxNzM1NDNiYThkNDlhNDkxY2M5NDM3MAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkDp4EB--7a28f7c0bf35fe1a50bee0ec8bae80823d008ee3;
|
28
|
-
path=/; HttpOnly
|
29
|
-
- user_credentials=1a3928838ed70ce28edadd8a50565e531e79a988841ff95912035caa55fb1e6a89b2c37eec9331f9a6d4c7f5d38d204a9635e24a0173543ba8d49a491cc94370%3A%3A98727;
|
30
|
-
path=/; expires=Mon, 07-May-2012 21:48:12 GMT
|
27
|
+
- thin 1.3.1 codename Triple Espresso
|
31
28
|
X-Runtime:
|
32
|
-
- '0.
|
29
|
+
- '0.082137'
|
33
30
|
X-Ua-Compatible:
|
34
31
|
- IE=Edge,chrome=1
|
35
32
|
Transfer-Encoding:
|
@@ -53,7 +50,7 @@ http_interactions:
|
|
53
50
|
Safari/535.7","updated_at":"2012-02-07T15:34:41Z","view_counter":1,"href":"http://my.cl.ly/items/13949858","url":"http://cl.ly/1x200A0m3v101d1n2O1u","content_url":"http://cl.ly/1x200A0m3v101d1n2O1u/Cover.jpeg","icon":"http://assets.my.cld.me/images/item-types/image.png","thumbnail_url":"http://thumbs.cl.ly/1x200A0m3v101d1n2O1u","subscribed":false,"download_url":"http://api.cld.me/1x200A0m3v101d1n2O1u/download/Cover.jpeg"},{"created_at":"2012-01-12T20:44:54Z","deleted_at":null,"id":13949855,"item_type":"text","name":"Chapter
|
54
51
|
1.md","private":true,"redirect_url":null,"remote_url":"http://f.cl.ly/items/0p2t030e0a1N091o2t3o/Chapter%201.md","source":"Mozilla/5.0
|
55
52
|
(Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75
|
56
|
-
Safari/535.7","updated_at":"2012-02-
|
53
|
+
Safari/535.7","updated_at":"2012-02-10T02:09:36Z","view_counter":8,"href":"http://my.cl.ly/items/13949855","url":"http://cl.ly/3U3d3w3r0G0T1T1M0d2T","content_url":"http://cl.ly/3U3d3w3r0G0T1T1M0d2T/Chapter%201.md","icon":"http://assets.my.cld.me/images/item-types/text.png","subscribed":false,"download_url":"http://api.cld.me/3U3d3w3r0G0T1T1M0d2T/download/Chapter%201.md"},{"created_at":"2012-01-12T20:39:04Z","deleted_at":null,"id":13949577,"item_type":"bookmark","name":"Link
|
57
54
|
40","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-02-07T15:35:45Z","view_counter":3,"href":"http://my.cl.ly/items/13949577","url":"http://cl.ly/2O2J1h3t0H0v1I1u0t0P","content_url":"http://cl.ly/2O2J1h3t0H0v1I1u0t0P","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:04Z","deleted_at":null,"id":13949576,"item_type":"bookmark","name":"Link
|
58
55
|
39","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-01-12T20:39:04Z","view_counter":0,"href":"http://my.cl.ly/items/13949576","url":"http://cl.ly/2t062C1h393d2L452U2Z","content_url":"http://cl.ly/2t062C1h393d2L452U2Z","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:04Z","deleted_at":null,"id":13949575,"item_type":"bookmark","name":"Link
|
59
56
|
38","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-01-12T20:39:04Z","view_counter":0,"href":"http://my.cl.ly/items/13949575","url":"http://cl.ly/1S131o2v2J3z2r0A0Q0W","content_url":"http://cl.ly/1S131o2v2J3z2r0A0Q0W","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:04Z","deleted_at":null,"id":13949574,"item_type":"bookmark","name":"Link
|
@@ -68,12 +65,14 @@ http_interactions:
|
|
68
65
|
29","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-01-12T20:39:03Z","view_counter":0,"href":"http://my.cl.ly/items/13949565","url":"http://cl.ly/3B1V3H0c0c3s3O2u1Q0c","content_url":"http://cl.ly/3B1V3H0c0c3s3O2u1Q0c","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:03Z","deleted_at":null,"id":13949564,"item_type":"bookmark","name":"Link
|
69
66
|
28","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-01-12T20:39:03Z","view_counter":0,"href":"http://my.cl.ly/items/13949564","url":"http://cl.ly/1w2e1K3j0T14193P2y1j","content_url":"http://cl.ly/1w2e1K3j0T14193P2y1j","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false}]'
|
70
67
|
http_version:
|
71
|
-
recorded_at: Tue,
|
68
|
+
recorded_at: Tue, 14 Feb 2012 14:34:13 GMT
|
72
69
|
- request:
|
73
70
|
method: get
|
74
|
-
uri: http://
|
71
|
+
uri: http://my.cl.ly/items?api_version=1.2&per_page=5
|
75
72
|
body: ''
|
76
73
|
headers:
|
74
|
+
Authorization:
|
75
|
+
- Token token="8762f6679f8d001016b2"
|
77
76
|
Accept:
|
78
77
|
- application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
|
79
78
|
text/plain
|
@@ -87,18 +86,13 @@ http_interactions:
|
|
87
86
|
Content-Type:
|
88
87
|
- application/json; charset=utf-8
|
89
88
|
Etag:
|
90
|
-
- ! '"
|
89
|
+
- ! '"857fd84f26ef95ce47d9d41d1b235cf8"'
|
91
90
|
Last-Modified:
|
92
|
-
- Tue,
|
91
|
+
- Tue, 14 Feb 2012 14:24:16 GMT
|
93
92
|
Server:
|
94
|
-
- thin 1.
|
95
|
-
Set-Cookie:
|
96
|
-
- _engine_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlYTFmYTBlOGVjNWFmYWRjMDBlYWQ2YzhlMjQwNWQ5ZjJJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYAxYTM5Mjg4MzhlZDcwY2UyOGVkYWRkOGE1MDU2NWU1MzFlNzlhOTg4ODQxZmY5NTkxMjAzNWNhYTU1ZmIxZTZhODliMmMzN2VlYzkzMzFmOWE2ZDRjN2Y1ZDM4ZDIwNGE5NjM1ZTI0YTAxNzM1NDNiYThkNDlhNDkxY2M5NDM3MAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkDp4EB--297b538af4eb06c726ec7fea3e12fe20e65fec36;
|
97
|
-
path=/; HttpOnly
|
98
|
-
- user_credentials=1a3928838ed70ce28edadd8a50565e531e79a988841ff95912035caa55fb1e6a89b2c37eec9331f9a6d4c7f5d38d204a9635e24a0173543ba8d49a491cc94370%3A%3A98727;
|
99
|
-
path=/; expires=Mon, 07-May-2012 21:48:12 GMT
|
93
|
+
- thin 1.3.1 codename Triple Espresso
|
100
94
|
X-Runtime:
|
101
|
-
- '0.
|
95
|
+
- '0.039887'
|
102
96
|
X-Ua-Compatible:
|
103
97
|
- IE=Edge,chrome=1
|
104
98
|
Transfer-Encoding:
|
@@ -119,5 +113,5 @@ http_interactions:
|
|
119
113
|
(Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75
|
120
114
|
Safari/535.7","updated_at":"2012-02-07T15:35:28Z","view_counter":4,"href":"http://my.cl.ly/items/13949869","url":"http://cl.ly/0s1o3A46290S1s331G28","content_url":"http://cl.ly/0s1o3A46290S1s331G28/2011-05-03-cloudapp-1.5-released.md","icon":"http://assets.my.cld.me/images/item-types/text.png","subscribed":false,"download_url":"http://api.cld.me/0s1o3A46290S1s331G28/download/2011-05-03-cloudapp-1.5-released.md"}],"links":{"self":"http://my.cl.ly/items?api_version=1.2&page=1&per_page=5","next":"http://my.cl.ly/items?api_version=1.2&page=2&per_page=5"}}'
|
121
115
|
http_version:
|
122
|
-
recorded_at: Tue,
|
116
|
+
recorded_at: Tue, 14 Feb 2012 14:34:14 GMT
|
123
117
|
recorded_with: VCR 2.0.0.rc1
|
@@ -2,9 +2,11 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://
|
5
|
+
uri: http://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
|
+
Authorization:
|
9
|
+
- Token token="8762f6679f8d001016b2"
|
8
10
|
Accept:
|
9
11
|
- application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
|
10
12
|
text/plain
|
@@ -18,18 +20,13 @@ http_interactions:
|
|
18
20
|
Content-Type:
|
19
21
|
- application/json; charset=utf-8
|
20
22
|
Etag:
|
21
|
-
- ! '"
|
23
|
+
- ! '"857fd84f26ef95ce47d9d41d1b235cf8"'
|
22
24
|
Last-Modified:
|
23
|
-
- Tue,
|
25
|
+
- Tue, 14 Feb 2012 14:24:16 GMT
|
24
26
|
Server:
|
25
|
-
- thin 1.
|
26
|
-
Set-Cookie:
|
27
|
-
- _engine_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlNDRkYWQxMzU0YmFlMTdhNDg2NTJhYzY0MzFjOTllYjRJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYAxYTM5Mjg4MzhlZDcwY2UyOGVkYWRkOGE1MDU2NWU1MzFlNzlhOTg4ODQxZmY5NTkxMjAzNWNhYTU1ZmIxZTZhODliMmMzN2VlYzkzMzFmOWE2ZDRjN2Y1ZDM4ZDIwNGE5NjM1ZTI0YTAxNzM1NDNiYThkNDlhNDkxY2M5NDM3MAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkDp4EB--18052e38d8a47cfacc84540aab097bfb9daa2184;
|
28
|
-
path=/; HttpOnly
|
29
|
-
- user_credentials=1a3928838ed70ce28edadd8a50565e531e79a988841ff95912035caa55fb1e6a89b2c37eec9331f9a6d4c7f5d38d204a9635e24a0173543ba8d49a491cc94370%3A%3A98727;
|
30
|
-
path=/; expires=Mon, 07-May-2012 21:48:12 GMT
|
27
|
+
- thin 1.3.1 codename Triple Espresso
|
31
28
|
X-Runtime:
|
32
|
-
- '0.
|
29
|
+
- '0.084117'
|
33
30
|
X-Ua-Compatible:
|
34
31
|
- IE=Edge,chrome=1
|
35
32
|
Transfer-Encoding:
|
@@ -53,7 +50,7 @@ http_interactions:
|
|
53
50
|
Safari/535.7","updated_at":"2012-02-07T15:34:41Z","view_counter":1,"href":"http://my.cl.ly/items/13949858","url":"http://cl.ly/1x200A0m3v101d1n2O1u","content_url":"http://cl.ly/1x200A0m3v101d1n2O1u/Cover.jpeg","icon":"http://assets.my.cld.me/images/item-types/image.png","thumbnail_url":"http://thumbs.cl.ly/1x200A0m3v101d1n2O1u","subscribed":false,"download_url":"http://api.cld.me/1x200A0m3v101d1n2O1u/download/Cover.jpeg"},{"created_at":"2012-01-12T20:44:54Z","deleted_at":null,"id":13949855,"item_type":"text","name":"Chapter
|
54
51
|
1.md","private":true,"redirect_url":null,"remote_url":"http://f.cl.ly/items/0p2t030e0a1N091o2t3o/Chapter%201.md","source":"Mozilla/5.0
|
55
52
|
(Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75
|
56
|
-
Safari/535.7","updated_at":"2012-02-
|
53
|
+
Safari/535.7","updated_at":"2012-02-10T02:09:36Z","view_counter":8,"href":"http://my.cl.ly/items/13949855","url":"http://cl.ly/3U3d3w3r0G0T1T1M0d2T","content_url":"http://cl.ly/3U3d3w3r0G0T1T1M0d2T/Chapter%201.md","icon":"http://assets.my.cld.me/images/item-types/text.png","subscribed":false,"download_url":"http://api.cld.me/3U3d3w3r0G0T1T1M0d2T/download/Chapter%201.md"},{"created_at":"2012-01-12T20:39:04Z","deleted_at":null,"id":13949577,"item_type":"bookmark","name":"Link
|
57
54
|
40","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-02-07T15:35:45Z","view_counter":3,"href":"http://my.cl.ly/items/13949577","url":"http://cl.ly/2O2J1h3t0H0v1I1u0t0P","content_url":"http://cl.ly/2O2J1h3t0H0v1I1u0t0P","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:04Z","deleted_at":null,"id":13949576,"item_type":"bookmark","name":"Link
|
58
55
|
39","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-01-12T20:39:04Z","view_counter":0,"href":"http://my.cl.ly/items/13949576","url":"http://cl.ly/2t062C1h393d2L452U2Z","content_url":"http://cl.ly/2t062C1h393d2L452U2Z","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:04Z","deleted_at":null,"id":13949575,"item_type":"bookmark","name":"Link
|
59
56
|
38","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-01-12T20:39:04Z","view_counter":0,"href":"http://my.cl.ly/items/13949575","url":"http://cl.ly/1S131o2v2J3z2r0A0Q0W","content_url":"http://cl.ly/1S131o2v2J3z2r0A0Q0W","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:04Z","deleted_at":null,"id":13949574,"item_type":"bookmark","name":"Link
|
@@ -68,12 +65,14 @@ http_interactions:
|
|
68
65
|
29","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-01-12T20:39:03Z","view_counter":0,"href":"http://my.cl.ly/items/13949565","url":"http://cl.ly/3B1V3H0c0c3s3O2u1Q0c","content_url":"http://cl.ly/3B1V3H0c0c3s3O2u1Q0c","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:03Z","deleted_at":null,"id":13949564,"item_type":"bookmark","name":"Link
|
69
66
|
28","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":null,"updated_at":"2012-01-12T20:39:03Z","view_counter":0,"href":"http://my.cl.ly/items/13949564","url":"http://cl.ly/1w2e1K3j0T14193P2y1j","content_url":"http://cl.ly/1w2e1K3j0T14193P2y1j","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false}]'
|
70
67
|
http_version:
|
71
|
-
recorded_at: Tue,
|
68
|
+
recorded_at: Tue, 14 Feb 2012 14:28:00 GMT
|
72
69
|
- request:
|
73
70
|
method: get
|
74
|
-
uri: http://
|
71
|
+
uri: http://my.cl.ly/items?api_version=1.2&deleted=true&per_page=20
|
75
72
|
body: ''
|
76
73
|
headers:
|
74
|
+
Authorization:
|
75
|
+
- Token token="8762f6679f8d001016b2"
|
77
76
|
Accept:
|
78
77
|
- application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
|
79
78
|
text/plain
|
@@ -87,31 +86,26 @@ http_interactions:
|
|
87
86
|
Content-Type:
|
88
87
|
- application/json; charset=utf-8
|
89
88
|
Etag:
|
90
|
-
- ! '"
|
89
|
+
- ! '"857fd84f26ef95ce47d9d41d1b235cf8"'
|
91
90
|
Last-Modified:
|
92
|
-
- Tue,
|
91
|
+
- Tue, 14 Feb 2012 14:24:16 GMT
|
93
92
|
Server:
|
94
|
-
- thin 1.
|
95
|
-
Set-Cookie:
|
96
|
-
- _engine_session=BAh7CEkiD3Nlc3Npb25faWQGOgZFRiIlMzU5ZDY3OWIzMGRiNDcyZGFiNmFiZjczYTAxMTA2MDRJIhV1c2VyX2NyZWRlbnRpYWxzBjsARkkiAYAxYTM5Mjg4MzhlZDcwY2UyOGVkYWRkOGE1MDU2NWU1MzFlNzlhOTg4ODQxZmY5NTkxMjAzNWNhYTU1ZmIxZTZhODliMmMzN2VlYzkzMzFmOWE2ZDRjN2Y1ZDM4ZDIwNGE5NjM1ZTI0YTAxNzM1NDNiYThkNDlhNDkxY2M5NDM3MAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkDp4EB--42362aad489593fcdbc1fdce4346048a7339cf50;
|
97
|
-
path=/; HttpOnly
|
98
|
-
- user_credentials=1a3928838ed70ce28edadd8a50565e531e79a988841ff95912035caa55fb1e6a89b2c37eec9331f9a6d4c7f5d38d204a9635e24a0173543ba8d49a491cc94370%3A%3A98727;
|
99
|
-
path=/; expires=Mon, 07-May-2012 21:48:12 GMT
|
93
|
+
- thin 1.3.1 codename Triple Espresso
|
100
94
|
X-Runtime:
|
101
|
-
- '0.
|
95
|
+
- '0.068130'
|
102
96
|
X-Ua-Compatible:
|
103
97
|
- IE=Edge,chrome=1
|
104
98
|
Transfer-Encoding:
|
105
99
|
- chunked
|
106
100
|
Connection:
|
107
101
|
- keep-alive
|
108
|
-
body: ! '{"items":[{"created_at":"2012-01-18T18:22:36Z","deleted_at":"2012-02-
|
102
|
+
body: ! '{"items":[{"created_at":"2012-01-18T18:22:36Z","deleted_at":"2012-02-14T14:24:15Z","id":14170250,"item_type":"bookmark","name":"Delete
|
109
103
|
Me 2","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":"Mozilla/5.0
|
110
104
|
(Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75
|
111
|
-
Safari/535.7","updated_at":"2012-02-
|
105
|
+
Safari/535.7","updated_at":"2012-02-14T14:24:15Z","view_counter":3,"href":"http://my.cl.ly/items/14170250","url":"http://cl.ly/413j01000H3z151c1w0e","content_url":"http://cl.ly/413j01000H3z151c1w0e","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-18T18:22:34Z","deleted_at":"2012-02-14T14:24:15Z","id":14170247,"item_type":"bookmark","name":"Delete
|
112
106
|
Me 1","private":true,"redirect_url":"http://getcloudapp.com","remote_url":null,"source":"Mozilla/5.0
|
113
107
|
(Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.75
|
114
|
-
Safari/535.7","updated_at":"2012-02-
|
108
|
+
Safari/535.7","updated_at":"2012-02-14T14:24:15Z","view_counter":1,"href":"http://my.cl.ly/items/14170247","url":"http://cl.ly/2F3d3x380t0f3b023X0x","content_url":"http://cl.ly/2F3d3x380t0f3b023X0x","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false}],"links":{"self":"http://my.cl.ly/items?api_version=1.2&deleted=true&page=1&per_page=20"}}'
|
115
109
|
http_version:
|
116
|
-
recorded_at: Tue,
|
110
|
+
recorded_at: Tue, 14 Feb 2012 14:28:00 GMT
|
117
111
|
recorded_with: VCR 2.0.0.rc1
|
@@ -2,9 +2,11 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: http://
|
5
|
+
uri: http://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
|
+
Authorization:
|
9
|
+
- Token token="bad-token"
|
8
10
|
Accept:
|
9
11
|
- application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
|
10
12
|
text/plain
|
@@ -15,34 +17,23 @@ http_interactions:
|
|
15
17
|
headers:
|
16
18
|
Cache-Control:
|
17
19
|
- no-cache
|
18
|
-
- no-cache
|
19
20
|
Content-Type:
|
20
21
|
- application/json; charset=utf-8
|
21
|
-
- application/json; charset=utf-8
|
22
22
|
Server:
|
23
|
-
- thin 1.
|
24
|
-
- thin 1.2.11 codename Bat-Shit Crazy
|
23
|
+
- thin 1.3.1 codename Triple Espresso
|
25
24
|
Www-Authenticate:
|
26
|
-
-
|
27
|
-
opaque="9eb56ccb2e8b017ae42bdb4739690863"
|
28
|
-
- Digest realm="Application", qop="auth", algorithm=MD5, nonce="MTMyODkwOTUxMzo2OWY2MWQ1YjlmNmMwYzhkNGE0YjhiNDgwZWEyNDM2Ng==",
|
29
|
-
opaque="9eb56ccb2e8b017ae42bdb4739690863"
|
25
|
+
- Token realm="Application"
|
30
26
|
X-Runtime:
|
31
|
-
- '0.
|
32
|
-
- '0.006534'
|
27
|
+
- '0.086189'
|
33
28
|
X-Ua-Compatible:
|
34
29
|
- IE=Edge,chrome=1
|
35
|
-
- IE=Edge,chrome=1
|
36
|
-
Content-Length:
|
37
|
-
- '28'
|
38
|
-
Connection:
|
39
|
-
- keep-alive
|
40
|
-
- keep-alive
|
41
30
|
Transfer-Encoding:
|
42
31
|
- chunked
|
43
|
-
|
32
|
+
Connection:
|
33
|
+
- keep-alive
|
34
|
+
body: ! 'HTTP Token: Access denied.
|
44
35
|
|
45
36
|
'
|
46
37
|
http_version:
|
47
|
-
recorded_at:
|
38
|
+
recorded_at: Tue, 14 Feb 2012 14:44:11 GMT
|
48
39
|
recorded_with: VCR 2.0.0.rc1
|
@@ -0,0 +1,42 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://my.cl.ly/account/token
|
6
|
+
body: ! '{"email":"arthur@dent.com","password":"towel"}'
|
7
|
+
headers:
|
8
|
+
Content-Type:
|
9
|
+
- application/json
|
10
|
+
Accept:
|
11
|
+
- application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
|
12
|
+
text/plain
|
13
|
+
response:
|
14
|
+
status:
|
15
|
+
code: 200
|
16
|
+
message: OK
|
17
|
+
headers:
|
18
|
+
Cache-Control:
|
19
|
+
- max-age=0, private, must-revalidate
|
20
|
+
Content-Type:
|
21
|
+
- application/json; charset=utf-8
|
22
|
+
Etag:
|
23
|
+
- ! '"39f614d38be5006649ceb5349182a0fa"'
|
24
|
+
Server:
|
25
|
+
- thin 1.3.1 codename Triple Espresso
|
26
|
+
Set-Cookie:
|
27
|
+
- _engine_session=BAh7CEkiFXVzZXJfY3JlZGVudGlhbHMGOgZFRkkiAYAxYTM5Mjg4MzhlZDcwY2UyOGVkYWRkOGE1MDU2NWU1MzFlNzlhOTg4ODQxZmY5NTkxMjAzNWNhYTU1ZmIxZTZhODliMmMzN2VlYzkzMzFmOWE2ZDRjN2Y1ZDM4ZDIwNGE5NjM1ZTI0YTAxNzM1NDNiYThkNDlhNDkxY2M5NDM3MAY7AFRJIhh1c2VyX2NyZWRlbnRpYWxzX2lkBjsARmkDp4EBSSIPc2Vzc2lvbl9pZAY7AEYiJWY3MTk1N2Y0NmFlMWY4MDc1OGM5MWEzZjNkYmU5OTg2--e2c4249daa8c1893da78c6f68992a4fe452a73b6;
|
28
|
+
path=/; HttpOnly
|
29
|
+
- user_credentials=1a3928838ed70ce28edadd8a50565e531e79a988841ff95912035caa55fb1e6a89b2c37eec9331f9a6d4c7f5d38d204a9635e24a0173543ba8d49a491cc94370%3A%3A98727;
|
30
|
+
path=/; expires=Mon, 14-May-2012 14:25:06 GMT
|
31
|
+
X-Runtime:
|
32
|
+
- '0.022904'
|
33
|
+
X-Ua-Compatible:
|
34
|
+
- IE=Edge,chrome=1
|
35
|
+
Transfer-Encoding:
|
36
|
+
- chunked
|
37
|
+
Connection:
|
38
|
+
- keep-alive
|
39
|
+
body: ! '{"token":"8762f6679f8d001016b2"}'
|
40
|
+
http_version:
|
41
|
+
recorded_at: Tue, 14 Feb 2012 14:25:06 GMT
|
42
|
+
recorded_with: VCR 2.0.0.rc1
|
@@ -0,0 +1,43 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://my.cl.ly/account/token
|
6
|
+
body: ! '{"email":"ford@prefect.com","password":"earthling"}'
|
7
|
+
headers:
|
8
|
+
Content-Type:
|
9
|
+
- application/json
|
10
|
+
Accept:
|
11
|
+
- application/json, text/x-yaml, application/xml, application/xhtml+xml, text/html,
|
12
|
+
text/plain
|
13
|
+
response:
|
14
|
+
status:
|
15
|
+
code: 401
|
16
|
+
message: Unauthorized
|
17
|
+
headers:
|
18
|
+
Cache-Control:
|
19
|
+
- no-cache
|
20
|
+
Content-Type:
|
21
|
+
- application/json; charset=utf-8
|
22
|
+
Server:
|
23
|
+
- thin 1.3.1 codename Triple Espresso
|
24
|
+
Set-Cookie:
|
25
|
+
- _engine_session=BAh7BkkiD3Nlc3Npb25faWQGOgZFRiIlMDYxMTFkZDM4MmVkODExYTM1ODAwZTUzNjhlZjkyMmI%3D--287df3885fc638d786d7668d4c2111973893d512;
|
26
|
+
path=/; HttpOnly
|
27
|
+
Www-Authenticate:
|
28
|
+
- Digest realm="Application", qop="auth", algorithm=MD5, nonce="MTMyOTIzMjM2NjpkYzQ2NGUwN2E2ZmM2NDBiZTQ3NzI5MmNkMjEyMWViOA==",
|
29
|
+
opaque="9eb56ccb2e8b017ae42bdb4739690863"
|
30
|
+
X-Runtime:
|
31
|
+
- '0.009909'
|
32
|
+
X-Ua-Compatible:
|
33
|
+
- IE=Edge,chrome=1
|
34
|
+
Transfer-Encoding:
|
35
|
+
- chunked
|
36
|
+
Connection:
|
37
|
+
- keep-alive
|
38
|
+
body: ! 'HTTP Digest: Access denied.
|
39
|
+
|
40
|
+
'
|
41
|
+
http_version:
|
42
|
+
recorded_at: Tue, 14 Feb 2012 15:12:46 GMT
|
43
|
+
recorded_with: VCR 2.0.0.rc1
|