crossroads_capistrano 1.4.49 → 1.4.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/crossroads_capistrano.gemspec +1 -1
- data/lib/crossroads_capistrano/recipes/passenger.rb +2 -0
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZTYyOGQ0N2I4ZjAxMWQxNTJiMzFkMDI0ZWJkNzBhOTQ0ODZiNzJiNg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 45aa947b264ffe90fa35555b21c71e92703f66a0
|
4
|
+
data.tar.gz: 173c38bd7862771c78c11bd2feba1d4d781db751
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
MjY0OThhMjlhMjNkNWE0MmEwMTQ0N2RmNmUwN2M0MjMwOGU4NWVhOTJhMmMx
|
11
|
-
OThlZjEyYjZjMzJkMTRmMTlmYmFlY2MxM2FiZGE0NmE3ZWU5YmM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
M2ZjMzQwM2ZmMDE3ZGJjYTFmNjBiY2IxZjkyNWE0Nzk5NzU5NDIwZjM1YjM0
|
14
|
-
OTdlZTA2NjFhMjE2OGFmMmUyYmQ3ZGU2M2QxYzI3MGU3NTg2MGZiNjIwZDJi
|
15
|
-
Mzg2NzU4Yjc3YzhjNWY1YzI4MjYyYzBjYzg2MDljZWQ5OTlmMDg=
|
6
|
+
metadata.gz: aeb1875ed5721dd42cbf835d9ad2123dbd8b0bc8684cff25d64808773d41be57bca4f30113ee1b9fd5c894dace8542ad6ae10288cd9be462a1f1386136f438db
|
7
|
+
data.tar.gz: fc0841e7f96aa861990efed5b9799b27f71647ee5b4c22ba5355df2783921b6bdff59b1f65d424ac2233a941078ff1168334e8dd2d57df0e2b52fabc69b7911e
|
@@ -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.50"
|
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"]
|
@@ -38,6 +38,7 @@ namespace :passenger do
|
|
38
38
|
desc "Install Passenger"
|
39
39
|
task :install, :roles => :web do
|
40
40
|
install_deps
|
41
|
+
# there is one problem here: need to remove all existing versions of passenger first as passenger-install-apache2-module will install it for most recent version, this is not usually a problem until you want to downgrade passenger
|
41
42
|
run "if ! (gem list | grep passenger | grep #{passenger_version}); then gem install passenger --no-rdoc --no-ri --version #{passenger_version} && passenger-install-apache2-module --auto; fi"
|
42
43
|
end
|
43
44
|
|
@@ -63,6 +64,7 @@ namespace :passenger do
|
|
63
64
|
# httpd conf
|
64
65
|
sudo "cp -f #{current_release}/config/httpd-rails.conf #{httpd_site_conf_path}"
|
65
66
|
httpd_settings = {}
|
67
|
+
httpd_settings["CURRENT_RELEASE"] = current_release if exists?(:current_release)
|
66
68
|
httpd_settings["DEPLOY_TO"] = deploy_to if exists?(:deploy_to)
|
67
69
|
httpd_settings["IP_ADDR"] = ip_address if exists?(:ip_address)
|
68
70
|
httpd_settings["SERVER_NAME"] = server_name if exists?(:server_name)
|
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.
|
4
|
+
version: 1.4.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Kenworthy
|
@@ -10,62 +10,62 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-07-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capistrano
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 2.6.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: 2.6.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: capistrano-ext
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: 1.2.1
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.2.1
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: capistrano_colors
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: 0.5.4
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 0.5.4
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: rvm-capistrano
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: 1.2.7
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: 1.2.7
|
71
71
|
description: A Crossroads Foundation collection of generic capistrano recipes.
|
@@ -75,7 +75,7 @@ executables: []
|
|
75
75
|
extensions: []
|
76
76
|
extra_rdoc_files: []
|
77
77
|
files:
|
78
|
-
- .gitignore
|
78
|
+
- ".gitignore"
|
79
79
|
- Gemfile
|
80
80
|
- README.textile
|
81
81
|
- Rakefile
|
@@ -113,17 +113,17 @@ require_paths:
|
|
113
113
|
- lib
|
114
114
|
required_ruby_version: !ruby/object:Gem::Requirement
|
115
115
|
requirements:
|
116
|
-
- -
|
116
|
+
- - ">="
|
117
117
|
- !ruby/object:Gem::Version
|
118
118
|
version: '0'
|
119
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- -
|
121
|
+
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
requirements: []
|
125
125
|
rubyforge_project: crossroads_capistrano
|
126
|
-
rubygems_version: 2.
|
126
|
+
rubygems_version: 2.2.2
|
127
127
|
signing_key:
|
128
128
|
specification_version: 4
|
129
129
|
summary: Crossroads capistrano recipes
|