Sha256: 70944168bbc6137357f656c188510fd17a81f499d832a672ace44b890130a468
Contents?: true
Size: 889 Bytes
Versions: 6
Compression:
Stored size: 889 Bytes
Contents
module Monsoon class << self attr_accessor :bucket, :key, :secret, :mongo_uri # config/initializers/monsoon.rb (for instance) # # Monsoon.configure do |config| # config.bucket = 'backups' # config.key = 'consumer_key' # config.secret = 'consumer_secret' # config.mongo_uri = 'mongodb://testuser:pass1@test.mongohq.com:10036/app_development' # end # def configure yield self true end # Run the Monsoon process to backup, save, and clean the work. # # Examples # # Monsoon.perform # # => True # # Returns True def perform Monsoon::Client.new.run end end autoload :Backup, "monsoon/backup" autoload :Client, "monsoon/client" autoload :Compress, "monsoon/compress" autoload :Store, "monsoon/store" autoload :Version, "monsoon/version" end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
monsoon-0.6.1 | lib/monsoon.rb |
monsoon-0.6 | lib/monsoon.rb |
monsoon-0.5 | lib/monsoon.rb |
monsoon-0.4 | lib/monsoon.rb |
monsoon-0.3 | lib/monsoon.rb |
monsoon-0.2 | lib/monsoon.rb |