Skip to content

Commit

Permalink
update Cloud Syncers
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian D. Burns committed Jul 20, 2013
1 parent aa3a467 commit 8a6fb19
Show file tree
Hide file tree
Showing 19 changed files with 1,693 additions and 1,115 deletions.
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -27,7 +27,6 @@ group :production do
gem 'net-ssh'
gem 'net-scp'
gem 'net-sftp'
gem 'parallel'
gem 'mail'
gem 'twitter'
gem 'hipchat'
Expand Down
2 changes: 0 additions & 2 deletions Gemfile.lock
Expand Up @@ -64,7 +64,6 @@ GEM
net-ssh (2.6.7)
nokogiri (1.5.9)
open4 (1.3.0)
parallel (0.6.5)
polyglot (0.3.3)
pry (0.9.12.2)
coderay (~> 1.0.5)
Expand Down Expand Up @@ -118,7 +117,6 @@ DEPENDENCIES
net-sftp
net-ssh
open4
parallel
rb-fsevent
rb-inotify
redcarpet
Expand Down
1 change: 0 additions & 1 deletion backup.gemspec
Expand Up @@ -43,7 +43,6 @@ Gem::Specification.new do |gem|
gem.add_dependency 'net-ssh', '= 2.6.7'
gem.add_dependency 'nokogiri', '= 1.5.9'
gem.add_dependency 'open4', '= 1.3.0'
gem.add_dependency 'parallel', '= 0.6.5'
gem.add_dependency 'polyglot', '= 0.3.3'
gem.add_dependency 'ruby-hmac', '= 0.4.0'
gem.add_dependency 'simple_oauth', '= 0.2.0'
Expand Down
3 changes: 2 additions & 1 deletion lib/backup.rb
Expand Up @@ -20,11 +20,11 @@ module Backup
# Backup's internal paths
LIBRARY_PATH = File.join(File.dirname(__FILE__), 'backup')
STORAGE_PATH = File.join(LIBRARY_PATH, 'storage')
SYNCER_PATH = File.join(LIBRARY_PATH, 'syncer')
DATABASE_PATH = File.join(LIBRARY_PATH, 'database')
COMPRESSOR_PATH = File.join(LIBRARY_PATH, 'compressor')
ENCRYPTOR_PATH = File.join(LIBRARY_PATH, 'encryptor')
NOTIFIER_PATH = File.join(LIBRARY_PATH, 'notifier')
SYNCER_PATH = File.join(LIBRARY_PATH, 'syncer')
TEMPLATE_PATH = File.expand_path('../../templates', __FILE__)

##
Expand All @@ -49,6 +49,7 @@ module Syncer
autoload :Base, File.join(SYNCER_PATH, 'base')
module Cloud
autoload :Base, File.join(SYNCER_PATH, 'cloud', 'base')
autoload :LocalFile, File.join(SYNCER_PATH, 'cloud', 'local_file')
autoload :CloudFiles, File.join(SYNCER_PATH, 'cloud', 'cloud_files')
autoload :S3, File.join(SYNCER_PATH, 'cloud', 's3')
end
Expand Down

0 comments on commit 8a6fb19

Please sign in to comment.