passenger 4.0.34 → 4.0.35
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/ext/common/Constants.h +1 -1
- data/lib/phusion_passenger.rb +1 -1
- data/test/integration_tests/downloaded_binaries_tests.rb +11 -5
- metadata +1 -1
- 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
|
+
YWQ4OWUxZjYyYTdhMGRhMDY1OTJlOTU3ZThjZjEyMGVkYWRiNjZhYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NWEwZDc1YjViMmFjZDY5ZWQxMjFiNmI5YjlkODA5YjI5ZWEyMTBlZg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2UxNWZhOWQ1YzExMTg2NTk2ZmJkZTAwOTVmNmM2ZDZlZmEwZmMxZGY5ZjU4
|
10
|
+
NjU0ZTRlY2Y5NjI5OTZlYzczYTgwN2Q3NzNjMGI0YzNjYjk2N2E4MzBmYjVl
|
11
|
+
NjliZmNjMjg5NWE2ZDJlZmMwZGMzNGJkY2NmYjA1YTE3NzEyM2E=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDIyOGU5NWIzY2MzMjdjMmMxODIzZDIxZDJmMzY3MDIzMjBjZTE5YjY0Njk1
|
14
|
+
ODg3NDRjNzdjYjdlODg1MWIyNWU2ZWMwZWQzOTJkZDNjYmRkOGQyMGEzZWY4
|
15
|
+
NzEzYTA0ZmI1YjA0Yzc0ZjIxMTlmOTYwN2I3ODdlNGY0NjBkYWI=
|
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
|
+
iQEcBAABAgAGBQJS1wPuAAoJECrHRaUKISqMTuEIAJYnjl9V/ptBh62PSRV2tQrI
|
6
|
+
4dLT84PC8qTGvsaubJTpPb22NVW4STTLP4yMZUIwpGDTO/5dY+2Qx8+EahgBWYHu
|
7
|
+
8mur0fO+oNFtp9fqfSmDtJ9kpUt0YSKPXz3D87TTAzxzDqAZ8AqdYqpFwxdUFe4+
|
8
|
+
7m/XE/wRt6ePVpyWJxx62OXx2ai97spge5Etc9M3UjEjVYbTnM7s2VuSgvSGlGMT
|
9
|
+
2vcbcNEQOR+Q4BVox9cMn2m3IMEAiG9Mwt67sLtFpMYEopeXUMJmDLTf2iI0jIbM
|
10
|
+
PTdo+5vVzDuIltFktw+jj2wYJVfIGt+7fU2TAfJ7xsOvPveF0ND/yENBjeSVsb0=
|
11
|
+
=UV5j
|
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
|
+
iQEcBAABAgAGBQJS1wPuAAoJECrHRaUKISqM5AEH/3NLWyUD1WfjnUVpOTKrjcp5
|
6
|
+
5UlYlZhB/EGxDofoYGqbDeVRfl15FG8ftTxCPfE3Vj+Qlk5+84ByNP2O5aNjf4ao
|
7
|
+
qAvZrTzeESOgOp+YMT7fLcMDlcdgoZsZDvkI+Y5fs1L7byP0s2ntvE/zgx4sYra+
|
8
|
+
Lw85BdkrRnvPdOVUbLy47r4mBAEGKKVl4mZam6X0lypQ/V4CwVxqix+cM4OeKt6H
|
9
|
+
068RI/Iu+fPXGj2r1yQrpuiZFl+n1XyEHx2e5bc4kwopvpE6cBUm6OacMSLFp5rE
|
10
|
+
E7+cGkTfWBqd8iNTekl+Jyo+I6DGMCpG/ja8p2LJ4Gq73nNO0JhJ6p2A1oZIkak=
|
11
|
+
=6chT
|
12
12
|
-----END PGP SIGNATURE-----
|
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.35'
|
34
34
|
|
35
35
|
PREFERRED_NGINX_VERSION = '1.4.4'
|
36
36
|
NGINX_SHA256_CHECKSUM = '7c989a58e5408c9593da0bebcd0e4ffc3d892d1316ba5042ddb0be5b0b4102b9'
|
@@ -29,6 +29,8 @@ source_root = File.expand_path("../..", File.dirname(__FILE__))
|
|
29
29
|
$LOAD_PATH.unshift("#{source_root}/lib")
|
30
30
|
require 'phusion_passenger'
|
31
31
|
PhusionPassenger.locate_directories
|
32
|
+
PhusionPassenger.require_passenger_lib 'platform_info/operating_system'
|
33
|
+
PhusionPassenger.require_passenger_lib 'platform_info/binary_compatibility'
|
32
34
|
require 'tmpdir'
|
33
35
|
require 'fileutils'
|
34
36
|
require 'webrick'
|
@@ -39,6 +41,8 @@ ENV['PATH'] = "#{PhusionPassenger.bin_dir}:#{ENV['PATH']}"
|
|
39
41
|
# so ensure that it's not set.
|
40
42
|
ENV.delete('PASSENGER_DEBUG')
|
41
43
|
|
44
|
+
module PhusionPassenger
|
45
|
+
|
42
46
|
describe "Downloaded Phusion Passenger binaries" do
|
43
47
|
before :each do
|
44
48
|
@temp_dir = Dir.mktmpdir
|
@@ -50,9 +54,9 @@ describe "Downloaded Phusion Passenger binaries" do
|
|
50
54
|
File.unlink("#{PhusionPassenger.resources_dir}/release.txt")
|
51
55
|
end
|
52
56
|
|
53
|
-
let(:version) {
|
54
|
-
let(:nginx_version) {
|
55
|
-
let(:compat_id) {
|
57
|
+
let(:version) { VERSION_STRING }
|
58
|
+
let(:nginx_version) { PREFERRED_NGINX_VERSION }
|
59
|
+
let(:compat_id) { PlatformInfo.cxx_binary_compatibility_id }
|
56
60
|
|
57
61
|
def sh(*command)
|
58
62
|
if !system(*command)
|
@@ -120,7 +124,7 @@ describe "Downloaded Phusion Passenger binaries" do
|
|
120
124
|
server, url_root = start_server("server_root")
|
121
125
|
File.rename("download_cache", "download_cache.old")
|
122
126
|
begin
|
123
|
-
FileUtils.cp_r("download_cache.old", "server_root/#{
|
127
|
+
FileUtils.cp_r("download_cache.old", "server_root/#{VERSION_STRING}")
|
124
128
|
sh "cd #{PhusionPassenger.source_root} && " +
|
125
129
|
"env BINARIES_URL_ROOT=#{url_root} " +
|
126
130
|
"ruby helper-scripts/download_binaries/extconf.rb --abort-on-error"
|
@@ -132,7 +136,7 @@ describe "Downloaded Phusion Passenger binaries" do
|
|
132
136
|
File.rename("download_cache.old", "download_cache")
|
133
137
|
server.stop
|
134
138
|
end
|
135
|
-
end
|
139
|
+
end if PlatformInfo.os_name == "linux"
|
136
140
|
|
137
141
|
specify "helper-scripts/download_binaries/extconf.rb fails at downloading all necessary binaries if one of them does not exist" do
|
138
142
|
FileUtils.mkdir_p("server_root")
|
@@ -152,3 +156,5 @@ describe "Downloaded Phusion Passenger binaries" do
|
|
152
156
|
end
|
153
157
|
end
|
154
158
|
end
|
159
|
+
|
160
|
+
end # module PhusionPassenger
|
metadata
CHANGED
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
|
+
iQEcBAABAgAGBQJS1wPuAAoJECrHRaUKISqM130H/RcdfuwqkBuAm/WJRN5MN9Kq
|
6
|
+
K9Kycbogcvi2+E6xuktEed/9nnK5MiiWM1FcG+4P7SoUaGflVZkztIzmJ4oBX3dB
|
7
|
+
bOe4Wx30ta/tD81fX1OUk8CfBFXsUuDFqKhdpRb170hes7l5j4GOTxTAOqigDklo
|
8
|
+
mRSpmAZGLWTYoXOkGTXAHLYhHa2K7gZUL4OM1WuP0khB64vNdEN6/IEu0KLjeIuE
|
9
|
+
2uSJavuadNE2sOwitqqOPxoDcV/y4xK5JTNXZ0OYsBG/Gc04fgjAZjcD+OJ254Vd
|
10
|
+
w60GXyhfA0QXapzRAoGEJKrJMP6/G9Faj6WrY4rIZgIlNzNv+XndIowp6f8IBdQ=
|
11
|
+
=n4Ch
|
12
12
|
-----END PGP SIGNATURE-----
|