Sha256: ba524d46d430c2362ea98915d243a6fae5b59b96f7e4d0e8f09d24f0f936f5ad

Contents?: true

Size: 452 Bytes

Versions: 79

Compression:

Stored size: 452 Bytes

Contents


module Rudy; module CLI; 
module AWS; module S3;
  
  class Store < Rudy::CLI::CommandBase
    
    def store_valid?
      raise "No path specified" unless @argv.path
      raise "No bucket specified" unless @option.bucket
      true
    end
    def store
      s3 = Rudy::AWS::S3.new(@@global.accesskey, @@global.secretkey, @@global.region)
      puts "Success: %s" % s3.store(@argv.path, @option.bucket)
      
    end
    
  end
  
end;end
end;end

Version data entries

79 entries across 79 versions & 3 rubygems

Version Path
rudy-0.6.2 lib/rudy/cli/aws/s3/store.rb
rudy-0.6.0 lib/rudy/cli/aws/s3/store.rb
rudy-0.6.4 lib/rudy/cli/aws/s3/store.rb
rudy-0.6.5 lib/rudy/cli/aws/s3/store.rb
rudy-0.6.3 lib/rudy/cli/aws/s3/store.rb
rudy-0.6.8 lib/rudy/cli/aws/s3/store.rb
rudy-0.6.6 lib/rudy/cli/aws/s3/store.rb
rudy-0.6.7 lib/rudy/cli/aws/s3/store.rb
rudy-0.7.0 lib/rudy/cli/aws/s3/store.rb
rudy-0.7.1 lib/rudy/cli/aws/s3/store.rb
rudy-0.7.4 lib/rudy/cli/aws/s3/store.rb
rudy-0.7.3 lib/rudy/cli/aws/s3/store.rb
rudy-0.7.6 lib/rudy/cli/aws/s3/store.rb
rudy-0.8.2 lib/rudy/cli/aws/s3/store.rb
rudy-0.8.1 lib/rudy/cli/aws/s3/store.rb
rudy-0.8.0 lib/rudy/cli/aws/s3/store.rb
rudy-0.8.3 lib/rudy/cli/aws/s3/store.rb
rudy-0.8.4 lib/rudy/cli/aws/s3/store.rb
rudy-0.8.5 lib/rudy/cli/aws/s3/store.rb