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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGVkOGEzNTIxMGYyNDljODBhOTE1NmVjODZhZjBmZWJmZjNlNmMxZg==
4
+ NTkwODQ3N2IzYjRjNzYyNzNmMGEwMjdjZDQyYjY3MWYwN2VjY2RlZA==
5
5
  data.tar.gz: !binary |-
6
- ODg5Y2JmNmYyMGQ2YTQ1NjExYmUzNjQ1YWVlNmUxNzUxNDA5MzllMA==
6
+ ZTczNTI0MWI0MzY3NmViMzkwYjQwM2Q1YTZhZTVlMmRlZWIwYWM4OQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NGU3ZjFmNzIzOTJjMzY0ZGJiYjEyMDBjMzNhNWZiNzYzMjBkNDNmM2JmZDQ4
10
- NjljYTQ2MzQ1OWZkMjJjMmU2NDY5ZmU3NGU4NzU3ZDc4NGJjODAyZDY0ODBj
11
- ODA2OTVhYzQxMzc4OGE0N2U5ZDQ4NGNlZjQ2M2U1YjNmN2I5MTU=
9
+ MWQzOGM0NTFiZDQ2MWY5MTc3MDZkZWZkZDBmODUwMDhkMjk3MGQwYzA1ZjU0
10
+ N2Q3MDExMDgxYzBmYzhiMDI3NzJiNGZiMWEyMWRkODYwNjNiMjdhNTdlYjEw
11
+ NTYxM2VlMWRmNTUxZjQyZjg0Y2I5OTY1NDE4ZGFkMjljOWIxZDE=
12
12
  data.tar.gz: !binary |-
13
- MTNlNWMzZWI5OGQwZTMyNWZlMGEyODYzM2IzZDZlMWY0YzI2ODUzYzk5NThl
14
- NzhiMTM5ZmQ5OWQ0MGQ4ZTRmMDRhMzVjNzIwNzBlZTE4NTQyNzg2OGUyMmQ2
15
- NDI2MzI4NWE4ODMwYWY0OTQwNDJjN2M4NzcxNjk3MTUwYTc5YWE=
13
+ ZmNkMjczZTg2NTRkNjE1ZTk3MzIxOTYwMDNkOTBkMWYzMzYyZGY2MmJlZmU4
14
+ MWJjZDNhNWRjM2I0NmM1MmYyNGRmNDY2ZTc2YzczMTRhMmJkODdiNzdmOWQx
15
+ MTczMDljM2YxNDI2OGRiYTEyYzMzNWU4MGZlNWY0NTg0ZDkwNTE=
@@ -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.44"
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 #{release_path}/config/httpd-rails.conf #{httpd_site_conf_path}"
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"] = site_domain_name if exists?(:site_domain_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 #{release_path}/config/passenger.conf #{passenger_conf_path}"
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crossroads_capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.44
4
+ version: 1.4.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Kenworthy