awsome 0.0.61 → 0.0.62

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.
@@ -5,7 +5,7 @@ module Awsome
5
5
 
6
6
  def self.execute(command, options={})
7
7
  command = command.join(' ') if command.is_a?(Array)
8
- description = options[:task] ? "[#{options[:task]}] #{command}" : command
8
+ description = options[:task] ? "[#{options[:task].upcase}] #{command}" : command
9
9
  verbose = config.verbose && options[:verbose] != false
10
10
  if verbose
11
11
  puts
@@ -58,7 +58,7 @@ module Awsome
58
58
  cmd = command('ec2-create-tags', resource_id, *tags)
59
59
  Awsome.execute(
60
60
  cmd,
61
- task: "tagging #{resource_id}"
61
+ task: "creating tags"
62
62
  )
63
63
  end
64
64
 
@@ -135,7 +135,12 @@ module Awsome
135
135
  def self.describe_attachments(filters={})
136
136
  cmd = [Awsome::Ec2.command('ec2-describe-volumes')]
137
137
  cmd += filters.collect { |k,v| "--filter \"#{k}=#{v}\"" }
138
- Awsome.execute(cmd, columns: @@describe_attachments_fields, filter: /^ATTACHMENT/)
138
+ Awsome.execute(
139
+ cmd,
140
+ columns: @@describe_attachments_fields,
141
+ filter: /^ATTACHMENT/,
142
+ verbose: false
143
+ )
139
144
  end
140
145
 
141
146
  def self.detach_volume(volume_id, dir, preumount)
@@ -17,7 +17,7 @@ module Awsome
17
17
  else
18
18
  from = "#{ENV['SSH_USER']}@#{from}"
19
19
  end
20
- Awsome.execute("scp -i #{ENV['SSH_KEY']} #{from} #{to}", system: true, output: false)
20
+ Awsome.execute("scp -i #{ENV['SSH_KEY']} #{from} #{to}", system: true, verbose: false)
21
21
  end
22
22
 
23
23
  def self.has_ssh?(host)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awsome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.61
4
+ version: 0.0.62
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: