crossroads_capistrano 1.4.44 → 1.4.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.textile +8 -0
- data/crossroads_capistrano.gemspec +1 -1
- data/lib/crossroads_capistrano/recipes/passenger.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTkwODQ3N2IzYjRjNzYyNzNmMGEwMjdjZDQyYjY3MWYwN2VjY2RlZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTczNTI0MWI0MzY3NmViMzkwYjQwM2Q1YTZhZTVlMmRlZWIwYWM4OQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MWQzOGM0NTFiZDQ2MWY5MTc3MDZkZWZkZDBmODUwMDhkMjk3MGQwYzA1ZjU0
|
10
|
+
N2Q3MDExMDgxYzBmYzhiMDI3NzJiNGZiMWEyMWRkODYwNjNiMjdhNTdlYjEw
|
11
|
+
NTYxM2VlMWRmNTUxZjQyZjg0Y2I5OTY1NDE4ZGFkMjljOWIxZDE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmNkMjczZTg2NTRkNjE1ZTk3MzIxOTYwMDNkOTBkMWYzMzYyZGY2MmJlZmU4
|
14
|
+
MWJjZDNhNWRjM2I0NmM1MmYyNGRmNDY2ZTc2YzczMTRhMmJkODdiNzdmOWQx
|
15
|
+
MTczMDljM2YxNDI2OGRiYTEyYzMzNWU4MGZlNWY0NTg0ZDkwNTE=
|
data/README.textile
CHANGED
@@ -16,3 +16,11 @@ bc. require 'crossroads_capistrano'
|
|
16
16
|
CrossroadsCapistrano.load_recipes %w(prompt rvm stack passenger postgresql newrelic log)
|
17
17
|
# or ..
|
18
18
|
CrossroadsCapistrano.load_recipes :all
|
19
|
+
|
20
|
+
|
21
|
+
h3. Changes
|
22
|
+
|
23
|
+
v1.4.45 - for passenger.conf: SERVER_NAME is no longer driven using the site_domain_name variable. Use server_name instead.
|
24
|
+
v1.4.44 - Added airbrake recipe and fixed bugs in RVM deployment
|
25
|
+
v1.4.43 - Don't recursively chown all of the shared directory. Can take a long time!
|
26
|
+
v1.4.42 - Fix issues where some commands wouldn't run if ruby wasn't installed
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "crossroads_capistrano"
|
6
|
-
s.version = "1.4.
|
6
|
+
s.version = "1.4.45"
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ["Steve Kenworthy", "Ben Tillman", "Nathan Broadbent"]
|
9
9
|
s.email = ["it_dept@crossroads.org.hk"]
|
@@ -62,11 +62,11 @@ namespace :passenger do
|
|
62
62
|
passenger_root = "#{gem_path}/gems/passenger-#{passenger_version}"
|
63
63
|
end
|
64
64
|
# httpd conf
|
65
|
-
sudo "cp -f #{
|
65
|
+
sudo "cp -f #{current_release}/config/httpd-rails.conf #{httpd_site_conf_path}"
|
66
66
|
httpd_settings = {}
|
67
67
|
httpd_settings["DEPLOY_TO"] = deploy_to if exists?(:deploy_to)
|
68
68
|
httpd_settings["IP_ADDR"] = ip_address if exists?(:ip_address)
|
69
|
-
httpd_settings["SERVER_NAME"] =
|
69
|
+
httpd_settings["SERVER_NAME"] = server_name if exists?(:server_name)
|
70
70
|
httpd_settings["SITE_DOMAIN_NAME"] = site_domain_name if exists?(:site_domain_name)
|
71
71
|
httpd_settings["HTTP_PORT"] = http_port if exists?(:http_port)
|
72
72
|
httpd_settings["HTTPS_PORT"] = https_port if exists?(:https_port)
|
@@ -74,7 +74,7 @@ namespace :passenger do
|
|
74
74
|
sed httpd_site_conf_path, httpd_settings
|
75
75
|
|
76
76
|
# passenger conf
|
77
|
-
sudo "cp -f #{
|
77
|
+
sudo "cp -f #{current_release}/config/passenger.conf #{passenger_conf_path}"
|
78
78
|
sed passenger_conf_path, {"PASSENGER_ROOT" => passenger_root,
|
79
79
|
"RUBY_ROOT" => ruby_root}
|
80
80
|
end
|