acquia_toolbelt 2.3.1 → 2.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- $:.unshift(File.expand_path('../vendor/thor/lib/', File.dirname(__FILE__)))
1
+ $LOAD_PATH.unshift(File.expand_path('../vendor/thor/lib/', File.dirname(__FILE__)))
2
2
  require 'thor'
3
3
 
4
4
  module AcquiaToolbelt
@@ -15,7 +15,7 @@ module AcquiaToolbelt
15
15
  include UtilityMethods
16
16
  no_tasks do
17
17
  def self.help(shell, subcommand = false)
18
- list = printable_commands(true, subcommand).sort!{ |a,b| a[0] <=> b[0] }
18
+ list = printable_commands(true, subcommand).sort! { |a, b| a[0] <=> b[0] }
19
19
 
20
20
  shell.say "Type 'acquia [COMMAND] help' for more details on subcommands or to show example usage."
21
21
 
@@ -23,7 +23,7 @@ module AcquiaToolbelt
23
23
  shell.say "#{@package_name} commands:"
24
24
  else
25
25
  shell.say
26
- shell.say "Commands:"
26
+ shell.say 'Commands:'
27
27
  end
28
28
 
29
29
  shell.print_table(list, :indent => 2, :truncate => true)
@@ -37,14 +37,14 @@ module AcquiaToolbelt
37
37
  next if command.hidden? || next if command.name.include? 'help'
38
38
  item = []
39
39
  item << banner(command, false, subcommand)
40
- item << (command.description ? "# #{command.description.gsub(/\s+/m,' ')}" : "") unless command.description.empty?
40
+ item << (command.description ? "# #{command.description.gsub(/\s+/m,' ')}" : '') unless command.description.empty?
41
41
  item
42
42
  end.compact
43
43
  end
44
44
 
45
45
  # Define a base for the commands.
46
46
  def self.banner_base
47
- "acquia"
47
+ 'acquia'
48
48
  end
49
49
 
50
50
  def self.banner(task, task_help = false, subcommand = false)
@@ -56,7 +56,7 @@ module AcquiaToolbelt
56
56
  end
57
57
 
58
58
  task = (task_help ? task.formatted_usage(self, false, subcommand) : task.name)
59
- banner_base + " " + [subcommand_banner, task].compact.join(":")
59
+ banner_base + ' ' + [subcommand_banner, task].compact.join(':')
60
60
  end
61
61
 
62
62
  def self.handle_no_task_error(task)
@@ -92,4 +92,4 @@ module AcquiaToolbelt
92
92
  )
93
93
  end
94
94
  end
95
- end
95
+ end
@@ -1,3 +1,3 @@
1
1
  module AcquiaToolbelt
2
- VERSION = '2.3.1'
2
+ VERSION = '2.3.2'
3
3
  end
@@ -1,4 +1,4 @@
1
- require "acquia_toolbelt/version"
1
+ require 'acquia_toolbelt/version'
2
2
 
3
3
  module AcquiaToolbelt
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acquia_toolbelt
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1
4
+ version: 2.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-07-08 00:00:00.000000000 Z
12
+ date: 2014-08-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
@@ -402,7 +402,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
402
402
  version: '0'
403
403
  requirements: []
404
404
  rubyforge_project:
405
- rubygems_version: 1.8.23
405
+ rubygems_version: 1.8.23.2
406
406
  signing_key:
407
407
  specification_version: 3
408
408
  summary: A CLI tool for interacting with Acquia's hosting services.