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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2535cc27d1506dd866096d9b13ff57add4243abb
4
- data.tar.gz: 261d81857ad00a73abfc9560860c4fd6c73013f3
3
+ metadata.gz: 8eaaca0849681346e54a3c3f8493a8ed5fb1ea1e
4
+ data.tar.gz: aea16ce711de02fa7d99633c5307b8ef04809d8c
5
5
  SHA512:
6
- metadata.gz: 58c3aa7ca421c0f758b6400c0f289522ca28c514420c55b77f3eb80d2a39cd874c42610abaed2d6c754277c032eaa7501d6f89701cd6a6798fbb6d0977599137
7
- data.tar.gz: e2d97b9f9d61edee7a593b21d4ea0a5dc07985f116299ef23197fcfd60f05313e2f256e142b2323d4e6f50a061ebac9cd8fe75a57b2a75f6474bbc36868067e3
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 is not so practical for everyone, since it may require your deployment user to have sudo access.
30
- While we eagerly await the release of passenger v5.0.10, which will make the new method possible without sudo access,
31
- we recognize that not everyone is ready for this change yet.
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
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Passenger
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -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
- passenger_version = capture(:passenger, '-v').match(/^Phusion Passenger (Enterprise )?version (.*)$/)[2]
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.1.1
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-06-30 00:00:00.000000000 Z
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 is not so practical for everyone, since it may require your deployment user to have sudo access.
85
- While we eagerly await the release of passenger v5.0.10, which will make the new method possible without sudo access,
86
- we recognize that not everyone is ready for this change yet.
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.3
121
+ rubygems_version: 2.4.8
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Passenger support for Capistrano 3.x