switchtower 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,13 +10,14 @@ def switchtower_invoke(*actions)
10
10
  # no rubygems to load, so we fail silently
11
11
  end
12
12
 
13
+ require 'switchtower/cli'
14
+
13
15
  options = actions.last.is_a?(Hash) ? actions.pop : {}
14
16
 
15
17
  args = %w[-r config/deploy]
16
18
  verbose = options[:verbose] || "-vvvvv"
17
19
  args << verbose
18
20
 
19
- args = %w[-vvvvv -r config/<%= recipe_file %>]
20
21
  args.concat(actions.map { |act| ["-a", act.to_s] }.flatten)
21
22
  SwitchTower::CLI.new(args).execute!
22
23
  end
@@ -20,7 +20,7 @@ module SwitchTower
20
20
 
21
21
  MAJOR = 1
22
22
  MINOR = 0
23
- TINY = 0
23
+ TINY = 1
24
24
 
25
25
  STRING = [MAJOR, MINOR, TINY].join(".")
26
26
 
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: switchtower
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.0
7
- date: 2006-02-18 00:00:00 -07:00
6
+ version: 1.0.1
7
+ date: 2006-02-20 00:00:00 -07:00
8
8
  summary: "SwitchTower is a framework and utility for executing commands in parallel on
9
9
  multiple remote machines, via SSH. The primary goal is to simplify and
10
10
  automate the deployment of web applications."