lib/asset_cloud.rb in asset_cloud-2.0.0 vs lib/asset_cloud.rb in asset_cloud-2.1.0

- old
+ new

@@ -11,19 +11,20 @@ require 'asset_cloud/buckets/invalid_bucket' require 'asset_cloud/buckets/memory_bucket' require 'asset_cloud/buckets/versioned_memory_bucket' require 'asset_cloud/base' +#S3 +require 'asset_cloud/buckets/s3_bucket' # Extensions require 'asset_cloud/free_key_locator' require 'asset_cloud/callbacks' require 'asset_cloud/validations' require 'asset_cloud/asset_extension' - AssetCloud::Base.class_eval do include AssetCloud::FreeKeyLocator include AssetCloud::Callbacks callback_methods :write, :delete end @@ -49,6 +50,5 @@ elsif key !~ AssetCloud::Base::VALID_PATHS add_error "#{key.inspect} contains illegal characters" end end end -