passenger 4.0.30 → 4.0.31

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.

Files changed (409) hide show
  1. data.tar.gz.asc +7 -7
  2. data/NEWS +31 -0
  3. data/bin/passenger +5 -5
  4. data/bin/passenger-config +6 -126
  5. data/bin/passenger-install-apache2-module +108 -26
  6. data/bin/passenger-install-nginx-module +81 -27
  7. data/bin/passenger-memory-stats +7 -6
  8. data/bin/passenger-status +13 -10
  9. data/build/agents.rb +8 -12
  10. data/build/apache2.rb +12 -7
  11. data/build/basics.rb +28 -20
  12. data/build/common_library.rb +4 -4
  13. data/build/cplusplus_support.rb +4 -4
  14. data/build/cxx_tests.rb +5 -3
  15. data/build/debian.rb +1 -2
  16. data/build/integration_tests.rb +25 -9
  17. data/build/misc.rb +2 -2
  18. data/build/oxt_tests.rb +5 -6
  19. data/build/packaging.rb +72 -40
  20. data/build/ruby_tests.rb +5 -1
  21. data/build/test_basics.rb +1 -2
  22. data/debian.template/locations.ini.template +1 -0
  23. data/debian.template/rules.template +2 -1
  24. data/dev/install_scripts_bootstrap_code.rb +42 -0
  25. data/dev/run_travis.sh +1 -0
  26. data/dev/runner +27 -0
  27. data/doc/Packaging.txt.md +5 -10
  28. data/doc/Users guide Apache.idmap.txt +3 -1
  29. data/doc/Users guide Apache.txt +5 -3
  30. data/doc/Users guide Nginx.idmap.txt +9 -5
  31. data/doc/Users guide Nginx.txt +47 -17
  32. data/doc/users_guide_snippets/environment_variables.txt +2 -2
  33. data/doc/users_guide_snippets/installation.txt +6 -2
  34. data/doc/users_guide_snippets/tips.txt +4 -0
  35. data/ext/apache2/Hooks.cpp +16 -3
  36. data/ext/common/Account.h +6 -5
  37. data/ext/common/AgentsStarter.h +1 -1
  38. data/ext/common/ApplicationPool2/Common.h +72 -0
  39. data/ext/common/ApplicationPool2/Group.h +263 -148
  40. data/ext/common/ApplicationPool2/Implementation.cpp +66 -44
  41. data/ext/common/ApplicationPool2/Options.h +1 -7
  42. data/ext/common/ApplicationPool2/Pool.h +96 -72
  43. data/ext/common/ApplicationPool2/Process.h +12 -17
  44. data/ext/common/ApplicationPool2/Socket.h +4 -4
  45. data/ext/common/ApplicationPool2/SuperGroup.h +20 -17
  46. data/ext/common/Constants.h +15 -1
  47. data/ext/common/MessageServer.h +22 -0
  48. data/ext/common/Utils.cpp +4 -1
  49. data/ext/common/Utils.h +3 -1
  50. data/ext/common/Utils/StrIntUtils.h +1 -0
  51. data/ext/common/Utils/Timer.h +15 -1
  52. data/ext/common/Utils/utf8/checked.h +0 -0
  53. data/ext/common/Utils/utf8/core.h +0 -0
  54. data/ext/common/Utils/utf8/unchecked.h +0 -0
  55. data/ext/common/agents/Base.cpp +59 -35
  56. data/ext/common/agents/HelperAgent/Main.cpp +23 -12
  57. data/ext/common/agents/HelperAgent/RequestHandler.h +10 -1
  58. data/ext/common/agents/LoggingAgent/FilterSupport.h +9 -5
  59. data/ext/common/agents/TempDirToucher.c +12 -3
  60. data/ext/common/agents/Watchdog/Main.cpp +8 -2
  61. data/ext/nginx/ConfigurationCommands.c +10 -0
  62. data/ext/nginx/ConfigurationFields.h +2 -0
  63. data/ext/nginx/ContentHandler.c +32 -19
  64. data/ext/nginx/CreateLocationConfig.c +5 -0
  65. data/ext/nginx/MergeLocationConfig.c +6 -0
  66. data/ext/nginx/config +13 -6
  67. data/ext/ruby/passenger_native_support.c +61 -2
  68. data/helper-scripts/classic-rails-loader.rb +9 -10
  69. data/helper-scripts/classic-rails-preloader.rb +10 -11
  70. data/helper-scripts/node-loader.js +3 -2
  71. data/helper-scripts/rack-loader.rb +8 -9
  72. data/helper-scripts/rack-preloader.rb +9 -10
  73. data/lib/phusion_passenger.rb +36 -7
  74. data/lib/phusion_passenger/abstract_installer.rb +16 -15
  75. data/lib/phusion_passenger/active_support3_extensions/init.rb +1 -1
  76. data/lib/phusion_passenger/admin_tools/memory_stats.rb +2 -2
  77. data/lib/phusion_passenger/admin_tools/server_instance.rb +5 -5
  78. data/lib/phusion_passenger/analytics_logger.rb +3 -3
  79. data/lib/phusion_passenger/classic_rails/thread_handler_extension.rb +1 -1
  80. data/lib/phusion_passenger/config.rb +125 -0
  81. data/lib/phusion_passenger/config/about_command.rb +183 -0
  82. data/lib/phusion_passenger/config/command.rb +57 -0
  83. data/lib/phusion_passenger/config/restart_app_command.rb +146 -0
  84. data/lib/phusion_passenger/config/utils.rb +108 -0
  85. data/lib/phusion_passenger/console_text_template.rb +2 -1
  86. data/lib/phusion_passenger/constants.rb +7 -2
  87. data/lib/phusion_passenger/loader_shared_helpers.rb +12 -21
  88. data/lib/phusion_passenger/message_client.rb +15 -4
  89. data/lib/phusion_passenger/native_support.rb +116 -98
  90. data/lib/phusion_passenger/nginx/config_options.rb +5 -0
  91. data/lib/phusion_passenger/platform_info.rb +1 -1
  92. data/lib/phusion_passenger/platform_info/apache.rb +9 -5
  93. data/lib/phusion_passenger/platform_info/apache_detector.rb +5 -6
  94. data/lib/phusion_passenger/platform_info/binary_compatibility.rb +3 -3
  95. data/lib/phusion_passenger/platform_info/compiler.rb +29 -11
  96. data/lib/phusion_passenger/platform_info/curl.rb +1 -1
  97. data/lib/phusion_passenger/platform_info/cxx_portability.rb +30 -16
  98. data/lib/phusion_passenger/platform_info/depcheck.rb +6 -6
  99. data/lib/phusion_passenger/platform_info/linux.rb +2 -2
  100. data/lib/phusion_passenger/platform_info/operating_system.rb +25 -5
  101. data/lib/phusion_passenger/platform_info/ruby.rb +7 -4
  102. data/lib/phusion_passenger/platform_info/zlib.rb +1 -1
  103. data/lib/phusion_passenger/plugin.rb +0 -1
  104. data/lib/phusion_passenger/preloader_shared_helpers.rb +1 -1
  105. data/lib/phusion_passenger/public_api.rb +1 -1
  106. data/lib/phusion_passenger/rack/thread_handler_extension.rb +1 -1
  107. data/lib/phusion_passenger/request_handler.rb +8 -9
  108. data/lib/phusion_passenger/request_handler/thread_handler.rb +21 -9
  109. data/lib/phusion_passenger/ruby_core_enhancements.rb +1 -1
  110. data/lib/phusion_passenger/standalone/app_finder.rb +2 -2
  111. data/lib/phusion_passenger/standalone/command.rb +10 -8
  112. data/lib/phusion_passenger/standalone/help_command.rb +1 -1
  113. data/lib/phusion_passenger/standalone/main.rb +3 -3
  114. data/lib/phusion_passenger/standalone/package_runtime_command.rb +2 -2
  115. data/lib/phusion_passenger/standalone/runtime_installer.rb +55 -13
  116. data/lib/phusion_passenger/standalone/runtime_locator.rb +3 -3
  117. data/lib/phusion_passenger/standalone/start_command.rb +6 -7
  118. data/lib/phusion_passenger/standalone/status_command.rb +1 -1
  119. data/lib/phusion_passenger/standalone/stop_command.rb +1 -1
  120. data/lib/phusion_passenger/standalone/utils.rb +1 -1
  121. data/lib/phusion_passenger/standalone/version_command.rb +2 -3
  122. data/lib/phusion_passenger/utils.rb +1 -1
  123. data/lib/phusion_passenger/utils/download.rb +1 -2
  124. data/lib/phusion_passenger/utils/file_system_watcher.rb +1 -1
  125. data/lib/phusion_passenger/utils/hosts_file_parser.rb +1 -1
  126. data/lib/phusion_passenger/utils/tee_input.rb +1 -1
  127. data/lib/phusion_passenger/utils/terminal_choice_menu.rb +217 -0
  128. data/lib/phusion_passenger/utils/unseekable_socket.rb +1 -1
  129. data/resources/templates/apache2/config_snippets.txt.erb +2 -3
  130. data/resources/templates/apache2/deployment_example.txt.erb +2 -2
  131. data/resources/templates/apache2/notify_apache_module_installed.txt.erb +3 -0
  132. data/resources/templates/nginx/config_snippets.txt.erb +1 -1
  133. data/resources/templates/nginx/deployment_example.txt.erb +2 -2
  134. data/resources/templates/nginx/nginx_module_sources_not_available.txt.erb +11 -5
  135. data/rpm/Vagrantfile +1 -0
  136. data/test/cxx/ApplicationPool2/PoolTest.cpp +224 -35
  137. data/test/cxx/ApplicationPool2/ProcessTest.cpp +6 -6
  138. data/test/cxx/MessagePassingTest.cpp +1 -1
  139. data/test/cxx/RequestHandlerTest.cpp +26 -26
  140. data/test/integration_tests/apache2_tests.rb +162 -243
  141. data/test/integration_tests/native_packaging_spec.rb +10 -10
  142. data/test/integration_tests/nginx_tests.rb +87 -107
  143. data/test/integration_tests/shared/example_webapp_tests.rb +246 -0
  144. data/test/integration_tests/source_packaging_test.rb +2 -1
  145. data/test/integration_tests/standalone_tests.rb +34 -19
  146. data/test/ruby/admin_tools_spec.rb +4 -4
  147. data/test/ruby/analytics_logger_spec.rb +1 -1
  148. data/test/ruby/debug_logging_spec.rb +2 -2
  149. data/test/ruby/message_channel_spec.rb +1 -1
  150. data/test/ruby/request_handler_spec.rb +171 -64
  151. data/test/ruby/shared/loader_sharedspec.rb +5 -5
  152. data/test/ruby/shared/rails/analytics_logging_extensions_sharedspec.rb +2 -2
  153. data/test/ruby/spec_helper.rb +4 -4
  154. data/test/ruby/standalone/runtime_installer_spec.rb +1 -1
  155. data/test/ruby/standalone/runtime_locator_spec.rb +1 -1
  156. data/test/ruby/utils/file_system_watcher_spec.rb +1 -1
  157. data/test/ruby/utils/hosts_file_parser.rb +1 -1
  158. data/test/ruby/utils/unseekable_socket_spec.rb +1 -1
  159. data/test/ruby/utils_spec.rb +4 -4
  160. data/test/stub/apache2/httpd.conf.erb +5 -0
  161. data/test/stub/index.html +1 -0
  162. data/test/stub/rack/config.ru +80 -33
  163. data/test/stub/{rails_apps/1.2/empty/app/models → rack/public}/.gitignore +0 -0
  164. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/Rakefile +0 -0
  165. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/controllers/application_controller.rb +0 -0
  166. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/controllers/recipes_controller.rb +0 -0
  167. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/controllers/uploads_controller.rb +0 -0
  168. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/controllers/welcome_controller.rb +0 -0
  169. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/app/helpers/application_helper.rb +0 -0
  170. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/helpers/recipes_helper.rb +0 -0
  171. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/helpers/test_helper.rb +0 -0
  172. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/helpers/uploads_helper.rb +0 -0
  173. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/helpers/welcome_helper.rb +0 -0
  174. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/views/layouts/default.rhtml +0 -0
  175. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/views/recipes/create.rhtml +0 -0
  176. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/views/recipes/index.rhtml +0 -0
  177. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/views/recipes/new.rhtml +0 -0
  178. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/views/uploads/index.rhtml +0 -0
  179. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/views/uploads/new.html.erb +0 -0
  180. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/views/welcome/cached.rhtml +0 -0
  181. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/app/views/welcome/index.rhtml +0 -0
  182. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/config/boot.rb +0 -0
  183. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/config/database.yml +0 -0
  184. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/config/environment.rb +0 -0
  185. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/config/environments/development.rb +0 -0
  186. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/config/environments/production.rb +0 -0
  187. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/config/initializers/inflections.rb +0 -0
  188. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/config/initializers/mime_types.rb +0 -0
  189. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/config/routes.rb +0 -0
  190. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/log/useless.txt +0 -0
  191. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/.htaccess +0 -0
  192. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/public/404.html +0 -0
  193. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/public/422.html +0 -0
  194. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/public/500.html +0 -0
  195. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/dispatch.cgi +0 -0
  196. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/dispatch.fcgi +0 -0
  197. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/dispatch.rb +0 -0
  198. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/public/favicon.ico +0 -0
  199. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/images/angrywizard.gif +0 -0
  200. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/images/cookbook.gif +0 -0
  201. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/images/header.png +0 -0
  202. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/public/images/rails.png +0 -0
  203. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/public/robots.txt +0 -0
  204. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/uploads.html +0 -0
  205. data/test/stub/{rails_apps/1.2/empty/db → rails2.3-mycook/public/uploads}/.gitignore +0 -0
  206. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/public/welcome/cached.html +0 -0
  207. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/script/about +0 -0
  208. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/script/console +0 -0
  209. data/test/stub/{rails_apps/2.2/empty → rails2.3-mycook}/script/dbconsole +0 -0
  210. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/script/destroy +0 -0
  211. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/script/generate +0 -0
  212. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/script/performance/benchmarker +0 -0
  213. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/script/performance/profiler +0 -0
  214. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/script/performance/request +0 -0
  215. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/script/plugin +0 -0
  216. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/script/process/inspector +0 -0
  217. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/script/process/reaper +0 -0
  218. data/test/stub/{rails_apps/1.2/empty → rails2.3-mycook}/script/process/spawner +0 -0
  219. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/script/runner +0 -0
  220. data/test/stub/{rails_apps/2.0/empty → rails2.3-mycook}/script/server +0 -0
  221. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/sites/some.site/public/uploads.html +0 -0
  222. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/sites/some.site/public/welcome/cached.html +0 -0
  223. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/tmp/cache/useless.txt +0 -0
  224. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/tmp/pids/useless.txt +0 -0
  225. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/tmp/sessions/useless.txt +0 -0
  226. data/test/stub/{rails_apps/2.3/mycook → rails2.3-mycook}/tmp/sockets/useless.txt +0 -0
  227. data/test/stub/rails2.3/app/controllers/foo_controller.rb +1 -1
  228. data/test/stub/rails2.3/config/routes.rb +1 -2
  229. data/test/stub/wsgi/passenger_wsgi.py +47 -8
  230. data/test/stub/{rails_apps/1.2/empty/public/stylesheets → wsgi/public}/.gitignore +0 -0
  231. data/test/support/apache2_controller.rb +2 -2
  232. data/test/support/nginx_controller.rb +11 -5
  233. data/test/support/placebo-preloader.rb +2 -2
  234. data/test/support/test_helper.rb +26 -7
  235. metadata +78 -240
  236. metadata.gz.asc +7 -7
  237. data/debian.template/repack.sh +0 -42
  238. data/debian.template/watch +0 -3
  239. data/test/integration_tests/cgi_environment_spec.rb +0 -36
  240. data/test/integration_tests/hello_world_rack_spec.rb +0 -43
  241. data/test/integration_tests/hello_world_wsgi_spec.rb +0 -41
  242. data/test/integration_tests/mycook_spec.rb +0 -166
  243. data/test/stub/rack/public/rack.jpg +0 -0
  244. data/test/stub/rails_apps/1.2/empty/.gitignore +0 -3
  245. data/test/stub/rails_apps/1.2/empty/app/controllers/application.rb +0 -7
  246. data/test/stub/rails_apps/1.2/empty/config/boot.rb +0 -108
  247. data/test/stub/rails_apps/1.2/empty/config/database.yml +0 -31
  248. data/test/stub/rails_apps/1.2/empty/config/environment.rb +0 -66
  249. data/test/stub/rails_apps/1.2/empty/config/environments/development.rb +0 -21
  250. data/test/stub/rails_apps/1.2/empty/config/environments/production.rb +0 -18
  251. data/test/stub/rails_apps/1.2/empty/config/environments/staging.rb +0 -18
  252. data/test/stub/rails_apps/1.2/empty/config/environments/test.rb +0 -19
  253. data/test/stub/rails_apps/1.2/empty/config/routes.rb +0 -23
  254. data/test/stub/rails_apps/1.2/empty/doc/README_FOR_APP +0 -2
  255. data/test/stub/rails_apps/1.2/empty/public/.htaccess +0 -40
  256. data/test/stub/rails_apps/1.2/empty/public/500.html +0 -30
  257. data/test/stub/rails_apps/1.2/empty/public/dispatch.cgi +0 -10
  258. data/test/stub/rails_apps/1.2/empty/public/dispatch.fcgi +0 -24
  259. data/test/stub/rails_apps/1.2/empty/public/dispatch.rb +0 -10
  260. data/test/stub/rails_apps/1.2/empty/public/robots.txt +0 -1
  261. data/test/stub/rails_apps/1.2/empty/script/about +0 -3
  262. data/test/stub/rails_apps/1.2/empty/script/breakpointer +0 -3
  263. data/test/stub/rails_apps/1.2/empty/script/console +0 -3
  264. data/test/stub/rails_apps/1.2/empty/script/destroy +0 -3
  265. data/test/stub/rails_apps/1.2/empty/script/generate +0 -3
  266. data/test/stub/rails_apps/1.2/empty/script/plugin +0 -3
  267. data/test/stub/rails_apps/1.2/empty/script/runner +0 -3
  268. data/test/stub/rails_apps/1.2/empty/script/server +0 -3
  269. data/test/stub/rails_apps/1.2/empty/test/test_helper.rb +0 -28
  270. data/test/stub/rails_apps/2.0/empty/.gitignore +0 -3
  271. data/test/stub/rails_apps/2.0/empty/Rakefile +0 -10
  272. data/test/stub/rails_apps/2.0/empty/app/controllers/application.rb +0 -10
  273. data/test/stub/rails_apps/2.0/empty/app/helpers/application_helper.rb +0 -3
  274. data/test/stub/rails_apps/2.0/empty/app/models/.gitignore +0 -0
  275. data/test/stub/rails_apps/2.0/empty/config/boot.rb +0 -108
  276. data/test/stub/rails_apps/2.0/empty/config/database.yml +0 -31
  277. data/test/stub/rails_apps/2.0/empty/config/environment.rb +0 -59
  278. data/test/stub/rails_apps/2.0/empty/config/environments/production.rb +0 -18
  279. data/test/stub/rails_apps/2.0/empty/config/environments/staging.rb +0 -18
  280. data/test/stub/rails_apps/2.0/empty/config/environments/test.rb +0 -22
  281. data/test/stub/rails_apps/2.0/empty/config/routes.rb +0 -35
  282. data/test/stub/rails_apps/2.0/empty/db/.gitignore +0 -0
  283. data/test/stub/rails_apps/2.0/empty/doc/README_FOR_APP +0 -2
  284. data/test/stub/rails_apps/2.0/empty/public/.htaccess +0 -40
  285. data/test/stub/rails_apps/2.0/empty/public/404.html +0 -30
  286. data/test/stub/rails_apps/2.0/empty/public/dispatch.cgi +0 -10
  287. data/test/stub/rails_apps/2.0/empty/public/dispatch.fcgi +0 -24
  288. data/test/stub/rails_apps/2.0/empty/public/dispatch.rb +0 -10
  289. data/test/stub/rails_apps/2.0/empty/public/favicon.ico +0 -0
  290. data/test/stub/rails_apps/2.0/empty/public/images/rails.png +0 -0
  291. data/test/stub/rails_apps/2.0/empty/public/stylesheets/.gitignore +0 -0
  292. data/test/stub/rails_apps/2.0/empty/script/performance/benchmarker +0 -3
  293. data/test/stub/rails_apps/2.0/empty/script/performance/profiler +0 -3
  294. data/test/stub/rails_apps/2.0/empty/script/process/inspector +0 -3
  295. data/test/stub/rails_apps/2.0/empty/script/process/reaper +0 -3
  296. data/test/stub/rails_apps/2.0/empty/script/process/spawner +0 -3
  297. data/test/stub/rails_apps/2.0/empty/test/test_helper.rb +0 -38
  298. data/test/stub/rails_apps/2.2/empty/.gitignore +0 -3
  299. data/test/stub/rails_apps/2.2/empty/Rakefile +0 -10
  300. data/test/stub/rails_apps/2.2/empty/app/controllers/application.rb +0 -15
  301. data/test/stub/rails_apps/2.2/empty/app/helpers/application_helper.rb +0 -3
  302. data/test/stub/rails_apps/2.2/empty/app/models/.gitignore +0 -0
  303. data/test/stub/rails_apps/2.2/empty/config/boot.rb +0 -109
  304. data/test/stub/rails_apps/2.2/empty/config/database.yml +0 -31
  305. data/test/stub/rails_apps/2.2/empty/config/environment.rb +0 -75
  306. data/test/stub/rails_apps/2.2/empty/config/environments/development.rb +0 -17
  307. data/test/stub/rails_apps/2.2/empty/config/environments/production.rb +0 -24
  308. data/test/stub/rails_apps/2.2/empty/config/environments/staging.rb +0 -24
  309. data/test/stub/rails_apps/2.2/empty/config/environments/test.rb +0 -22
  310. data/test/stub/rails_apps/2.2/empty/config/initializers/inflections.rb +0 -10
  311. data/test/stub/rails_apps/2.2/empty/config/initializers/mime_types.rb +0 -5
  312. data/test/stub/rails_apps/2.2/empty/config/initializers/new_rails_defaults.rb +0 -17
  313. data/test/stub/rails_apps/2.2/empty/config/locales/en.yml +0 -5
  314. data/test/stub/rails_apps/2.2/empty/config/routes.rb +0 -43
  315. data/test/stub/rails_apps/2.2/empty/db/.gitignore +0 -0
  316. data/test/stub/rails_apps/2.2/empty/doc/README_FOR_APP +0 -5
  317. data/test/stub/rails_apps/2.2/empty/public/404.html +0 -30
  318. data/test/stub/rails_apps/2.2/empty/public/422.html +0 -30
  319. data/test/stub/rails_apps/2.2/empty/public/500.html +0 -33
  320. data/test/stub/rails_apps/2.2/empty/public/dispatch.cgi +0 -10
  321. data/test/stub/rails_apps/2.2/empty/public/dispatch.fcgi +0 -24
  322. data/test/stub/rails_apps/2.2/empty/public/dispatch.rb +0 -10
  323. data/test/stub/rails_apps/2.2/empty/public/favicon.ico +0 -0
  324. data/test/stub/rails_apps/2.2/empty/public/images/rails.png +0 -0
  325. data/test/stub/rails_apps/2.2/empty/public/robots.txt +0 -5
  326. data/test/stub/rails_apps/2.2/empty/public/stylesheets/.gitignore +0 -0
  327. data/test/stub/rails_apps/2.2/empty/script/about +0 -4
  328. data/test/stub/rails_apps/2.2/empty/script/console +0 -3
  329. data/test/stub/rails_apps/2.2/empty/script/destroy +0 -3
  330. data/test/stub/rails_apps/2.2/empty/script/generate +0 -3
  331. data/test/stub/rails_apps/2.2/empty/script/performance/benchmarker +0 -3
  332. data/test/stub/rails_apps/2.2/empty/script/performance/profiler +0 -3
  333. data/test/stub/rails_apps/2.2/empty/script/performance/request +0 -3
  334. data/test/stub/rails_apps/2.2/empty/script/plugin +0 -3
  335. data/test/stub/rails_apps/2.2/empty/script/process/inspector +0 -3
  336. data/test/stub/rails_apps/2.2/empty/script/process/reaper +0 -3
  337. data/test/stub/rails_apps/2.2/empty/script/process/spawner +0 -3
  338. data/test/stub/rails_apps/2.2/empty/script/runner +0 -3
  339. data/test/stub/rails_apps/2.2/empty/script/server +0 -3
  340. data/test/stub/rails_apps/2.2/empty/test/performance/browsing_test.rb +0 -9
  341. data/test/stub/rails_apps/2.2/empty/test/test_helper.rb +0 -38
  342. data/test/stub/rails_apps/2.3/empty/.gitignore +0 -3
  343. data/test/stub/rails_apps/2.3/empty/Rakefile +0 -10
  344. data/test/stub/rails_apps/2.3/empty/app/controllers/application_controller.rb +0 -10
  345. data/test/stub/rails_apps/2.3/empty/app/helpers/application_helper.rb +0 -3
  346. data/test/stub/rails_apps/2.3/empty/app/models/.gitignore +0 -0
  347. data/test/stub/rails_apps/2.3/empty/config/boot.rb +0 -110
  348. data/test/stub/rails_apps/2.3/empty/config/database.yml +0 -31
  349. data/test/stub/rails_apps/2.3/empty/config/environment.rb +0 -41
  350. data/test/stub/rails_apps/2.3/empty/config/environments/development.rb +0 -17
  351. data/test/stub/rails_apps/2.3/empty/config/environments/production.rb +0 -28
  352. data/test/stub/rails_apps/2.3/empty/config/environments/staging.rb +0 -28
  353. data/test/stub/rails_apps/2.3/empty/config/environments/test.rb +0 -28
  354. data/test/stub/rails_apps/2.3/empty/config/initializers/backtrace_silencers.rb +0 -7
  355. data/test/stub/rails_apps/2.3/empty/config/initializers/inflections.rb +0 -10
  356. data/test/stub/rails_apps/2.3/empty/config/initializers/mime_types.rb +0 -5
  357. data/test/stub/rails_apps/2.3/empty/config/initializers/new_rails_defaults.rb +0 -21
  358. data/test/stub/rails_apps/2.3/empty/config/initializers/session_store.rb +0 -15
  359. data/test/stub/rails_apps/2.3/empty/config/locales/en.yml +0 -5
  360. data/test/stub/rails_apps/2.3/empty/config/routes.rb +0 -43
  361. data/test/stub/rails_apps/2.3/empty/db/.gitignore +0 -0
  362. data/test/stub/rails_apps/2.3/empty/db/seeds.rb +0 -7
  363. data/test/stub/rails_apps/2.3/empty/doc/README_FOR_APP +0 -2
  364. data/test/stub/rails_apps/2.3/empty/public/404.html +0 -30
  365. data/test/stub/rails_apps/2.3/empty/public/422.html +0 -30
  366. data/test/stub/rails_apps/2.3/empty/public/500.html +0 -30
  367. data/test/stub/rails_apps/2.3/empty/public/favicon.ico +0 -0
  368. data/test/stub/rails_apps/2.3/empty/public/images/rails.png +0 -0
  369. data/test/stub/rails_apps/2.3/empty/public/robots.txt +0 -5
  370. data/test/stub/rails_apps/2.3/empty/public/stylesheets/.gitignore +0 -0
  371. data/test/stub/rails_apps/2.3/empty/script/about +0 -4
  372. data/test/stub/rails_apps/2.3/empty/script/console +0 -3
  373. data/test/stub/rails_apps/2.3/empty/script/dbconsole +0 -3
  374. data/test/stub/rails_apps/2.3/empty/script/destroy +0 -3
  375. data/test/stub/rails_apps/2.3/empty/script/generate +0 -3
  376. data/test/stub/rails_apps/2.3/empty/script/performance/benchmarker +0 -3
  377. data/test/stub/rails_apps/2.3/empty/script/performance/profiler +0 -3
  378. data/test/stub/rails_apps/2.3/empty/script/plugin +0 -3
  379. data/test/stub/rails_apps/2.3/empty/script/runner +0 -3
  380. data/test/stub/rails_apps/2.3/empty/script/server +0 -3
  381. data/test/stub/rails_apps/2.3/empty/test/performance/browsing_test.rb +0 -9
  382. data/test/stub/rails_apps/2.3/empty/test/test_helper.rb +0 -38
  383. data/test/stub/rails_apps/2.3/mycook/Rakefile +0 -10
  384. data/test/stub/rails_apps/2.3/mycook/app/helpers/application_helper.rb +0 -3
  385. data/test/stub/rails_apps/2.3/mycook/config/environments/development.rb +0 -18
  386. data/test/stub/rails_apps/2.3/mycook/config/initializers/inflections.rb +0 -10
  387. data/test/stub/rails_apps/2.3/mycook/config/initializers/mime_types.rb +0 -5
  388. data/test/stub/rails_apps/2.3/mycook/public/404.html +0 -30
  389. data/test/stub/rails_apps/2.3/mycook/public/422.html +0 -30
  390. data/test/stub/rails_apps/2.3/mycook/public/500.html +0 -30
  391. data/test/stub/rails_apps/2.3/mycook/public/favicon.ico +0 -0
  392. data/test/stub/rails_apps/2.3/mycook/public/images/rails.png +0 -0
  393. data/test/stub/rails_apps/2.3/mycook/public/robots.txt +0 -5
  394. data/test/stub/rails_apps/2.3/mycook/public/uploads/.gitignore +0 -0
  395. data/test/stub/rails_apps/2.3/mycook/script/about +0 -3
  396. data/test/stub/rails_apps/2.3/mycook/script/console +0 -3
  397. data/test/stub/rails_apps/2.3/mycook/script/dbconsole +0 -3
  398. data/test/stub/rails_apps/2.3/mycook/script/destroy +0 -3
  399. data/test/stub/rails_apps/2.3/mycook/script/generate +0 -3
  400. data/test/stub/rails_apps/2.3/mycook/script/performance/benchmarker +0 -3
  401. data/test/stub/rails_apps/2.3/mycook/script/performance/profiler +0 -3
  402. data/test/stub/rails_apps/2.3/mycook/script/performance/request +0 -3
  403. data/test/stub/rails_apps/2.3/mycook/script/plugin +0 -3
  404. data/test/stub/rails_apps/2.3/mycook/script/process/inspector +0 -3
  405. data/test/stub/rails_apps/2.3/mycook/script/process/reaper +0 -3
  406. data/test/stub/rails_apps/2.3/mycook/script/process/spawner +0 -3
  407. data/test/stub/rails_apps/2.3/mycook/script/runner +0 -3
  408. data/test/stub/rails_apps/2.3/mycook/script/server +0 -3
  409. data/test/stub/wsgi/public/wsgi-snake.jpg +0 -0
@@ -1,7 +1,7 @@
1
1
  require 'erb'
2
2
  require 'fileutils'
3
- require 'phusion_passenger/platform_info/apache'
4
- require 'phusion_passenger/platform_info/ruby'
3
+ PhusionPassenger.require_passenger_lib 'platform_info/apache'
4
+ PhusionPassenger.require_passenger_lib 'platform_info/ruby'
5
5
 
6
6
  # A class for starting, stopping and restarting Apache, and for manipulating
7
7
  # its configuration file. This is used by the integration tests.
@@ -1,5 +1,4 @@
1
1
  require 'erb'
2
- require 'phusion_passenger/platform_info/ruby'
3
2
  begin
4
3
  require 'daemon_controller'
5
4
  rescue LoadError
@@ -10,15 +9,16 @@ rescue LoadError
10
9
  exit!(1)
11
10
  end
12
11
 
12
+ PhusionPassenger.require_passenger_lib 'platform_info/ruby'
13
+
13
14
  class NginxController
14
- include PhusionPassenger
15
- PASSENGER_ROOT = File.expand_path(File.dirname(__FILE__) + "/../..")
15
+ PlatformInfo = PhusionPassenger::PlatformInfo
16
16
  TEMPLATE_DIR = File.expand_path(File.dirname(__FILE__) + "/../stub/nginx")
17
17
  PORT = 64507
18
18
 
19
19
  def initialize(root_dir)
20
20
  root_dir = File.expand_path(root_dir)
21
- @passenger_root = PASSENGER_ROOT
21
+ @passenger_root = PhusionPassenger.source_root
22
22
  @nginx_root = root_dir
23
23
  @port = PORT
24
24
  @config_file = "#{root_dir}/nginx.conf"
@@ -45,12 +45,18 @@ class NginxController
45
45
  end
46
46
 
47
47
  def start
48
- @controller.stop
48
+ stop
49
49
  @controller.start
50
50
  end
51
51
 
52
52
  def stop
53
53
  @controller.stop
54
+ # On OS X, the Nginx server socket may linger around for a while
55
+ # after Nginx shutdown, despite Nginx setting SO_REUSEADDR.
56
+ sockaddr = Socket.pack_sockaddr_in(PORT, '127.0.0.1')
57
+ eventually(30) do
58
+ !@controller.send(:ping_socket, Socket::Constants::AF_INET, sockaddr)
59
+ end
54
60
  end
55
61
 
56
62
  def running?
@@ -3,9 +3,9 @@
3
3
  # and executes the requested start command.
4
4
 
5
5
  DIR = File.expand_path(File.dirname(__FILE__))
6
- require "#{DIR}/../../lib/phusion_passenger"
6
+ require File.expand_path("#{DIR}/../../lib/phusion_passenger")
7
7
  PhusionPassenger.locate_directories
8
- require 'phusion_passenger/native_support'
8
+ PhusionPassenger.require_passenger_lib 'native_support'
9
9
  require 'socket'
10
10
 
11
11
  STDOUT.sync = true
@@ -3,9 +3,8 @@ require 'resolv'
3
3
  require 'net/http'
4
4
  require 'uri'
5
5
  require 'support/multipart'
6
- require 'phusion_passenger'
7
- require 'phusion_passenger/debug_logging'
8
- require 'phusion_passenger/platform_info/ruby'
6
+ PhusionPassenger.require_passenger_lib 'debug_logging'
7
+ PhusionPassenger.require_passenger_lib 'platform_info/ruby'
9
8
 
10
9
  # Module containing helper methods, to be included in unit tests.
11
10
  module TestHelper
@@ -116,6 +115,18 @@ module TestHelper
116
115
  return "#{@full_app_root}/config.ru"
117
116
  end
118
117
  end
118
+
119
+ class PythonStub < Stub
120
+ def startup_file
121
+ return "#{@full_app_root}/passenger_wsgi.py"
122
+ end
123
+ end
124
+
125
+ class NodejsStub < Stub
126
+ def startup_file
127
+ return "#{@full_app_root}/app.js"
128
+ end
129
+ end
119
130
 
120
131
  def describe_rails_versions(matcher, &block)
121
132
  if ENV['ONLY_RAILS_VERSION'] && !ENV['ONLY_RAILS_VERSION'].empty?
@@ -224,9 +235,7 @@ module TestHelper
224
235
  "127.0.0.1 7.passenger.test 8.passenger.test 9.passenger.test\n"
225
236
  if RUBY_PLATFORM =~ /darwin/
226
237
  message << "\n\nThen run:\n\n" <<
227
- " lookupd -flushcache (OS X Tiger)\n\n" <<
228
- "-OR-\n\n" <<
229
- " dscacheutil -flushcache (OS X Leopard)"
238
+ " dscacheutil -flushcache"
230
239
  end
231
240
  STDERR.puts "---------------------------"
232
241
  STDERR.puts message
@@ -382,7 +391,7 @@ module TestHelper
382
391
  end
383
392
 
384
393
  def flush_logging_agent(password, socket_address)
385
- require 'phusion_passenger/message_client' if !defined?(PhusionPassenger::MessageClient)
394
+ PhusionPassenger.require_passenger_lib 'message_client' if !defined?(PhusionPassenger::MessageClient)
386
395
  client = PhusionPassenger::MessageClient.new("logging", password, socket_address)
387
396
  begin
388
397
  client.write("flush")
@@ -402,6 +411,16 @@ module TestHelper
402
411
  return instance
403
412
  end
404
413
  end
414
+
415
+ if "".respond_to?(:force_encoding)
416
+ def binary_string(str)
417
+ return str.force_encoding("binary")
418
+ end
419
+ else
420
+ def binary_string(str)
421
+ return str
422
+ end
423
+ end
405
424
  end
406
425
 
407
426
  File.class_eval do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: passenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.30
4
+ version: 4.0.31
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-12-30 00:00:00.000000000 Z
12
+ date: 2014-01-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -115,6 +115,11 @@ files:
115
115
  - lib/phusion_passenger/classic_rails/cgi_fixed.rb
116
116
  - lib/phusion_passenger/classic_rails/thread_handler_extension.rb
117
117
  - lib/phusion_passenger/common_library.rb
118
+ - lib/phusion_passenger/config/about_command.rb
119
+ - lib/phusion_passenger/config/command.rb
120
+ - lib/phusion_passenger/config/restart_app_command.rb
121
+ - lib/phusion_passenger/config/utils.rb
122
+ - lib/phusion_passenger/config.rb
118
123
  - lib/phusion_passenger/console_text_template.rb
119
124
  - lib/phusion_passenger/constants.rb
120
125
  - lib/phusion_passenger/debug_logging.rb
@@ -170,6 +175,7 @@ files:
170
175
  - lib/phusion_passenger/utils/hosts_file_parser.rb
171
176
  - lib/phusion_passenger/utils/json.rb
172
177
  - lib/phusion_passenger/utils/tee_input.rb
178
+ - lib/phusion_passenger/utils/terminal_choice_menu.rb
173
179
  - lib/phusion_passenger/utils/tmpdir.rb
174
180
  - lib/phusion_passenger/utils/tmpio.rb
175
181
  - lib/phusion_passenger/utils/unseekable_socket.rb
@@ -295,10 +301,8 @@ files:
295
301
  - debian.template/passenger.manpages
296
302
  - debian.template/patches/series
297
303
  - debian.template/README.Debian
298
- - debian.template/repack.sh
299
304
  - debian.template/rules.template
300
305
  - debian.template/source/format
301
- - debian.template/watch
302
306
  - rpm/config/apache-passenger.conf.in
303
307
  - rpm/config/nginx-passenger.conf.in
304
308
  - rpm/config/rubygem-passenger.te
@@ -2458,8 +2462,10 @@ files:
2458
2462
  - ext/ruby/extconf.rb
2459
2463
  - dev/copy_boost_headers.rb
2460
2464
  - dev/find_owner_pipe_leaks.rb
2465
+ - dev/install_scripts_bootstrap_code.rb
2461
2466
  - dev/render_error_pages.rb
2462
2467
  - dev/run_travis.sh
2468
+ - dev/runner
2463
2469
  - resources/mime.types
2464
2470
  - resources/oss-binaries.phusionpassenger.com.crt
2465
2471
  - resources/release.txt
@@ -2470,6 +2476,7 @@ files:
2470
2476
  - resources/templates/apache2/installing_against_a_different_apache.txt.erb
2471
2477
  - resources/templates/apache2/multiple_apache_installations_detected.txt.erb
2472
2478
  - resources/templates/apache2/no_write_permission_to_passenger_root.txt.erb
2479
+ - resources/templates/apache2/notify_apache_module_installed.txt.erb
2473
2480
  - resources/templates/apache2/possible_solutions_for_compilation_and_installation_problems.txt.erb
2474
2481
  - resources/templates/apache2/welcome.txt.erb
2475
2482
  - resources/templates/error_layout.css
@@ -2588,13 +2595,10 @@ files:
2588
2595
  - test/node/line_reader_spec.js
2589
2596
  - test/node/spec_helper.js
2590
2597
  - test/integration_tests/apache2_tests.rb
2591
- - test/integration_tests/cgi_environment_spec.rb
2592
2598
  - test/integration_tests/downloaded_binaries_tests.rb
2593
- - test/integration_tests/hello_world_rack_spec.rb
2594
- - test/integration_tests/hello_world_wsgi_spec.rb
2595
- - test/integration_tests/mycook_spec.rb
2596
2599
  - test/integration_tests/native_packaging_spec.rb
2597
2600
  - test/integration_tests/nginx_tests.rb
2601
+ - test/integration_tests/shared/example_webapp_tests.rb
2598
2602
  - test/integration_tests/source_packaging_test.rb
2599
2603
  - test/integration_tests/spec_helper.rb
2600
2604
  - test/integration_tests/standalone_tests.rb
@@ -2604,13 +2608,13 @@ files:
2604
2608
  - test/stub/garbage2.dat
2605
2609
  - test/stub/garbage3.dat
2606
2610
  - test/stub/http_request.yml
2611
+ - test/stub/index.html
2607
2612
  - test/stub/nginx/koi-utf
2608
2613
  - test/stub/nginx/koi-win
2609
2614
  - test/stub/nginx/mime.types
2610
2615
  - test/stub/nginx/nginx.conf.erb
2611
2616
  - test/stub/nginx/win-utf
2612
2617
  - test/stub/rack/config.ru
2613
- - test/stub/rack/public/rack.jpg
2614
2618
  - test/stub/rack/start.rb
2615
2619
  - test/stub/rails2.3/app/controllers/application_controller.rb
2616
2620
  - test/stub/rails2.3/app/controllers/bar_controller_1.rb
@@ -2643,6 +2647,67 @@ files:
2643
2647
  - test/stub/rails2.3/script/process/spawner
2644
2648
  - test/stub/rails2.3/script/runner
2645
2649
  - test/stub/rails2.3/script/server
2650
+ - test/stub/rails2.3-mycook/app/controllers/application_controller.rb
2651
+ - test/stub/rails2.3-mycook/app/controllers/recipes_controller.rb
2652
+ - test/stub/rails2.3-mycook/app/controllers/uploads_controller.rb
2653
+ - test/stub/rails2.3-mycook/app/controllers/welcome_controller.rb
2654
+ - test/stub/rails2.3-mycook/app/helpers/application_helper.rb
2655
+ - test/stub/rails2.3-mycook/app/helpers/recipes_helper.rb
2656
+ - test/stub/rails2.3-mycook/app/helpers/test_helper.rb
2657
+ - test/stub/rails2.3-mycook/app/helpers/uploads_helper.rb
2658
+ - test/stub/rails2.3-mycook/app/helpers/welcome_helper.rb
2659
+ - test/stub/rails2.3-mycook/app/views/layouts/default.rhtml
2660
+ - test/stub/rails2.3-mycook/app/views/recipes/create.rhtml
2661
+ - test/stub/rails2.3-mycook/app/views/recipes/index.rhtml
2662
+ - test/stub/rails2.3-mycook/app/views/recipes/new.rhtml
2663
+ - test/stub/rails2.3-mycook/app/views/uploads/index.rhtml
2664
+ - test/stub/rails2.3-mycook/app/views/uploads/new.html.erb
2665
+ - test/stub/rails2.3-mycook/app/views/welcome/cached.rhtml
2666
+ - test/stub/rails2.3-mycook/app/views/welcome/index.rhtml
2667
+ - test/stub/rails2.3-mycook/config/boot.rb
2668
+ - test/stub/rails2.3-mycook/config/database.yml
2669
+ - test/stub/rails2.3-mycook/config/environment.rb
2670
+ - test/stub/rails2.3-mycook/config/environments/development.rb
2671
+ - test/stub/rails2.3-mycook/config/environments/production.rb
2672
+ - test/stub/rails2.3-mycook/config/initializers/inflections.rb
2673
+ - test/stub/rails2.3-mycook/config/initializers/mime_types.rb
2674
+ - test/stub/rails2.3-mycook/config/routes.rb
2675
+ - test/stub/rails2.3-mycook/log/useless.txt
2676
+ - test/stub/rails2.3-mycook/public/404.html
2677
+ - test/stub/rails2.3-mycook/public/422.html
2678
+ - test/stub/rails2.3-mycook/public/500.html
2679
+ - test/stub/rails2.3-mycook/public/dispatch.cgi
2680
+ - test/stub/rails2.3-mycook/public/dispatch.fcgi
2681
+ - test/stub/rails2.3-mycook/public/dispatch.rb
2682
+ - test/stub/rails2.3-mycook/public/favicon.ico
2683
+ - test/stub/rails2.3-mycook/public/images/angrywizard.gif
2684
+ - test/stub/rails2.3-mycook/public/images/cookbook.gif
2685
+ - test/stub/rails2.3-mycook/public/images/header.png
2686
+ - test/stub/rails2.3-mycook/public/images/rails.png
2687
+ - test/stub/rails2.3-mycook/public/robots.txt
2688
+ - test/stub/rails2.3-mycook/public/uploads.html
2689
+ - test/stub/rails2.3-mycook/public/welcome/cached.html
2690
+ - test/stub/rails2.3-mycook/Rakefile
2691
+ - test/stub/rails2.3-mycook/script/about
2692
+ - test/stub/rails2.3-mycook/script/console
2693
+ - test/stub/rails2.3-mycook/script/dbconsole
2694
+ - test/stub/rails2.3-mycook/script/destroy
2695
+ - test/stub/rails2.3-mycook/script/generate
2696
+ - test/stub/rails2.3-mycook/script/performance/benchmarker
2697
+ - test/stub/rails2.3-mycook/script/performance/profiler
2698
+ - test/stub/rails2.3-mycook/script/performance/request
2699
+ - test/stub/rails2.3-mycook/script/plugin
2700
+ - test/stub/rails2.3-mycook/script/process/inspector
2701
+ - test/stub/rails2.3-mycook/script/process/reaper
2702
+ - test/stub/rails2.3-mycook/script/process/spawner
2703
+ - test/stub/rails2.3-mycook/script/runner
2704
+ - test/stub/rails2.3-mycook/script/server
2705
+ - test/stub/rails2.3-mycook/sites/some.site/public/uploads.html
2706
+ - test/stub/rails2.3-mycook/sites/some.site/public/welcome/cached.html
2707
+ - test/stub/rails2.3-mycook/tmp/cache/useless.txt
2708
+ - test/stub/rails2.3-mycook/tmp/pids/useless.txt
2709
+ - test/stub/rails2.3-mycook/tmp/sessions/useless.txt
2710
+ - test/stub/rails2.3-mycook/tmp/sockets/useless.txt
2646
2711
  - test/stub/rails3.0/app/controllers/application_controller.rb
2647
2712
  - test/stub/rails3.0/app/helpers/application_helper.rb
2648
2713
  - test/stub/rails3.0/app/views/layouts/application.html.erb
@@ -2786,216 +2851,6 @@ files:
2786
2851
  - test/stub/rails4.0/Rakefile
2787
2852
  - test/stub/rails4.0/README.rdoc
2788
2853
  - test/stub/rails4.0/test/test_helper.rb
2789
- - test/stub/rails_apps/1.2/empty/app/controllers/application.rb
2790
- - test/stub/rails_apps/1.2/empty/app/helpers/application_helper.rb
2791
- - test/stub/rails_apps/1.2/empty/config/boot.rb
2792
- - test/stub/rails_apps/1.2/empty/config/database.yml
2793
- - test/stub/rails_apps/1.2/empty/config/environment.rb
2794
- - test/stub/rails_apps/1.2/empty/config/environments/development.rb
2795
- - test/stub/rails_apps/1.2/empty/config/environments/production.rb
2796
- - test/stub/rails_apps/1.2/empty/config/environments/staging.rb
2797
- - test/stub/rails_apps/1.2/empty/config/environments/test.rb
2798
- - test/stub/rails_apps/1.2/empty/config/routes.rb
2799
- - test/stub/rails_apps/1.2/empty/doc/README_FOR_APP
2800
- - test/stub/rails_apps/1.2/empty/public/404.html
2801
- - test/stub/rails_apps/1.2/empty/public/500.html
2802
- - test/stub/rails_apps/1.2/empty/public/dispatch.cgi
2803
- - test/stub/rails_apps/1.2/empty/public/dispatch.fcgi
2804
- - test/stub/rails_apps/1.2/empty/public/dispatch.rb
2805
- - test/stub/rails_apps/1.2/empty/public/favicon.ico
2806
- - test/stub/rails_apps/1.2/empty/public/images/rails.png
2807
- - test/stub/rails_apps/1.2/empty/public/robots.txt
2808
- - test/stub/rails_apps/1.2/empty/Rakefile
2809
- - test/stub/rails_apps/1.2/empty/script/about
2810
- - test/stub/rails_apps/1.2/empty/script/breakpointer
2811
- - test/stub/rails_apps/1.2/empty/script/console
2812
- - test/stub/rails_apps/1.2/empty/script/destroy
2813
- - test/stub/rails_apps/1.2/empty/script/generate
2814
- - test/stub/rails_apps/1.2/empty/script/performance/benchmarker
2815
- - test/stub/rails_apps/1.2/empty/script/performance/profiler
2816
- - test/stub/rails_apps/1.2/empty/script/plugin
2817
- - test/stub/rails_apps/1.2/empty/script/process/inspector
2818
- - test/stub/rails_apps/1.2/empty/script/process/reaper
2819
- - test/stub/rails_apps/1.2/empty/script/process/spawner
2820
- - test/stub/rails_apps/1.2/empty/script/runner
2821
- - test/stub/rails_apps/1.2/empty/script/server
2822
- - test/stub/rails_apps/1.2/empty/test/test_helper.rb
2823
- - test/stub/rails_apps/2.0/empty/app/controllers/application.rb
2824
- - test/stub/rails_apps/2.0/empty/app/helpers/application_helper.rb
2825
- - test/stub/rails_apps/2.0/empty/config/boot.rb
2826
- - test/stub/rails_apps/2.0/empty/config/database.yml
2827
- - test/stub/rails_apps/2.0/empty/config/environment.rb
2828
- - test/stub/rails_apps/2.0/empty/config/environments/development.rb
2829
- - test/stub/rails_apps/2.0/empty/config/environments/production.rb
2830
- - test/stub/rails_apps/2.0/empty/config/environments/staging.rb
2831
- - test/stub/rails_apps/2.0/empty/config/environments/test.rb
2832
- - test/stub/rails_apps/2.0/empty/config/initializers/inflections.rb
2833
- - test/stub/rails_apps/2.0/empty/config/initializers/mime_types.rb
2834
- - test/stub/rails_apps/2.0/empty/config/routes.rb
2835
- - test/stub/rails_apps/2.0/empty/doc/README_FOR_APP
2836
- - test/stub/rails_apps/2.0/empty/public/404.html
2837
- - test/stub/rails_apps/2.0/empty/public/422.html
2838
- - test/stub/rails_apps/2.0/empty/public/500.html
2839
- - test/stub/rails_apps/2.0/empty/public/dispatch.cgi
2840
- - test/stub/rails_apps/2.0/empty/public/dispatch.fcgi
2841
- - test/stub/rails_apps/2.0/empty/public/dispatch.rb
2842
- - test/stub/rails_apps/2.0/empty/public/favicon.ico
2843
- - test/stub/rails_apps/2.0/empty/public/images/rails.png
2844
- - test/stub/rails_apps/2.0/empty/public/robots.txt
2845
- - test/stub/rails_apps/2.0/empty/Rakefile
2846
- - test/stub/rails_apps/2.0/empty/script/about
2847
- - test/stub/rails_apps/2.0/empty/script/console
2848
- - test/stub/rails_apps/2.0/empty/script/destroy
2849
- - test/stub/rails_apps/2.0/empty/script/generate
2850
- - test/stub/rails_apps/2.0/empty/script/performance/benchmarker
2851
- - test/stub/rails_apps/2.0/empty/script/performance/profiler
2852
- - test/stub/rails_apps/2.0/empty/script/performance/request
2853
- - test/stub/rails_apps/2.0/empty/script/plugin
2854
- - test/stub/rails_apps/2.0/empty/script/process/inspector
2855
- - test/stub/rails_apps/2.0/empty/script/process/reaper
2856
- - test/stub/rails_apps/2.0/empty/script/process/spawner
2857
- - test/stub/rails_apps/2.0/empty/script/runner
2858
- - test/stub/rails_apps/2.0/empty/script/server
2859
- - test/stub/rails_apps/2.0/empty/test/test_helper.rb
2860
- - test/stub/rails_apps/2.2/empty/app/controllers/application.rb
2861
- - test/stub/rails_apps/2.2/empty/app/helpers/application_helper.rb
2862
- - test/stub/rails_apps/2.2/empty/config/boot.rb
2863
- - test/stub/rails_apps/2.2/empty/config/database.yml
2864
- - test/stub/rails_apps/2.2/empty/config/environment.rb
2865
- - test/stub/rails_apps/2.2/empty/config/environments/development.rb
2866
- - test/stub/rails_apps/2.2/empty/config/environments/production.rb
2867
- - test/stub/rails_apps/2.2/empty/config/environments/staging.rb
2868
- - test/stub/rails_apps/2.2/empty/config/environments/test.rb
2869
- - test/stub/rails_apps/2.2/empty/config/initializers/inflections.rb
2870
- - test/stub/rails_apps/2.2/empty/config/initializers/mime_types.rb
2871
- - test/stub/rails_apps/2.2/empty/config/initializers/new_rails_defaults.rb
2872
- - test/stub/rails_apps/2.2/empty/config/locales/en.yml
2873
- - test/stub/rails_apps/2.2/empty/config/routes.rb
2874
- - test/stub/rails_apps/2.2/empty/doc/README_FOR_APP
2875
- - test/stub/rails_apps/2.2/empty/public/404.html
2876
- - test/stub/rails_apps/2.2/empty/public/422.html
2877
- - test/stub/rails_apps/2.2/empty/public/500.html
2878
- - test/stub/rails_apps/2.2/empty/public/dispatch.cgi
2879
- - test/stub/rails_apps/2.2/empty/public/dispatch.fcgi
2880
- - test/stub/rails_apps/2.2/empty/public/dispatch.rb
2881
- - test/stub/rails_apps/2.2/empty/public/favicon.ico
2882
- - test/stub/rails_apps/2.2/empty/public/images/rails.png
2883
- - test/stub/rails_apps/2.2/empty/public/robots.txt
2884
- - test/stub/rails_apps/2.2/empty/Rakefile
2885
- - test/stub/rails_apps/2.2/empty/script/about
2886
- - test/stub/rails_apps/2.2/empty/script/console
2887
- - test/stub/rails_apps/2.2/empty/script/dbconsole
2888
- - test/stub/rails_apps/2.2/empty/script/destroy
2889
- - test/stub/rails_apps/2.2/empty/script/generate
2890
- - test/stub/rails_apps/2.2/empty/script/performance/benchmarker
2891
- - test/stub/rails_apps/2.2/empty/script/performance/profiler
2892
- - test/stub/rails_apps/2.2/empty/script/performance/request
2893
- - test/stub/rails_apps/2.2/empty/script/plugin
2894
- - test/stub/rails_apps/2.2/empty/script/process/inspector
2895
- - test/stub/rails_apps/2.2/empty/script/process/reaper
2896
- - test/stub/rails_apps/2.2/empty/script/process/spawner
2897
- - test/stub/rails_apps/2.2/empty/script/runner
2898
- - test/stub/rails_apps/2.2/empty/script/server
2899
- - test/stub/rails_apps/2.2/empty/test/performance/browsing_test.rb
2900
- - test/stub/rails_apps/2.2/empty/test/test_helper.rb
2901
- - test/stub/rails_apps/2.3/empty/app/controllers/application_controller.rb
2902
- - test/stub/rails_apps/2.3/empty/app/helpers/application_helper.rb
2903
- - test/stub/rails_apps/2.3/empty/config/boot.rb
2904
- - test/stub/rails_apps/2.3/empty/config/database.yml
2905
- - test/stub/rails_apps/2.3/empty/config/environment.rb
2906
- - test/stub/rails_apps/2.3/empty/config/environments/development.rb
2907
- - test/stub/rails_apps/2.3/empty/config/environments/production.rb
2908
- - test/stub/rails_apps/2.3/empty/config/environments/staging.rb
2909
- - test/stub/rails_apps/2.3/empty/config/environments/test.rb
2910
- - test/stub/rails_apps/2.3/empty/config/initializers/backtrace_silencers.rb
2911
- - test/stub/rails_apps/2.3/empty/config/initializers/inflections.rb
2912
- - test/stub/rails_apps/2.3/empty/config/initializers/mime_types.rb
2913
- - test/stub/rails_apps/2.3/empty/config/initializers/new_rails_defaults.rb
2914
- - test/stub/rails_apps/2.3/empty/config/initializers/session_store.rb
2915
- - test/stub/rails_apps/2.3/empty/config/locales/en.yml
2916
- - test/stub/rails_apps/2.3/empty/config/routes.rb
2917
- - test/stub/rails_apps/2.3/empty/db/seeds.rb
2918
- - test/stub/rails_apps/2.3/empty/doc/README_FOR_APP
2919
- - test/stub/rails_apps/2.3/empty/public/404.html
2920
- - test/stub/rails_apps/2.3/empty/public/422.html
2921
- - test/stub/rails_apps/2.3/empty/public/500.html
2922
- - test/stub/rails_apps/2.3/empty/public/favicon.ico
2923
- - test/stub/rails_apps/2.3/empty/public/images/rails.png
2924
- - test/stub/rails_apps/2.3/empty/public/robots.txt
2925
- - test/stub/rails_apps/2.3/empty/Rakefile
2926
- - test/stub/rails_apps/2.3/empty/script/about
2927
- - test/stub/rails_apps/2.3/empty/script/console
2928
- - test/stub/rails_apps/2.3/empty/script/dbconsole
2929
- - test/stub/rails_apps/2.3/empty/script/destroy
2930
- - test/stub/rails_apps/2.3/empty/script/generate
2931
- - test/stub/rails_apps/2.3/empty/script/performance/benchmarker
2932
- - test/stub/rails_apps/2.3/empty/script/performance/profiler
2933
- - test/stub/rails_apps/2.3/empty/script/plugin
2934
- - test/stub/rails_apps/2.3/empty/script/runner
2935
- - test/stub/rails_apps/2.3/empty/script/server
2936
- - test/stub/rails_apps/2.3/empty/test/performance/browsing_test.rb
2937
- - test/stub/rails_apps/2.3/empty/test/test_helper.rb
2938
- - test/stub/rails_apps/2.3/mycook/app/controllers/application_controller.rb
2939
- - test/stub/rails_apps/2.3/mycook/app/controllers/recipes_controller.rb
2940
- - test/stub/rails_apps/2.3/mycook/app/controllers/uploads_controller.rb
2941
- - test/stub/rails_apps/2.3/mycook/app/controllers/welcome_controller.rb
2942
- - test/stub/rails_apps/2.3/mycook/app/helpers/application_helper.rb
2943
- - test/stub/rails_apps/2.3/mycook/app/helpers/recipes_helper.rb
2944
- - test/stub/rails_apps/2.3/mycook/app/helpers/test_helper.rb
2945
- - test/stub/rails_apps/2.3/mycook/app/helpers/uploads_helper.rb
2946
- - test/stub/rails_apps/2.3/mycook/app/helpers/welcome_helper.rb
2947
- - test/stub/rails_apps/2.3/mycook/app/views/layouts/default.rhtml
2948
- - test/stub/rails_apps/2.3/mycook/app/views/recipes/create.rhtml
2949
- - test/stub/rails_apps/2.3/mycook/app/views/recipes/index.rhtml
2950
- - test/stub/rails_apps/2.3/mycook/app/views/recipes/new.rhtml
2951
- - test/stub/rails_apps/2.3/mycook/app/views/uploads/index.rhtml
2952
- - test/stub/rails_apps/2.3/mycook/app/views/uploads/new.html.erb
2953
- - test/stub/rails_apps/2.3/mycook/app/views/welcome/cached.rhtml
2954
- - test/stub/rails_apps/2.3/mycook/app/views/welcome/index.rhtml
2955
- - test/stub/rails_apps/2.3/mycook/config/boot.rb
2956
- - test/stub/rails_apps/2.3/mycook/config/database.yml
2957
- - test/stub/rails_apps/2.3/mycook/config/environment.rb
2958
- - test/stub/rails_apps/2.3/mycook/config/environments/development.rb
2959
- - test/stub/rails_apps/2.3/mycook/config/environments/production.rb
2960
- - test/stub/rails_apps/2.3/mycook/config/initializers/inflections.rb
2961
- - test/stub/rails_apps/2.3/mycook/config/initializers/mime_types.rb
2962
- - test/stub/rails_apps/2.3/mycook/config/routes.rb
2963
- - test/stub/rails_apps/2.3/mycook/log/useless.txt
2964
- - test/stub/rails_apps/2.3/mycook/public/404.html
2965
- - test/stub/rails_apps/2.3/mycook/public/422.html
2966
- - test/stub/rails_apps/2.3/mycook/public/500.html
2967
- - test/stub/rails_apps/2.3/mycook/public/dispatch.cgi
2968
- - test/stub/rails_apps/2.3/mycook/public/dispatch.fcgi
2969
- - test/stub/rails_apps/2.3/mycook/public/dispatch.rb
2970
- - test/stub/rails_apps/2.3/mycook/public/favicon.ico
2971
- - test/stub/rails_apps/2.3/mycook/public/images/angrywizard.gif
2972
- - test/stub/rails_apps/2.3/mycook/public/images/cookbook.gif
2973
- - test/stub/rails_apps/2.3/mycook/public/images/header.png
2974
- - test/stub/rails_apps/2.3/mycook/public/images/rails.png
2975
- - test/stub/rails_apps/2.3/mycook/public/robots.txt
2976
- - test/stub/rails_apps/2.3/mycook/public/uploads.html
2977
- - test/stub/rails_apps/2.3/mycook/public/welcome/cached.html
2978
- - test/stub/rails_apps/2.3/mycook/Rakefile
2979
- - test/stub/rails_apps/2.3/mycook/script/about
2980
- - test/stub/rails_apps/2.3/mycook/script/console
2981
- - test/stub/rails_apps/2.3/mycook/script/dbconsole
2982
- - test/stub/rails_apps/2.3/mycook/script/destroy
2983
- - test/stub/rails_apps/2.3/mycook/script/generate
2984
- - test/stub/rails_apps/2.3/mycook/script/performance/benchmarker
2985
- - test/stub/rails_apps/2.3/mycook/script/performance/profiler
2986
- - test/stub/rails_apps/2.3/mycook/script/performance/request
2987
- - test/stub/rails_apps/2.3/mycook/script/plugin
2988
- - test/stub/rails_apps/2.3/mycook/script/process/inspector
2989
- - test/stub/rails_apps/2.3/mycook/script/process/reaper
2990
- - test/stub/rails_apps/2.3/mycook/script/process/spawner
2991
- - test/stub/rails_apps/2.3/mycook/script/runner
2992
- - test/stub/rails_apps/2.3/mycook/script/server
2993
- - test/stub/rails_apps/2.3/mycook/sites/some.site/public/uploads.html
2994
- - test/stub/rails_apps/2.3/mycook/sites/some.site/public/welcome/cached.html
2995
- - test/stub/rails_apps/2.3/mycook/tmp/cache/useless.txt
2996
- - test/stub/rails_apps/2.3/mycook/tmp/pids/useless.txt
2997
- - test/stub/rails_apps/2.3/mycook/tmp/sessions/useless.txt
2998
- - test/stub/rails_apps/2.3/mycook/tmp/sockets/useless.txt
2999
2854
  - test/stub/start_error.pl
3000
2855
  - test/stub/upload_data.txt
3001
2856
  - test/stub/vendor_rails/minimal/actionmailer/lib/action_mailer.rb
@@ -3011,11 +2866,11 @@ files:
3011
2866
  - test/stub/vendor_rails/minimal/railties/lib/ruby_version_check.rb
3012
2867
  - test/stub/vendor_rails/minimal/README
3013
2868
  - test/stub/wsgi/passenger_wsgi.py
3014
- - test/stub/wsgi/public/wsgi-snake.jpg
3015
2869
  - test/stub/zsfa/header.png
3016
2870
  - test/stub/zsfa/index.html
3017
2871
  - test/stub/zsfa/zsfa.png
3018
2872
  - test/stub/.DS_Store
2873
+ - test/stub/rack/public/.gitignore
3019
2874
  - test/stub/rack/tmp/.gitignore
3020
2875
  - test/stub/rails2.3/log/.gitignore
3021
2876
  - test/stub/rails2.3/public/.gitignore
@@ -3023,6 +2878,8 @@ files:
3023
2878
  - test/stub/rails2.3/tmp/pids/.gitignore
3024
2879
  - test/stub/rails2.3/tmp/sessions/.gitignore
3025
2880
  - test/stub/rails2.3/tmp/sockets/.gitignore
2881
+ - test/stub/rails2.3-mycook/public/.htaccess
2882
+ - test/stub/rails2.3-mycook/public/uploads/.gitignore
3026
2883
  - test/stub/rails3.0/.gitignore
3027
2884
  - test/stub/rails3.0/lib/tasks/.gitkeep
3028
2885
  - test/stub/rails3.0/log/.gitignore
@@ -3071,26 +2928,7 @@ files:
3071
2928
  - test/stub/rails4.0/test/models/.keep
3072
2929
  - test/stub/rails4.0/vendor/assets/javascripts/.keep
3073
2930
  - test/stub/rails4.0/vendor/assets/stylesheets/.keep
3074
- - test/stub/rails_apps/1.2/empty/.gitignore
3075
- - test/stub/rails_apps/1.2/empty/app/models/.gitignore
3076
- - test/stub/rails_apps/1.2/empty/db/.gitignore
3077
- - test/stub/rails_apps/1.2/empty/public/.htaccess
3078
- - test/stub/rails_apps/1.2/empty/public/stylesheets/.gitignore
3079
- - test/stub/rails_apps/2.0/empty/.gitignore
3080
- - test/stub/rails_apps/2.0/empty/app/models/.gitignore
3081
- - test/stub/rails_apps/2.0/empty/db/.gitignore
3082
- - test/stub/rails_apps/2.0/empty/public/.htaccess
3083
- - test/stub/rails_apps/2.0/empty/public/stylesheets/.gitignore
3084
- - test/stub/rails_apps/2.2/empty/.gitignore
3085
- - test/stub/rails_apps/2.2/empty/app/models/.gitignore
3086
- - test/stub/rails_apps/2.2/empty/db/.gitignore
3087
- - test/stub/rails_apps/2.2/empty/public/stylesheets/.gitignore
3088
- - test/stub/rails_apps/2.3/empty/.gitignore
3089
- - test/stub/rails_apps/2.3/empty/app/models/.gitignore
3090
- - test/stub/rails_apps/2.3/empty/db/.gitignore
3091
- - test/stub/rails_apps/2.3/empty/public/stylesheets/.gitignore
3092
- - test/stub/rails_apps/2.3/mycook/public/.htaccess
3093
- - test/stub/rails_apps/2.3/mycook/public/uploads/.gitignore
2931
+ - test/stub/wsgi/public/.gitignore
3094
2932
  - test/stub/wsgi/tmp/.gitignore
3095
2933
  homepage: https://www.phusionpassenger.com/
3096
2934
  licenses: []