rackspace-cloudfiles 1.3.0.6 → 1.3.0.7

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/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.6"
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
@@ -18,7 +18,7 @@
18
18
  # To create a new CloudFiles connection, use the CloudFiles::Connection.new('user_name', 'api_key') method.
19
19
  module CloudFiles
20
20
 
21
- VERSION = '1.3.0.6'
21
+ VERSION = '1.3.0.7'
22
22
  require 'net/http'
23
23
  require 'net/https'
24
24
  require 'rexml/document'
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rackspace-cloudfiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.6
4
+ version: 1.3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - H. Wade Minter, Rackspace Hosting