Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Release 0.7.3

  • Loading branch information...
commit 828d1de4f50701a72d35134497fdb662ff0e0010 1 parent b2ba4e6
Delano Mandelbaum authored May 05, 2009
2  bin/rudy-ec2
@@ -23,7 +23,7 @@ require 'drydock'
23 23
 module RudyCLI_EC2
24 24
   extend Drydock
25 25
   
26  
-  debug :on
  26
+  debug :off
27 27
   default :instances
28 28
   
29 29
   # -----------------------------------  AMAZON EC2 COMMANDS  --------
2  lib/rudy.rb
@@ -45,7 +45,7 @@ module VERSION #:nodoc:
45 45
     unless defined?(MAJOR)
46 46
       MAJOR = 0.freeze
47 47
       MINOR = 7.freeze
48  
-      TINY  = 2.freeze
  48
+      TINY  = 3.freeze
49 49
     end
50 50
     def self.to_s; [MAJOR, MINOR, TINY].join('.'); end
51 51
     def self.to_f; self.to_s.to_f; end
9  lib/rudy/aws/ec2/instance.rb
@@ -30,7 +30,14 @@ def liner_note
30 30
 
31 31
     def to_s(with_title=false)
32 32
       lines = []
33  
-      lines << "%s  (%s)" % [liner_note, (@groups || []).join(', ')]
  33
+      if @groups
  34
+        gpstr = [@groups].flatten.compact.join(', ')
  35
+        gpstr &&= "(#{gpstr})"
  36
+      else
  37
+        gpstr = ''
  38
+      end
  39
+      
  40
+      lines << "%s  %s" % [liner_note, gpstr]
34 41
       #if self.running?
35 42
       #  k, g = @keyname || 'no-keypair', self.groups.join(', ')
36 43
       #  lines << @@sformat % %w{zone size ami keyname groups} if with_title
2  lib/rudy/cli/aws/ec2/instances.rb
@@ -127,7 +127,7 @@ def consoles
127 127
       opts[:id] &&= [opts[:id]].flatten
128 128
       
129 129
       lt = @rinst.list_group(opts[:group], :any, opts[:id]) do |inst|
130  
-        puts instance_separator(inst.dns_public, inst.awsid)
  130
+        puts instance_separator(inst.dns_public || inst.state, inst.awsid)
131 131
         console = @rinst.console(inst.awsid)
132 132
         output = console ? Base64.decode64(console) : "Unavailable"
133 133
         
2  rudy.gemspec
... ...
@@ -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.7.2"
  4
+	s.version = "0.7.3"
5 5
 	s.summary = "Rudy: Not your grandparents' EC2 deployment tool."
6 6
 	s.description = s.summary
7 7
 	s.author = "Delano Mandelbaum"

0 notes on commit 828d1de

Please sign in to comment.
Something went wrong with that request. Please try again.