capistrano-windows-server 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -88,7 +88,7 @@ Setting up capistrano for your Rails project
88
88
 
89
89
  config.gem "capistrano-windows-server", :lib => "capistrano"
90
90
 
91
- Set up capistrano as you normally would.
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
93
93
  [capistrano handbook](https://github.com/leehambley/capistrano-handbook/blob/master/index.markdown) are helpful.
94
94
 
@@ -161,7 +161,7 @@ In addition to creating the directory structure, it clones your project into #{d
161
161
  cap deploy:setup
162
162
 
163
163
  After `cap deploy:setup` runs successfully, it's time to set up the Rails application.
164
- Create or copy in config/database.yml, set up the database server, install gems, and anything else you need to do to make the app run.
164
+ Create or copy in **config/database.yml**, set up the **database**, **install gems**, and anything else you need to do to make the app run.
165
165
  Testing to make sure the app will start with `rails script/server -e production` is a good idea.
166
166
 
167
167
  Once it's ready, you can deploy your app for the first time:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -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.1"
8
+ s.version = "0.2.2"
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-07-22}
12
+ s.date = %q{2011-08-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.}
@@ -1,3 +1,4 @@
1
+ # Capistrano 1 and 2 have different configuration locations
1
2
  configuration = Capistrano::Configuration.respond_to?(:instance) ?
2
3
  Capistrano::Configuration.instance(:must_exist) :
3
4
  Capistrano.configuration(:must_exist)
@@ -106,6 +107,7 @@ configuration.load do
106
107
  desc "Create mongrel services"
107
108
  task :setup do
108
109
  mongrel_instances.each do |n|
110
+ run "mkdir -p #{current_path}/{tmp,log}" # These are often not under version control, but their absence keeps mongrel from recognizing the rails app
109
111
  run "cd #{current_path} && #{mongrel_cmd} service::install -e #{rails_env} -N #{mongrel_instance_prefix}#{n} -p #{base_port + n - mongrel_instances.first}"
110
112
  run %Q(sc.exe config "#{mongrel_instance_prefix}#{n}" start= auto)
111
113
  end
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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Edward Anderson
@@ -15,13 +15,13 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-07-22 00:00:00 -04:00
18
+ date: 2011-08-01 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- prerelease: false
23
- name: capistrano
24
22
  type: :runtime
23
+ name: capistrano
24
+ prerelease: false
25
25
  version_requirements: &id001 !ruby/object:Gem::Requirement
26
26
  none: false
27
27
  requirements:
@@ -33,9 +33,9 @@ dependencies:
33
33
  version: "0"
34
34
  requirement: *id001
35
35
  - !ruby/object:Gem::Dependency
36
- prerelease: false
37
- name: jeweler
38
36
  type: :development
37
+ name: jeweler
38
+ prerelease: false
39
39
  version_requirements: &id002 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements: