cloudapp 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.md +0 -8
- data/cloudapp.gemspec +2 -2
- data/lib/cloudapp/drop_service.rb +28 -6
- data/lib/cloudapp.rb +1 -1
- data/man/cloudapp.1 +0 -3
- data/man/cloudapp.1.html +0 -7
- data/man/cloudapp.1.ronn +0 -8
- data/spec/cassettes/DropService/create_bookmark.yml +2 -2
- data/spec/cassettes/DropService/create_bookmark_with_bad_credentials.yml +1 -1
- data/spec/cassettes/DropService/create_bookmark_with_name.yml +2 -2
- data/spec/cassettes/DropService/create_private_bookmark.yml +2 -2
- data/spec/cassettes/DropService/create_public_bookmark.yml +2 -2
- data/spec/cassettes/DropService/list_drops.yml +2 -2
- data/spec/cassettes/DropService/list_drops_with_bad_credentials.yml +1 -1
- data/spec/cassettes/DropService/list_drops_with_limit.yml +2 -2
- data/spec/cassettes/DropService/list_trash.yml +2 -2
- data/spec/cassettes/DropService/list_trash_with_bad_credentials.yml +1 -1
- data/spec/cassettes/DropService/retrieve_token.yml +1 -1
- data/spec/cassettes/DropService/retrieve_token_with_bad_credentials.yml +1 -1
- data/spec/cassettes/DropService/upload_file.yml +37 -37
- data/spec/cassettes/DropService/upload_public_file.yml +34 -34
- data/spec/cloudapp/drop_service_spec.rb +1 -1
- metadata +24 -24
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -61,14 +61,6 @@ drops? Bonus points for a light weight daemon that kept everything in sync.
|
|
61
61
|
There's bound to be a better way to express some of these commands, but you get
|
62
62
|
the picture.
|
63
63
|
|
64
|
-
### Security Considerations
|
65
|
-
|
66
|
-
Your credentials are stored **in plain text** at `~/.cloudapprc`. If this
|
67
|
-
worries you, keep an eye on [issue #10][issue-10]. Some sort of non-plaintext
|
68
|
-
authentication is planned before 1.0 is released.
|
69
|
-
|
70
|
-
[issue-10]: https://github.com/cloudapp/cloudapp/issues/10
|
71
|
-
|
72
64
|
### Harness the Power
|
73
65
|
|
74
66
|
Sure you could copy the new drop's link by piping the output to `pbcopy`, but
|
data/cloudapp.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'cloudapp'
|
16
|
-
s.version = '0.0.
|
17
|
-
s.date = '2012-02-
|
16
|
+
s.version = '0.0.16'
|
17
|
+
s.date = '2012-02-15'
|
18
18
|
s.rubyforge_project = 'cloudapp'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
@@ -51,7 +51,7 @@ module CloudApp
|
|
51
51
|
end
|
52
52
|
|
53
53
|
Leadlight.build_service(self) do
|
54
|
-
url '
|
54
|
+
url 'https://my.cl.ly'
|
55
55
|
|
56
56
|
# Add links present in the response body.
|
57
57
|
# { links: { self: "...", next: "...", prev: "..." } }
|
@@ -63,6 +63,12 @@ module CloudApp
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
+
tint 'force_ssl_s3_upload' do
|
67
|
+
match_path '/items/new'
|
68
|
+
uri = Addressable::URI.parse self['url']
|
69
|
+
self['url'] = "https://s3.amazonaws.com/#{ uri.host }#{ uri.request_uri }"
|
70
|
+
end
|
71
|
+
|
66
72
|
tint 'root' do
|
67
73
|
match_path '/'
|
68
74
|
add_link '/items?api_version=1.2', 'drops', 'List owned drops'
|
@@ -107,6 +113,16 @@ module CloudApp
|
|
107
113
|
end
|
108
114
|
end
|
109
115
|
|
116
|
+
# Temporarily disable SSL verification until new SSL cert has been added to
|
117
|
+
# production.
|
118
|
+
on_prepare_request do |event, request|
|
119
|
+
def request.to_env(*args)
|
120
|
+
super.tap do |env|
|
121
|
+
env[:ssl] = { verify: false }
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
110
126
|
def initialize(*args)
|
111
127
|
super
|
112
128
|
logger.level = Logger::WARN
|
@@ -184,14 +200,20 @@ module CloudApp
|
|
184
200
|
payload = details['params'].merge file: file
|
185
201
|
|
186
202
|
conn = Faraday.new(url: uri.site) do |builder|
|
187
|
-
builder.request
|
188
|
-
builder.request
|
189
|
-
builder.
|
203
|
+
builder.request :multipart
|
204
|
+
builder.request :url_encoded
|
205
|
+
builder.response :logger, logger
|
206
|
+
builder.adapter :typhoeus
|
190
207
|
end
|
191
208
|
|
192
209
|
conn.post(uri.request_uri, payload).on_complete do |env|
|
193
|
-
|
194
|
-
|
210
|
+
# Follow redirect back to API using SSL.
|
211
|
+
location = Addressable::URI.parse env[:response_headers]['Location']
|
212
|
+
location.scheme = 'https'
|
213
|
+
|
214
|
+
get(location).raise_on_error.submit_and_wait do |new_drop|
|
215
|
+
return Drop.new new_drop
|
216
|
+
end
|
195
217
|
end
|
196
218
|
end
|
197
219
|
end
|
data/lib/cloudapp.rb
CHANGED
data/man/cloudapp.1
CHANGED
@@ -170,8 +170,5 @@ http://cl\.ly/1y0j403g3D0c0X1G0R3m
|
|
170
170
|
.
|
171
171
|
.IP "" 0
|
172
172
|
.
|
173
|
-
.SH "SECURITY CONSIDERATIONS"
|
174
|
-
Your credentials are stored \fBin plain text\fR at \fB~/\.cloudapprc\fR\. If this worries you, keep an eye on issue #10 \fIhttps://github\.com/cloudapp/cloudapp/issues/10\fR\. Some sort of non\-plaintext authentication is planned before 1\.0 is released\.
|
175
|
-
.
|
176
173
|
.SH "LICENSE"
|
177
174
|
\fBcloudapp\fR is distributed under the MIT license \fIhttps://github\.com/cloudapp/cloudapp/blob/master/MIT\-LICENSE\fR\.
|
data/man/cloudapp.1.html
CHANGED
@@ -66,7 +66,6 @@
|
|
66
66
|
<a href="#COMMANDS">COMMANDS</a>
|
67
67
|
<a href="#COMMAND-OPTIONS">COMMAND OPTIONS</a>
|
68
68
|
<a href="#EXAMPLES">EXAMPLES</a>
|
69
|
-
<a href="#SECURITY-CONSIDERATIONS">SECURITY CONSIDERATIONS</a>
|
70
69
|
<a href="#LICENSE">LICENSE</a>
|
71
70
|
</div>
|
72
71
|
|
@@ -181,12 +180,6 @@ $ cloudapp upload screenshot.png | pbcopy
|
|
181
180
|
http://cl.ly/1y0j403g3D0c0X1G0R3m
|
182
181
|
</code></pre>
|
183
182
|
|
184
|
-
<h2 id="SECURITY-CONSIDERATIONS">SECURITY CONSIDERATIONS</h2>
|
185
|
-
|
186
|
-
<p>Your credentials are stored <strong>in plain text</strong> at <code>~/.cloudapprc</code>. If this
|
187
|
-
worries you, keep an eye on <a href="https://github.com/cloudapp/cloudapp/issues/10">issue #10</a>. Some sort of non-plaintext
|
188
|
-
authentication is planned before 1.0 is released.</p>
|
189
|
-
|
190
183
|
<h2 id="LICENSE">LICENSE</h2>
|
191
184
|
|
192
185
|
<p><code>cloudapp</code> is distributed under the <a href="https://github.com/cloudapp/cloudapp/blob/master/MIT-LICENSE">MIT license</a>.</p>
|
data/man/cloudapp.1.ronn
CHANGED
@@ -97,14 +97,6 @@ Share a new bookmark and output only the URL:
|
|
97
97
|
http://cl.ly/1y0j403g3D0c0X1G0R3m
|
98
98
|
|
99
99
|
|
100
|
-
## SECURITY CONSIDERATIONS
|
101
|
-
|
102
|
-
Your credentials are stored **in plain text** at `~/.cloudapprc`. If this
|
103
|
-
worries you, keep an eye on [issue #10][issue-10]. Some sort of non-plaintext
|
104
|
-
authentication is planned before 1.0 is released.
|
105
|
-
|
106
|
-
[issue-10]: https://github.com/cloudapp/cloudapp/issues/10
|
107
|
-
|
108
100
|
## LICENSE
|
109
101
|
|
110
102
|
`cloudapp` is distributed under the [MIT license][mit-license].
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
recorded_at: Tue, 14 Feb 2012 14:35:01 GMT
|
69
69
|
- request:
|
70
70
|
method: post
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2
|
72
72
|
body: ! '{"item":{"redirect_url":"http://getcloudapp.com"}}'
|
73
73
|
headers:
|
74
74
|
Content-Type:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
recorded_at: Tue, 14 Feb 2012 14:37:14 GMT
|
69
69
|
- request:
|
70
70
|
method: post
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2
|
72
72
|
body: ! '{"item":{"name":"CloudApp","redirect_url":"http://getcloudapp.com"}}'
|
73
73
|
headers:
|
74
74
|
Content-Type:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
recorded_at: Tue, 14 Feb 2012 14:39:48 GMT
|
69
69
|
- request:
|
70
70
|
method: post
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2
|
72
72
|
body: ! '{"item":{"name":"CloudApp","redirect_url":"http://getcloudapp.com","private":true}}'
|
73
73
|
headers:
|
74
74
|
Content-Type:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
recorded_at: Tue, 14 Feb 2012 14:39:14 GMT
|
69
69
|
- request:
|
70
70
|
method: post
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2
|
72
72
|
body: ! '{"item":{"name":"CloudApp","redirect_url":"http://getcloudapp.com","private":false}}'
|
73
73
|
headers:
|
74
74
|
Content-Type:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
recorded_at: Tue, 14 Feb 2012 14:24:50 GMT
|
69
69
|
- request:
|
70
70
|
method: get
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2&per_page=20
|
72
72
|
body: ''
|
73
73
|
headers:
|
74
74
|
Authorization:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
recorded_at: Tue, 14 Feb 2012 14:34:13 GMT
|
69
69
|
- request:
|
70
70
|
method: get
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2&per_page=5
|
72
72
|
body: ''
|
73
73
|
headers:
|
74
74
|
Authorization:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -68,7 +68,7 @@ http_interactions:
|
|
68
68
|
recorded_at: Tue, 14 Feb 2012 14:28:00 GMT
|
69
69
|
- request:
|
70
70
|
method: get
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2&deleted=true&per_page=20
|
72
72
|
body: ''
|
73
73
|
headers:
|
74
74
|
Authorization:
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -20,13 +20,13 @@ http_interactions:
|
|
20
20
|
Content-Type:
|
21
21
|
- application/json; charset=utf-8
|
22
22
|
Etag:
|
23
|
-
- ! '"
|
23
|
+
- ! '"f65320cfd5989cd8134e820ba655add8"'
|
24
24
|
Last-Modified:
|
25
|
-
-
|
25
|
+
- Wed, 15 Feb 2012 14:35:32 GMT
|
26
26
|
Server:
|
27
27
|
- thin 1.3.1 codename Triple Espresso
|
28
28
|
X-Runtime:
|
29
|
-
- '0.
|
29
|
+
- '0.099649'
|
30
30
|
X-Ua-Compatible:
|
31
31
|
- IE=Edge,chrome=1
|
32
32
|
Transfer-Encoding:
|
@@ -65,10 +65,10 @@ http_interactions:
|
|
65
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
|
66
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}]'
|
67
67
|
http_version:
|
68
|
-
recorded_at:
|
68
|
+
recorded_at: Wed, 15 Feb 2012 14:35:36 GMT
|
69
69
|
- request:
|
70
70
|
method: get
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2
|
72
72
|
body: ''
|
73
73
|
headers:
|
74
74
|
Authorization:
|
@@ -86,13 +86,13 @@ http_interactions:
|
|
86
86
|
Content-Type:
|
87
87
|
- application/json; charset=utf-8
|
88
88
|
Etag:
|
89
|
-
- ! '"
|
89
|
+
- ! '"f65320cfd5989cd8134e820ba655add8"'
|
90
90
|
Last-Modified:
|
91
|
-
-
|
91
|
+
- Wed, 15 Feb 2012 14:35:32 GMT
|
92
92
|
Server:
|
93
93
|
- thin 1.3.1 codename Triple Espresso
|
94
94
|
X-Runtime:
|
95
|
-
- '0.
|
95
|
+
- '0.104042'
|
96
96
|
X-Ua-Compatible:
|
97
97
|
- IE=Edge,chrome=1
|
98
98
|
Transfer-Encoding:
|
@@ -129,12 +129,12 @@ http_interactions:
|
|
129
129
|
31","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/13949567","url":"http://cl.ly/260m2h3T0O2P272k2F3h","content_url":"http://cl.ly/260m2h3T0O2P272k2F3h","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:03Z","deleted_at":null,"id":13949566,"item_type":"bookmark","name":"Link
|
130
130
|
30","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/13949566","url":"http://cl.ly/411H1g1a3y2T2B3U322x","content_url":"http://cl.ly/411H1g1a3y2T2B3U322x","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:03Z","deleted_at":null,"id":13949565,"item_type":"bookmark","name":"Link
|
131
131
|
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
|
132
|
-
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}],"links":{"self":"
|
132
|
+
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}],"links":{"self":"https://my.cl.ly/items?api_version=1.2&page=1&per_page=20","next":"https://my.cl.ly/items?api_version=1.2&page=2&per_page=20"}}'
|
133
133
|
http_version:
|
134
|
-
recorded_at:
|
134
|
+
recorded_at: Wed, 15 Feb 2012 14:35:36 GMT
|
135
135
|
- request:
|
136
136
|
method: get
|
137
|
-
uri:
|
137
|
+
uri: https://my.cl.ly/items/new
|
138
138
|
body: ''
|
139
139
|
headers:
|
140
140
|
Authorization:
|
@@ -152,25 +152,25 @@ http_interactions:
|
|
152
152
|
Content-Type:
|
153
153
|
- application/json; charset=utf-8
|
154
154
|
Etag:
|
155
|
-
- ! '"
|
155
|
+
- ! '"9c55ed45f4b4e5a2417351e78143f2cd"'
|
156
156
|
Link:
|
157
157
|
- <http://store.getcloudapp.com/cart?email=arthur%40dent.com>; rel="payment"
|
158
158
|
Server:
|
159
159
|
- thin 1.3.1 codename Triple Espresso
|
160
160
|
X-Runtime:
|
161
|
-
- '0.
|
161
|
+
- '0.047514'
|
162
162
|
X-Ua-Compatible:
|
163
163
|
- IE=Edge,chrome=1
|
164
|
-
|
165
|
-
-
|
164
|
+
Transfer-Encoding:
|
165
|
+
- chunked
|
166
166
|
Connection:
|
167
167
|
- keep-alive
|
168
|
-
body: ! '{"url":"http://f.cl.ly","max_upload_size":26214400,"uploads_remaining":10,"params":{"AWSAccessKeyId":"AKIAIDPUZISHSBEOFS6Q","acl":"public-read","key":"items/
|
168
|
+
body: ! '{"url":"http://f.cl.ly","max_upload_size":26214400,"uploads_remaining":10,"params":{"AWSAccessKeyId":"AKIAIDPUZISHSBEOFS6Q","acl":"public-read","key":"items/0P3c3c1V3v1H3I3p3x0k/${filename}","success_action_redirect":"http://my.cl.ly/items/s3","policy":"eyJleHBpcmF0aW9uIjoiMjAxMi0wMi0xNVQxNDo1MDozM1oiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJmLmNsLmx5In0seyJhY2wiOiJwdWJsaWMtcmVhZCJ9LHsic3VjY2Vzc19hY3Rpb25fcmVkaXJlY3QiOiJodHRwOi8vbXkuY2wubHkvaXRlbXMvczMifSxbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwwLDI2MjE0NDAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsIml0ZW1zLzBQM2MzYzFWM3YxSDNJM3AzeDBrLyJdXX0=","signature":"evtSOkFyN4FIKZ9PoW2aHBeqR+s="}}'
|
169
169
|
http_version:
|
170
|
-
recorded_at:
|
170
|
+
recorded_at: Wed, 15 Feb 2012 14:35:36 GMT
|
171
171
|
- request:
|
172
172
|
method: post
|
173
|
-
uri:
|
173
|
+
uri: https://s3.amazonaws.com/f.cl.ly/
|
174
174
|
body: !binary |-
|
175
175
|
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0DQpDb250ZW50LURpc3Bv
|
176
176
|
c2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9IkFXU0FjY2Vzc0tleUlkIg0KDQpB
|
@@ -178,22 +178,22 @@ http_interactions:
|
|
178
178
|
cnRQb3N0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9
|
179
179
|
ImFjbCINCg0KcHVibGljLXJlYWQNCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlw
|
180
180
|
YXJ0UG9zdA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1l
|
181
|
-
|
181
|
+
PSJrZXkiDQoNCml0ZW1zLzBQM2MzYzFWM3YxSDNJM3AzeDBrLyR7ZmlsZW5h
|
182
182
|
bWV9DQotLS0tLS0tLS0tLS0tUnVieU11bHRpcGFydFBvc3QNCkNvbnRlbnQt
|
183
183
|
RGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0ic3VjY2Vzc19hY3Rpb25f
|
184
184
|
cmVkaXJlY3QiDQoNCmh0dHA6Ly9teS5jbC5seS9pdGVtcy9zMw0KLS0tLS0t
|
185
185
|
LS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0DQpDb250ZW50LURpc3Bvc2l0aW9u
|
186
186
|
OiBmb3JtLWRhdGE7IG5hbWU9InBvbGljeSINCg0KZXlKbGVIQnBjbUYwYVc5
|
187
|
-
|
187
|
+
dUlqb2lNakF4TWkwd01pMHhOVlF4TkRvMU1Eb3pNMW9pTENKamIyNWthWFJw
|
188
188
|
YjI1eklqcGJleUppZFdOclpYUWlPaUptTG1Oc0xteDVJbjBzZXlKaFkyd2lP
|
189
189
|
aUp3ZFdKc2FXTXRjbVZoWkNKOUxIc2ljM1ZqWTJWemMxOWhZM1JwYjI1ZmNt
|
190
190
|
VmthWEpsWTNRaU9pSm9kSFJ3T2k4dmJYa3VZMnd1YkhrdmFYUmxiWE12Y3pN
|
191
191
|
aWZTeGJJbU52Ym5SbGJuUXRiR1Z1WjNSb0xYSmhibWRsSWl3d0xESTJNakUw
|
192
192
|
TkRBd1hTeGJJbk4wWVhKMGN5MTNhWFJvSWl3aUpHdGxlU0lzSW1sMFpXMXpM
|
193
|
-
|
193
|
+
ekJRTTJNell6RldNM1l4U0ROSk0zQXplREJyTHlKZFhYMD0NCi0tLS0tLS0t
|
194
194
|
LS0tLS1SdWJ5TXVsdGlwYXJ0UG9zdA0KQ29udGVudC1EaXNwb3NpdGlvbjog
|
195
|
-
|
196
|
-
|
195
|
+
Zm9ybS1kYXRhOyBuYW1lPSJzaWduYXR1cmUiDQoNCmV2dFNPa0Z5TjRGSUta
|
196
|
+
OVBvVzJhSEJlcVIrcz0NCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlwYXJ0UG9z
|
197
197
|
dA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWxl
|
198
198
|
IjsgZmlsZW5hbWU9ImZhdmljb24uaWNvIg0KQ29udGVudC1MZW5ndGg6IDEx
|
199
199
|
NTANCkNvbnRlbnQtVHlwZTogaW1hZ2UvcG5nDQpDb250ZW50LVRyYW5zZmVy
|
@@ -235,25 +235,25 @@ http_interactions:
|
|
235
235
|
message: Continue
|
236
236
|
headers:
|
237
237
|
X-Amz-Id-2:
|
238
|
-
-
|
238
|
+
- LZj+19M26VeVb4jd2hawWq7VtDccxYr0QJHaZ8Md2vNrDQLapZAnTsLl60b5t3Hj
|
239
239
|
X-Amz-Request-Id:
|
240
|
-
-
|
240
|
+
- 64A49F596FF643DF
|
241
241
|
Date:
|
242
|
-
-
|
242
|
+
- Wed, 15 Feb 2012 14:35:34 GMT
|
243
243
|
Etag:
|
244
244
|
- ! '"567d2d49d2d30e2db956d680a4d03f25"'
|
245
245
|
Location:
|
246
|
-
- http://my.cl.ly/items/s3?bucket=f.cl.ly&key=items%
|
246
|
+
- http://my.cl.ly/items/s3?bucket=f.cl.ly&key=items%2F0P3c3c1V3v1H3I3p3x0k%2Ffavicon.ico&etag=%22567d2d49d2d30e2db956d680a4d03f25%22
|
247
247
|
Content-Length:
|
248
248
|
- '0'
|
249
249
|
Server:
|
250
250
|
- AmazonS3
|
251
251
|
body: ''
|
252
252
|
http_version:
|
253
|
-
recorded_at:
|
253
|
+
recorded_at: Wed, 15 Feb 2012 14:35:37 GMT
|
254
254
|
- request:
|
255
255
|
method: get
|
256
|
-
uri:
|
256
|
+
uri: https://my.cl.ly/items/s3?bucket=f.cl.ly&etag=%22567d2d49d2d30e2db956d680a4d03f25%22&key=items/0P3c3c1V3v1H3I3p3x0k/favicon.ico
|
257
257
|
body: ''
|
258
258
|
headers:
|
259
259
|
Authorization:
|
@@ -271,21 +271,21 @@ http_interactions:
|
|
271
271
|
Content-Type:
|
272
272
|
- application/json; charset=utf-8
|
273
273
|
Etag:
|
274
|
-
- ! '"
|
274
|
+
- ! '"ec6be1a39f962bd4948f596c0e82f059"'
|
275
275
|
Server:
|
276
276
|
- thin 1.3.1 codename Triple Espresso
|
277
277
|
Set-Cookie:
|
278
|
-
- _engine_session=
|
278
|
+
- _engine_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMWI4OTA1NGI2YmM3NDMyN2VhMjI2ZTM0MmU2NDhmOTlJIgpmbGFzaAY7AEZJQzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2h7BjoMc3VjY2Vzc0kiDlVwbG9hZGVkIQY7AEYGOgpAdXNlZG86CFNldAY6CkBoYXNoewA%3D--2c5f02567254fba4f763140b29d3c59cff124c92;
|
279
279
|
path=/; HttpOnly
|
280
280
|
X-Runtime:
|
281
|
-
- '0.
|
281
|
+
- '0.452510'
|
282
282
|
X-Ua-Compatible:
|
283
283
|
- IE=Edge,chrome=1
|
284
|
-
|
285
|
-
-
|
284
|
+
Transfer-Encoding:
|
285
|
+
- chunked
|
286
286
|
Connection:
|
287
287
|
- keep-alive
|
288
|
-
body: ! '{"created_at":"2012-02-
|
288
|
+
body: ! '{"created_at":"2012-02-15T14:35:34Z","deleted_at":null,"id":15224360,"item_type":"image","name":"favicon.ico","private":true,"redirect_url":null,"remote_url":"http://f.cl.ly/items/0P3c3c1V3v1H3I3p3x0k/favicon.ico","source":null,"updated_at":"2012-02-15T14:35:34Z","view_counter":0,"href":"http://my.cl.ly/items/15224360","url":"http://cl.ly/1m1Y2a1H1D47070B1m2X","content_url":"http://cl.ly/1m1Y2a1H1D47070B1m2X/favicon.ico","icon":"http://assets.my.cld.me/images/item-types/image.png","thumbnail_url":"http://thumbs.cl.ly/1m1Y2a1H1D47070B1m2X","subscribed":false,"download_url":"http://api.cld.me/1m1Y2a1H1D47070B1m2X/download/favicon.ico"}'
|
289
289
|
http_version:
|
290
|
-
recorded_at:
|
290
|
+
recorded_at: Wed, 15 Feb 2012 14:35:38 GMT
|
291
291
|
recorded_with: VCR 2.0.0.rc1
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri:
|
5
|
+
uri: https://my.cl.ly/
|
6
6
|
body: ''
|
7
7
|
headers:
|
8
8
|
Authorization:
|
@@ -20,13 +20,13 @@ http_interactions:
|
|
20
20
|
Content-Type:
|
21
21
|
- application/json; charset=utf-8
|
22
22
|
Etag:
|
23
|
-
- ! '"
|
23
|
+
- ! '"8338ad65017a4f430109d336992c2424"'
|
24
24
|
Last-Modified:
|
25
|
-
-
|
25
|
+
- Wed, 15 Feb 2012 14:38:48 GMT
|
26
26
|
Server:
|
27
27
|
- thin 1.3.1 codename Triple Espresso
|
28
28
|
X-Runtime:
|
29
|
-
- '0.
|
29
|
+
- '0.121075'
|
30
30
|
X-Ua-Compatible:
|
31
31
|
- IE=Edge,chrome=1
|
32
32
|
Transfer-Encoding:
|
@@ -65,10 +65,10 @@ http_interactions:
|
|
65
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
|
66
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}]'
|
67
67
|
http_version:
|
68
|
-
recorded_at:
|
68
|
+
recorded_at: Wed, 15 Feb 2012 14:39:01 GMT
|
69
69
|
- request:
|
70
70
|
method: get
|
71
|
-
uri:
|
71
|
+
uri: https://my.cl.ly/items?api_version=1.2
|
72
72
|
body: ''
|
73
73
|
headers:
|
74
74
|
Authorization:
|
@@ -86,13 +86,13 @@ http_interactions:
|
|
86
86
|
Content-Type:
|
87
87
|
- application/json; charset=utf-8
|
88
88
|
Etag:
|
89
|
-
- ! '"
|
89
|
+
- ! '"8338ad65017a4f430109d336992c2424"'
|
90
90
|
Last-Modified:
|
91
|
-
-
|
91
|
+
- Wed, 15 Feb 2012 14:38:48 GMT
|
92
92
|
Server:
|
93
93
|
- thin 1.3.1 codename Triple Espresso
|
94
94
|
X-Runtime:
|
95
|
-
- '0.
|
95
|
+
- '0.093783'
|
96
96
|
X-Ua-Compatible:
|
97
97
|
- IE=Edge,chrome=1
|
98
98
|
Transfer-Encoding:
|
@@ -129,12 +129,12 @@ http_interactions:
|
|
129
129
|
31","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/13949567","url":"http://cl.ly/260m2h3T0O2P272k2F3h","content_url":"http://cl.ly/260m2h3T0O2P272k2F3h","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:03Z","deleted_at":null,"id":13949566,"item_type":"bookmark","name":"Link
|
130
130
|
30","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/13949566","url":"http://cl.ly/411H1g1a3y2T2B3U322x","content_url":"http://cl.ly/411H1g1a3y2T2B3U322x","icon":"http://assets.my.cld.me/images/item-types/bookmark.png","subscribed":false},{"created_at":"2012-01-12T20:39:03Z","deleted_at":null,"id":13949565,"item_type":"bookmark","name":"Link
|
131
131
|
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
|
132
|
-
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}],"links":{"self":"
|
132
|
+
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}],"links":{"self":"https://my.cl.ly/items?api_version=1.2&page=1&per_page=20","next":"https://my.cl.ly/items?api_version=1.2&page=2&per_page=20"}}'
|
133
133
|
http_version:
|
134
|
-
recorded_at:
|
134
|
+
recorded_at: Wed, 15 Feb 2012 14:39:02 GMT
|
135
135
|
- request:
|
136
136
|
method: get
|
137
|
-
uri:
|
137
|
+
uri: https://my.cl.ly/items/new?item%5Bprivate%5D=false
|
138
138
|
body: ''
|
139
139
|
headers:
|
140
140
|
Authorization:
|
@@ -152,25 +152,25 @@ http_interactions:
|
|
152
152
|
Content-Type:
|
153
153
|
- application/json; charset=utf-8
|
154
154
|
Etag:
|
155
|
-
- ! '"
|
155
|
+
- ! '"2d1af46dfc22262da0e9cf935b9793f4"'
|
156
156
|
Link:
|
157
157
|
- <http://store.getcloudapp.com/cart?email=arthur%40dent.com>; rel="payment"
|
158
158
|
Server:
|
159
159
|
- thin 1.3.1 codename Triple Espresso
|
160
160
|
X-Runtime:
|
161
|
-
- '0.
|
161
|
+
- '0.037587'
|
162
162
|
X-Ua-Compatible:
|
163
163
|
- IE=Edge,chrome=1
|
164
164
|
Transfer-Encoding:
|
165
165
|
- chunked
|
166
166
|
Connection:
|
167
167
|
- keep-alive
|
168
|
-
body: ! '{"url":"http://f.cl.ly","max_upload_size":26214400,"uploads_remaining":10,"params":{"AWSAccessKeyId":"AKIAIDPUZISHSBEOFS6Q","acl":"public-read","key":"items/
|
168
|
+
body: ! '{"url":"http://f.cl.ly","max_upload_size":26214400,"uploads_remaining":10,"params":{"AWSAccessKeyId":"AKIAIDPUZISHSBEOFS6Q","acl":"public-read","key":"items/2B0E373Z1J2U1u071E28/${filename}","success_action_redirect":"http://my.cl.ly/items/s3?item%5Bprivate%5D=false","policy":"eyJleHBpcmF0aW9uIjoiMjAxMi0wMi0xNVQxNDo1Mzo1OFoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJmLmNsLmx5In0seyJhY2wiOiJwdWJsaWMtcmVhZCJ9LHsic3VjY2Vzc19hY3Rpb25fcmVkaXJlY3QiOiJodHRwOi8vbXkuY2wubHkvaXRlbXMvczM/aXRlbSU1QnByaXZhdGUlNUQ9ZmFsc2UifSxbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwwLDI2MjE0NDAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsIml0ZW1zLzJCMEUzNzNaMUoyVTF1MDcxRTI4LyJdXX0=","signature":"Z/fOhkEIewdqkSx6J8GoeEf11Zs="}}'
|
169
169
|
http_version:
|
170
|
-
recorded_at:
|
170
|
+
recorded_at: Wed, 15 Feb 2012 14:39:02 GMT
|
171
171
|
- request:
|
172
172
|
method: post
|
173
|
-
uri:
|
173
|
+
uri: https://s3.amazonaws.com/f.cl.ly/
|
174
174
|
body: !binary |-
|
175
175
|
LS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0DQpDb250ZW50LURpc3Bv
|
176
176
|
c2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9IkFXU0FjY2Vzc0tleUlkIg0KDQpB
|
@@ -178,23 +178,23 @@ http_interactions:
|
|
178
178
|
cnRQb3N0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9
|
179
179
|
ImFjbCINCg0KcHVibGljLXJlYWQNCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlw
|
180
180
|
YXJ0UG9zdA0KQ29udGVudC1EaXNwb3NpdGlvbjogZm9ybS1kYXRhOyBuYW1l
|
181
|
-
|
181
|
+
PSJrZXkiDQoNCml0ZW1zLzJCMEUzNzNaMUoyVTF1MDcxRTI4LyR7ZmlsZW5h
|
182
182
|
bWV9DQotLS0tLS0tLS0tLS0tUnVieU11bHRpcGFydFBvc3QNCkNvbnRlbnQt
|
183
183
|
RGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0ic3VjY2Vzc19hY3Rpb25f
|
184
184
|
cmVkaXJlY3QiDQoNCmh0dHA6Ly9teS5jbC5seS9pdGVtcy9zMz9pdGVtJTVC
|
185
185
|
cHJpdmF0ZSU1RD1mYWxzZQ0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQ
|
186
186
|
b3N0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InBv
|
187
|
-
|
188
|
-
|
187
|
+
bGljeSINCg0KZXlKbGVIQnBjbUYwYVc5dUlqb2lNakF4TWkwd01pMHhOVlF4
|
188
|
+
TkRvMU16bzFPRm9pTENKamIyNWthWFJwYjI1eklqcGJleUppZFdOclpYUWlP
|
189
189
|
aUptTG1Oc0xteDVJbjBzZXlKaFkyd2lPaUp3ZFdKc2FXTXRjbVZoWkNKOUxI
|
190
190
|
c2ljM1ZqWTJWemMxOWhZM1JwYjI1ZmNtVmthWEpsWTNRaU9pSm9kSFJ3T2k4
|
191
191
|
dmJYa3VZMnd1YkhrdmFYUmxiWE12Y3pNL2FYUmxiU1UxUW5CeWFYWmhkR1Vs
|
192
192
|
TlVROVptRnNjMlVpZlN4YkltTnZiblJsYm5RdGJHVnVaM1JvTFhKaGJtZGxJ
|
193
193
|
aXd3TERJMk1qRTBOREF3WFN4YkluTjBZWEowY3kxM2FYUm9JaXdpSkd0bGVT
|
194
|
-
|
194
|
+
SXNJbWwwWlcxekx6SkNNRVV6TnpOYU1Vb3lWVEYxTURjeFJUSTRMeUpkWFgw
|
195
195
|
PQ0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0DQpDb250ZW50LURp
|
196
|
-
|
197
|
-
|
196
|
+
c3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InNpZ25hdHVyZSINCg0KWi9m
|
197
|
+
T2hrRUlld2Rxa1N4Nko4R29lRWYxMVpzPQ0KLS0tLS0tLS0tLS0tLVJ1YnlN
|
198
198
|
dWx0aXBhcnRQb3N0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7
|
199
199
|
IG5hbWU9ImZpbGUiOyBmaWxlbmFtZT0iZmF2aWNvbi5pY28iDQpDb250ZW50
|
200
200
|
LUxlbmd0aDogMTE1MA0KQ29udGVudC1UeXBlOiBpbWFnZS9wbmcNCkNvbnRl
|
@@ -237,25 +237,25 @@ http_interactions:
|
|
237
237
|
message: Continue
|
238
238
|
headers:
|
239
239
|
X-Amz-Id-2:
|
240
|
-
-
|
240
|
+
- Nlj8XPnwVy891z4sJdkBCHl7/9MDsbYKe+/E2juC+MnokanBIOCR6mzvcxjDsV8g
|
241
241
|
X-Amz-Request-Id:
|
242
|
-
-
|
242
|
+
- 41BAA5FC5FE2314D
|
243
243
|
Date:
|
244
|
-
-
|
244
|
+
- Wed, 15 Feb 2012 14:39:00 GMT
|
245
245
|
Etag:
|
246
246
|
- ! '"567d2d49d2d30e2db956d680a4d03f25"'
|
247
247
|
Location:
|
248
|
-
- http://my.cl.ly/items/s3?item%5Bprivate%5D=false&bucket=f.cl.ly&key=items%
|
248
|
+
- http://my.cl.ly/items/s3?item%5Bprivate%5D=false&bucket=f.cl.ly&key=items%2F2B0E373Z1J2U1u071E28%2Ffavicon.ico&etag=%22567d2d49d2d30e2db956d680a4d03f25%22
|
249
249
|
Content-Length:
|
250
250
|
- '0'
|
251
251
|
Server:
|
252
252
|
- AmazonS3
|
253
253
|
body: ''
|
254
254
|
http_version:
|
255
|
-
recorded_at:
|
255
|
+
recorded_at: Wed, 15 Feb 2012 14:39:02 GMT
|
256
256
|
- request:
|
257
257
|
method: get
|
258
|
-
uri:
|
258
|
+
uri: https://my.cl.ly/items/s3?bucket=f.cl.ly&etag=%22567d2d49d2d30e2db956d680a4d03f25%22&key=items/2B0E373Z1J2U1u071E28/favicon.ico&item%5Bprivate%5D=false
|
259
259
|
body: ''
|
260
260
|
headers:
|
261
261
|
Authorization:
|
@@ -273,21 +273,21 @@ http_interactions:
|
|
273
273
|
Content-Type:
|
274
274
|
- application/json; charset=utf-8
|
275
275
|
Etag:
|
276
|
-
- ! '"
|
276
|
+
- ! '"4b1474c95d8a0924601772aacc6e77f1"'
|
277
277
|
Server:
|
278
278
|
- thin 1.3.1 codename Triple Espresso
|
279
279
|
Set-Cookie:
|
280
|
-
- _engine_session=
|
280
|
+
- _engine_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYjUwMWYyMGY0MjU3OGZiNGQ4MzkzYzBiMDQ3YzU5Y2ZJIgpmbGFzaAY7AEZJQzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2h7BjoMc3VjY2Vzc0kiDlVwbG9hZGVkIQY7AEYGOgpAdXNlZG86CFNldAY6CkBoYXNoewA%3D--917f84e9cc0e750ba6f476a8949f4b63824a846d;
|
281
281
|
path=/; HttpOnly
|
282
282
|
X-Runtime:
|
283
|
-
- '0.
|
283
|
+
- '0.063912'
|
284
284
|
X-Ua-Compatible:
|
285
285
|
- IE=Edge,chrome=1
|
286
286
|
Transfer-Encoding:
|
287
287
|
- chunked
|
288
288
|
Connection:
|
289
289
|
- keep-alive
|
290
|
-
body: ! '{"created_at":"2012-02-
|
290
|
+
body: ! '{"created_at":"2012-02-15T14:38:59Z","deleted_at":null,"id":15224473,"item_type":"image","name":"favicon.ico","private":false,"redirect_url":null,"remote_url":"http://f.cl.ly/items/2B0E373Z1J2U1u071E28/favicon.ico","source":null,"updated_at":"2012-02-15T14:38:59Z","view_counter":0,"href":"http://my.cl.ly/items/15224473","url":"http://cl.ly/EEIA","content_url":"http://cl.ly/EEIA/favicon.ico","icon":"http://assets.my.cld.me/images/item-types/image.png","thumbnail_url":"http://thumbs.cl.ly/EEIA","subscribed":false,"download_url":"http://api.cld.me/EEIA/download/favicon.ico"}'
|
291
291
|
http_version:
|
292
|
-
recorded_at:
|
292
|
+
recorded_at: Wed, 15 Feb 2012 14:39:03 GMT
|
293
293
|
recorded_with: VCR 2.0.0.rc1
|
@@ -153,7 +153,7 @@ describe CloudApp::DropService do
|
|
153
153
|
|
154
154
|
it 'has a remote url' do
|
155
155
|
subject.remote_url.
|
156
|
-
should eq('http://f.cl.ly/items/
|
156
|
+
should eq('http://f.cl.ly/items/0P3c3c1V3v1H3I3p3x0k/favicon.ico')
|
157
157
|
end
|
158
158
|
|
159
159
|
it 'has the name of the file' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-02-
|
12
|
+
date: 2012-02-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
16
|
-
requirement: &
|
16
|
+
requirement: &70218034648020 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70218034648020
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: faraday
|
27
|
-
requirement: &
|
27
|
+
requirement: &70218034647400 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 0.8.0.rc2
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70218034647400
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: gli
|
38
|
-
requirement: &
|
38
|
+
requirement: &70218034646880 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70218034646880
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: highline
|
49
|
-
requirement: &
|
49
|
+
requirement: &70218034646360 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70218034646360
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: leadlight
|
60
|
-
requirement: &
|
60
|
+
requirement: &70218034637340 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70218034637340
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: typhoeus
|
71
|
-
requirement: &
|
71
|
+
requirement: &70218034636420 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70218034636420
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: rake
|
82
|
-
requirement: &
|
82
|
+
requirement: &70218034635420 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,10 +87,10 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70218034635420
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: ronn
|
93
|
-
requirement: &
|
93
|
+
requirement: &70218034634500 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
96
|
- - ! '>='
|
@@ -98,10 +98,10 @@ dependencies:
|
|
98
98
|
version: '0'
|
99
99
|
type: :development
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70218034634500
|
102
102
|
- !ruby/object:Gem::Dependency
|
103
103
|
name: rspec
|
104
|
-
requirement: &
|
104
|
+
requirement: &70218034633840 !ruby/object:Gem::Requirement
|
105
105
|
none: false
|
106
106
|
requirements:
|
107
107
|
- - ! '>='
|
@@ -109,10 +109,10 @@ dependencies:
|
|
109
109
|
version: '0'
|
110
110
|
type: :development
|
111
111
|
prerelease: false
|
112
|
-
version_requirements: *
|
112
|
+
version_requirements: *70218034633840
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
114
|
name: vcr
|
115
|
-
requirement: &
|
115
|
+
requirement: &70218034633340 !ruby/object:Gem::Requirement
|
116
116
|
none: false
|
117
117
|
requirements:
|
118
118
|
- - ~>
|
@@ -120,10 +120,10 @@ dependencies:
|
|
120
120
|
version: 2.0.0.rc1
|
121
121
|
type: :development
|
122
122
|
prerelease: false
|
123
|
-
version_requirements: *
|
123
|
+
version_requirements: *70218034633340
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: webmock
|
126
|
-
requirement: &
|
126
|
+
requirement: &70218034632860 !ruby/object:Gem::Requirement
|
127
127
|
none: false
|
128
128
|
requirements:
|
129
129
|
- - ! '>='
|
@@ -131,7 +131,7 @@ dependencies:
|
|
131
131
|
version: '0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
|
-
version_requirements: *
|
134
|
+
version_requirements: *70218034632860
|
135
135
|
description: Experience all the pleasures of sharing with CloudApp now in your terminal.
|
136
136
|
email: larry@marburger.cc
|
137
137
|
executables:
|