crossroads_capistrano 1.4.21 → 1.4.22
Sign up to get free protection for your applications and to get access to all the features.
@@ -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.22"
|
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"]
|
@@ -12,11 +12,11 @@ namespace :config do
|
|
12
12
|
puts "\n ** == Configuring #{filename} ...\n\n"
|
13
13
|
config = File.open(config_file).read
|
14
14
|
# Substitute <%=...%> with evaluated expression. (Very simple ERB)
|
15
|
-
config.gsub!(/<%=(
|
15
|
+
config.gsub!(/<%=([^>]+)%>/) do |string|
|
16
16
|
eval($1)
|
17
17
|
end
|
18
18
|
# Substitute {{...}} with user input.
|
19
|
-
config.gsub!(/\{\{(
|
19
|
+
config.gsub!(/\{\{([^}]+)\}\}/) do |string|
|
20
20
|
prompt = $1
|
21
21
|
# Keep passwords hidden.
|
22
22
|
if prompt.downcase.include?('password')
|
@@ -64,7 +64,8 @@ namespace :passenger do
|
|
64
64
|
"SERVER_NAME" => site_domain_name,
|
65
65
|
"SITE_DOMAIN_NAME" => site_domain_name,
|
66
66
|
"HTTP_PORT" => http_port,
|
67
|
-
"HTTPS_PORT" => https_port
|
67
|
+
"HTTPS_PORT" => https_port,
|
68
|
+
"RAILS_ENV" => rails_env}
|
68
69
|
# passenger conf
|
69
70
|
sudo "cp -f #{release_path}/config/passenger.conf #{passenger_conf_path}"
|
70
71
|
sed passenger_conf_path, {"PASSENGER_ROOT" => passenger_root,
|
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.22
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,12 +11,11 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2011-07-
|
15
|
-
default_executable:
|
14
|
+
date: 2011-07-29 00:00:00.000000000Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: capistrano
|
19
|
-
requirement: &
|
18
|
+
requirement: &71622260 !ruby/object:Gem::Requirement
|
20
19
|
none: false
|
21
20
|
requirements:
|
22
21
|
- - ! '>='
|
@@ -24,10 +23,10 @@ dependencies:
|
|
24
23
|
version: 2.6.0
|
25
24
|
type: :runtime
|
26
25
|
prerelease: false
|
27
|
-
version_requirements: *
|
26
|
+
version_requirements: *71622260
|
28
27
|
- !ruby/object:Gem::Dependency
|
29
28
|
name: capistrano-ext
|
30
|
-
requirement: &
|
29
|
+
requirement: &71622000 !ruby/object:Gem::Requirement
|
31
30
|
none: false
|
32
31
|
requirements:
|
33
32
|
- - ! '>='
|
@@ -35,10 +34,10 @@ dependencies:
|
|
35
34
|
version: 1.2.1
|
36
35
|
type: :runtime
|
37
36
|
prerelease: false
|
38
|
-
version_requirements: *
|
37
|
+
version_requirements: *71622000
|
39
38
|
- !ruby/object:Gem::Dependency
|
40
39
|
name: capistrano_colors
|
41
|
-
requirement: &
|
40
|
+
requirement: &71621770 !ruby/object:Gem::Requirement
|
42
41
|
none: false
|
43
42
|
requirements:
|
44
43
|
- - ! '>='
|
@@ -46,10 +45,10 @@ dependencies:
|
|
46
45
|
version: 0.5.4
|
47
46
|
type: :runtime
|
48
47
|
prerelease: false
|
49
|
-
version_requirements: *
|
48
|
+
version_requirements: *71621770
|
50
49
|
- !ruby/object:Gem::Dependency
|
51
50
|
name: rvm
|
52
|
-
requirement: &
|
51
|
+
requirement: &71621490 !ruby/object:Gem::Requirement
|
53
52
|
none: false
|
54
53
|
requirements:
|
55
54
|
- - ! '>='
|
@@ -57,7 +56,7 @@ dependencies:
|
|
57
56
|
version: 1.6.9
|
58
57
|
type: :runtime
|
59
58
|
prerelease: false
|
60
|
-
version_requirements: *
|
59
|
+
version_requirements: *71621490
|
61
60
|
description: A Crossroads Foundation collection of generic capistrano recipes.
|
62
61
|
email:
|
63
62
|
- it_dept@crossroads.org.hk
|
@@ -92,7 +91,6 @@ files:
|
|
92
91
|
- lib/crossroads_capistrano/recipes/user_permissions.rb
|
93
92
|
- lib/crossroads_capistrano/recipes/whenever.rb
|
94
93
|
- lib/crossroads_capistrano/recipes/yum.rb
|
95
|
-
has_rdoc: true
|
96
94
|
homepage: http://www.crossroads.org.hk
|
97
95
|
licenses: []
|
98
96
|
post_install_message:
|
@@ -113,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
111
|
version: '0'
|
114
112
|
requirements: []
|
115
113
|
rubyforge_project: crossroads_capistrano
|
116
|
-
rubygems_version: 1.6
|
114
|
+
rubygems_version: 1.8.6
|
117
115
|
signing_key:
|
118
116
|
specification_version: 3
|
119
117
|
summary: Crossroads capistrano recipes
|