Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Release 0.7.3

  • Loading branch information...
commit 828d1de4f50701a72d35134497fdb662ff0e0010 1 parent b2ba4e6
@delano delano authored
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"
Please sign in to comment.
Something went wrong with that request. Please try again.