fezzik 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,8 +8,8 @@ module Fezzik
8
8
  Fezzik.env(*args)
9
9
  end
10
10
 
11
- def capture_output(*args)
12
- Fezzik::Util.capture_output(*args)
11
+ def capture_output(&block)
12
+ Fezzik::Util.capture_output(&block)
13
13
  end
14
14
  end
15
15
  end
@@ -1,7 +1,7 @@
1
1
  module Fezzik
2
2
  def self.env(key, value, options={})
3
3
  options = {
4
- :hosts => domain
4
+ :hosts => Array(domain).map { |domain| domain.gsub(/^.*@/, "") } # strip user off the front
5
5
  }.merge(options)
6
6
  options[:hosts] = Array(options[:hosts])
7
7
  @environments ||= Hash.new { |h, k| h[k] = {} }
@@ -1,3 +1,3 @@
1
1
  module Fezzik
2
- VERSION = "0.6.1"
2
+ VERSION = "0.6.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fezzik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-12 00:00:00.000000000Z
13
+ date: 2012-02-16 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
- requirement: &2156480180 !ruby/object:Gem::Requirement
17
+ requirement: &2152461580 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.8.7
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156480180
25
+ version_requirements: *2152461580
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rake-remote_task
28
- requirement: &2156479720 !ruby/object:Gem::Requirement
28
+ requirement: &2152461120 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.0.2
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2156479720
36
+ version_requirements: *2152461120
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: colorize
39
- requirement: &2156479260 !ruby/object:Gem::Requirement
39
+ requirement: &2152460660 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 0.5.8
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2156479260
47
+ version_requirements: *2152460660
48
48
  description: A light deployment system that gets out of your way
49
49
  email: dmacdougall@gmail.com
50
50
  executables: