Permalink
Browse files

Release 0.7.3

  • Loading branch information...
1 parent b2ba4e6 commit 828d1de4f50701a72d35134497fdb662ff0e0010 @delano delano committed May 5, 2009
Showing with 12 additions and 5 deletions.
  1. +1 −1 bin/rudy-ec2
  2. +1 −1 lib/rudy.rb
  3. +8 −1 lib/rudy/aws/ec2/instance.rb
  4. +1 −1 lib/rudy/cli/aws/ec2/instances.rb
  5. +1 −1 rudy.gemspec
View
2 bin/rudy-ec2
@@ -23,7 +23,7 @@ require 'drydock'
module RudyCLI_EC2
extend Drydock
- debug :on
+ debug :off
default :instances
# ----------------------------------- AMAZON EC2 COMMANDS --------
View
2 lib/rudy.rb
@@ -45,7 +45,7 @@ module VERSION #:nodoc:
unless defined?(MAJOR)
MAJOR = 0.freeze
MINOR = 7.freeze
- TINY = 2.freeze
+ TINY = 3.freeze
end
def self.to_s; [MAJOR, MINOR, TINY].join('.'); end
def self.to_f; self.to_s.to_f; end
View
9 lib/rudy/aws/ec2/instance.rb
@@ -30,7 +30,14 @@ def liner_note
def to_s(with_title=false)
lines = []
- lines << "%s (%s)" % [liner_note, (@groups || []).join(', ')]
+ if @groups
+ gpstr = [@groups].flatten.compact.join(', ')
+ gpstr &&= "(#{gpstr})"
+ else
+ gpstr = ''
+ end
+
+ lines << "%s %s" % [liner_note, gpstr]
#if self.running?
# k, g = @keyname || 'no-keypair', self.groups.join(', ')
# lines << @@sformat % %w{zone size ami keyname groups} if with_title
View
2 lib/rudy/cli/aws/ec2/instances.rb
@@ -127,7 +127,7 @@ def consoles
opts[:id] &&= [opts[:id]].flatten
lt = @rinst.list_group(opts[:group], :any, opts[:id]) do |inst|
- puts instance_separator(inst.dns_public, inst.awsid)
+ puts instance_separator(inst.dns_public || inst.state, inst.awsid)
console = @rinst.console(inst.awsid)
output = console ? Base64.decode64(console) : "Unavailable"
View
2 rudy.gemspec
@@ -1,7 +1,7 @@
@spec = Gem::Specification.new do |s|
s.name = "rudy"
s.rubyforge_project = 'rudy'
- s.version = "0.7.2"
+ s.version = "0.7.3"
s.summary = "Rudy: Not your grandparents' EC2 deployment tool."
s.description = s.summary
s.author = "Delano Mandelbaum"

0 comments on commit 828d1de

Please sign in to comment.