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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZWFlOGEwMjA4ZTFjNzY1YzM3OTY2M2ZjMGFhNjBhZjY1ZjhmZjQ2ZQ==
4
+ YzI2ZWQ1ZDBjY2U4YjFjODA4NDJlYjBkYzQxMGVjZGYwMTJmYzE0Zg==
5
5
  data.tar.gz: !binary |-
6
- MzNhMjRmZjNlNDU4YmU1ODI3YzVhNTY2ZDA4OWRmMzgyYTQ2MjRkZQ==
6
+ ZDBhN2M3MTM1OThmNmRkNGIwN2Q2OTQ0NDI0ZDYzZjdiYjBjNDdjYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OTFhODcxNzZkZGY3YmI2NTVlMzg4MjdlMzhmZmFlZjI5MDg2YmU2MmZlZTYw
10
- NmZmOWJmM2U5ZjkzYWUwMWQ2OGFkYmMxMzNlZmFiMjM5N2Y3ZjJiYzZjZDQ5
11
- OGEyOWY1NGNlOGNkMjVhM2RkYTVlODQ1MmFiNjA0Y2E1MmI5YjQ=
9
+ MDQ0ZWE2NWFkYjhhYmZmOGRlOTczYzMzNWI2ZGU1MDUwNTRkOTFiNWYyYjFj
10
+ NjJiNTUzMGZkNGJjYjJjNDdjY2Q5NTcyMDc4MTkyYTM2MWU1ZDlkYzE2NTQ1
11
+ ZWZkMDg2NmZhMTNiN2JjZTM3NzBmMmFkZjUyMGY5ZTBmZDJjNmU=
12
12
  data.tar.gz: !binary |-
13
- MmYzOGFjZTU2NjRmN2U1MzUyYWZlMTBmNjEwNGRmMmU4MmU5YmRjZjRjY2Rj
14
- MjIyZTc5NzRkZGFjNDdkZjg5NTEzN2U3Y2ExMGE5N2MzZjViMTJkZmQ0YTZm
15
- OTQ2OWM3N2Y5YzNmMjBkYjkyOGNmNDlhNDM5OWEx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X1Y8Jx0pY/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
- iQEcBAABAgAGBQJUwVk+AAoJECrHRaUKISqMv0QH+wUnSEqfjplpFaDyvHP0FD7H
6
- NpZSm1giLeyL/QB83HPsrveUPomCCfu0vd7QnHteEQgot9jwa1VIwXilM0D4wk/4
7
- 6yDZPrvILsFj8nlk8HVFmQsNBkHeDFwJjs2P5BCFkS57blnnDJ+IjRqBVsIcSu3s
8
- 1/HlXwE5/ikk7wOtSCkhoGl3IXuFlVSN1XjRX0LEOjUoPF61hgEHHQpyRmKZlTMh
9
- F8XGSGXaMn1LXYWydC9POWOM7f7MCiupYewlRC2gTBIE+k04h5yzEkTT9e3v8ZqU
10
- 8fLgOy7ACoxDWJ/Dzv7y+TDasOjI4mz5BocEOgg2czfpeK3J69K4a8o12wRZRCc=
11
- =XzcE
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
@@ -1,3 +1,9 @@
1
+ Release 4.0.59
2
+ --------------
3
+
4
+ * [Enterprise] Fixed support for free-style Node.js apps.
5
+
6
+
1
7
  Release 4.0.58
2
8
  --------------
3
9
 
@@ -90,7 +90,7 @@
90
90
 
91
91
  #define NGINX_DOC_URL "https://www.phusionpassenger.com/documentation/Users%20guide%20Nginx.html"
92
92
 
93
- #define PASSENGER_VERSION "4.0.58"
93
+ #define PASSENGER_VERSION "4.0.59"
94
94
 
95
95
  #define POOL_HELPER_THREAD_STACK_SIZE 262144
96
96
 
@@ -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.58'
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-2014 Phusion
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 File.exist?("#{dir}/config.ru") ||
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.58
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-01-22 00:00:00.000000000 Z
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
- iQEcBAABAgAGBQJUwVk+AAoJECrHRaUKISqM6g4IAIjSEQdk3sljg9N+3tvWpTKO
6
- jDmzrYfOPm3ahk7DxAOV8HXbaXpyea6iYMVgekmLK5TJ/s90zpDXrpTjxf4km1Ea
7
- 00cwFJ6ufLbHav7aouKHLgCLJxhEpQvxDZalSFTLY4o+aPp7Hn5qdy2hVhDWpdGL
8
- w/sQnQ9ldFUuSKW081YMgo4Yg20KvzCD5DQlT9cnKr3N8cuyjS8Em/Wh+X5YoHE0
9
- 8uAKVOlwO4rC/BzJjnJORy3JWMkfYznwnH0DhLOwMjkCEqEnH96XkrNk75chYIht
10
- F815EfoU1n5O6kR/Sd7WWsnSkpKdpHuheM5wpJ6dGZwHBTodU7rpJvsONtuDKLA=
11
- =uReO
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-----