cloudapp 0.0.15 → 0.0.16

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudapp (0.0.15)
4
+ cloudapp (0.0.16)
5
5
  addressable
6
6
  faraday (~> 0.8.0.rc2)
7
7
  gli
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.15'
17
- s.date = '2012-02-14'
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 'http://my.cl.ly'
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 :multipart
188
- builder.request :url_encoded
189
- builder.adapter :typhoeus
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
- get(env[:response_headers]['Location']).raise_on_error.
194
- submit_and_wait {|new_drop| return Drop.new new_drop }
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
@@ -1,3 +1,3 @@
1
1
  module CloudApp
2
- VERSION = '0.0.15'
2
+ VERSION = '0.0.16'
3
3
  end
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: http://my.cl.ly/
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: http://my.cl.ly/items?api_version=1.2
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: http://my.cl.ly/
5
+ uri: https://my.cl.ly/
6
6
  body: ''
7
7
  headers:
8
8
  Authorization:
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://my.cl.ly/
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: http://my.cl.ly/items?api_version=1.2
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: http://my.cl.ly/
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: http://my.cl.ly/items?api_version=1.2
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: http://my.cl.ly/
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: http://my.cl.ly/items?api_version=1.2
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: http://my.cl.ly/
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: http://my.cl.ly/items?api_version=1.2&per_page=20
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: http://my.cl.ly/
5
+ uri: https://my.cl.ly/
6
6
  body: ''
7
7
  headers:
8
8
  Authorization:
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://my.cl.ly/
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: http://my.cl.ly/items?api_version=1.2&per_page=5
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: http://my.cl.ly/
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: http://my.cl.ly/items?api_version=1.2&deleted=true&per_page=20
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: http://my.cl.ly/
5
+ uri: https://my.cl.ly/
6
6
  body: ''
7
7
  headers:
8
8
  Authorization:
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://my.cl.ly/account/token
5
+ uri: https://my.cl.ly/account/token
6
6
  body: ! '{"email":"arthur@dent.com","password":"towel"}'
7
7
  headers:
8
8
  Content-Type:
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: post
5
- uri: http://my.cl.ly/account/token
5
+ uri: https://my.cl.ly/account/token
6
6
  body: ! '{"email":"ford@prefect.com","password":"earthling"}'
7
7
  headers:
8
8
  Content-Type:
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: http://my.cl.ly/
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
- - ! '"1863cfd310c87d242318d29036a2f206"'
23
+ - ! '"f65320cfd5989cd8134e820ba655add8"'
24
24
  Last-Modified:
25
- - Tue, 14 Feb 2012 14:41:06 GMT
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.112338'
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: Tue, 14 Feb 2012 14:41:06 GMT
68
+ recorded_at: Wed, 15 Feb 2012 14:35:36 GMT
69
69
  - request:
70
70
  method: get
71
- uri: http://my.cl.ly/items?api_version=1.2
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
- - ! '"1863cfd310c87d242318d29036a2f206"'
89
+ - ! '"f65320cfd5989cd8134e820ba655add8"'
90
90
  Last-Modified:
91
- - Tue, 14 Feb 2012 14:41:06 GMT
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.103155'
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":"http://my.cl.ly/items?api_version=1.2&page=1&per_page=20","next":"http://my.cl.ly/items?api_version=1.2&page=2&per_page=20"}}'
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: Tue, 14 Feb 2012 14:41:06 GMT
134
+ recorded_at: Wed, 15 Feb 2012 14:35:36 GMT
135
135
  - request:
136
136
  method: get
137
- uri: http://my.cl.ly/items/new
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
- - ! '"8c2efafcd31d093c89a902cc5ca2884e"'
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.022796'
161
+ - '0.047514'
162
162
  X-Ua-Compatible:
163
163
  - IE=Edge,chrome=1
164
- Content-Length:
165
- - '620'
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/1n331R181E100P3h2x3f/${filename}","success_action_redirect":"http://my.cl.ly/items/s3","policy":"eyJleHBpcmF0aW9uIjoiMjAxMi0wMi0xNFQxNDo1NjowNloiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJmLmNsLmx5In0seyJhY2wiOiJwdWJsaWMtcmVhZCJ9LHsic3VjY2Vzc19hY3Rpb25fcmVkaXJlY3QiOiJodHRwOi8vbXkuY2wubHkvaXRlbXMvczMifSxbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwwLDI2MjE0NDAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsIml0ZW1zLzFuMzMxUjE4MUUxMDBQM2gyeDNmLyJdXX0=","signature":"oRudcqIrWjdjmEqNsAhqVnjOqZ4="}}'
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: Tue, 14 Feb 2012 14:41:06 GMT
170
+ recorded_at: Wed, 15 Feb 2012 14:35:36 GMT
171
171
  - request:
172
172
  method: post
173
- uri: http://f.cl.ly/
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
- PSJrZXkiDQoNCml0ZW1zLzFuMzMxUjE4MUUxMDBQM2gyeDNmLyR7ZmlsZW5h
181
+ PSJrZXkiDQoNCml0ZW1zLzBQM2MzYzFWM3YxSDNJM3AzeDBrLyR7ZmlsZW5h
182
182
  bWV9DQotLS0tLS0tLS0tLS0tUnVieU11bHRpcGFydFBvc3QNCkNvbnRlbnQt
183
183
  RGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0ic3VjY2Vzc19hY3Rpb25f
184
184
  cmVkaXJlY3QiDQoNCmh0dHA6Ly9teS5jbC5seS9pdGVtcy9zMw0KLS0tLS0t
185
185
  LS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0DQpDb250ZW50LURpc3Bvc2l0aW9u
186
186
  OiBmb3JtLWRhdGE7IG5hbWU9InBvbGljeSINCg0KZXlKbGVIQnBjbUYwYVc5
187
- dUlqb2lNakF4TWkwd01pMHhORlF4TkRvMU5qb3dObG9pTENKamIyNWthWFJw
187
+ dUlqb2lNakF4TWkwd01pMHhOVlF4TkRvMU1Eb3pNMW9pTENKamIyNWthWFJw
188
188
  YjI1eklqcGJleUppZFdOclpYUWlPaUptTG1Oc0xteDVJbjBzZXlKaFkyd2lP
189
189
  aUp3ZFdKc2FXTXRjbVZoWkNKOUxIc2ljM1ZqWTJWemMxOWhZM1JwYjI1ZmNt
190
190
  VmthWEpsWTNRaU9pSm9kSFJ3T2k4dmJYa3VZMnd1YkhrdmFYUmxiWE12Y3pN
191
191
  aWZTeGJJbU52Ym5SbGJuUXRiR1Z1WjNSb0xYSmhibWRsSWl3d0xESTJNakUw
192
192
  TkRBd1hTeGJJbk4wWVhKMGN5MTNhWFJvSWl3aUpHdGxlU0lzSW1sMFpXMXpM
193
- ekZ1TXpNeFVqRTRNVVV4TURCUU0yZ3llRE5tTHlKZFhYMD0NCi0tLS0tLS0t
193
+ ekJRTTJNell6RldNM1l4U0ROSk0zQXplREJyTHlKZFhYMD0NCi0tLS0tLS0t
194
194
  LS0tLS1SdWJ5TXVsdGlwYXJ0UG9zdA0KQ29udGVudC1EaXNwb3NpdGlvbjog
195
- Zm9ybS1kYXRhOyBuYW1lPSJzaWduYXR1cmUiDQoNCm9SdWRjcUlyV2pkam1F
196
- cU5zQWhxVm5qT3FaND0NCi0tLS0tLS0tLS0tLS1SdWJ5TXVsdGlwYXJ0UG9z
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
- - sKP+l9lGiBBN0aHGWNtaAPeAkh/Ui7awloyvPkpqWfUwnXbuVCFOe2qeux4l9dwJ
238
+ - LZj+19M26VeVb4jd2hawWq7VtDccxYr0QJHaZ8Md2vNrDQLapZAnTsLl60b5t3Hj
239
239
  X-Amz-Request-Id:
240
- - 88C5EBC9A9186F77
240
+ - 64A49F596FF643DF
241
241
  Date:
242
- - Tue, 14 Feb 2012 14:41:08 GMT
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%2F1n331R181E100P3h2x3f%2Ffavicon.ico&etag=%22567d2d49d2d30e2db956d680a4d03f25%22
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: Tue, 14 Feb 2012 14:41:07 GMT
253
+ recorded_at: Wed, 15 Feb 2012 14:35:37 GMT
254
254
  - request:
255
255
  method: get
256
- uri: http://my.cl.ly/items/s3?bucket=f.cl.ly&etag=%22567d2d49d2d30e2db956d680a4d03f25%22&key=items/1n331R181E100P3h2x3f/favicon.ico
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
- - ! '"c55e003bdd46f7bbcdce9e2321d327f5"'
274
+ - ! '"ec6be1a39f962bd4948f596c0e82f059"'
275
275
  Server:
276
276
  - thin 1.3.1 codename Triple Espresso
277
277
  Set-Cookie:
278
- - _engine_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlNDZiMWM1NTZiY2E5OTljMGVmM2E1OTBmYzY3OTUzMTZJIgpmbGFzaAY7AEZJQzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2h7BjoMc3VjY2Vzc0kiDlVwbG9hZGVkIQY7AEYGOgpAdXNlZG86CFNldAY6CkBoYXNoewA%3D--37b81f05668af82dede928a02c9f271492ca0c7b;
278
+ - _engine_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMWI4OTA1NGI2YmM3NDMyN2VhMjI2ZTM0MmU2NDhmOTlJIgpmbGFzaAY7AEZJQzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2h7BjoMc3VjY2Vzc0kiDlVwbG9hZGVkIQY7AEYGOgpAdXNlZG86CFNldAY6CkBoYXNoewA%3D--2c5f02567254fba4f763140b29d3c59cff124c92;
279
279
  path=/; HttpOnly
280
280
  X-Runtime:
281
- - '0.060638'
281
+ - '0.452510'
282
282
  X-Ua-Compatible:
283
283
  - IE=Edge,chrome=1
284
- Content-Length:
285
- - '641'
284
+ Transfer-Encoding:
285
+ - chunked
286
286
  Connection:
287
287
  - keep-alive
288
- body: ! '{"created_at":"2012-02-14T14:41:07Z","deleted_at":null,"id":15182941,"item_type":"image","name":"favicon.ico","private":true,"redirect_url":null,"remote_url":"http://f.cl.ly/items/1n331R181E100P3h2x3f/favicon.ico","source":null,"updated_at":"2012-02-14T14:41:07Z","view_counter":0,"href":"http://my.cl.ly/items/15182941","url":"http://cl.ly/0a3Q2z2u1o071o2M1X2O","content_url":"http://cl.ly/0a3Q2z2u1o071o2M1X2O/favicon.ico","icon":"http://assets.my.cld.me/images/item-types/image.png","thumbnail_url":"http://thumbs.cl.ly/0a3Q2z2u1o071o2M1X2O","subscribed":false,"download_url":"http://api.cld.me/0a3Q2z2u1o071o2M1X2O/download/favicon.ico"}'
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: Tue, 14 Feb 2012 14:41:07 GMT
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: http://my.cl.ly/
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
- - ! '"6df38c11329d1bc827b7e2c1282b89e6"'
23
+ - ! '"8338ad65017a4f430109d336992c2424"'
24
24
  Last-Modified:
25
- - Tue, 14 Feb 2012 14:41:31 GMT
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.190430'
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: Tue, 14 Feb 2012 14:41:41 GMT
68
+ recorded_at: Wed, 15 Feb 2012 14:39:01 GMT
69
69
  - request:
70
70
  method: get
71
- uri: http://my.cl.ly/items?api_version=1.2
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
- - ! '"6df38c11329d1bc827b7e2c1282b89e6"'
89
+ - ! '"8338ad65017a4f430109d336992c2424"'
90
90
  Last-Modified:
91
- - Tue, 14 Feb 2012 14:41:31 GMT
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.107927'
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":"http://my.cl.ly/items?api_version=1.2&page=1&per_page=20","next":"http://my.cl.ly/items?api_version=1.2&page=2&per_page=20"}}'
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: Tue, 14 Feb 2012 14:41:41 GMT
134
+ recorded_at: Wed, 15 Feb 2012 14:39:02 GMT
135
135
  - request:
136
136
  method: get
137
- uri: http://my.cl.ly/items/new?item%5Bprivate%5D=false
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
- - ! '"b9e6bd0dd31c2b0a7d54cf973ea7e376"'
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.143324'
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/212h0C233L2p3329162a/${filename}","success_action_redirect":"http://my.cl.ly/items/s3?item%5Bprivate%5D=false","policy":"eyJleHBpcmF0aW9uIjoiMjAxMi0wMi0xNFQxNDo1Njo0MVoiLCJjb25kaXRpb25zIjpbeyJidWNrZXQiOiJmLmNsLmx5In0seyJhY2wiOiJwdWJsaWMtcmVhZCJ9LHsic3VjY2Vzc19hY3Rpb25fcmVkaXJlY3QiOiJodHRwOi8vbXkuY2wubHkvaXRlbXMvczM/aXRlbSU1QnByaXZhdGUlNUQ9ZmFsc2UifSxbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwwLDI2MjE0NDAwXSxbInN0YXJ0cy13aXRoIiwiJGtleSIsIml0ZW1zLzIxMmgwQzIzM0wycDMzMjkxNjJhLyJdXX0=","signature":"62GDpNzTsRvWXN1M1Nnr+LKzOJs="}}'
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: Tue, 14 Feb 2012 14:41:41 GMT
170
+ recorded_at: Wed, 15 Feb 2012 14:39:02 GMT
171
171
  - request:
172
172
  method: post
173
- uri: http://f.cl.ly/
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
- PSJrZXkiDQoNCml0ZW1zLzIxMmgwQzIzM0wycDMzMjkxNjJhLyR7ZmlsZW5h
181
+ PSJrZXkiDQoNCml0ZW1zLzJCMEUzNzNaMUoyVTF1MDcxRTI4LyR7ZmlsZW5h
182
182
  bWV9DQotLS0tLS0tLS0tLS0tUnVieU11bHRpcGFydFBvc3QNCkNvbnRlbnQt
183
183
  RGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0ic3VjY2Vzc19hY3Rpb25f
184
184
  cmVkaXJlY3QiDQoNCmh0dHA6Ly9teS5jbC5seS9pdGVtcy9zMz9pdGVtJTVC
185
185
  cHJpdmF0ZSU1RD1mYWxzZQ0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQ
186
186
  b3N0DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InBv
187
- bGljeSINCg0KZXlKbGVIQnBjbUYwYVc5dUlqb2lNakF4TWkwd01pMHhORlF4
188
- TkRvMU5qbzBNVm9pTENKamIyNWthWFJwYjI1eklqcGJleUppZFdOclpYUWlP
187
+ bGljeSINCg0KZXlKbGVIQnBjbUYwYVc5dUlqb2lNakF4TWkwd01pMHhOVlF4
188
+ TkRvMU16bzFPRm9pTENKamIyNWthWFJwYjI1eklqcGJleUppZFdOclpYUWlP
189
189
  aUptTG1Oc0xteDVJbjBzZXlKaFkyd2lPaUp3ZFdKc2FXTXRjbVZoWkNKOUxI
190
190
  c2ljM1ZqWTJWemMxOWhZM1JwYjI1ZmNtVmthWEpsWTNRaU9pSm9kSFJ3T2k4
191
191
  dmJYa3VZMnd1YkhrdmFYUmxiWE12Y3pNL2FYUmxiU1UxUW5CeWFYWmhkR1Vs
192
192
  TlVROVptRnNjMlVpZlN4YkltTnZiblJsYm5RdGJHVnVaM1JvTFhKaGJtZGxJ
193
193
  aXd3TERJMk1qRTBOREF3WFN4YkluTjBZWEowY3kxM2FYUm9JaXdpSkd0bGVT
194
- SXNJbWwwWlcxekx6SXhNbWd3UXpJek0wd3ljRE16TWpreE5qSmhMeUpkWFgw
194
+ SXNJbWwwWlcxekx6SkNNRVV6TnpOYU1Vb3lWVEYxTURjeFJUSTRMeUpkWFgw
195
195
  PQ0KLS0tLS0tLS0tLS0tLVJ1YnlNdWx0aXBhcnRQb3N0DQpDb250ZW50LURp
196
- c3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9InNpZ25hdHVyZSINCg0KNjJH
197
- RHBOelRzUnZXWE4xTTFObnIrTEt6T0pzPQ0KLS0tLS0tLS0tLS0tLVJ1YnlN
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
- - K6Bx0xvhE6QAaeNe2XHfcro4/la2fIApXbvgVxSPyDxXeRF+WHvZCA/EzuQ7PBSt
240
+ - Nlj8XPnwVy891z4sJdkBCHl7/9MDsbYKe+/E2juC+MnokanBIOCR6mzvcxjDsV8g
241
241
  X-Amz-Request-Id:
242
- - 3429A5A3B719DB29
242
+ - 41BAA5FC5FE2314D
243
243
  Date:
244
- - Tue, 14 Feb 2012 14:41:42 GMT
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%2F212h0C233L2p3329162a%2Ffavicon.ico&etag=%22567d2d49d2d30e2db956d680a4d03f25%22
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: Tue, 14 Feb 2012 14:41:41 GMT
255
+ recorded_at: Wed, 15 Feb 2012 14:39:02 GMT
256
256
  - request:
257
257
  method: get
258
- uri: http://my.cl.ly/items/s3?bucket=f.cl.ly&etag=%22567d2d49d2d30e2db956d680a4d03f25%22&key=items/212h0C233L2p3329162a/favicon.ico&item%5Bprivate%5D=false
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
- - ! '"8be83558ab34150c7ea1e01fc6947559"'
276
+ - ! '"4b1474c95d8a0924601772aacc6e77f1"'
277
277
  Server:
278
278
  - thin 1.3.1 codename Triple Espresso
279
279
  Set-Cookie:
280
- - _engine_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlMmEyYjViOGFmOGY2MzJiNDMwMTNjZGMzYzI5NTcxNjNJIgpmbGFzaAY7AEZJQzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2h7BjoMc3VjY2Vzc0kiDlVwbG9hZGVkIQY7AEYGOgpAdXNlZG86CFNldAY6CkBoYXNoewA%3D--3e7b8812bb6f6f1587f4c2e154503c71f9f101ce;
280
+ - _engine_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRiIlYjUwMWYyMGY0MjU3OGZiNGQ4MzkzYzBiMDQ3YzU5Y2ZJIgpmbGFzaAY7AEZJQzolQWN0aW9uRGlzcGF0Y2g6OkZsYXNoOjpGbGFzaEhhc2h7BjoMc3VjY2Vzc0kiDlVwbG9hZGVkIQY7AEYGOgpAdXNlZG86CFNldAY6CkBoYXNoewA%3D--917f84e9cc0e750ba6f476a8949f4b63824a846d;
281
281
  path=/; HttpOnly
282
282
  X-Runtime:
283
- - '0.129506'
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-14T14:41:41Z","deleted_at":null,"id":15182967,"item_type":"image","name":"favicon.ico","private":false,"redirect_url":null,"remote_url":"http://f.cl.ly/items/212h0C233L2p3329162a/favicon.ico","source":null,"updated_at":"2012-02-14T14:41:41Z","view_counter":0,"href":"http://my.cl.ly/items/15182967","url":"http://cl.ly/EBCU","content_url":"http://cl.ly/EBCU/favicon.ico","icon":"http://assets.my.cld.me/images/item-types/image.png","thumbnail_url":"http://thumbs.cl.ly/EBCU","subscribed":false,"download_url":"http://api.cld.me/EBCU/download/favicon.ico"}'
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: Tue, 14 Feb 2012 14:41:41 GMT
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/1n331R181E100P3h2x3f/favicon.ico')
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.15
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-14 00:00:00.000000000 Z
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: &70365624269720 !ruby/object:Gem::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: *70365624269720
24
+ version_requirements: *70218034648020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: faraday
27
- requirement: &70365624269120 !ruby/object:Gem::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: *70365624269120
35
+ version_requirements: *70218034647400
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: gli
38
- requirement: &70365624268600 !ruby/object:Gem::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: *70365624268600
46
+ version_requirements: *70218034646880
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: highline
49
- requirement: &70365624268080 !ruby/object:Gem::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: *70365624268080
57
+ version_requirements: *70218034646360
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: leadlight
60
- requirement: &70365624259040 !ruby/object:Gem::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: *70365624259040
68
+ version_requirements: *70218034637340
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: typhoeus
71
- requirement: &70365624258120 !ruby/object:Gem::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: *70365624258120
79
+ version_requirements: *70218034636420
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rake
82
- requirement: &70365624257120 !ruby/object:Gem::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: *70365624257120
90
+ version_requirements: *70218034635420
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: ronn
93
- requirement: &70365624256200 !ruby/object:Gem::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: *70365624256200
101
+ version_requirements: *70218034634500
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: rspec
104
- requirement: &70365624255560 !ruby/object:Gem::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: *70365624255560
112
+ version_requirements: *70218034633840
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: vcr
115
- requirement: &70365624255060 !ruby/object:Gem::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: *70365624255060
123
+ version_requirements: *70218034633340
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: webmock
126
- requirement: &70365624254560 !ruby/object:Gem::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: *70365624254560
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: