Sha256: b6e0d7755aedf429da90c08f52d8200c23ce5ffb4bd922fd8df05ff1a8ab4213
Contents?: true
Size: 839 Bytes
Versions: 1
Compression:
Stored size: 839 Bytes
Contents
require 'aws_one_click_staging/bucket_sync_service' require "aws_one_click_staging/aws_warrior" require "aws_one_click_staging/version" SOURCE_ROOT = File.expand_path("#{File.dirname(__FILE__)}/..") module AwsOneClickStaging def self.stage warrior = AwsWarrior.new puts "cloning database from amazon... this takes a while..." warrior.clone_rds puts "cloning s3 bucket from amazon... this takes forever..." warrior.clone_s3_bucket puts "operations completed successfully!" end def self.check warrior = AwsWarrior.new # this makes a config file if needed puts "This command *would* test that you have the needed " puts "permissions on the buckets and rds instances you named " puts "in your config file... but alas, you're reading the " puts "outputs of a stubbed method..." end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aws_one_click_staging-0.0.3 | lib/aws_one_click_staging.rb |