capistrano-windows-server 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.0
1
+ 0.6.1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{capistrano-windows-server}
8
- s.version = "0.6.0"
8
+ s.version = "0.6.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Edward Anderson"]
12
- s.date = %q{2012-06-05}
12
+ s.date = %q{2012-07-01}
13
13
  s.description = %q{This gem modifies capistrano recipes to allow deploys to windows machines.
14
14
  Several nuances such as the lack of symlinks make the deploy a little different, but it's better than doing it by hand.
15
15
  See the github page for instruction on how to set up Windows to get it ready for a deploy.}
@@ -20,11 +20,13 @@ configuration.load do
20
20
  strip_cygdrive current_path
21
21
  end
22
22
 
23
+ # Probably not compatible with multiple roles with different PATHs
23
24
  def system_path
24
25
  return @system_path if @system_path
25
- run 'echo "/bin:/usr/bin:$PATH"' do |channel, stream, data|
26
- return @system_path = data.strip # Probably not compatible with multiple roles with different PATHs
27
- end
26
+
27
+ @system_path = "/bin:" + "/usr/bin:"
28
+ run 'echo $PATH' { |channel, stream, data| @system_path << data.strip }
29
+ @system_path
28
30
  end
29
31
 
30
32
  task :path do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-windows-server
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 5
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Edward Anderson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-05 00:00:00 -04:00
18
+ date: 2012-07-01 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency