Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Syncer::Cloud namespace `sync_with S3` -> `sync_with Cloud::S3` `sync_with CloudFiles` -> `sync_with Cloud::CloudFiles` - Warn user if paths contain invalid UTF-8 byte sequences (#288)
- Loading branch information
Brian D. Burns
committed
Mar 10, 2012
1 parent
e38b5a8
commit 603c46a
Showing
39 changed files
with
1,604 additions
and
958 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# encoding: utf-8 | ||
|
||
module Backup | ||
module Configuration | ||
module Syncer | ||
module Cloud | ||
class Base < Syncer::Base | ||
class << self | ||
|
||
## | ||
# Concurrency setting - defaults to false, but can be set to: | ||
# - :threads | ||
# - :processes | ||
attr_accessor :concurrency_type | ||
|
||
## | ||
# Concurrency level - the number of threads or processors to use. | ||
# Defaults to 2. | ||
attr_accessor :concurrency_level | ||
|
||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# encoding: utf-8 | ||
|
||
module Backup | ||
module Configuration | ||
module Syncer | ||
module Cloud | ||
class CloudFiles < Base | ||
class << self | ||
|
||
## | ||
# Rackspace CloudFiles Credentials | ||
attr_accessor :api_key, :username | ||
|
||
## | ||
# Rackspace CloudFiles Container | ||
attr_accessor :container | ||
|
||
## | ||
# Rackspace AuthURL allows you to connect | ||
# to a different Rackspace datacenter | ||
# - https://auth.api.rackspacecloud.com (Default: US) | ||
# - https://lon.auth.api.rackspacecloud.com (UK) | ||
attr_accessor :auth_url | ||
|
||
## | ||
# Improve performance and avoid data transfer costs | ||
# by setting @servicenet to `true` | ||
# This only works if Backup runs on a Rackspace server | ||
attr_accessor :servicenet | ||
|
||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# encoding: utf-8 | ||
|
||
module Backup | ||
module Configuration | ||
module Syncer | ||
module Cloud | ||
class S3 < Base | ||
class << self | ||
|
||
## | ||
# Amazon Simple Storage Service (S3) Credentials | ||
attr_accessor :access_key_id, :secret_access_key | ||
|
||
## | ||
# The S3 bucket to store files to | ||
attr_accessor :bucket | ||
|
||
## | ||
# The AWS region of the specified S3 bucket | ||
attr_accessor :region | ||
|
||
end | ||
end | ||
end | ||
end | ||
end | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.