cloudfiles 1.4.12 → 1.4.13
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +7 -2
- data/VERSION +1 -1
- data/cloudfiles.gemspec +2 -2
- data/lib/cloudfiles/connection.rb +1 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
================================================================================
|
2
|
-
1.4.
|
2
|
+
1.4.13 (2011/02/22)
|
3
|
+
================================================================================
|
4
|
+
o Catch an IOError (HTTP session not started) in cfreq and attempt a retry.
|
5
|
+
|
6
|
+
================================================================================
|
7
|
+
1.4.12 (2011/02/04)
|
3
8
|
================================================================================
|
4
9
|
o Configurable :auth_url support for OpenStack Swift and non-US deployments. Add constants for Cloud Servers USA and UK. (Chmouel Boudjnah, Dan Prince)
|
5
10
|
o Moved exceptions under the CloudFiles::Exception scope
|
@@ -8,4 +13,4 @@
|
|
8
13
|
o Support for the new COPY method on objects, via storage_object.copy and storage_object.move
|
9
14
|
o Reduced the number of API calls for loading metadata (Edmund Salvacion)
|
10
15
|
o Allow setting of content_type on more operations (suggestion by Bo Benson)
|
11
|
-
|
16
|
+
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.13
|
data/cloudfiles.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cloudfiles}
|
8
|
-
s.version = "1.4.
|
8
|
+
s.version = "1.4.13"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["H. Wade Minter", "Rackspace Hosting"]
|
12
|
-
s.date = %q{2011-02-
|
12
|
+
s.date = %q{2011-02-22}
|
13
13
|
s.description = %q{A Ruby version of the Rackspace Cloud Files API.}
|
14
14
|
s.email = %q{minter@lunenburg.org}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -285,7 +285,7 @@ module CloudFiles
|
|
285
285
|
response = @http[server].request(request, &block)
|
286
286
|
raise CloudFiles::Exception::ExpiredAuthToken if response.code == "401"
|
287
287
|
response
|
288
|
-
rescue Errno::EPIPE, Timeout::Error, Errno::EINVAL, EOFError
|
288
|
+
rescue Errno::EPIPE, Timeout::Error, Errno::EINVAL, EOFError, IOError
|
289
289
|
# Server closed the connection, retry
|
290
290
|
raise CloudFiles::Exception::Connection, "Unable to reconnect to #{server} after #{count} attempts" if attempts >= 5
|
291
291
|
attempts += 1
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudfiles
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 13
|
10
|
+
version: 1.4.13
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- H. Wade Minter
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-02-
|
19
|
+
date: 2011-02-22 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|