passenger 4.0.58 → 4.0.59
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of passenger might be problematic. Click here for more details.
- checksums.yaml +8 -8
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/CHANGELOG +6 -0
- data/ext/common/Constants.h +1 -1
- data/lib/phusion_passenger.rb +1 -1
- data/lib/phusion_passenger/standalone/app_finder.rb +6 -5
- data/lib/phusion_passenger/standalone/command.rb +1 -1
- metadata +2 -2
- metadata.gz.asc +7 -7
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzI2ZWQ1ZDBjY2U4YjFjODA4NDJlYjBkYzQxMGVjZGYwMTJmYzE0Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDBhN2M3MTM1OThmNmRkNGIwN2Q2OTQ0NDI0ZDYzZjdiYjBjNDdjYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDQ0ZWE2NWFkYjhhYmZmOGRlOTczYzMzNWI2ZGU1MDUwNTRkOTFiNWYyYjFj
|
10
|
+
NjJiNTUzMGZkNGJjYjJjNDdjY2Q5NTcyMDc4MTkyYTM2MWU1ZDlkYzE2NTQ1
|
11
|
+
ZWZkMDg2NmZhMTNiN2JjZTM3NzBmMmFkZjUyMGY5ZTBmZDJjNmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzY2ZjA0ZWZkMTAzNjJkN2YwNGEyOTU1NzdlY2E2ZmIyYWU2NjExYmI0NmNh
|
14
|
+
ZjJlN2YzZjI2YjIyYTk0MDZhNWE3ZGVjZDUwMDZlNmJiOGM5ODI2OTYzOTNm
|
15
|
+
YzNjYmQ0ZjBiMWE1OTcwMWVjZWFkNTEzYTI5MTMxOWQ3MTE3YmQ=
|
checksums.yaml.gz.asc
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
|
3
3
|
Comment: GPGTools - http://gpgtools.org
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
/
|
9
|
-
|
10
|
-
|
11
|
-
=
|
5
|
+
iQEcBAABAgAGBQJU2P8lAAoJECrHRaUKISqMaxgH/RYi9RP4n0wQoC2uBDfYTTpY
|
6
|
+
3NorKPsAKPWRXoGpHbXsg3/JgiEft+p5xOg1PUzy52fZZnR2k+mQgy1Hg2LNf0Bh
|
7
|
+
VAlxRxJcxevcJQR0Fy3JVjLR8FzS11q0k5zlCrI6xmhZo+uBE/ReLyS53PquJ46u
|
8
|
+
5/x0JcU4/5pMIjudx5bBerPaAv1Y0RsVSR0n213t1cj0WHqufM4VObohVAgHhlgL
|
9
|
+
NiGLhba6TiudXXrTphlKvjYBzS4ffy3Se4sJIFEj27y1U1GMuH/tF2/koYKZDpwc
|
10
|
+
2gX1Y8Jx0pY/d/EjnwEqGMFhiVgUjheSBDdIzp6GwVyu5dQPBkmoY5I24ux3e/M=
|
11
|
+
=unQV
|
12
12
|
-----END PGP SIGNATURE-----
|
data.tar.gz.asc
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
|
3
3
|
Comment: GPGTools - http://gpgtools.org
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
=
|
5
|
+
iQEcBAABAgAGBQJU2P8lAAoJECrHRaUKISqMwCoIAKkaj9D/V/fv9qDQE/QlUUvk
|
6
|
+
BDKHevE79Oi09ffMoLt2oMEjHD0KQPDJVmSAcoVQmI8CIanlQin0wvFAv3YU7tHC
|
7
|
+
tJ5zNBaGgv6yHhRvWRDTLBmmy2woF4aYkvQgE5mZqSWjlSvhpo62DtVyRgUAVykn
|
8
|
+
ZIJ8snHsK1787yzqeDD3FzIl+LWIfrTHZpuCTjofaPFRALT6TwyjEciuIpPVtKCR
|
9
|
+
C5n0U9oyP7JhYVhKoEJH6xRC0cGZnWNXB8rcasfaM73Ip+1CiIeavc/W4Ye3Jgu4
|
10
|
+
Kal0BgJP5VedIAdypsAecz0Y6Wko6ZsYHjoRjdYUW3My2eYbywLdafMWdQrOUvc=
|
11
|
+
=JKLo
|
12
12
|
-----END PGP SIGNATURE-----
|
data/CHANGELOG
CHANGED
data/ext/common/Constants.h
CHANGED
data/lib/phusion_passenger.rb
CHANGED
@@ -30,7 +30,7 @@ module PhusionPassenger
|
|
30
30
|
|
31
31
|
PACKAGE_NAME = 'passenger'
|
32
32
|
# Run 'rake ext/common/Constants.h' after changing this number.
|
33
|
-
VERSION_STRING = '4.0.
|
33
|
+
VERSION_STRING = '4.0.59'
|
34
34
|
|
35
35
|
PREFERRED_NGINX_VERSION = '1.6.2'
|
36
36
|
NGINX_SHA256_CHECKSUM = 'b5608c2959d3e7ad09b20fc8f9e5bd4bc87b3bc8ba5936a513c04ed8f1391a18'
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Phusion Passenger - https://www.phusionpassenger.com/
|
2
|
-
# Copyright (c) 2010-
|
2
|
+
# Copyright (c) 2010-2015 Phusion
|
3
3
|
#
|
4
4
|
# "Phusion Passenger" is a trademark of Hongli Lai & Ninh Bui.
|
5
5
|
#
|
@@ -32,8 +32,9 @@ class AppFinder
|
|
32
32
|
attr_accessor :dirs
|
33
33
|
attr_reader :apps
|
34
34
|
|
35
|
-
def self.looks_like_app_directory?(dir)
|
36
|
-
return
|
35
|
+
def self.looks_like_app_directory?(dir, options = {})
|
36
|
+
return options[:app_type] ||
|
37
|
+
File.exist?("#{dir}/config.ru") ||
|
37
38
|
File.exist?("#{dir}/config/environment.rb") ||
|
38
39
|
File.exist?("#{dir}/passenger_wsgi.py") ||
|
39
40
|
File.exist?("#{dir}/app.js") ||
|
@@ -172,8 +173,8 @@ private
|
|
172
173
|
return {}
|
173
174
|
end
|
174
175
|
|
175
|
-
def looks_like_app_directory?(dir)
|
176
|
-
return AppFinder.looks_like_app_directory?(dir)
|
176
|
+
def looks_like_app_directory?(dir, options = {})
|
177
|
+
return AppFinder.looks_like_app_directory?(dir, options)
|
177
178
|
end
|
178
179
|
|
179
180
|
def filename_to_server_names(filename)
|
@@ -184,7 +184,7 @@ private
|
|
184
184
|
log_basename = "passenger.#{@options[:port]}.log"
|
185
185
|
end
|
186
186
|
if @args.empty?
|
187
|
-
if AppFinder.looks_like_app_directory?(".")
|
187
|
+
if AppFinder.looks_like_app_directory?(".", @options)
|
188
188
|
@options[:pid_file] ||= absolute_path("tmp/pids/#{pid_basename}")
|
189
189
|
@options[:log_file] ||= absolute_path("log/#{log_basename}")
|
190
190
|
if create_subdirs
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: passenger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.59
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phusion - http://www.phusion.nl/
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
metadata.gz.asc
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
|
3
3
|
Comment: GPGTools - http://gpgtools.org
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
=
|
5
|
+
iQEcBAABAgAGBQJU2P8lAAoJECrHRaUKISqMjTgH/iA8uQz9bF5pboeRsYZUS7Ec
|
6
|
+
ymr7Diq0vkdpGYyiEXvTb7ds483lHGNdlBbtJYmdITQ6ZCbI690IXn/+0k6sxCIH
|
7
|
+
ewwKIE1LYZ3hTpJs5kBaGuCVfhmZLSG7pKAO79V7PbmD4WML8URLSZrKNk2FoF36
|
8
|
+
vZJmJmcTcienmA53s/JEtxaEiUcisalKbhQPEa+2XyvsZ+X9BjY29u7nlZqJyEUW
|
9
|
+
7RulcrECcI0sV0HazWl0mqXPGybh8qpDKiOFz7dJ+Xsf22Kr3EgRx4kOqBV4NqyH
|
10
|
+
eJ5+rJ/LF6AhuI6kZVpLhLr3Ldra5QoXlvsSN4lxeeX7AqsTTuJw33WK2ipJlgA=
|
11
|
+
=2ml9
|
12
12
|
-----END PGP SIGNATURE-----
|