wagons 0.4.8 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +5 -5
  2. data/README.rdoc +22 -23
  3. data/Rakefile +10 -1
  4. data/lib/tasks/wagons.rake +11 -3
  5. data/lib/wagons/extensions/application.rb +2 -1
  6. data/lib/wagons/extensions/migration.rb +18 -5
  7. data/lib/wagons/extensions/require_optional.rb +1 -1
  8. data/lib/wagons/version.rb +1 -1
  9. data/lib/wagons/wagon.rb +15 -5
  10. data/test/ci/{rails32.gemfile → rails42.gemfile} +2 -1
  11. data/test/ci/rails42.gemfile.lock +127 -0
  12. data/test/ci/{rails40.gemfile → rails50.gemfile} +2 -1
  13. data/test/ci/rails50.gemfile.lock +134 -0
  14. data/test/dummy/Gemfile +3 -0
  15. data/test/dummy/Gemfile.lock +121 -95
  16. data/test/dummy/db/development.sqlite3 +0 -0
  17. data/test/dummy/db/migrate/20120606125104_create_people.rb +2 -1
  18. data/test/dummy/db/test.sqlite3 +0 -0
  19. data/test/dummy/log/development.log +1751 -1400
  20. data/test/dummy/log/test.log +21032 -40895
  21. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  22. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  23. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  24. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  25. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  26. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  27. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3O/3Ozj42ApBuxlOFClnLVzPTVANpal8rRTgimRskqSu9A.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5W/5WPVRZEWijO8sFv_O-ybW9H-kPX4jTLA4TtBOPOHZHY.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5X/5X8IJB_AePrJJ7-ivQe6Yx-9yVIbWIUJC09sn8gks4Q.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7-/7-7HtSWxaVCNztU-cQOVQrmV8cwfTWN3P7Nn1N4zLl8.cache +0 -0
  31. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9A/9Ac7xpxkR5dsc26NWay0KUhoujg2SWVdUUt7fy2jVmY.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9h/9h_QDxrjvEr932ffxkSXmueH8Tu6UklyqXTNpJodMYs.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/Fw9pwnM3h_BU06vzbayrirtvOPvafBpDntUrVWweiJU.cache → sprockets/v3.0/Aw/Aw-GclqWrASyDZSt9V30TCC54ya0oOtqJ1LfYA6BHvo.cache} +0 -0
  34. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Bb/BblMwl-MfVx0NRaTrU_z4bB5ThvZmtL_td9c5J0rgvk.cache +1 -0
  35. data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/N5F3Vj7Q0Rnf4yF3FuckBe127oo5Tlkxs0m_gFEz6ic.cache → sprockets/v3.0/CD/CDHhnf8bkBWd8u0KBaP9gj19-N1X3PEgOnLoSRs9BV4.cache} +0 -0
  36. data/test/dummy/tmp/cache/assets/sprockets/v3.0/D7/D7oB91vLIuIoXc3ze5hI3FZ2Azs-y2rR5pn1CqjIhFA.cache +1 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Db/DbmLC3wtG7ztEvkzmVAubW8vf37XdD0bT3Kh73oed1A.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dj/DjkHbsFWfFxtOZDqBBBEpBoTBHnf0HmmzyyuC494kTA.cache +0 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EG/EGkthgx-3ERWu46T56D_TqB-C7MGNJfssrSACFRieiY.cache +1 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v3.0/EU/EUOMl2HxcsTkkg-UHgKplu6l1Au78s8-lO6FtuSHeGM.cache +1 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ek/EkvEjR75Ft3eI70y5FqqVZ2oFzgz2qYhcI8pE1Gi2Gs.cache +1 -0
  42. data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/J17-1cw4l8J1sJphj0egt3Or377G81YyXyN5bPYYa-s.cache → sprockets/v3.0/IY/IYA0wigyrlL1DR6nSvOL0gdfU5RMPrHjgyrFuZr3afQ.cache} +0 -0
  43. data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/2lwT75Cg7x5Vd67ZbwVQvC4kTNZFdEQ6kto1rMNLUDw.cache → sprockets/v3.0/K4/K4rNS0j9bLKG6ti_i3DYpV0_TH3Lvb4PLfT8vjqiQFQ.cache} +0 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tg/TgTcVvqf5KTGti25aDSVdPzdEFSzFCA7TIgv36nVcSw.cache +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UA/UAXjZVRyzvA00I4VRwLgJlGYuhHv-JLQPorF9L84a0M.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Vd/VdB3rRyqaY-iuOEWJV9Uehypi9JZAGBx5zZqDGJlJ20.cache +0 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v3.0/X3/X3m0ICdQsAzAjT__yuU_b7JmB5XR3Q9je_4Jz8pq7V8.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZP/ZPBWrOLDOu-NpS--iHhBJvOJCAB_8RSFHk8uVEu-FhQ.cache +1 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v3.0/aR/aRHoU0w2GWt4Ed-_Fd4LcznUXPpuh5UkZgpTuH4gtFE.cache +1 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v3.0/af/afFutPcjXtaGD8YXvbW166-XZwPm1npBJiwynk9zcx4.cache +1 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b5/b5XAYmcWnIrTHCYZOsIhoOzChIUkyDjE83FS__vxBPA.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b7/b7lBpkBxQaCxHBBRf-QF0CiQKnRE8kYGLUzgAPTjf_k.cache +0 -0
  53. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bk/bk7kxHlQj_KqeERAr_oZmXi1dL8ExD0kE_8zqRblRZU.cache +1 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ga/ga3GH-sLwI6OFNGwKt6aRfATJ22Hb5V9fwDnIIVfMAw.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/Ju_Em909fs1FMMXDugQpdPt2CMvXMDc6525ONXahQMA.cache → sprockets/v3.0/hF/hFagey905AkQKzK-LgKZYz5uwkRfZlbFneB5sfyatVY.cache} +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v3.0/l_/l_tJ9WwBL9Q8XjxQN56nGuGtCrP7kGBvE8e76g8tRC0.cache +0 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v3.0/le/leHzMzAXsEKyvlJmOgHaYZ-LZscYXOrZ1iyhcZZpAnQ.cache +0 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lg/lgbAXqTVV0csF3CIFI-LOii9PZgGNIt2bkma5Kr6H9s.cache +1 -0
  59. data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/1N0pl9TchBaOQaF0AhTeP9aBkz8wt6q_3m0RgBkDhgM.cache → sprockets/v3.0/oK/oKdQTNFghQL76Znos_5Gl3zKlJvXmlVGyjG94JGm9fE.cache} +0 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qf/qfAcVVR58gpd7pbe9fsHRvbhUBNzQiliZc_5-L3jzAs.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v3.0/r1/r134k3FIZRxf-MmM1f9AtnHuazK-sDzIauS290hG88U.cache +0 -0
  62. data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/9nyywgMCbjp3eG-6Of9h7utciGQIfxrBzGQ0-an_sbw.cache → sprockets/v3.0/r2/r2_nJSrpIqAYxlSHNCf7WM3S0Wd4wJFZtygBkx2-bFQ.cache} +0 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ts/tsjGobLze0DF5HAz7vSBSTkY70PKcceQmRDq2LCagDM.cache +0 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w8/w88Enmk002DS__R9VXL3zF4wYSM2ZY7WSPEhEAl9_bQ.cache +0 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xA/xA6u7RVgjpfnN-LOSPa64Jy_vOtlVpYU5KhC97sh8js.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yQ/yQaMtLns38LF8M5TPwGJjY13IqTjGFTtvUM8dl_OLhs.cache +1 -0
  67. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  68. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  69. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  70. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  71. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  73. data/test/dummy/vendor/wagons/superliner/Gemfile.lock +116 -90
  74. data/test/dummy/vendor/wagons/superliner/db/migrate/20120606125058_create_cities.rb +2 -1
  75. data/test/dummy/vendor/wagons/superliner/test/controllers/people_controller_test.rb +6 -6
  76. data/test/wagons_installer_test.rb +18 -18
  77. metadata +171 -143
  78. data/test/ci/rails32.gemfile.lock +0 -108
  79. data/test/ci/rails40.gemfile.lock +0 -101
  80. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8KMSB4nULx3HD4OIvwhzZl0WGf7xAUtFneCeyIXuZmM.cache +0 -1
  81. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/A8jDhJxSHDAuo_zFvLiqtHV1q85gikrZIflYohzOGYQ.cache +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DbmLC3wtG7ztEvkzmVAubW8vf37XdD0bT3Kh73oed1A.cache +0 -2
  83. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/DxStlU_WNi_56hoHpYamDxaV_MrDbLLfwWUHPD6pBOY.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/GDkqmAIbFW1xtiIWw3goyQZZ-lyGtj2AN4USqOjypu0.cache +0 -3
  85. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/HHh-VH_N4dbzT_z1SG0Q_9DfE_t-uUYY19gWI66mw5A.cache +0 -3
  86. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IJamKeUVR7OeXqDs0_7085gJwwheZ1nBh693j3oZYRs.cache +0 -2
  87. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IgzTqUXqni79z21VpjTJTXo-3NDS71UnIWt33_B7trk.cache +0 -1
  88. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KPXhN4fOVXSTJHCN65wHc7uZfC6sjYt8DlXdJ7rSNyk.cache +0 -1
  89. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/M6CLZDog67Unvr3QX-4aePu9nSfzQ5a81IbTRqrBZuE.cache +0 -2
  90. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Qh-PTAy0TWtEDwCfYSzUJDJSj8JKM3I1TI9ROTVOCx0.cache +0 -1
  91. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Rbwsp3nlV3YlAGjcRaZCI66GW-NTiPeftUul2HhSVN0.cache +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/TgTcVvqf5KTGti25aDSVdPzdEFSzFCA7TIgv36nVcSw.cache +0 -3
  93. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/V5f0ylSlfsr_kU3dCzY7myOLB6Ta8d1oEfTxFnYSngc.cache +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/W_kV5jdSA0o0ax0Qx8x_uZ7DnEaA5iPzsPCyUrog7c4.cache +0 -1
  95. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/b7lBpkBxQaCxHBBRf-QF0CiQKnRE8kYGLUzgAPTjf_k.cache +0 -3
  96. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ewpJ8lPdGhtzlEL7X_FnafKY7Md-EjYoWicLlhGoDW4.cache +0 -1
  97. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/fFhUtKUnI1qwA2ci6aNshI6k45g1zeJNK4fKJwUwf-4.cache +0 -1
  98. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/kM91Vu2ioELErj7VdB8xXpKEh2IVT0-0fqyWswvw75o.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/l_tJ9WwBL9Q8XjxQN56nGuGtCrP7kGBvE8e76g8tRC0.cache +0 -2
  100. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nYsiXzpgr13IN7stPoSJb4D8Kpya2liQkKBIUZ3Yb-Q.cache +0 -1
  101. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/q1BFcF4m7Fh2TqwEZioRz5opSgGQGEbr_UWQIDs442U.cache +0 -1
  102. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/tWU60Um-QUw6vr_POtxrJDo8OCEZgFF5TsQWkTZdOQA.cache +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/umHl2-IS9hns60Oq24M_KecepNV1A1wVPxwQwv9B30o.cache +0 -2
  104. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yvHPdWsvfKDfou_ZskLF6Cv5uc2W-xuCt7byJblOeRU.cache +0 -1
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=c3cdfa9db10ef6b244ad0b0b0db8705412a1a2b1ed1a06a58362865a021edb1b:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=1abbd3794035fbc9492d40cd10870dcbf5b15f3a3ed99cf5b1a577d26bbe1ed3:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=a4b47246d4cd6079fac8bed9ee7a17ed1f265404a31409f37b8ea239ddbf89ef:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=9fe28b5c7eda6f7349b93a8d9bde205151e2d7fc77cba71b77f8f1b25c869e3e:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=f417c7fc1d7e8d32c646371456618720598fa2f67fcf2fd9403f0abd9176b007:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=08a29bac289ae7605ef963321d91149ed4447d2d72e92814f806d01b0d860399:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=865dc5e2c7901935891e6ad075b13ae50af8827882ea77b8988dd914dc12d01f:ET
@@ -0,0 +1 @@
1
+ I"}app/assets/stylesheets/application.css?type=text/css&id=84f510b67981b68e2f4e0d39b1986f3e84f9b406d5e135fcee88f9ebb27b2ee2:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=e817819b9ca184009ab091e2ef43b75500a47eaf3474228fccb7595e54075aa7:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=11e8d0a6b22537364392d2fc2363d27f71c44e0452c649ee022a8c0354430b2b:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=cc3bc5d62331c2c0fd12467cc17994e9cb1657e9a4a6967c92c580825959f760:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=282caae714b579d8ac1fccaef82b849a790fbd1cd772abfb050cdd03da4f64fc:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&id=43eb25679787a99f16b4c080cc5a6d5f781d3638e76847b0846fe9272c10531b:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=0002d06d1e4e55b3c74579aacbf364a535bd5f5e22907c1b9e57f5f9bdb0b04b:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=eadda7996489da44ab031b3fd38aba389e14b5897710a5409f0990a37c270c5b:ET
@@ -0,0 +1 @@
1
+ I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=cb4613c090182442254c7470b0b01ed960e42009281d9a4c12b2ab7cee324520:ET
@@ -4,114 +4,136 @@ PATH
4
4
  dummy_superliner (0.0.1)
5
5
 
6
6
  PATH
7
- remote: /home/pzumkehr/src/ruby/wagons
7
+ remote: /Users/pascal/Code/ruby/wagons
8
8
  specs:
9
- wagons (0.4.7)
9
+ wagons (0.5.0)
10
10
  bundler (>= 1.1)
11
- rails (>= 3.2)
12
- seed-fu-ndo (>= 0.0.2)
11
+ rails (>= 4.2)
12
+ seed-fu-ndo (>= 0.0.3)
13
13
 
14
14
  GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
- actionmailer (4.2.4)
18
- actionpack (= 4.2.4)
19
- actionview (= 4.2.4)
20
- activejob (= 4.2.4)
17
+ actioncable (5.2.0)
18
+ actionpack (= 5.2.0)
19
+ nio4r (~> 2.0)
20
+ websocket-driver (>= 0.6.1)
21
+ actionmailer (5.2.0)
22
+ actionpack (= 5.2.0)
23
+ actionview (= 5.2.0)
24
+ activejob (= 5.2.0)
21
25
  mail (~> 2.5, >= 2.5.4)
22
- rails-dom-testing (~> 1.0, >= 1.0.5)
23
- actionpack (4.2.4)
24
- actionview (= 4.2.4)
25
- activesupport (= 4.2.4)
26
- rack (~> 1.6)
27
- rack-test (~> 0.6.2)
28
- rails-dom-testing (~> 1.0, >= 1.0.5)
26
+ rails-dom-testing (~> 2.0)
27
+ actionpack (5.2.0)
28
+ actionview (= 5.2.0)
29
+ activesupport (= 5.2.0)
30
+ rack (~> 2.0)
31
+ rack-test (>= 0.6.3)
32
+ rails-dom-testing (~> 2.0)
29
33
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
- actionview (4.2.4)
31
- activesupport (= 4.2.4)
34
+ actionview (5.2.0)
35
+ activesupport (= 5.2.0)
32
36
  builder (~> 3.1)
33
- erubis (~> 2.7.0)
34
- rails-dom-testing (~> 1.0, >= 1.0.5)
35
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
36
- activejob (4.2.4)
37
- activesupport (= 4.2.4)
38
- globalid (>= 0.3.0)
39
- activemodel (4.2.4)
40
- activesupport (= 4.2.4)
41
- builder (~> 3.1)
42
- activerecord (4.2.4)
43
- activemodel (= 4.2.4)
44
- activesupport (= 4.2.4)
45
- arel (~> 6.0)
46
- activesupport (4.2.4)
47
- i18n (~> 0.7)
48
- json (~> 1.7, >= 1.7.7)
37
+ erubi (~> 1.4)
38
+ rails-dom-testing (~> 2.0)
39
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
40
+ activejob (5.2.0)
41
+ activesupport (= 5.2.0)
42
+ globalid (>= 0.3.6)
43
+ activemodel (5.2.0)
44
+ activesupport (= 5.2.0)
45
+ activerecord (5.2.0)
46
+ activemodel (= 5.2.0)
47
+ activesupport (= 5.2.0)
48
+ arel (>= 9.0)
49
+ activestorage (5.2.0)
50
+ actionpack (= 5.2.0)
51
+ activerecord (= 5.2.0)
52
+ marcel (~> 0.3.1)
53
+ activesupport (5.2.0)
54
+ concurrent-ruby (~> 1.0, >= 1.0.2)
55
+ i18n (>= 0.7, < 2)
49
56
  minitest (~> 5.1)
50
- thread_safe (~> 0.3, >= 0.3.4)
51
57
  tzinfo (~> 1.1)
52
- arel (6.0.3)
53
- builder (3.2.2)
54
- erubis (2.7.0)
55
- globalid (0.3.6)
56
- activesupport (>= 4.1.0)
57
- i18n (0.7.0)
58
- json (1.8.3)
59
- loofah (2.0.3)
58
+ arel (9.0.0)
59
+ builder (3.2.3)
60
+ concurrent-ruby (1.0.5)
61
+ crass (1.0.4)
62
+ erubi (1.7.1)
63
+ globalid (0.4.1)
64
+ activesupport (>= 4.2.0)
65
+ i18n (1.0.1)
66
+ concurrent-ruby (~> 1.0)
67
+ loofah (2.2.2)
68
+ crass (~> 1.0.2)
60
69
  nokogiri (>= 1.5.9)
61
- mail (2.6.3)
62
- mime-types (>= 1.16, < 3)
70
+ mail (2.7.0)
71
+ mini_mime (>= 0.1.1)
72
+ marcel (0.3.2)
73
+ mimemagic (~> 0.3.2)
63
74
  metaclass (0.0.4)
64
- mime-types (2.6.2)
65
- mini_portile (0.6.2)
66
- minitest (5.8.0)
67
- mocha (1.1.0)
75
+ method_source (0.9.0)
76
+ mimemagic (0.3.2)
77
+ mini_mime (1.0.0)
78
+ mini_portile2 (2.3.0)
79
+ minitest (5.11.3)
80
+ mocha (1.5.0)
68
81
  metaclass (~> 0.0.1)
69
- nokogiri (1.6.6.2)
70
- mini_portile (~> 0.6.0)
71
- rack (1.6.4)
72
- rack-test (0.6.3)
73
- rack (>= 1.0)
74
- rails (4.2.4)
75
- actionmailer (= 4.2.4)
76
- actionpack (= 4.2.4)
77
- actionview (= 4.2.4)
78
- activejob (= 4.2.4)
79
- activemodel (= 4.2.4)
80
- activerecord (= 4.2.4)
81
- activesupport (= 4.2.4)
82
- bundler (>= 1.3.0, < 2.0)
83
- railties (= 4.2.4)
84
- sprockets-rails
85
- rails-deprecated_sanitizer (1.0.3)
86
- activesupport (>= 4.2.0.alpha)
87
- rails-dom-testing (1.0.7)
88
- activesupport (>= 4.2.0.beta, < 5.0)
89
- nokogiri (~> 1.6.0)
90
- rails-deprecated_sanitizer (>= 1.0.1)
91
- rails-html-sanitizer (1.0.2)
92
- loofah (~> 2.0)
93
- railties (4.2.4)
94
- actionpack (= 4.2.4)
95
- activesupport (= 4.2.4)
82
+ nio4r (2.3.1)
83
+ nokogiri (1.8.2)
84
+ mini_portile2 (~> 2.3.0)
85
+ rack (2.0.5)
86
+ rack-test (1.0.0)
87
+ rack (>= 1.0, < 3)
88
+ rails (5.2.0)
89
+ actioncable (= 5.2.0)
90
+ actionmailer (= 5.2.0)
91
+ actionpack (= 5.2.0)
92
+ actionview (= 5.2.0)
93
+ activejob (= 5.2.0)
94
+ activemodel (= 5.2.0)
95
+ activerecord (= 5.2.0)
96
+ activestorage (= 5.2.0)
97
+ activesupport (= 5.2.0)
98
+ bundler (>= 1.3.0)
99
+ railties (= 5.2.0)
100
+ sprockets-rails (>= 2.0.0)
101
+ rails-controller-testing (1.0.2)
102
+ actionpack (~> 5.x, >= 5.0.1)
103
+ actionview (~> 5.x, >= 5.0.1)
104
+ activesupport (~> 5.x)
105
+ rails-dom-testing (2.0.3)
106
+ activesupport (>= 4.2.0)
107
+ nokogiri (>= 1.6)
108
+ rails-html-sanitizer (1.0.4)
109
+ loofah (~> 2.2, >= 2.2.2)
110
+ railties (5.2.0)
111
+ actionpack (= 5.2.0)
112
+ activesupport (= 5.2.0)
113
+ method_source
96
114
  rake (>= 0.8.7)
97
115
  thor (>= 0.18.1, < 2.0)
98
- rake (10.4.2)
99
- seed-fu (2.3.5)
100
- activerecord (>= 3.1, < 4.3)
101
- activesupport (>= 3.1, < 4.3)
102
- seed-fu-ndo (0.0.2)
116
+ rake (12.3.1)
117
+ seed-fu (2.3.9)
118
+ activerecord (>= 3.1)
119
+ activesupport (>= 3.1)
120
+ seed-fu-ndo (0.0.3)
103
121
  seed-fu (>= 2.2.0)
104
- sprockets (3.3.3)
105
- rack (~> 1.0)
106
- sprockets-rails (2.3.3)
107
- actionpack (>= 3.0)
108
- activesupport (>= 3.0)
109
- sprockets (>= 2.8, < 4.0)
110
- sqlite3 (1.3.10)
111
- thor (0.19.1)
112
- thread_safe (0.3.5)
113
- tzinfo (1.2.2)
122
+ sprockets (3.7.1)
123
+ concurrent-ruby (~> 1.0)
124
+ rack (> 1, < 3)
125
+ sprockets-rails (3.2.1)
126
+ actionpack (>= 4.0)
127
+ activesupport (>= 4.0)
128
+ sprockets (>= 3.0.0)
129
+ sqlite3 (1.3.13)
130
+ thor (0.20.0)
131
+ thread_safe (0.3.6)
132
+ tzinfo (1.2.5)
114
133
  thread_safe (~> 0.1)
134
+ websocket-driver (0.7.0)
135
+ websocket-extensions (>= 0.1.0)
136
+ websocket-extensions (0.1.3)
115
137
 
116
138
  PLATFORMS
117
139
  ruby
@@ -120,5 +142,9 @@ DEPENDENCIES
120
142
  dummy_superliner!
121
143
  mocha
122
144
  rails
145
+ rails-controller-testing
123
146
  sqlite3
124
147
  wagons!
148
+
149
+ BUNDLED WITH
150
+ 1.16.2
@@ -1,4 +1,5 @@
1
- class CreateCities < ActiveRecord::Migration
1
+ superklass = Rails.version >= '5.0' ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration
2
+ class CreateCities < superklass
2
3
  def change
3
4
  create_table :cities do |t|
4
5
  t.string :name
@@ -8,11 +8,11 @@ class PeopleControllerTest < ActionController::TestCase
8
8
  assert_template '_list_main'
9
9
  assert_template '_sidebar'
10
10
  assert_template '_sidebar_superliner'
11
- assert_match /42/, @response.body
12
- assert_match /Superliner Details/, @response.body
13
- assert_match /List Superliner/, @response.body
14
- assert_no_match /List Main/, @response.body
15
- assert_no_match /List Superliner\s*List Superliner/m, @response.body
16
- assert_no_match /Main Details/, @response.body
11
+ assert_match(/42/, @response.body)
12
+ assert_match(/Superliner Details/, @response.body)
13
+ assert_match(/List Superliner/, @response.body)
14
+ assert_no_match(/List Main/, @response.body)
15
+ assert_no_match(/List Superliner\s*List Superliner/m, @response.body)
16
+ assert_no_match(/Main Details/, @response.body)
17
17
  end
18
18
  end
@@ -40,7 +40,7 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
40
40
  installer.stubs(:wagon_class).with(@superliner2).returns(stub(:app_requirement => Gem::Requirement.new('>= 2.0')))
41
41
  msg = installer.check_app_requirement([@master2, @superliner2])
42
42
  assert_equal 1, msg.size
43
- assert_match /requires/, msg.first
43
+ assert_match(/requires/, msg.first)
44
44
  end
45
45
 
46
46
  test 'check dependencies is fine if all depts are installed at the same time' do
@@ -51,7 +51,7 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
51
51
 
52
52
  test 'check dependencies fails if dependency is missing' do
53
53
  installer.stubs(:installed).returns([])
54
- assert_match /requires/, installer.check_dependencies([@slave1])
54
+ assert_match(/requires/, installer.check_dependencies([@slave1]))
55
55
  end
56
56
 
57
57
  test 'check uninstalled dependencies is fine if all depts are uninstalled at the same time' do
@@ -59,7 +59,7 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
59
59
  end
60
60
 
61
61
  test 'check uninstalled dependencies fails if dependency remains' do
62
- assert_match /requires/, installer.check_uninstalled_dependencies([@master1])
62
+ assert_match(/requires/, installer.check_uninstalled_dependencies([@master1]))
63
63
  end
64
64
 
65
65
  test 'exclude specs does not modify original collection' do
@@ -81,9 +81,9 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
81
81
  test 'wagonfile update updates version and add new entries' do
82
82
  installer.wagonfile_update([@master2, @slave1, @superliner2])
83
83
  content = File.read(WAGONFILE)
84
- assert_match /^gem '#{app_name}_master', '2.0.0'$/, content
85
- assert_match /^gem '#{app_name}_slave', '1.0.0'$/, content
86
- assert_match /^gem '#{app_name}_superliner', '2.0.0'$/, content
84
+ assert_match(/^gem '#{app_name}_master', '2.0.0'$/, content)
85
+ assert_match(/^gem '#{app_name}_slave', '1.0.0'$/, content)
86
+ assert_match(/^gem '#{app_name}_superliner', '2.0.0'$/, content)
87
87
  assert_equal 3, content.each_line.count, content
88
88
  end
89
89
 
@@ -91,9 +91,9 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
91
91
  installer.include_version_in_wagonfile = false
92
92
  installer.wagonfile_update([@master2, @slave1, @superliner2])
93
93
  content = File.read(WAGONFILE)
94
- assert_match /^gem '#{app_name}_master'$/, content
95
- assert_match /^gem '#{app_name}_slave'$/, content
96
- assert_match /^gem '#{app_name}_superliner'$/, content
94
+ assert_match(/^gem '#{app_name}_master'$/, content)
95
+ assert_match(/^gem '#{app_name}_slave'$/, content)
96
+ assert_match(/^gem '#{app_name}_superliner'$/, content)
97
97
  assert_equal 3, content.each_line.count, content
98
98
  end
99
99
 
@@ -104,15 +104,15 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
104
104
  end
105
105
  installer.wagonfile_update([@master2, @slave1])
106
106
  content = File.read(WAGONFILE)
107
- assert_match /^gem '#{app_name}_master', '2.0.0'$/, content
108
- assert_match /^gem '#{app_name}_slave', '1.0.0'$/, content
107
+ assert_match(/^gem '#{app_name}_master', '2.0.0'$/, content)
108
+ assert_match(/^gem '#{app_name}_slave', '1.0.0'$/, content)
109
109
  assert_equal 2, content.each_line.count, content
110
110
  end
111
111
 
112
112
  test 'wagonfile remove' do
113
113
  installer.wagonfile_remove([@slave1])
114
114
  content = File.read(WAGONFILE)
115
- assert_match /^gem '#{app_name}_master', '1.0.0'$/, content
115
+ assert_match(/^gem '#{app_name}_master', '1.0.0'$/, content)
116
116
  assert_equal 1, content.each_line.count
117
117
  end
118
118
 
@@ -120,7 +120,7 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
120
120
  installer.stubs(:setup_command).returns('echo $RAILS_ENV > env.tmp')
121
121
  assert_nil installer.install(["#{app_name}_master"])
122
122
  content = File.read(WAGONFILE)
123
- assert_match /^gem '#{app_name}_master', '2.0.0'$/, content
123
+ assert_match(/^gem '#{app_name}_master', '2.0.0'$/, content)
124
124
  assert_equal 'test', File.read('env.tmp').strip
125
125
  File.delete('env.tmp')
126
126
  end
@@ -129,18 +129,18 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
129
129
  installer.stubs(:setup_command).returns("echo $RAILS_ENV; echo 'its a bug' >&2; exit 1")
130
130
  assert_equal 'its a bug', installer.install(["#{app_name}_master"]).strip
131
131
  content = File.read(WAGONFILE)
132
- assert_match /^gem '#{app_name}_master', '1.0.0'$/, content
132
+ assert_match(/^gem '#{app_name}_master', '1.0.0'$/, content)
133
133
  end
134
134
 
135
135
  test 'install fails when checks go wrong' do
136
136
  installer.stubs(:wagon_class).with(@superliner2).returns(stub(:app_requirement => Gem::Requirement.new('>= 2.0')))
137
137
  installer.expects(:wagonfile_edit).never
138
- assert_match /requires/, installer.install(["#{app_name}_superliner"])
138
+ assert_match(/requires/, installer.install(["#{app_name}_superliner"]))
139
139
  end
140
140
 
141
141
  test 'install fails when name is invalid' do
142
142
  installer.expects(:wagonfile_edit).never
143
- assert_match /not found/, installer.install(["#{app_name}_fantasy"])
143
+ assert_match(/not found/, installer.install(["#{app_name}_fantasy"]))
144
144
  end
145
145
 
146
146
  test 'uninstall runs when checks are fine' do
@@ -152,12 +152,12 @@ class Wagons::InstallerTest < ActiveSupport::TestCase
152
152
 
153
153
  test 'uninstall fails when checks go wrong' do
154
154
  installer.expects(:wagonfile_edit).never
155
- assert_match /requires/, installer.uninstall(["#{app_name}_master"])
155
+ assert_match(/requires/, installer.uninstall(["#{app_name}_master"]))
156
156
  end
157
157
 
158
158
  test 'uninstall fails when name is invalid' do
159
159
  installer.expects(:wagonfile_edit).never
160
- assert_match /not found/, installer.uninstall(["#{app_name}_fantasy"])
160
+ assert_match(/not found/, installer.uninstall(["#{app_name}_fantasy"]))
161
161
  end
162
162
 
163
163
  test 'wagon class can load class from anywhere' do