capistrano-passenger 0.1.1 → 0.2.0
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.
- checksums.yaml +4 -4
- data/capistrano-passenger.gemspec +3 -3
- data/lib/capistrano/passenger/version.rb +1 -1
- data/lib/capistrano/tasks/passenger.cap +6 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8eaaca0849681346e54a3c3f8493a8ed5fb1ea1e
|
|
4
|
+
data.tar.gz: aea16ce711de02fa7d99633c5307b8ef04809d8c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 57b95a5e474df67cc5432ff62466c7418fa0724aeea1dfaa82cc56210220de94b55cbee66d0d6910acfdb612c216c56439cc08ae89f4a870e42675d510e05577
|
|
7
|
+
data.tar.gz: 4037ad3f64af60cac4acd83c36257ff79105d6cc9c0a7cc7cf9cf6ef72e92083a5c5849817900a3a4a61f8d400d389395bdaa74f93970f494fa84c9ad67c9627
|
|
@@ -26,9 +26,9 @@ Gem::Specification.new do |spec|
|
|
|
26
26
|
passenger once had only one way to restart: `touch tmp/restart.txt`
|
|
27
27
|
Beginning with passenger v4.0.33, a new way was introduced: `passenger-config restart-app`
|
|
28
28
|
|
|
29
|
-
The new way to restart
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
The new way to restart was not initially practical for everyone,
|
|
30
|
+
since for versions of passenger prior to v5.0.10,
|
|
31
|
+
it required your deployment user to have sudo access for some server configurations.
|
|
32
32
|
|
|
33
33
|
capistrano-passenger gives you the flexibility to choose your restart approach, or to rely on reasonable defaults.
|
|
34
34
|
|
|
@@ -12,7 +12,12 @@ namespace :passenger do
|
|
|
12
12
|
with fetch(:passenger_environment_variables) do
|
|
13
13
|
within(release_path) do
|
|
14
14
|
if restart_with_touch.nil?
|
|
15
|
-
|
|
15
|
+
# 'passenger -v' may output one of the following depending on the version:
|
|
16
|
+
# Phusion Passenger version x.x.x
|
|
17
|
+
# Phusion Passenger Enterprise version x.x.x
|
|
18
|
+
# Phusion Passenger x.x.x
|
|
19
|
+
# Phusion Passenger Enterprise x.x.x
|
|
20
|
+
passenger_version = capture(:passenger, '-v').match(/^Phusion Passenger (Enterprise )?(version )?(.*)$/)[3]
|
|
16
21
|
restart_with_touch = Gem::Version.new(passenger_version) < Gem::Version.new('4.0.33')
|
|
17
22
|
end
|
|
18
23
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-passenger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Isaac Betesh
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -81,9 +81,9 @@ post_install_message: |
|
|
|
81
81
|
passenger once had only one way to restart: `touch tmp/restart.txt`
|
|
82
82
|
Beginning with passenger v4.0.33, a new way was introduced: `passenger-config restart-app`
|
|
83
83
|
|
|
84
|
-
The new way to restart
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
The new way to restart was not initially practical for everyone,
|
|
85
|
+
since for versions of passenger prior to v5.0.10,
|
|
86
|
+
it required your deployment user to have sudo access for some server configurations.
|
|
87
87
|
|
|
88
88
|
capistrano-passenger gives you the flexibility to choose your restart approach, or to rely on reasonable defaults.
|
|
89
89
|
|
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
version: '0'
|
|
119
119
|
requirements: []
|
|
120
120
|
rubyforge_project:
|
|
121
|
-
rubygems_version: 2.4.
|
|
121
|
+
rubygems_version: 2.4.8
|
|
122
122
|
signing_key:
|
|
123
123
|
specification_version: 4
|
|
124
124
|
summary: Passenger support for Capistrano 3.x
|