engineyard-serverside 2.8.0.pre → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (312) hide show
  1. checksums.yaml +7 -0
  2. data/bin/engineyard-serverside-execute-service-hook +1 -1
  3. data/features/hook/running-a-deploy-hook.feature +277 -0
  4. data/features/hook/step_definitions/running-a-deploy-hook-steps.rb +200 -0
  5. data/features/step_definitions/command_steps.rb +8 -0
  6. data/features/step_definitions/version_steps.rb +5 -0
  7. data/features/support/env.rb +63 -0
  8. data/features/support/error_codes.rb +17 -0
  9. data/features/support/fs_helpers.rb +82 -0
  10. data/features/support/output_helpers.rb +7 -0
  11. data/features/support/runner.rb +41 -0
  12. data/features/version.feature +7 -0
  13. data/lib/engineyard-serverside.rb +2 -5
  14. data/lib/engineyard-serverside/callbacks/collection/base.rb +12 -5
  15. data/lib/engineyard-serverside/callbacks/distributor.rb +2 -7
  16. data/lib/engineyard-serverside/callbacks/executor/executable.rb +2 -0
  17. data/lib/engineyard-serverside/cli/app.rb +6 -0
  18. data/lib/engineyard-serverside/cli/workflows/calling_deploy_hooks.rb +1 -2
  19. data/lib/engineyard-serverside/configuration.rb +3 -3
  20. data/lib/engineyard-serverside/deploy.rb +4 -8
  21. data/lib/engineyard-serverside/shell.rb +38 -10
  22. data/lib/engineyard-serverside/version.rb +1 -1
  23. data/spec/engineyard-serverside/callbacks/collection/combined_spec.rb +232 -0
  24. data/spec/engineyard-serverside/callbacks/collection/deploy_hooks_spec.rb +170 -0
  25. data/spec/engineyard-serverside/callbacks/collection/service_hooks/collection_spec.rb +171 -0
  26. data/spec/engineyard-serverside/callbacks/collection/service_hooks/combined_spec.rb +174 -0
  27. data/spec/engineyard-serverside/callbacks/collection/service_hooks_spec.rb +31 -0
  28. data/spec/engineyard-serverside/callbacks/collection_spec.rb +49 -0
  29. data/spec/engineyard-serverside/callbacks/distributor/remote_spec.rb +135 -0
  30. data/spec/engineyard-serverside/callbacks/distributor/viability_filter_spec.rb +208 -0
  31. data/spec/engineyard-serverside/callbacks/distributor_spec.rb +43 -0
  32. data/spec/engineyard-serverside/callbacks/executor/executable_spec.rb +386 -0
  33. data/spec/engineyard-serverside/callbacks/executor/ruby/context_spec.rb +538 -0
  34. data/spec/engineyard-serverside/callbacks/executor/ruby/executor_spec.rb +313 -0
  35. data/spec/engineyard-serverside/callbacks/executor/ruby_spec.rb +35 -0
  36. data/spec/engineyard-serverside/callbacks/executor_spec.rb +45 -0
  37. data/spec/engineyard-serverside/callbacks_spec.rb +31 -0
  38. data/spec/engineyard-serverside/cli/workflows/base_spec.rb +237 -0
  39. data/spec/engineyard-serverside/cli/workflows/calling_deploy_hooks_spec.rb +65 -0
  40. data/spec/engineyard-serverside/cli/workflows/deploying_applications_spec.rb +61 -0
  41. data/spec/engineyard-serverside/cli/workflows/disabling_maintenance_spec.rb +61 -0
  42. data/spec/engineyard-serverside/cli/workflows/enabling_maintenance_spec.rb +61 -0
  43. data/spec/engineyard-serverside/cli/workflows/helpers_spec.rb +64 -0
  44. data/spec/engineyard-serverside/cli/workflows/rolling_back_applications_spec.rb +61 -0
  45. data/spec/engineyard-serverside/cli/workflows/showing_maintenance_status_spec.rb +60 -0
  46. data/spec/engineyard-serverside/cli/workflows_spec.rb +87 -0
  47. data/spec/engineyard-serverside/dependency_manager/base_spec.rb +139 -0
  48. data/spec/engineyard-serverside/paths_spec.rb +820 -0
  49. data/spec/engineyard-serverside/propagator_spec.rb +56 -0
  50. data/spec/engineyard-serverside/server_spec.rb +390 -0
  51. data/spec/engineyard-serverside/shell/helpers_spec.rb +98 -0
  52. data/spec/engineyard-serverside/shell/yieldio_spec.rb +33 -0
  53. data/spec/engineyard-serverside/shell_spec.rb +543 -0
  54. data/spec/engineyard-serverside/slug/distributor_spec.rb +199 -0
  55. data/spec/engineyard-serverside/slug/enabler_spec.rb +191 -0
  56. data/spec/engineyard-serverside/slug/failure_handler_spec.rb +114 -0
  57. data/spec/engineyard-serverside/slug/finalizer_spec.rb +191 -0
  58. data/spec/engineyard-serverside/slug/generator_spec.rb +82 -0
  59. data/spec/engineyard-serverside/slug/migrator_spec.rb +137 -0
  60. data/spec/engineyard-serverside/slug/restarter_spec.rb +226 -0
  61. data/spec/engineyard-serverside/slug/source/updater_spec.rb +710 -0
  62. data/spec/engineyard-serverside/slug/source_spec.rb +40 -0
  63. data/spec/engineyard-serverside/source_spec.rb +171 -0
  64. data/spec/railway_spec.rb +130 -0
  65. data/spec/result/failure_spec.rb +113 -0
  66. data/spec/result/success_spec.rb +109 -0
  67. data/spec/result_spec.rb +23 -0
  68. data/spec/spec_helper.rb +3 -349
  69. metadata +327 -602
  70. data/lib/vendor/json_pure/COPYING +0 -57
  71. data/lib/vendor/json_pure/GPL +0 -340
  72. data/lib/vendor/json_pure/README.rdoc +0 -358
  73. data/lib/vendor/json_pure/VERSION +0 -1
  74. data/lib/vendor/json_pure/lib/json.rb +0 -62
  75. data/lib/vendor/json_pure/lib/json/add/bigdecimal.rb +0 -28
  76. data/lib/vendor/json_pure/lib/json/add/complex.rb +0 -22
  77. data/lib/vendor/json_pure/lib/json/add/core.rb +0 -11
  78. data/lib/vendor/json_pure/lib/json/add/date.rb +0 -34
  79. data/lib/vendor/json_pure/lib/json/add/date_time.rb +0 -48
  80. data/lib/vendor/json_pure/lib/json/add/exception.rb +0 -31
  81. data/lib/vendor/json_pure/lib/json/add/ostruct.rb +0 -31
  82. data/lib/vendor/json_pure/lib/json/add/range.rb +0 -29
  83. data/lib/vendor/json_pure/lib/json/add/rational.rb +0 -22
  84. data/lib/vendor/json_pure/lib/json/add/regexp.rb +0 -30
  85. data/lib/vendor/json_pure/lib/json/add/struct.rb +0 -30
  86. data/lib/vendor/json_pure/lib/json/add/symbol.rb +0 -25
  87. data/lib/vendor/json_pure/lib/json/add/time.rb +0 -38
  88. data/lib/vendor/json_pure/lib/json/common.rb +0 -484
  89. data/lib/vendor/json_pure/lib/json/ext.rb +0 -21
  90. data/lib/vendor/json_pure/lib/json/generic_object.rb +0 -70
  91. data/lib/vendor/json_pure/lib/json/pure.rb +0 -21
  92. data/lib/vendor/json_pure/lib/json/pure/generator.rb +0 -522
  93. data/lib/vendor/json_pure/lib/json/pure/parser.rb +0 -359
  94. data/lib/vendor/json_pure/lib/json/version.rb +0 -8
  95. data/lib/vendor/multi_json/CHANGELOG.md +0 -121
  96. data/lib/vendor/multi_json/CONTRIBUTING.md +0 -46
  97. data/lib/vendor/multi_json/Gemfile +0 -31
  98. data/lib/vendor/multi_json/LICENSE.md +0 -20
  99. data/lib/vendor/multi_json/README.md +0 -105
  100. data/lib/vendor/multi_json/Rakefile +0 -12
  101. data/lib/vendor/multi_json/lib/multi_json.rb +0 -137
  102. data/lib/vendor/multi_json/lib/multi_json/adapters/gson.rb +0 -20
  103. data/lib/vendor/multi_json/lib/multi_json/adapters/json_common.rb +0 -35
  104. data/lib/vendor/multi_json/lib/multi_json/adapters/json_gem.rb +0 -12
  105. data/lib/vendor/multi_json/lib/multi_json/adapters/json_pure.rb +0 -12
  106. data/lib/vendor/multi_json/lib/multi_json/adapters/nsjsonserialization.rb +0 -35
  107. data/lib/vendor/multi_json/lib/multi_json/adapters/oj.rb +0 -29
  108. data/lib/vendor/multi_json/lib/multi_json/adapters/ok_json.rb +0 -58
  109. data/lib/vendor/multi_json/lib/multi_json/adapters/yajl.rb +0 -20
  110. data/lib/vendor/multi_json/lib/multi_json/vendor/okjson.rb +0 -602
  111. data/lib/vendor/multi_json/lib/multi_json/version.rb +0 -3
  112. data/lib/vendor/multi_json/spec/adapter_shared_example.rb +0 -162
  113. data/lib/vendor/multi_json/spec/helper.rb +0 -45
  114. data/lib/vendor/multi_json/spec/json_common_shared_example.rb +0 -36
  115. data/lib/vendor/multi_json/spec/multi_json_spec.rb +0 -151
  116. data/spec/archive_deploy_spec.rb +0 -53
  117. data/spec/basic_deploy_spec.rb +0 -26
  118. data/spec/bundler_deploy_spec.rb +0 -160
  119. data/spec/configuration_spec.rb +0 -206
  120. data/spec/custom_deploy_spec.rb +0 -128
  121. data/spec/deploy_hook_spec.rb +0 -378
  122. data/spec/deprecation_spec.rb +0 -23
  123. data/spec/ey_yml_customized_deploy_spec.rb +0 -99
  124. data/spec/fixtures/gitrepo.tar.gz +0 -0
  125. data/spec/fixtures/invalid_hook.rb +0 -1
  126. data/spec/fixtures/lockfiles/0.9-no-bundler +0 -111
  127. data/spec/fixtures/lockfiles/0.9-with-bundler +0 -117
  128. data/spec/fixtures/lockfiles/1.0-no-bundler +0 -54
  129. data/spec/fixtures/lockfiles/1.0.0.rc.1-with-bundler +0 -162
  130. data/spec/fixtures/lockfiles/1.0.18-do_mysql +0 -88
  131. data/spec/fixtures/lockfiles/1.0.18-do_postgres +0 -79
  132. data/spec/fixtures/lockfiles/1.0.18-mysql +0 -43
  133. data/spec/fixtures/lockfiles/1.0.18-mysql2 +0 -43
  134. data/spec/fixtures/lockfiles/1.0.18-pg +0 -43
  135. data/spec/fixtures/lockfiles/1.0.6-no-bundler +0 -51
  136. data/spec/fixtures/lockfiles/1.0.6-with-any-bundler +0 -52
  137. data/spec/fixtures/lockfiles/1.0.6-with-bundler +0 -52
  138. data/spec/fixtures/lockfiles/1.15.1-no-bundler +0 -51
  139. data/spec/fixtures/lockfiles/1.3.1-rails-3.2.13 +0 -112
  140. data/spec/fixtures/lockfiles/not-a-lockfile +0 -1
  141. data/spec/fixtures/repos/assets_detected/Gemfile +0 -5
  142. data/spec/fixtures/repos/assets_detected/Gemfile.lock +0 -88
  143. data/spec/fixtures/repos/assets_detected/README +0 -1
  144. data/spec/fixtures/repos/assets_detected/Rakefile +0 -5
  145. data/spec/fixtures/repos/assets_detected/app/assets/empty +0 -0
  146. data/spec/fixtures/repos/assets_detected/config/application.rb +0 -5
  147. data/spec/fixtures/repos/assets_detected/config/ey.yml +0 -3
  148. data/spec/fixtures/repos/assets_disabled/Gemfile +0 -5
  149. data/spec/fixtures/repos/assets_disabled/Gemfile.lock +0 -88
  150. data/spec/fixtures/repos/assets_disabled/README +0 -1
  151. data/spec/fixtures/repos/assets_disabled/Rakefile +0 -6
  152. data/spec/fixtures/repos/assets_disabled/app/assets/empty +0 -0
  153. data/spec/fixtures/repos/assets_disabled/config/application.rb +0 -5
  154. data/spec/fixtures/repos/assets_disabled/config/ey.yml +0 -3
  155. data/spec/fixtures/repos/assets_disabled_in_ey_yml/Gemfile +0 -5
  156. data/spec/fixtures/repos/assets_disabled_in_ey_yml/Gemfile.lock +0 -88
  157. data/spec/fixtures/repos/assets_disabled_in_ey_yml/README +0 -1
  158. data/spec/fixtures/repos/assets_disabled_in_ey_yml/Rakefile +0 -6
  159. data/spec/fixtures/repos/assets_disabled_in_ey_yml/app/assets/empty +0 -0
  160. data/spec/fixtures/repos/assets_disabled_in_ey_yml/config/application.rb +0 -5
  161. data/spec/fixtures/repos/assets_disabled_in_ey_yml/config/ey.yml +0 -5
  162. data/spec/fixtures/repos/assets_disabled_utf8/Gemfile +0 -5
  163. data/spec/fixtures/repos/assets_disabled_utf8/Gemfile.lock +0 -88
  164. data/spec/fixtures/repos/assets_disabled_utf8/README +0 -3
  165. data/spec/fixtures/repos/assets_disabled_utf8/Rakefile +0 -5
  166. data/spec/fixtures/repos/assets_disabled_utf8/app/assets/empty +0 -0
  167. data/spec/fixtures/repos/assets_disabled_utf8/config/application.rb +0 -7
  168. data/spec/fixtures/repos/assets_disabled_utf8/config/ey.yml +0 -3
  169. data/spec/fixtures/repos/assets_enabled_all/Gemfile +0 -5
  170. data/spec/fixtures/repos/assets_enabled_all/Gemfile.lock +0 -88
  171. data/spec/fixtures/repos/assets_enabled_all/README +0 -1
  172. data/spec/fixtures/repos/assets_enabled_all/app/assets/empty +0 -0
  173. data/spec/fixtures/repos/assets_enabled_all/config/application.rb +0 -5
  174. data/spec/fixtures/repos/assets_enabled_all/config/ey.yml +0 -6
  175. data/spec/fixtures/repos/assets_enabled_all/script/assets +0 -5
  176. data/spec/fixtures/repos/assets_enabled_all/tmp/obstruction +0 -1
  177. data/spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile +0 -3
  178. data/spec/fixtures/repos/assets_enabled_in_ey_yml/Gemfile.lock +0 -10
  179. data/spec/fixtures/repos/assets_enabled_in_ey_yml/README +0 -1
  180. data/spec/fixtures/repos/assets_enabled_in_ey_yml/Rakefile +0 -8
  181. data/spec/fixtures/repos/assets_enabled_in_ey_yml/config/ey.yml +0 -4
  182. data/spec/fixtures/repos/assets_enabled_util_only/Gemfile +0 -5
  183. data/spec/fixtures/repos/assets_enabled_util_only/Gemfile.lock +0 -88
  184. data/spec/fixtures/repos/assets_enabled_util_only/README +0 -1
  185. data/spec/fixtures/repos/assets_enabled_util_only/Rakefile +0 -6
  186. data/spec/fixtures/repos/assets_enabled_util_only/app/assets/empty +0 -0
  187. data/spec/fixtures/repos/assets_enabled_util_only/config/application.rb +0 -5
  188. data/spec/fixtures/repos/assets_enabled_util_only/config/ey.yml +0 -6
  189. data/spec/fixtures/repos/assets_error/Gemfile +0 -5
  190. data/spec/fixtures/repos/assets_error/Gemfile.lock +0 -88
  191. data/spec/fixtures/repos/assets_error/README +0 -1
  192. data/spec/fixtures/repos/assets_error/Rakefile +0 -4
  193. data/spec/fixtures/repos/assets_error/app/assets/empty +0 -0
  194. data/spec/fixtures/repos/assets_error/config/application.rb +0 -5
  195. data/spec/fixtures/repos/assets_error/config/ey.yml +0 -4
  196. data/spec/fixtures/repos/assets_in_hook/Gemfile +0 -5
  197. data/spec/fixtures/repos/assets_in_hook/Gemfile.lock +0 -88
  198. data/spec/fixtures/repos/assets_in_hook/README +0 -2
  199. data/spec/fixtures/repos/assets_in_hook/Rakefile +0 -5
  200. data/spec/fixtures/repos/assets_in_hook/app/assets/empty +0 -0
  201. data/spec/fixtures/repos/assets_in_hook/config/application.rb +0 -5
  202. data/spec/fixtures/repos/assets_in_hook/config/ey.yml +0 -3
  203. data/spec/fixtures/repos/assets_in_hook/deploy/before_compile_assets.rb +0 -2
  204. data/spec/fixtures/repos/bundle_fails/Gemfile +0 -1
  205. data/spec/fixtures/repos/bundle_fails/README +0 -1
  206. data/spec/fixtures/repos/bundle_fails/deploy/after_bundle.rb +0 -1
  207. data/spec/fixtures/repos/bundler_disabled/Gemfile +0 -4
  208. data/spec/fixtures/repos/bundler_disabled/Gemfile.lock +0 -12
  209. data/spec/fixtures/repos/bundler_disabled/README +0 -1
  210. data/spec/fixtures/repos/bundler_disabled/config/ey.yml +0 -2
  211. data/spec/fixtures/repos/bundler_disabled/deploy/after_bundle.rb +0 -1
  212. data/spec/fixtures/repos/bundler_disabled/deploy/before_bundle.rb +0 -1
  213. data/spec/fixtures/repos/bundler_old/Gemfile +0 -5
  214. data/spec/fixtures/repos/bundler_old/Gemfile.lock +0 -15
  215. data/spec/fixtures/repos/bundler_old/README +0 -1
  216. data/spec/fixtures/repos/default/Gemfile +0 -4
  217. data/spec/fixtures/repos/default/Gemfile.lock +0 -12
  218. data/spec/fixtures/repos/default/README +0 -5
  219. data/spec/fixtures/repos/default/ey.yml +0 -3
  220. data/spec/fixtures/repos/executable_hooks/README +0 -1
  221. data/spec/fixtures/repos/executable_hooks/deploy/before_restart +0 -72
  222. data/spec/fixtures/repos/executable_hooks_not_executable/README +0 -3
  223. data/spec/fixtures/repos/executable_hooks_not_executable/deploy/before_restart +0 -3
  224. data/spec/fixtures/repos/ey_yml/Gemfile +0 -4
  225. data/spec/fixtures/repos/ey_yml/Gemfile.lock +0 -12
  226. data/spec/fixtures/repos/ey_yml/README +0 -1
  227. data/spec/fixtures/repos/ey_yml/config/ey.yml +0 -18
  228. data/spec/fixtures/repos/ey_yml/deploy/before_migrate.rb +0 -6
  229. data/spec/fixtures/repos/ey_yml_alt/Gemfile +0 -4
  230. data/spec/fixtures/repos/ey_yml_alt/Gemfile.lock +0 -12
  231. data/spec/fixtures/repos/ey_yml_alt/README +0 -1
  232. data/spec/fixtures/repos/ey_yml_alt/deploy/before_migrate.rb +0 -6
  233. data/spec/fixtures/repos/ey_yml_alt/ey.yml +0 -12
  234. data/spec/fixtures/repos/hook_fails/README +0 -1
  235. data/spec/fixtures/repos/hook_fails/deploy/before_deploy.rb +0 -1
  236. data/spec/fixtures/repos/hooks/README +0 -1
  237. data/spec/fixtures/repos/hooks/deploy/after_bundle.rb +0 -1
  238. data/spec/fixtures/repos/hooks/deploy/after_compile_assets.rb +0 -1
  239. data/spec/fixtures/repos/hooks/deploy/after_deploy.rb +0 -1
  240. data/spec/fixtures/repos/hooks/deploy/after_migrate.rb +0 -1
  241. data/spec/fixtures/repos/hooks/deploy/after_restart.rb +0 -1
  242. data/spec/fixtures/repos/hooks/deploy/after_symlink.rb +0 -1
  243. data/spec/fixtures/repos/hooks/deploy/before_bundle.rb +0 -1
  244. data/spec/fixtures/repos/hooks/deploy/before_compile_assets.rb +0 -1
  245. data/spec/fixtures/repos/hooks/deploy/before_deploy.rb +0 -1
  246. data/spec/fixtures/repos/hooks/deploy/before_migrate.rb +0 -1
  247. data/spec/fixtures/repos/hooks/deploy/before_restart.rb +0 -1
  248. data/spec/fixtures/repos/hooks/deploy/before_symlink.rb +0 -1
  249. data/spec/fixtures/repos/multi_dep_manager/README +0 -1
  250. data/spec/fixtures/repos/multi_dep_manager/composer.json +0 -5
  251. data/spec/fixtures/repos/multi_dep_manager/composer.lock +0 -462
  252. data/spec/fixtures/repos/multi_dep_manager/package.json +0 -7
  253. data/spec/fixtures/repos/multi_dep_manager/public/index.php +0 -4
  254. data/spec/fixtures/repos/no_ey_config/Gemfile +0 -3
  255. data/spec/fixtures/repos/no_ey_config/Gemfile.lock +0 -10
  256. data/spec/fixtures/repos/no_ey_config/README +0 -1
  257. data/spec/fixtures/repos/no_ey_config/ey.yml +0 -3
  258. data/spec/fixtures/repos/no_ey_config_no_warning/Gemfile +0 -3
  259. data/spec/fixtures/repos/no_ey_config_no_warning/Gemfile.lock +0 -10
  260. data/spec/fixtures/repos/no_ey_config_no_warning/README +0 -1
  261. data/spec/fixtures/repos/no_ey_config_no_warning/ey.yml +0 -5
  262. data/spec/fixtures/repos/no_gemfile_lock/Gemfile +0 -4
  263. data/spec/fixtures/repos/no_gemfile_lock/README +0 -1
  264. data/spec/fixtures/repos/no_gemfile_lock/ey.yml +0 -3
  265. data/spec/fixtures/repos/nodejs/README +0 -1
  266. data/spec/fixtures/repos/nodejs/package.json +0 -7
  267. data/spec/fixtures/repos/not_bundled/README +0 -1
  268. data/spec/fixtures/repos/npm_disabled/README +0 -1
  269. data/spec/fixtures/repos/npm_disabled/config/ey.yml +0 -2
  270. data/spec/fixtures/repos/npm_disabled/package.json +0 -7
  271. data/spec/fixtures/repos/php_composer_disabled/README +0 -1
  272. data/spec/fixtures/repos/php_composer_disabled/composer.json +0 -5
  273. data/spec/fixtures/repos/php_composer_disabled/composer.lock +0 -462
  274. data/spec/fixtures/repos/php_composer_disabled/config/ey.yml +0 -2
  275. data/spec/fixtures/repos/php_composer_disabled/public/index.php +0 -4
  276. data/spec/fixtures/repos/php_composer_lock/README +0 -1
  277. data/spec/fixtures/repos/php_composer_lock/composer.json +0 -5
  278. data/spec/fixtures/repos/php_composer_lock/composer.lock +0 -462
  279. data/spec/fixtures/repos/php_composer_lock/public/index.php +0 -4
  280. data/spec/fixtures/repos/php_no_composer_lock/README +0 -1
  281. data/spec/fixtures/repos/php_no_composer_lock/composer.json +0 -21
  282. data/spec/fixtures/repos/php_no_composer_lock/public/index.php +0 -4
  283. data/spec/fixtures/repos/public_system/Gemfile +0 -4
  284. data/spec/fixtures/repos/public_system/Gemfile.lock +0 -12
  285. data/spec/fixtures/repos/public_system/README +0 -5
  286. data/spec/fixtures/repos/public_system/ey.yml +0 -3
  287. data/spec/fixtures/repos/public_system/public/system/cant_touch_this.txt +0 -3
  288. data/spec/fixtures/repos/sqlite3/Gemfile +0 -4
  289. data/spec/fixtures/repos/sqlite3/Gemfile.lock +0 -89
  290. data/spec/fixtures/repos/sqlite3/README +0 -1
  291. data/spec/fixtures/retwisj.war +0 -0
  292. data/spec/fixtures/valid_hook.rb +0 -1
  293. data/spec/git_strategy_spec.rb +0 -34
  294. data/spec/lockfile_parser_spec.rb +0 -126
  295. data/spec/maintenance_spec.rb +0 -44
  296. data/spec/multi_dependency_manager_spec.rb +0 -25
  297. data/spec/nodejs_deploy_spec.rb +0 -30
  298. data/spec/php_deploy_spec.rb +0 -81
  299. data/spec/platform_configure_spec.rb +0 -61
  300. data/spec/rails31_deploy_spec.rb +0 -172
  301. data/spec/restart_spec.rb +0 -43
  302. data/spec/rollback_spec.rb +0 -87
  303. data/spec/server_spec.rb +0 -70
  304. data/spec/services_deploy_spec.rb +0 -165
  305. data/spec/shell_spec.rb +0 -57
  306. data/spec/source/archive_spec.rb +0 -33
  307. data/spec/source/git_spec.rb +0 -44
  308. data/spec/sqlite3_deploy_spec.rb +0 -38
  309. data/spec/support/integration.rb +0 -103
  310. data/spec/support/source_doubles.rb +0 -28
  311. data/spec/support/timecop.rb +0 -5
  312. data/spec/symlink_spec.rb +0 -15
@@ -1,7 +0,0 @@
1
- {
2
- "name": "node-example",
3
- "version": "0.0.1",
4
- "dependencies": {
5
- "express": "2.5.8"
6
- }
7
- }
@@ -1,4 +0,0 @@
1
- <?php
2
-
3
- echo "Hello, world!";
4
-
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rake'
@@ -1,10 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- rake (0.9.2.2)
5
-
6
- PLATFORMS
7
- ruby
8
-
9
- DEPENDENCIES
10
- rake
@@ -1 +0,0 @@
1
- This repo is missing ey_config which is used for services testing.
@@ -1,3 +0,0 @@
1
- environments:
2
- env:
3
- ignore_database_adapter_warning: true
@@ -1,3 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rake'
@@ -1,10 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- rake (0.9.2.2)
5
-
6
- PLATFORMS
7
- ruby
8
-
9
- DEPENDENCIES
10
- rake
@@ -1 +0,0 @@
1
- This repo is missing ey_config which is used for services testing.
@@ -1,5 +0,0 @@
1
- defaults:
2
- ignore_ey_config_warning: true
3
- environments:
4
- env:
5
- ignore_database_adapter_warning: true
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gem 'rake'
4
- gem 'ey_config'
@@ -1 +0,0 @@
1
- Gemfile, but no Gemfile.lock
@@ -1,3 +0,0 @@
1
- environments:
2
- env:
3
- ignore_database_adapter_warning: true
@@ -1 +0,0 @@
1
- Simple Node.js app.
@@ -1,7 +0,0 @@
1
- {
2
- "name": "node-example",
3
- "version": "0.0.1",
4
- "dependencies": {
5
- "express": "2.5.8"
6
- }
7
- }
@@ -1 +0,0 @@
1
- This app is not bundled. No Gemfile or Gemfile lock here.
@@ -1 +0,0 @@
1
- Node.js app where npm is disabled in ey.yml
@@ -1,2 +0,0 @@
1
- defaults:
2
- npm: false
@@ -1,7 +0,0 @@
1
- {
2
- "name": "node-example",
3
- "version": "0.0.1",
4
- "dependencies": {
5
- "express": "2.5.8"
6
- }
7
- }
@@ -1 +0,0 @@
1
- PHP Composer app where composer is disabled in ey.yml
@@ -1,5 +0,0 @@
1
- {
2
- "require": {
3
- "monolog/monolog": "1.2.*"
4
- }
5
- }
@@ -1,462 +0,0 @@
1
- {
2
- "hash": "6481f6a258c344122ba0157d5eadc0fd",
3
- "packages": [
4
- {
5
- "name": "bjyoungblood/bjy-authorize",
6
- "version": "1.2.6",
7
- "source": {
8
- "type": "git",
9
- "url": "https://github.com/bjyoungblood/BjyAuthorize.git",
10
- "reference": "1.2.6"
11
- },
12
- "dist": {
13
- "type": "zip",
14
- "url": "https://api.github.com/repos/bjyoungblood/BjyAuthorize/zipball/1.2.6",
15
- "reference": "1.2.6",
16
- "shasum": ""
17
- },
18
- "require": {
19
- "php": ">=5.3.3",
20
- "zendframework/zend-permissions-acl": ">=2.1,<3.0",
21
- "zendframework/zend-mvc": ">=2.1,<3.0",
22
- "zendframework/zend-eventmanager": ">=2.1,<3.0",
23
- "zendframework/zend-servicemanager": ">=2.1,<3.0",
24
- "zendframework/zend-view": ">=2.1,<3.0"
25
- },
26
- "require-dev": {
27
- "doctrine/common": ">=2.3,<2.5-dev",
28
- "zendframework/zend-developer-tools": "0.*",
29
- "zf-commons/zfc-user": "0.*"
30
- },
31
- "time": "2013-05-12 16:07:25",
32
- "type": "library",
33
- "extra": {
34
- "branch-alias": {
35
- "dev-master": "1.3-dev"
36
- }
37
- },
38
- "installation-source": "dist",
39
- "autoload": {
40
- "psr-0": {
41
- "BjyAuthorize\\": "src/"
42
- }
43
- },
44
- "license": [
45
- "BSD-3-Clause"
46
- ],
47
- "authors": [
48
- {
49
- "name": "Marco Pivetta",
50
- "email": "ocramius@gmail.com",
51
- "homepage": "http://ocramius.github.com/",
52
- "role": "Developer"
53
- },
54
- {
55
- "name": "Ben Youngblood",
56
- "email": "bx.youngblood@gmail.com",
57
- "homepage": "http://bjyoungblood.com/",
58
- "role": "Developer"
59
- }
60
- ],
61
- "description": "Zend\\Acl based firewall system for ZF2 dispatch protection",
62
- "homepage": "https://github.com/bjyoungblood/BjyAuthorize",
63
- "keywords": [
64
- "zf2",
65
- "acl",
66
- "zfc-user"
67
- ]
68
- },
69
- {
70
- "name": "bjyoungblood/bjy-profiler",
71
- "version": "dev-master",
72
- "source": {
73
- "type": "git",
74
- "url": "https://github.com/bjyoungblood/BjyProfiler.git",
75
- "reference": "1ca31611b6960bcd744dced95764e3627e8d807a"
76
- },
77
- "dist": {
78
- "type": "zip",
79
- "url": "https://api.github.com/repos/bjyoungblood/BjyProfiler/zipball/1ca31611b6960bcd744dced95764e3627e8d807a",
80
- "reference": "1ca31611b6960bcd744dced95764e3627e8d807a",
81
- "shasum": ""
82
- },
83
- "require": {
84
- "php": ">=5.3",
85
- "zendframework/zendframework": ">=2.1.0"
86
- },
87
- "time": "1364225067",
88
- "type": "library",
89
- "installation-source": "source",
90
- "autoload": {
91
- "psr-0": {
92
- "BjyProfiler": "src/"
93
- },
94
- "classmap": [
95
- "./Module.php"
96
- ]
97
- },
98
- "authors": [
99
- {
100
- "name": "Ben Youngblood",
101
- "email": "bx.youngblood@gmail.com",
102
- "homepage": "http://bjyoungblood.com/",
103
- "role": "Developer"
104
- }
105
- ],
106
- "description": "Database profiler for Zend\\Db (also plugin for ZendDeveloperTools)",
107
- "homepage": "https://github.com/bjyoungblood/BjyProfiler",
108
- "keywords": [
109
- "db",
110
- "zf2",
111
- "profiler",
112
- "zdt"
113
- ]
114
- },
115
- {
116
- "name": "darkmatus/roleuserbridge",
117
- "version": "dev-master",
118
- "source": {
119
- "type": "git",
120
- "url": "https://github.com/dshafik/roleuserbridge",
121
- "reference": "9f70ef6f24e75c6592f769bd0cd598f135108f48"
122
- },
123
- "dist": {
124
- "type": "zip",
125
- "url": "https://github.com/dshafik/roleuserbridge/zipball/9f70ef6f24e75c6592f769bd0cd598f135108f48",
126
- "reference": "9f70ef6f24e75c6592f769bd0cd598f135108f48",
127
- "shasum": ""
128
- },
129
- "require": {
130
- "php": ">=5.3.3",
131
- "zendframework/zendframework": "2.*",
132
- "zf-commons/zfc-base": "0.1.*",
133
- "zf-commons/zfc-user": "0.1.*",
134
- "bjyoungblood/bjy-authorize": "1.2.*"
135
- },
136
- "time": "1365313580",
137
- "type": "library",
138
- "installation-source": "source",
139
- "autoload": {
140
- "psr-0": {
141
- "RoleUserBridge": "src/"
142
- },
143
- "classmap": [
144
- "./"
145
- ]
146
- },
147
- "authors": [
148
- {
149
- "name": "Darkmatus",
150
- "email": "mueller@s-p-it.de",
151
- "homepage": "https://github.com/darkmatus/"
152
- }
153
- ],
154
- "description": "ZfcUser/BjyAuthorize Bridge for auto-adding User to the user_role_table from BjyAuthorize.",
155
- "homepage": "https://github.com/darkmatus/roleuserbridge",
156
- "keywords": [
157
- "zf2"
158
- ],
159
- "support": {
160
- "source": "https://github.com/dshafik/roleuserbridge/tree/master"
161
- }
162
- },
163
- {
164
- "name": "zendframework/zend-developer-tools",
165
- "version": "dev-master",
166
- "source": {
167
- "type": "git",
168
- "url": "https://github.com/zendframework/ZendDeveloperTools",
169
- "reference": "9e2cf51ffbd3778f07be4a245e6b7a84a6a18a1c"
170
- },
171
- "dist": {
172
- "type": "zip",
173
- "url": "https://github.com/zendframework/ZendDeveloperTools/zipball/9e2cf51ffbd3778f07be4a245e6b7a84a6a18a1c",
174
- "reference": "9e2cf51ffbd3778f07be4a245e6b7a84a6a18a1c",
175
- "shasum": ""
176
- },
177
- "require": {
178
- "php": ">=5.3.3",
179
- "zendframework/zend-mvc": "2.*",
180
- "zendframework/zend-eventmanager": "2.*",
181
- "zendframework/zend-stdlib": "2.*",
182
- "zendframework/zend-servicemanager": "2.*",
183
- "zendframework/zend-version": "2.*"
184
- },
185
- "suggest": {
186
- "bjyoungblood/bjy-profiler": "Version: dev-master, allows the usage of the (Zend) Db collector."
187
- },
188
- "time": "1368974025",
189
- "type": "zf-module",
190
- "installation-source": "source",
191
- "autoload": {
192
- "psr-0": {
193
- "ZendDeveloperTools": "src/"
194
- },
195
- "classmap": [
196
- "./Module.php"
197
- ]
198
- },
199
- "license": [
200
- "BSD-3-Clause"
201
- ],
202
- "authors": [
203
- {
204
- "name": "Evan Coury",
205
- "email": "me@evancoury.com",
206
- "homepage": "http://blog.evan.pro/"
207
- },
208
- {
209
- "name": "Eric Boh",
210
- "email": "cossish@gmail.com"
211
- }
212
- ],
213
- "description": "Module for developer and debug tools for working with the ZF2 MVC layer.",
214
- "homepage": "https://github.com/zendframework/ZendDeveloperTools",
215
- "keywords": [
216
- "debug",
217
- "developer",
218
- "zf2",
219
- "module"
220
- ],
221
- "support": {
222
- "source": "https://github.com/zendframework/ZendDeveloperTools/tree/master",
223
- "issues": "https://github.com/zendframework/ZendDeveloperTools/issues"
224
- }
225
- },
226
- {
227
- "name": "zendframework/zendframework",
228
- "version": "2.1.5",
229
- "source": {
230
- "type": "git",
231
- "url": "https://github.com/zendframework/zf2.git",
232
- "reference": "release-2.1.5"
233
- },
234
- "dist": {
235
- "type": "zip",
236
- "url": "https://api.github.com/repos/zendframework/zf2/zipball/release-2.1.5",
237
- "reference": "release-2.1.5",
238
- "shasum": ""
239
- },
240
- "require": {
241
- "php": ">=5.3.3"
242
- },
243
- "replace": {
244
- "zendframework/zend-authentication": "self.version",
245
- "zendframework/zend-barcode": "self.version",
246
- "zendframework/zend-cache": "self.version",
247
- "zendframework/zend-captcha": "self.version",
248
- "zendframework/zend-code": "self.version",
249
- "zendframework/zend-config": "self.version",
250
- "zendframework/zend-console": "self.version",
251
- "zendframework/zend-crypt": "self.version",
252
- "zendframework/zend-db": "self.version",
253
- "zendframework/zend-debug": "self.version",
254
- "zendframework/zend-di": "self.version",
255
- "zendframework/zend-dom": "self.version",
256
- "zendframework/zend-escaper": "self.version",
257
- "zendframework/zend-eventmanager": "self.version",
258
- "zendframework/zend-feed": "self.version",
259
- "zendframework/zend-file": "self.version",
260
- "zendframework/zend-filter": "self.version",
261
- "zendframework/zend-form": "self.version",
262
- "zendframework/zend-http": "self.version",
263
- "zendframework/zend-i18n": "self.version",
264
- "zendframework/zend-inputfilter": "self.version",
265
- "zendframework/zend-json": "self.version",
266
- "zendframework/zend-ldap": "self.version",
267
- "zendframework/zend-loader": "self.version",
268
- "zendframework/zend-log": "self.version",
269
- "zendframework/zend-mail": "self.version",
270
- "zendframework/zend-math": "self.version",
271
- "zendframework/zend-memory": "self.version",
272
- "zendframework/zend-mime": "self.version",
273
- "zendframework/zend-modulemanager": "self.version",
274
- "zendframework/zend-mvc": "self.version",
275
- "zendframework/zend-navigation": "self.version",
276
- "zendframework/zend-paginator": "self.version",
277
- "zendframework/zend-permissions-acl": "self.version",
278
- "zendframework/zend-permissions-rbac": "self.version",
279
- "zendframework/zend-progressbar": "self.version",
280
- "zendframework/zend-serializer": "self.version",
281
- "zendframework/zend-server": "self.version",
282
- "zendframework/zend-servicemanager": "self.version",
283
- "zendframework/zend-session": "self.version",
284
- "zendframework/zend-soap": "self.version",
285
- "zendframework/zend-stdlib": "self.version",
286
- "zendframework/zend-tag": "self.version",
287
- "zendframework/zend-test": "self.version",
288
- "zendframework/zend-text": "self.version",
289
- "zendframework/zend-uri": "self.version",
290
- "zendframework/zend-validator": "self.version",
291
- "zendframework/zend-version": "self.version",
292
- "zendframework/zend-view": "self.version",
293
- "zendframework/zend-xmlrpc": "self.version"
294
- },
295
- "require-dev": {
296
- "doctrine/common": ">=2.1",
297
- "ircmaxell/random-lib": "dev-master",
298
- "ircmaxell/security-lib": "dev-master",
299
- "phpunit/phpunit": "3.7.*"
300
- },
301
- "suggest": {
302
- "doctrine/common": "Doctrine\\Common >=2.1 for annotation features",
303
- "ext-intl": "ext/intl for i18n features",
304
- "ircmaxell/random-lib": "Fallback random byte generator for Zend\\Math\\Rand if OpenSSL/Mcrypt extensions are unavailable",
305
- "pecl-weakref": "Implementation of weak references for Zend\\Stdlib\\CallbackHandler",
306
- "zendframework/zendpdf": "ZendPdf for creating PDF representations of barcodes",
307
- "zendframework/zendservice-recaptcha": "ZendService\\ReCaptcha for rendering ReCaptchas in Zend\\Captcha and/or Zend\\Form"
308
- },
309
- "time": "2013-04-17 15:15:58",
310
- "bin": [
311
- "bin/classmap_generator.php"
312
- ],
313
- "type": "library",
314
- "extra": {
315
- "branch-alias": {
316
- "dev-master": "2.1-dev",
317
- "dev-develop": "2.2-dev"
318
- }
319
- },
320
- "installation-source": "dist",
321
- "autoload": {
322
- "psr-0": {
323
- "Zend\\": "library/",
324
- "ZendTest\\": "tests/"
325
- }
326
- },
327
- "license": [
328
- "BSD-3-Clause"
329
- ],
330
- "description": "Zend Framework 2",
331
- "homepage": "http://framework.zend.com/",
332
- "keywords": [
333
- "framework",
334
- "zf2"
335
- ]
336
- },
337
- {
338
- "name": "zf-commons/zfc-base",
339
- "version": "v0.1.2",
340
- "source": {
341
- "type": "git",
342
- "url": "https://github.com/ZF-Commons/ZfcBase.git",
343
- "reference": "v0.1.2"
344
- },
345
- "dist": {
346
- "type": "zip",
347
- "url": "https://api.github.com/repos/ZF-Commons/ZfcBase/zipball/v0.1.2",
348
- "reference": "v0.1.2",
349
- "shasum": ""
350
- },
351
- "require": {
352
- "php": ">=5.3.3",
353
- "zendframework/zend-db": ">=2.1,<3.0",
354
- "zendframework/zend-eventmanager": ">=2.1,<3.0",
355
- "zendframework/zend-loader": ">=2.1,<3.0",
356
- "zendframework/zend-modulemanager": ">=2.1,<3.0",
357
- "zendframework/zend-mvc": ">=2.1,<3.0",
358
- "zendframework/zend-servicemanager": ">=2.1,<3.0",
359
- "zendframework/zend-stdlib": ">=2.1,<3.0"
360
- },
361
- "time": "2013-05-02 12:33:49",
362
- "type": "library",
363
- "installation-source": "dist",
364
- "autoload": {
365
- "psr-0": {
366
- "ZfcBase": "src/"
367
- },
368
- "classmap": [
369
- "./Module.php"
370
- ]
371
- },
372
- "authors": [
373
- {
374
- "name": "Kyle Spraggs",
375
- "email": "theman@spiffyjr.me",
376
- "homepage": "http://www.spiffyjr.me/"
377
- },
378
- {
379
- "name": "Evan Coury",
380
- "email": "me@evancoury.com",
381
- "homepage": "http://blog.evan.pro/"
382
- }
383
- ],
384
- "description": "A set of genetic (abstract) classes which are commonly used across multiple modules.",
385
- "homepage": "https://github.com/ZF-Commons/ZfcBase",
386
- "keywords": [
387
- "zf2"
388
- ]
389
- },
390
- {
391
- "name": "zf-commons/zfc-user",
392
- "version": "0.1.2",
393
- "source": {
394
- "type": "git",
395
- "url": "https://github.com/ZF-Commons/ZfcUser.git",
396
- "reference": "0.1.2"
397
- },
398
- "dist": {
399
- "type": "zip",
400
- "url": "https://api.github.com/repos/ZF-Commons/ZfcUser/zipball/0.1.2",
401
- "reference": "0.1.2",
402
- "shasum": ""
403
- },
404
- "require": {
405
- "php": ">=5.3.3",
406
- "zendframework/zend-authentication": ">=2.1,<3.0",
407
- "zendframework/zend-crypt": ">=2.1,<3.0",
408
- "zendframework/zend-form": ">=2.1,<3.0",
409
- "zendframework/zend-inputfilter": ">=2.1,<3.0",
410
- "zendframework/zend-loader": ">=2.1,<3.0",
411
- "zendframework/zend-modulemanager": ">=2.1,<3.0",
412
- "zendframework/zend-mvc": ">=2.1,<3.0",
413
- "zendframework/zend-servicemanager": ">=2.1,<3.0",
414
- "zendframework/zend-stdlib": ">=2.1,<3.0",
415
- "zendframework/zend-validator": ">=2.1,<3.0",
416
- "zendframework/zend-view": ">=2.1,<3.0",
417
- "zf-commons/zfc-base": "0.*"
418
- },
419
- "suggest": {
420
- "zendframework/zend-session": "To use the default authentication adapter."
421
- },
422
- "time": "2013-05-02 12:33:31",
423
- "type": "library",
424
- "installation-source": "dist",
425
- "autoload": {
426
- "psr-0": {
427
- "ZfcUser": "src/"
428
- },
429
- "classmap": [
430
- "./Module.php"
431
- ]
432
- },
433
- "authors": [
434
- {
435
- "name": "Kyle Spraggs",
436
- "email": "theman@spiffyjr.me",
437
- "homepage": "http://www.spiffyjr.me/"
438
- },
439
- {
440
- "name": "Evan Coury",
441
- "email": "me@evancoury.com",
442
- "homepage": "http://blog.evan.pro/"
443
- }
444
- ],
445
- "description": "A generic user registration and authentication module for ZF2. Supports Zend\\Db and Doctrine2.",
446
- "homepage": "https://github.com/ZF-Commons/ZfcUser",
447
- "keywords": [
448
- "zf2"
449
- ]
450
- }
451
- ],
452
- "packages-dev": null,
453
- "aliases": [
454
-
455
- ],
456
- "minimum-stability": "stable",
457
- "stability-flags": {
458
- "zendframework/zend-developer-tools": 20,
459
- "bjyoungblood/bjy-profiler": 20,
460
- "darkmatus/roleuserbridge": 20
461
- }
462
- }