capistrano-windows-server 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -35,10 +35,10 @@ Setting up the Windows server
35
35
  -----------------------------
36
36
 
37
37
  This section walks you through setting up SSH and Git on the windows server to prepare it for the deploy.
38
- These instruction are for Windows Server 2003. For other versions, YMMV.
38
+ These instruction have been tested by me on Windows Server 2003 and 2008 r2. For other versions, YMMV.
39
39
  Administrative access is required.
40
40
 
41
- * Disable User Access Control. We'll re-enable this later. Reboot if necessary.
41
+ * *(Windows 7 or 2008 r2 only)* Disable User Access Control. We'll re-enable this later. Reboot if necessary.
42
42
  <br><br>
43
43
  *Control Panel > Users > Notify never*
44
44
 
@@ -66,7 +66,7 @@ Administrative access is required.
66
66
  <br><br>
67
67
  *Keys > Import: Paste in public keys; import one at a time.*
68
68
 
69
- * Re-enable User Access Control
69
+ * *(Windows 7 or 2008 r2 only)* Re-enable User Access Control
70
70
  <br><br>
71
71
  *Control Panel > Users >* (restore previous value)
72
72
 
@@ -82,11 +82,11 @@ Setting up capistrano for your Rails project
82
82
 
83
83
  **Rails 2.x**: Add the capistrano-windows-server gem to your Gemfile, and run `bundle`.
84
84
 
85
- gem "capistrano-windows-server", :lib => "capistrano"
85
+ config.gem "capistrano-windows-server", :lib => "capistrano"
86
86
 
87
87
  **Rails 3.x**: Add the capistrano-windows-server environment.rb, and run `rake gems:install`.
88
88
 
89
- config.gem "capistrano-windows-server", :lib => "capistrano"
89
+ gem "capistrano-windows-server", :lib => "capistrano"
90
90
 
91
91
  Set up capistrano as you normally would with `capify`.
92
92
  The [capistrano wiki](https://github.com/capistrano/capistrano/wiki/2.x-From-The-Beginning) and
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.3.0
@@ -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.2.2"
8
+ s.version = "0.3.0"
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{2011-08-01}
12
+ s.date = %q{2011-08-10}
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.}
@@ -14,12 +14,12 @@ configuration.load do
14
14
 
15
15
  # We can't run rake directly, because the rake script searches for ruby based on windows paths that aren't valid in this environment
16
16
  def rake_cmd
17
- "#{ruby_exe_path} -e \"require 'rubygems'; gem 'rake', '>= 0'; load Gem.bin_path('rake', 'rake', '>= 0')\""
17
+ "#{ruby_exe_path} -e \"require 'rubygems'; gem 'rake', '>= 0'; load 'rake'\""
18
18
  end
19
19
 
20
20
  # We can't run mongrel directly, because the mongrel script searches for ruby based on windows paths that aren't valid in this environment
21
21
  def mongrel_cmd
22
- "#{ruby_exe_path} -e \"require 'rubygems'; gem 'mongrel', '>= 0'; load Gem.bin_path('mongrel', 'mongrel_rails', '>= 0')\""
22
+ "#{ruby_exe_path} -e \"require 'rubygems'; gem 'mongrel', '>= 0'; load 'mongrel_rails'\""
23
23
  end
24
24
 
25
25
  namespace :deploy do
metadata CHANGED
@@ -5,9 +5,9 @@ version: !ruby/object:Gem::Version
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 2
9
- - 2
10
- version: 0.2.2
8
+ - 3
9
+ - 0
10
+ version: 0.3.0
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: 2011-08-01 00:00:00 -04:00
18
+ date: 2011-08-10 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency