rudy 0.6.1 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -85,7 +85,7 @@ The <tt>-u root</tt> tells Rudy to open a connection as the root user. If you cr
85
85
 
86
86
  == Alpha Warning
87
87
 
88
- Although Rudy has been pretty well tested and is currently being used in production in a private beta, it's not ready for general production use. There are a few things to keep in mind while Rudy is in alpha status.
88
+ Although Rudy has been well tested and is currently being used in production in a private beta, it's not ready for general production use. There are a few things to keep in mind while Rudy is in alpha status.
89
89
 
90
90
  * If you already have private SSH keys, back them up. Rudy is quite safe but hasn't been audited so backup your keys as a precaution.
91
91
  * If you're running EC2 instances in production, create a new set of AWS credentials (access key and secret key) to use with Rudy. This will ensure that Rudy has no access to your production instances.
data/lib/rudy.rb CHANGED
@@ -65,7 +65,7 @@ module Rudy
65
65
  unless defined?(MAJOR)
66
66
  MAJOR = 0.freeze
67
67
  MINOR = 6.freeze
68
- TINY = 1.freeze
68
+ TINY = 2.freeze
69
69
  end
70
70
  def self.to_s; [MAJOR, MINOR, TINY].join('.'); end
71
71
  def self.to_f; self.to_s.to_f; end
data/lib/rudy/aws.rb CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  require 'EC2' # What a
4
4
  require 'aws_sdb' # motley
5
- require 'aws/s3' # crew
5
+ # Disabled b/c it's not Ruby 1.9 compatible
6
+ #require 'aws/s3' # crew
6
7
 
7
8
  module Rudy
8
9
  module AWS
data/rudy.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = "rudy"
3
3
  s.rubyforge_project = 'rudy'
4
- s.version = "0.6.1"
4
+ s.version = "0.6.2"
5
5
  s.summary = "Rudy: Not your grandparent's deployment tool."
6
6
  s.description = s.summary
7
7
  s.author = "Delano Mandelbaum"
@@ -31,7 +31,7 @@
31
31
  #s.add_development_dependency('jgre-monkeyspecdoc', '>= 0.1.0')
32
32
  #s.add_development_dependency('thoughtbot-shoulda', '>= 0.1.0')
33
33
 
34
- s.executables = %w[ird rudy rudy-ec2 rudy-sdb rudy-s3]
34
+ s.executables = %w[ird rudy rudy-ec2 rudy-sdb]
35
35
 
36
36
  # = MANIFEST =
37
37
  # git ls-files
@@ -44,7 +44,6 @@
44
44
  bin/ird
45
45
  bin/rudy
46
46
  bin/rudy-ec2
47
- bin/rudy-s3
48
47
  bin/rudy-sdb
49
48
  lib/annoy.rb
50
49
  lib/console.rb
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rudy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum
@@ -109,7 +109,6 @@ executables:
109
109
  - rudy
110
110
  - rudy-ec2
111
111
  - rudy-sdb
112
- - rudy-s3
113
112
  extensions: []
114
113
 
115
114
  extra_rdoc_files:
@@ -126,7 +125,6 @@ files:
126
125
  - bin/ird
127
126
  - bin/rudy
128
127
  - bin/rudy-ec2
129
- - bin/rudy-s3
130
128
  - bin/rudy-sdb
131
129
  - lib/annoy.rb
132
130
  - lib/console.rb
data/bin/rudy-s3 DELETED
@@ -1,76 +0,0 @@
1
- #!/usr/bin/ruby
2
-
3
- # = Rudy S3
4
- #
5
- # === A Rudy interface to Amazon Simple Storage Service
6
- #
7
- #
8
- #
9
- # See rudy-s3 -h for usage
10
- #
11
-
12
- $:.unshift File.join(File.dirname(__FILE__), '..', 'lib') # Put our local lib in first place
13
- $:.unshift File.join(File.dirname(__FILE__), '..', 'vendor', 'highline-1.5.1', 'lib')
14
- #%w{amazon-ec2 caesars rye}.each { |dir| $:.unshift File.join(File.dirname(__FILE__), '..', '..', dir, 'lib') }
15
- #require 'rubygems'
16
-
17
- require 'rudy'
18
- require 'rudy/cli'
19
- require 'drydock'
20
-
21
- # Command-line interface for bin/rudy-s3
22
- module RudyCLI_S3
23
- extend Drydock
24
-
25
- # ------------------------------------ AMAZON S3 COMMANDS --------
26
- # ------------------------------------------------------------------
27
-
28
- desc "Amazon S3 Buckets"
29
- usage "rudy-s3 buckets"
30
- option :l, :list, "List bucket objects"
31
- action :C, :create, "Create a bucket"
32
- action :D, :destroy, "Destroy a bucket"
33
- argv :name
34
- command :buckets => Rudy::CLI::AWS::S3::Buckets
35
- command_alias :buckets, :b
36
-
37
- #desc "Amazon S3 Storage Interface"
38
- #usage "rudy-s3 store file-path"
39
- #option :b, :bucket, String, "Bucket name"
40
- #argv :path
41
- #command :store => Rudy::CLI::AWS::S3::Store
42
- #command_alias :store, :s
43
-
44
-
45
-
46
- # --------------------------------- RUDY-S3 MISCELLANEOUS --------
47
- # ------------------------------------------------------------------
48
-
49
- default :buckets
50
- debug :off
51
-
52
-
53
- end
54
-
55
-
56
- #puts Rudy::Utils.banner("THIS IS RUBY #{RUBY_VERSION}") if Drydock.debug?
57
-
58
- # We call Drydock specifically otherwise it will run at_exit. Rye also
59
- # uses at_exit for shutting down the ssh-agent. Ruby executes at_exit
60
- # blocks in reverse order so if Drydock is required first, it's block
61
- # will run after Rye shuts down the ssh-agent.
62
- begin
63
- Drydock.run!(ARGV, STDIN) if Drydock.run? && !Drydock.has_run?
64
- rescue Drydock::ArgError, Drydock::OptError=> ex
65
- STDERR.puts ex.message
66
- STDERR.puts ex.usage
67
- rescue Rudy::Error => ex
68
- STDERR.puts ex.message
69
- rescue => ex
70
- STDERR.puts "ERROR (#{ex.class.to_s}): #{ex.message}"
71
- STDERR.puts ex.backtrace if Drydock.debug?
72
- rescue SystemExit
73
- # Don't balk
74
- end
75
-
76
-