Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Nov 10, 2011

  1. H. Wade Minter

    Make a requirement on the json gem.

    authored November 10, 2011
  2. H. Wade Minter

    Merge pull request #52 from bluefuton/master

    Fix cdn_ssl_url and cdn_streaming_url methods
    authored November 10, 2011
  3. Chris

    The cdn_ssl_url method was duplicated in container.rb. Removed duplic…

    …ate and corrected name of cdn_streaming_url method
    authored November 10, 2011

Nov 01, 2011

  1. Fixed some unit tests

    authored November 01, 2011
  2. Merge github.com:rackspace/ruby-cloudfiles

    Conflicts:
    	CHANGELOG
    	Gemfile
    	lib/cloudfiles/container.rb
    	lib/cloudfiles/storage_object.rb
    	lib/cloudfiles/version.rb
    authored November 01, 2011
  3. peer review complete

    authored October 31, 2011

Oct 27, 2011

  1. Scott Simpson

    adding streaming url support

    authored October 27, 2011

Oct 24, 2011

  1. Scott Simpson

    removed some commented out code, fixed gemspec

    authored October 24, 2011
  2. Scott Simpson

    removed some commented out code

    authored October 24, 2011
  3. Scott Simpson

    finish tests for client.rb/SwiftClient

    authored October 24, 2011

Oct 18, 2011

  1. Scott Simpson

    adding test for SwiftClient and changing old tests to test with Swift…

    …Client
    authored October 18, 2011

Sep 28, 2011

  1. H. Wade Minter

    Fix tertiary operator syntax error.

    authored September 28, 2011
  2. H. Wade Minter

    Add Rake to the development group.

    authored September 28, 2011

Sep 14, 2011

  1. Scott Simpson

    updating test files and other stuff

    authored September 14, 2011

Sep 08, 2011

  1. Scott Simpson

    finish up connection and tests

    authored September 08, 2011

Sep 07, 2011

  1. Added Support for CDN Streaming URL

    authored September 07, 2011

Sep 06, 2011

  1. Scott Simpson

    refactoring to utilize client.rb

    authored September 06, 2011

Aug 10, 2011

  1. H. Wade Minter

    Merge pull request #49 from tobowers/dev/acl-cleanup

    Clean up return value and metadata state management for set_*_acl methods
    authored August 10, 2011
  2. Jonathan Simms

    Clean up return value and metadata state management for set_*_acl met…

    …hods
    
    This commit fixes two small issues with the set_read_acl and set_write_acl
    methods.
    
    Currently the set_*_acl methods don't reset the cached metadata, so after
    changing the value server-side, the read_acl and write_acl methods will still
    return the old values. This patch fixes that behavior so that the new values
    will be fetched from the server on the next invocation.
    
    The return value currently is the response code of the HTTP request sent to the
    server, which while not erroneous (as it would be a non-nil or false value), is
    not consistent with the rest of the API. 
    
    This commit also adds tests for error cases and return values.
    authored August 10, 2011
  3. H. Wade Minter

    Merge pull request #48 from tobowers/dev/connection-cleanup-and-acl-s…

    …upport
    
    Dev/connection cleanup and acl support
    authored August 09, 2011

Aug 09, 2011

  1. Jonathan Simms

    Merge branch 'master' into private/acl

    authored August 09, 2011
  2. Jonathan Simms

    Add support for adjusting ACLs using X-Container-* headers (Openstack…

    … Swift support)
    
    Openstack Swift allows one to change the container-level ACLs using a post with
    "X-Container-Read" and "X-Container-Write" headers set. This change implements those
    as instance methods on the Container and includes the associated tests.
    authored August 09, 2011
  3. Jonathan Simms

    Remove UTF8 "smart-quotes" from comment

    Not everyone has a multibyte-capable editor (for instance when using 
    terminal-based VIM), and these characters may not render properly when 
    generating documentation from the source depending on the local character 
    encoding.
    authored August 09, 2011
  4. Jonathan Simms

    Use Connection#cdn_request and Connection#storage_request in Containe…

    …r and StorageObject
    
    Reduce the duplication in Container and StorageObject by using the
    storage_request and cdn_request methods on Connection. Currently, the complete
    cfreq call must be constructed in both the Container and StorageObject for each
    and every request being made using data duplicated from the Connection on
    initialization. By using the *_request methods on the related Connection
    instance, we no longer need to copy this information into instance variables in
    these children of a given Connection. 
    
    This is an improvement in "information hiding", as only the Connection needs to
    track this information (simplifying maintenance going forward if the format of
    these requests changes in the future). This also simplifies mocking in the tests.
    authored August 09, 2011
  5. H. Wade Minter

    Merge pull request #47 from tobowers/dev/auth-cleanup

    Dev/auth cleanup
    authored August 09, 2011
  6. Jonathan Simms

    Merge branch 'dev/auth-cleanup' into private/acl

    authored August 09, 2011
  7. Jonathan Simms

    undo bad merge edit

    authored August 09, 2011
  8. Jonathan Simms

    Consolidate storage and cdn requests into specific methods

    Instead of constructing cdn or storage paths in each and every 
    method on the connection object, generalize the concept of 
    "making a {storage,cdn} request" into methods for each. This allows
    us to simplify making a request in other methods, and centralizes
    the generation of request paths, which in turn (will eventually) make 
    mocking and testing simpler.
    authored August 09, 2011
  9. Jonathan Simms

    In Authentication, don't call URI.parse multiple times

    Parsing the x-cdn-management-url and x-storage-url multiple times is confusing
    and inefficient. Instead, parse the URI once per string and use the parsed
    URI instance returned.
    authored August 09, 2011
  10. H. Wade Minter

    Merge pull request #46 from tobowers/dev/fix-tests

    Dev/fix tests
    authored August 09, 2011
  11. Jonathan Simms

    In test_net_http_raises_continual_eof_exceptions server does not resp…

    …ond_to?(:address)
    
    I'm not sure if this is a bug in the tests, or if this will happen in real life, but
    server in this context does not always respond_to?(:address) and this causes a 
    NoMethodError.
    
    This commit uses server.address if server.responds_to?(:address), otherwise assumes
    server is a String, and uses it directly in creating the exception message.
    
    Additionally, preserves the stack when raising CloudFiles::Exception::Connection
    authored August 09, 2011
  12. Jonathan Simms

    "rescue" keyword without argument only catches subclasses of Standard…

    …Error
    
    In order to catch errors that don't inherit from StandardError, you need to 
    'rescue Exception', otherwise the exception will just blow past and bubble up.
    
    In addition, when rescuing an exception and raising a different one, it is 
    useful to add the "caller" as a third argument to raise, which will preserve
    the stack trace from the original exception, aiding debugging the actual cause
    of the error.
    authored August 09, 2011

Jul 29, 2011

  1. H. Wade Minter

    Merge pull request #45 from slyphon/fix-metadata-in-192

    Fix StorageObject#metadata for 1.9.2
    authored July 28, 2011
  2. Jonathan Simms

    Fix StorageObject#metadata for 1.9.2

    In ruby 1.8.7, Array#to_s behaves like:
    
    >> ['a',1,'b',2].to_s
    => "a1b2"
    
    In ruby 1.9.2 however:
    
    >> ['a',1,'b',2].to_s
    => "["a", 1, "b", 2]"
    
    This means that StorageObject#metadata is returning mangled values for those headers. This fix should replicate the 1.8.7 behavior in 1.9.2. 
    
    Tests are included and pass (for that specific test) in both 1.8.7 and 1.9.2
    authored July 29, 2011

Jun 23, 2011

  1. H. Wade Minter

    Merge branch 'master' of github.com:rackspace/ruby-cloudfiles

    authored June 23, 2011
Something went wrong with that request. Please try again.