rackspace-cloudfiles 1.3.0.6 → 1.3.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/cloudfiles.gemspec +1 -1
- data/lib/cloudfiles.rb +1 -1
- data/lib/cloudfiles/container.rb +0 -1
- metadata +1 -1
data/cloudfiles.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{cloudfiles}
|
5
|
-
s.version = "1.3.0.
|
5
|
+
s.version = "1.3.0.7"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["H. Wade Minter, Rackspace Hosting"]
|
data/lib/cloudfiles.rb
CHANGED
data/lib/cloudfiles/container.rb
CHANGED
@@ -59,7 +59,6 @@ module CloudFiles
|
|
59
59
|
|
60
60
|
# Get the CDN-related details
|
61
61
|
response = self.connection.cfreq("HEAD",@cdnmgmthost,@cdnmgmtpath)
|
62
|
-
raise NoSuchContainerException, "Container #{@name} does not exist" unless (response.code == "204")
|
63
62
|
@cdn_enabled = ((response["x-cdn-enabled"] || "").downcase == "true") ? true : false
|
64
63
|
@cdn_ttl = @cdn_enabled ? response["x-ttl"] : false
|
65
64
|
@cdn_url = @cdn_enabled ? response["x-cdn-uri"] : false
|