diff --git a/bin/fog b/bin/fog index 5f2a3649c..0963b747b 100755 --- a/bin/fog +++ b/bin/fog @@ -31,6 +31,7 @@ available_services = if services.length > 1 else services.first end -print "Welcome to fog interactive; your '#{Fog.credential.to_s}' configuration provides access to #{available_services}.\n" +print "Welcome to fog interactive!\n" +print "Your '#{Fog.credential.to_s}' configuration provides access to #{available_services}.\n" catch(:IRB_EXIT) { @irb.eval_input } diff --git a/lib/fog/bin.rb b/lib/fog/bin.rb index 8aeec28ad..496e17a3d 100644 --- a/lib/fog/bin.rb +++ b/lib/fog/bin.rb @@ -21,7 +21,7 @@ module Fog nil end unless credentials && credentials[credential] - print("\n To run as '#{credential}', add credentials like the following to ~/.fog\n") + print("\n To run as '#{credential}', add the following to ~/.fog\n") yml = <<-YML :#{credential}: diff --git a/lib/fog/model.rb b/lib/fog/model.rb index 9460c82cf..44341d1b4 100644 --- a/lib/fog/model.rb +++ b/lib/fog/model.rb @@ -64,7 +64,7 @@ module Fog data << self.class.attributes.map {|attribute| "#{attribute}=#{send(attribute).inspect}"}.join(",\n#{Thread.current[:formatador].indentation}") end end - data << ">" + data << "\n#{Thread.current[:formatador].indentation}>" data end