outpost-cms 0.0.5 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (351) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -18
  3. data/app/controllers/outpost/application_controller.rb +13 -3
  4. data/app/controllers/outpost/base_controller.rb +0 -1
  5. data/app/controllers/outpost/home_controller.rb +3 -0
  6. data/app/controllers/outpost/sessions_controller.rb +3 -3
  7. data/app/models/permission.rb +0 -2
  8. data/app/views/layouts/outpost/application.html.erb +3 -3
  9. data/app/views/layouts/outpost/minimal.html.erb +1 -1
  10. data/app/views/outpost/sessions/new.html.erb +1 -1
  11. data/app/views/outpost/shared/_pagination.html.erb +1 -1
  12. data/config/initializers/kaminari_route_proxy_hack.rb +18 -0
  13. data/config/routes.rb +6 -3
  14. data/lib/outpost/controller/authentication.rb +1 -1
  15. data/lib/outpost/controller/authorization.rb +1 -1
  16. data/lib/outpost/controller/custom_errors.rb +7 -4
  17. data/lib/outpost/engine.rb +2 -0
  18. data/lib/outpost/version.rb +1 -1
  19. data/spec/controllers/authentication_spec.rb +1 -1
  20. data/spec/controllers/sessions_controller_spec.rb +5 -5
  21. data/spec/features/authentication_spec.rb +4 -4
  22. data/spec/features/authorization_spec.rb +1 -1
  23. data/spec/internal/config/routes.rb +2 -7
  24. data/spec/internal/log/test.log +59226 -34736
  25. data/spec/internal/tmp/cache/assets/test/sass/{ea24470654f74c1fe92aa45b2fae66b2a464a390 → 2f281c0ffa88554ba9cb26f32e144fb6da4bd970}/_base.css.scssc +0 -0
  26. data/spec/internal/tmp/cache/assets/test/sass/2f281c0ffa88554ba9cb26f32e144fb6da4bd970/_columns.css.scssc +0 -0
  27. data/spec/internal/tmp/cache/assets/test/sass/2f281c0ffa88554ba9cb26f32e144fb6da4bd970/_edit.css.scssc +0 -0
  28. data/spec/internal/tmp/cache/assets/test/sass/2f281c0ffa88554ba9cb26f32e144fb6da4bd970/_forms.css.scssc +0 -0
  29. data/spec/internal/tmp/cache/assets/test/sass/{ea24470654f74c1fe92aa45b2fae66b2a464a390 → 2f281c0ffa88554ba9cb26f32e144fb6da4bd970}/_index.css.scssc +0 -0
  30. data/spec/internal/tmp/cache/assets/test/sass/{ea24470654f74c1fe92aa45b2fae66b2a464a390 → 2f281c0ffa88554ba9cb26f32e144fb6da4bd970}/_utility.css.scssc +0 -0
  31. data/spec/internal/tmp/cache/assets/test/sass/{ea24470654f74c1fe92aa45b2fae66b2a464a390 → 2f281c0ffa88554ba9cb26f32e144fb6da4bd970}/application.css.scssc +0 -0
  32. data/spec/internal/tmp/cache/assets/test/sass/{cde194af3b19eae3aef82845ab8bc0df6c0d84d4 → 35d8df2606a242e3828e8ca8edc044b9dfff7bb3}/select2.css.scssc +0 -0
  33. data/spec/internal/tmp/cache/assets/test/sass/{87aa0c8b43c5e29ce88dd86b1a2c657232e4bb6f → 58459d07a91d0def1df4d2e43897ca34c3bccfed}/outpost.css.scssc +0 -0
  34. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 713d4743bc07155edb9156a358406d2ac95c9417}/_alerts.scssc +0 -0
  35. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_breadcrumbs.scssc +0 -0
  36. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 713d4743bc07155edb9156a358406d2ac95c9417}/_button-groups.scssc +0 -0
  37. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 713d4743bc07155edb9156a358406d2ac95c9417}/_buttons.scssc +0 -0
  38. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 713d4743bc07155edb9156a358406d2ac95c9417}/_close.scssc +0 -0
  39. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_code.scssc +0 -0
  40. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_component-animations.scssc +0 -0
  41. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_dropdowns.scssc +0 -0
  42. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 713d4743bc07155edb9156a358406d2ac95c9417}/_forms.scssc +0 -0
  43. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 713d4743bc07155edb9156a358406d2ac95c9417}/_grid.scssc +0 -0
  44. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_labels-badges.scssc +0 -0
  45. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_layouts.scssc +0 -0
  46. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 713d4743bc07155edb9156a358406d2ac95c9417}/_mixins.scssc +0 -0
  47. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 713d4743bc07155edb9156a358406d2ac95c9417}/_modals.scssc +0 -0
  48. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 713d4743bc07155edb9156a358406d2ac95c9417}/_navbar.scssc +0 -0
  49. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_navs.scssc +0 -0
  50. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_pager.scssc +0 -0
  51. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 713d4743bc07155edb9156a358406d2ac95c9417}/_pagination.scssc +0 -0
  52. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_reset.scssc +0 -0
  53. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 713d4743bc07155edb9156a358406d2ac95c9417}/_scaffolding.scssc +0 -0
  54. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 713d4743bc07155edb9156a358406d2ac95c9417}/_sprites.scssc +0 -0
  55. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_tables.scssc +0 -0
  56. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 713d4743bc07155edb9156a358406d2ac95c9417}/_type.scssc +0 -0
  57. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_utilities.scssc +0 -0
  58. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_variables.scssc +0 -0
  59. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 713d4743bc07155edb9156a358406d2ac95c9417}/_wells.scssc +0 -0
  60. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_alerts.scssc +0 -0
  61. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_breadcrumbs.scssc +0 -0
  62. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_button-groups.scssc +0 -0
  63. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_buttons.scssc +0 -0
  64. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_close.scssc +0 -0
  65. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_code.scssc +0 -0
  66. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_component-animations.scssc +0 -0
  67. data/spec/internal/tmp/cache/assets/test/sass/91c4510636df04fbd8d2392295c60f4774bc5595/_dropdowns.scssc +0 -0
  68. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_forms.scssc +0 -0
  69. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_grid.scssc +0 -0
  70. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_labels-badges.scssc +0 -0
  71. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_layouts.scssc +0 -0
  72. data/spec/internal/tmp/cache/assets/test/sass/91c4510636df04fbd8d2392295c60f4774bc5595/_mixins.scssc +0 -0
  73. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_modals.scssc +0 -0
  74. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_navbar.scssc +0 -0
  75. data/spec/internal/tmp/cache/assets/test/sass/91c4510636df04fbd8d2392295c60f4774bc5595/_navs.scssc +0 -0
  76. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_pager.scssc +0 -0
  77. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_pagination.scssc +0 -0
  78. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_reset.scssc +0 -0
  79. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_scaffolding.scssc +0 -0
  80. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_sprites.scssc +0 -0
  81. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_tables.scssc +0 -0
  82. data/spec/internal/tmp/cache/assets/test/sass/{db455d3ae1e484fbc281e7097adf4ecb850d7d10 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_type.scssc +0 -0
  83. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_utilities.scssc +0 -0
  84. data/spec/internal/tmp/cache/assets/test/sass/{cee3b45c60038923cb15e74edf0b508296df0b89 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_variables.scssc +0 -0
  85. data/spec/internal/tmp/cache/assets/test/sass/{4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0 → 91c4510636df04fbd8d2392295c60f4774bc5595}/_wells.scssc +0 -0
  86. data/spec/internal/tmp/cache/assets/test/sass/{20f5650af539e2cc0c7216330842920da53e851d → a9f4042cd0d0f715e66bdeb090d838a204f3a93c}/bootstrap.css.scssc +0 -0
  87. data/spec/internal/tmp/cache/assets/test/sass/a9f4042cd0d0f715e66bdeb090d838a204f3a93c/datepicker.css.scssc +0 -0
  88. data/spec/internal/tmp/cache/assets/test/sprockets/{4f6d52d657e0c1e635762f3edc6e8e20 → 007f51a14e6e6f921be2314c4c2e906f} +0 -0
  89. data/spec/internal/tmp/cache/assets/test/sprockets/{c0291860b6abb7bdc04ccc1e990e38f0 → 02860c75f8eaea1d5cbf689d9e024462} +0 -0
  90. data/spec/internal/tmp/cache/assets/test/sprockets/{a458e44cf710f6e94208e22d3eafae3f → 03b71e72f675f0383ddda06ed831b40e} +0 -0
  91. data/spec/internal/tmp/cache/assets/test/sprockets/04768144d2901f5d36fb04a4888582a9 +0 -0
  92. data/spec/internal/tmp/cache/assets/test/sprockets/{b49f83c898ca822909d8d2c32470cfec → 04cea1313958f3d2415eab042b0a4e15} +0 -0
  93. data/spec/internal/tmp/cache/assets/test/sprockets/05ce10621bdd663053812a6f90974eb7 +0 -0
  94. data/spec/internal/tmp/cache/assets/test/sprockets/{e744b5ae603dc485f33ed176c899adfc → 094297dcd738b3697b878934d55fbfd9} +0 -0
  95. data/spec/internal/tmp/cache/assets/test/sprockets/0ac637d33c59dec0e7e798dde803c6b9 +0 -0
  96. data/spec/internal/tmp/cache/assets/test/sprockets/0ba929b09a9780eee0e30a0e1c76eeec +0 -0
  97. data/spec/internal/tmp/cache/assets/test/sprockets/{64a8cb638857a130dbabae4d1633618e → 13ac63fa38067dac38f525c8fff852ee} +0 -0
  98. data/spec/internal/tmp/cache/assets/test/sprockets/{9676f39584b5a04f92b29c0729175a8c → 180b99d849a0d98597738bb0172549cc} +0 -0
  99. data/spec/internal/tmp/cache/assets/test/sprockets/{0bc810339d0afdbe60e338e0041023cc → 1c17b93ca4ec8fb9585ae8e2d79eaaf5} +0 -0
  100. data/spec/internal/tmp/cache/assets/test/sprockets/{e521c94e59f66d600e517a555502fa11 → 1e0ec07e58c3496cbbfc4ffd1121fdd2} +0 -0
  101. data/spec/internal/tmp/cache/assets/test/sprockets/{9add31bfd5f6aaa920af7f38211f9aa2 → 205850920d942d3b8bda1bf75684a431} +0 -0
  102. data/spec/internal/tmp/cache/assets/test/sprockets/2219631cefe7cae17c6a297821c5d18a +0 -0
  103. data/spec/internal/tmp/cache/assets/test/sprockets/23340d66666f532bda42ed821bd7f530 +0 -0
  104. data/spec/internal/tmp/cache/assets/test/sprockets/{37abf1a201cc821dfc13cc427659a47b → 2616723ca4c11730126380fe9b5524fc} +0 -0
  105. data/spec/internal/tmp/cache/assets/test/sprockets/{6b9d79602e3b6ff9dd067605adeb0888 → 263fd6aec479e062c358df5adcad80e3} +0 -0
  106. data/spec/internal/tmp/cache/assets/test/sprockets/{36372f01bbdb43b410ec5192f7b6902f → 27b53694a89a35cc2ccb2ab7ef850e7d} +0 -0
  107. data/spec/internal/tmp/cache/assets/test/sprockets/2827e146576ae6be76201f90a7eb9e11 +0 -0
  108. data/spec/internal/tmp/cache/assets/test/sprockets/{a0743c695fe7f2f40fc5f188fd054c2b → 297aacbaf519b89e200729b2d5184fdd} +0 -0
  109. data/spec/internal/tmp/cache/assets/test/sprockets/29f5f13616c5337cb3c71e99d3236cde +0 -0
  110. data/spec/internal/tmp/cache/assets/test/sprockets/{6748f4abf46d0d2f516279ec032fd817 → 305e35e5176384228cc9e9fc99f9533d} +0 -0
  111. data/spec/internal/tmp/cache/assets/test/sprockets/{9dd86c42f919be9f13a14317e7607f31 → 3061fe24131d70c1a8fdc1e7ee586afb} +0 -0
  112. data/spec/internal/tmp/cache/assets/test/sprockets/330b24099540c09f8432ec23cd2628f0 +0 -0
  113. data/spec/internal/tmp/cache/assets/test/sprockets/{fd8537c2a374241cc1d2d029ca4a3623 → 35d0de7758ba79920e93d9888dc1ffe8} +0 -0
  114. data/spec/internal/tmp/cache/assets/test/sprockets/35fa5a46d3c85d0ab471a216e88722c8 +0 -0
  115. data/spec/internal/tmp/cache/assets/test/sprockets/{44020d882ece5491178ab3560f0d47a6 → 371dd3e949f8f632a679a1dfa33fe6d6} +0 -0
  116. data/spec/internal/tmp/cache/assets/test/sprockets/{3717c6d6d1b1afd049b633417ed63cdd → 3fd83d3326e3c2e3de461659a0f6ca8e} +0 -0
  117. data/spec/internal/tmp/cache/assets/test/sprockets/{38341483f58eeea1d871954dbe986267 → 4149be1db3678a122f2b6012021d7280} +0 -0
  118. data/spec/internal/tmp/cache/assets/test/sprockets/{a2d1f22b3a5164f8bdf8a2e08456d9c3 → 44664400255b53f3430097a468ef8294} +0 -0
  119. data/spec/internal/tmp/cache/assets/test/sprockets/{38aa3f8364fc8f118029ff4651c72221 → 4605ee66d968e1e355ed12aae58ff31f} +0 -0
  120. data/spec/internal/tmp/cache/assets/test/sprockets/{1dfbb70993a8817b5e5aee44b888309d → 481db8fe7cffaf353347b47328f66433} +0 -0
  121. data/spec/internal/tmp/cache/assets/test/sprockets/{cbbd567516b06004eb748f5a59bc14cc → 4a371ccdda8c585046aedc822514c367} +0 -0
  122. data/spec/internal/tmp/cache/assets/test/sprockets/{bc8ba0b8c4f10524a604a7163f16e3dd → 4c982ed7073c9478dc13b9390825db51} +0 -0
  123. data/spec/internal/tmp/cache/assets/test/sprockets/{b0e1d9e51dba635c57573102d479dea9 → 5187cc449b57afdeccbd03c11242711c} +0 -0
  124. data/spec/internal/tmp/cache/assets/test/sprockets/{ac25c69ce48ecf3a3a3808ba26537243 → 52a110b1823020a41f9cc7fb8e636494} +0 -0
  125. data/spec/internal/tmp/cache/assets/test/sprockets/{9c736faedfe2dfe359042f9d2ce85367 → 5a1f21a21cb6307182bfdbaca1db3830} +0 -0
  126. data/spec/internal/tmp/cache/assets/test/sprockets/{dde6829bdb6fb77823831ab67644b76f → 5b3210afdb7e421bddd3358c2ca950ce} +0 -0
  127. data/spec/internal/tmp/cache/assets/test/sprockets/5c0672460a90dd86667af798bbfd8b10 +0 -0
  128. data/spec/internal/tmp/cache/assets/test/sprockets/{c56fce185c88af8d191796b0172f498b → 5c2690b6352194c6c1b9127a89c4b4ca} +0 -0
  129. data/spec/internal/tmp/cache/assets/test/sprockets/{a79a727e3b12ecb263735a8edecc86c2 → 61773840c138d117f0fb4e8d7d646ff4} +0 -0
  130. data/spec/internal/tmp/cache/assets/test/sprockets/67664771f4cfcd1f8b847ac684f66b34 +0 -0
  131. data/spec/internal/tmp/cache/assets/test/sprockets/{4d5649fe189b1fdead6428fdd2b9fafd → 6cca4d46742a43329a2f2fb8d4d1ae34} +0 -0
  132. data/spec/internal/tmp/cache/assets/test/sprockets/{a0b5c6371ce0b3308fc3be90c4f9ef5b → 6d417e45027f0c531074e4f8b12777eb} +0 -0
  133. data/spec/internal/tmp/cache/assets/test/sprockets/{0e167df01ba09061de9f5c49cfdccc99 → 6f3d0874336948d2f922f3d9d0a33d66} +0 -0
  134. data/spec/internal/tmp/cache/assets/test/sprockets/74e5ddb5f536d7cfdb195b65effb8ecb +0 -0
  135. data/spec/internal/tmp/cache/assets/test/sprockets/{5c8c03be6364f23b4008487f351afa73 → 74f9b375d1d7962c93de61321aec43d6} +0 -0
  136. data/spec/internal/tmp/cache/assets/test/sprockets/768bbdcc8e354a1bbcf0e63e2a212d6f +0 -0
  137. data/spec/internal/tmp/cache/assets/test/sprockets/{76e213ff5da12faa448078def3d32db5 → 7691ad52900c25ed72650e30fa69da40} +0 -0
  138. data/spec/internal/tmp/cache/assets/test/sprockets/76f185e50dc9582c5fe5388277a12aae +0 -0
  139. data/spec/internal/tmp/cache/assets/test/sprockets/{6571b577767caea14c3b89201d0643a2 → 779b0e2846941974ab9d37aed3e82f66} +0 -0
  140. data/spec/internal/tmp/cache/assets/test/sprockets/78aa8d2f8b4b32f2d8352b27f16e5a6d +0 -0
  141. data/spec/internal/tmp/cache/assets/test/sprockets/79c95ec4ce597e8c268eb4e55ce960a3 +0 -0
  142. data/spec/internal/tmp/cache/assets/test/sprockets/7e44fc41538ceda70b1952f28f17c5a6 +0 -0
  143. data/spec/internal/tmp/cache/assets/test/sprockets/{5e2716f68ca78a5c0c83b157db90fc0d → 84ca8250aee169081388cbbe348268de} +0 -0
  144. data/spec/internal/tmp/cache/assets/test/sprockets/{d3638dad50702ecfe0e1b3bc8e07afc4 → 853b2f368a2c4973286806fcd375480e} +0 -0
  145. data/spec/internal/tmp/cache/assets/test/sprockets/{01a8e4b866eb7fc8ea5ed3941f1b1877 → 8baaf468e247b95272ac5a58b1d18bf3} +0 -0
  146. data/spec/internal/tmp/cache/assets/test/sprockets/8eb0b66afe222eef72906ed99c489405 +0 -0
  147. data/spec/internal/tmp/cache/assets/test/sprockets/{700c635c138594de7ac50ad4b0420a0f → 9113ed88bdbe670a568843ad98778633} +0 -0
  148. data/spec/internal/tmp/cache/assets/test/sprockets/{fa32e1bd0e55873cd424ac5e7ce5c5ac → 91acae5740aff92d4f379b23bf9bcab3} +0 -0
  149. data/spec/internal/tmp/cache/assets/test/sprockets/{896416332cf9f3e34262e6241b8237ef → 9714c97dd139033078039ee4c7d8416c} +0 -0
  150. data/spec/internal/tmp/cache/assets/test/sprockets/{c1aa6b16696817c61530071b80c0cd43 → 99e4f0b441ceaadfafb8bd1b0c49c235} +0 -0
  151. data/spec/internal/tmp/cache/assets/test/sprockets/{0a032a3ea9ed2f90e27e350839fcc8dc → 9b2867e6340be499c5da5ac649734fc9} +0 -0
  152. data/spec/internal/tmp/cache/assets/test/sprockets/9bb5131aee5728f7aba9b1cc6bf282ff +0 -0
  153. data/spec/internal/tmp/cache/assets/test/sprockets/{bad56ba50db6ed97894b003103289ffe → 9cfefa36ca53651965a6744a8cfd3790} +0 -0
  154. data/spec/internal/tmp/cache/assets/test/sprockets/9e337c50d9bec7b0ab5de46f1e8b8861 +0 -0
  155. data/spec/internal/tmp/cache/assets/test/sprockets/{26ad3186c36f3514d1028fb00180ed9c → 9fe0492975b045843ea96b7795b29e46} +0 -0
  156. data/spec/internal/tmp/cache/assets/test/sprockets/a16ef7e5ad44d70ff0441218c2afb478 +0 -0
  157. data/spec/internal/tmp/cache/assets/test/sprockets/{ebb6acb80a5274f63d3ac5fd8df530b1 → a1b53459d163ed17c56b81d16e0cff6b} +0 -0
  158. data/spec/internal/tmp/cache/assets/test/sprockets/{4ed642ba978ceb9502349fa8e6676440 → a228e19d34c2b28ef9d62714f6e31b7b} +0 -0
  159. data/spec/internal/tmp/cache/assets/test/sprockets/{25f2c3cb96afc04742cb792a8adf703a → a5311af412c7fdc5606d5fdd475e138f} +0 -0
  160. data/spec/internal/tmp/cache/assets/test/sprockets/a9ebc57168e82fb65c66554393888c74 +0 -0
  161. data/spec/internal/tmp/cache/assets/test/sprockets/{1fa01b5b6a31a3380b9f7926508624cb → ab876fbdbbdaf3af08e5cf790e4461e6} +0 -0
  162. data/spec/internal/tmp/cache/assets/test/sprockets/{e29bc5278f7e0bed414f714583faceee → acea9f7bdedd38eadfc072a5a947c3d1} +0 -0
  163. data/spec/internal/tmp/cache/assets/test/sprockets/{23643a6f2a1f5c182681eca82a12b3b5 → b1a49e2c17e3d2037775d0ed4777e895} +0 -0
  164. data/spec/internal/tmp/cache/assets/test/sprockets/{d6ba30bdd7d4b6d5205c150734acf5fa → b39dacce1d6fb66595821841136514df} +0 -0
  165. data/spec/internal/tmp/cache/assets/test/sprockets/{e5be380a9dba4e6deae7a8511e4d7c13 → b5687cfa855eadd75359221166d206c7} +0 -0
  166. data/spec/internal/tmp/cache/assets/test/sprockets/{b832658770b677e87a9d095ed3a87c47 → b66a480360700d5419fab23895e55698} +0 -0
  167. data/spec/internal/tmp/cache/assets/test/sprockets/{e461582472217950b63ee3247041e99c → b77accf930c5cfdefa09415db46a0997} +0 -0
  168. data/spec/internal/tmp/cache/assets/test/sprockets/b8c779615ad3a4b11760b90e00262c96 +0 -0
  169. data/spec/internal/tmp/cache/assets/test/sprockets/{f5827ca48c75eb2925e0ae71f4545190 → b95325993e084e4a5d640fbbd6270aff} +0 -0
  170. data/spec/internal/tmp/cache/assets/test/sprockets/{1e397e58ea65aa807232e81ba0646007 → c11d5785613d64c239c6d9981bf9ccdf} +0 -0
  171. data/spec/internal/tmp/cache/assets/test/sprockets/c60dc356d7454b8af63e0e11e2435550 +0 -0
  172. data/spec/internal/tmp/cache/assets/test/sprockets/{016db564806ffd72c90385066f2d1526 → c84c8d56e0d697d8ece4a6c39610f8ef} +0 -0
  173. data/spec/internal/tmp/cache/assets/test/sprockets/{aaa6c30950f43b707d50ee44229c1d0f → c8ed10defc42383b4c7ef706ecf23e7f} +0 -0
  174. data/spec/internal/tmp/cache/assets/test/sprockets/c997a01fed1698403b56760032ec4085 +0 -0
  175. data/spec/internal/tmp/cache/assets/test/sprockets/{81670753eb8197bb1b9ca4d5a66a6fc5 → ca459457e0da5daa1aec8fadffb6cf73} +0 -0
  176. data/spec/internal/tmp/cache/assets/test/sprockets/cbd579cbb17ae990f9b491d35f203a6c +0 -0
  177. data/spec/internal/tmp/cache/assets/test/sprockets/cc176d08b0c4f1936ed023524ea20aab +0 -0
  178. data/spec/internal/tmp/cache/assets/test/sprockets/{7e0d7eb383740100156a527b9e26d659 → ce9045d96fc307bc02fb04187d0805b0} +0 -0
  179. data/spec/internal/tmp/cache/assets/test/sprockets/{90d6924223f69e10833fa8ef351e35ab → cfd4e5c79e063f5c2747f2bc192cea42} +0 -0
  180. data/spec/internal/tmp/cache/assets/test/sprockets/{6503f1ef9797aafce9339deb9200cfca → d07794568237756f549fea4d26db8720} +0 -0
  181. data/spec/internal/tmp/cache/assets/test/sprockets/{b9d76e389aeda53d2f9cc256f75e303b → d13f0ae183f39fc97ae36ad013ccc085} +0 -0
  182. data/spec/internal/tmp/cache/assets/test/sprockets/{df8f0d31d3b82184ed7ded27b99b8ad4 → d1897f99c874381e3152f55c182b9308} +0 -0
  183. data/spec/internal/tmp/cache/assets/test/sprockets/{ad5315bf4cd3b8c4d38f662ef41c44d0 → d2a480d6e06715d111d3f0f3c61a38ba} +0 -0
  184. data/spec/internal/tmp/cache/assets/test/sprockets/{3f744831928042565f7903a46a39791c → d421d37c24fb7a0fa91b3748d66913a3} +0 -0
  185. data/spec/internal/tmp/cache/assets/test/sprockets/{ebf2e1ad04f201369fb43454efc7bbd7 → d651ffc49bbb91af5c15d14003edf2d3} +0 -0
  186. data/spec/internal/tmp/cache/assets/test/sprockets/{2f2c37a813522cd1889d2ebdfb2d2a66 → d7765ab38bf0fd08061ffacceae585ba} +0 -0
  187. data/spec/internal/tmp/cache/assets/test/sprockets/{70de8c6638b3ad61a4125dfb42e41f5b → dd416171cc33654eef1fbb9737288f34} +0 -0
  188. data/spec/internal/tmp/cache/assets/test/sprockets/def64bf87533a1a9ebb65ab0ddf7d996 +0 -0
  189. data/spec/internal/tmp/cache/assets/test/sprockets/{ea8cf9239f191c63624cef6a3b6d2fbe → df65c3b6f2b751d98408372b329a19c3} +0 -0
  190. data/spec/internal/tmp/cache/assets/test/sprockets/df91dda15e5db8b5946532b0dafd7fcf +0 -0
  191. data/spec/internal/tmp/cache/assets/test/sprockets/e2697875bc44ff223ed8152b5543201a +0 -0
  192. data/spec/internal/tmp/cache/assets/test/sprockets/{04effed13eef407140fbe39b6efae4b2 → ea59333a2e2324235bd85adc92e6daa8} +0 -0
  193. data/spec/internal/tmp/cache/assets/test/sprockets/{f6d577e76daa020d3df860c5dc7f8f61 → edff935ab4e4a246a9bb4056d7ae1f88} +0 -0
  194. data/spec/internal/tmp/cache/assets/test/sprockets/{bdfb9045b2f813ac4397c5cf0487f840 → ee5a5310e85b76f3d804195b5fe8845c} +0 -0
  195. data/spec/internal/tmp/cache/assets/test/sprockets/{3f1c054c86b6510099f8e6c5dfe7ff3a → f137bd14ec504e46694a52682f75cab0} +0 -0
  196. data/spec/internal/tmp/cache/assets/test/sprockets/f263e083d4b560cfb6462edaa4ef3702 +0 -0
  197. data/spec/internal/tmp/cache/assets/test/sprockets/f69ff30db6664173be0fde2043ee5a0f +0 -0
  198. data/spec/spec_helper.rb +2 -0
  199. data/spec/support/authentication_helper.rb +1 -1
  200. metadata +363 -570
  201. data/spec/internal/tmp/cache/assets/test/sass/20f5650af539e2cc0c7216330842920da53e851d/datepicker.css.scssc +0 -0
  202. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_alerts.scssc +0 -0
  203. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_breadcrumbs.scssc +0 -0
  204. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_code.scssc +0 -0
  205. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_component-animations.scssc +0 -0
  206. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_dropdowns.scssc +0 -0
  207. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_layouts.scssc +0 -0
  208. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_mixins.scssc +0 -0
  209. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_modals.scssc +0 -0
  210. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_navbar.scssc +0 -0
  211. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_navs.scssc +0 -0
  212. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_pager.scssc +0 -0
  213. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_scaffolding.scssc +0 -0
  214. data/spec/internal/tmp/cache/assets/test/sass/4867dc0a3f589a0a2c9635bfeae1ddc8691d74a0/_variables.scssc +0 -0
  215. data/spec/internal/tmp/cache/assets/test/sass/56c521c2866fc194cbbf1ead1ad9e7d727f5e7b3/select2.css.scssc +0 -0
  216. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_button-groups.scssc +0 -0
  217. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_dropdowns.scssc +0 -0
  218. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_labels-badges.scssc +0 -0
  219. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_navs.scssc +0 -0
  220. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_pagination.scssc +0 -0
  221. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_reset.scssc +0 -0
  222. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_sprites.scssc +0 -0
  223. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_tables.scssc +0 -0
  224. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_type.scssc +0 -0
  225. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_utilities.scssc +0 -0
  226. data/spec/internal/tmp/cache/assets/test/sass/cee3b45c60038923cb15e74edf0b508296df0b89/_wells.scssc +0 -0
  227. data/spec/internal/tmp/cache/assets/test/sass/db455d3ae1e484fbc281e7097adf4ecb850d7d10/_buttons.scssc +0 -0
  228. data/spec/internal/tmp/cache/assets/test/sass/db455d3ae1e484fbc281e7097adf4ecb850d7d10/_close.scssc +0 -0
  229. data/spec/internal/tmp/cache/assets/test/sass/db455d3ae1e484fbc281e7097adf4ecb850d7d10/_forms.scssc +0 -0
  230. data/spec/internal/tmp/cache/assets/test/sass/db455d3ae1e484fbc281e7097adf4ecb850d7d10/_grid.scssc +0 -0
  231. data/spec/internal/tmp/cache/assets/test/sass/db455d3ae1e484fbc281e7097adf4ecb850d7d10/_mixins.scssc +0 -0
  232. data/spec/internal/tmp/cache/assets/test/sass/e1eb86f6478445881765984079761fb4af85ab4e/select2.css.scssc +0 -0
  233. data/spec/internal/tmp/cache/assets/test/sass/ea24470654f74c1fe92aa45b2fae66b2a464a390/_edit.css.scssc +0 -0
  234. data/spec/internal/tmp/cache/assets/test/sass/ea24470654f74c1fe92aa45b2fae66b2a464a390/_forms.css.scssc +0 -0
  235. data/spec/internal/tmp/cache/assets/test/sass/ea24470654f74c1fe92aa45b2fae66b2a464a390/outpost.css.scssc +0 -0
  236. data/spec/internal/tmp/cache/assets/test/sass/ea24470654f74c1fe92aa45b2fae66b2a464a390/select2.css.scssc +0 -0
  237. data/spec/internal/tmp/cache/assets/test/sprockets/00154e1fc60e5765eb3704d402af06d1 +0 -0
  238. data/spec/internal/tmp/cache/assets/test/sprockets/0122e4f8c5576de5137307df7d6163a0 +0 -0
  239. data/spec/internal/tmp/cache/assets/test/sprockets/0185dbaba82d3fbc0fd9d2383dc7338d +0 -0
  240. data/spec/internal/tmp/cache/assets/test/sprockets/02713d4140ec033db3e897e7597c2096 +0 -0
  241. data/spec/internal/tmp/cache/assets/test/sprockets/0377ae38f0ab4fa7131b364012d9a4fa +0 -0
  242. data/spec/internal/tmp/cache/assets/test/sprockets/086d226e30e05ea260b6d01a4fbd8a29 +0 -0
  243. data/spec/internal/tmp/cache/assets/test/sprockets/0e69140d2c49ad3bd2a53e1a61ca911f +0 -0
  244. data/spec/internal/tmp/cache/assets/test/sprockets/15a87828df71925cca15a55b77afcf64 +0 -0
  245. data/spec/internal/tmp/cache/assets/test/sprockets/19b0f301c27628308ff1f81a322fcaa9 +0 -0
  246. data/spec/internal/tmp/cache/assets/test/sprockets/1b718773e74da99a05a30cc200c74d2b +0 -0
  247. data/spec/internal/tmp/cache/assets/test/sprockets/1d2a3ed3a5ee7d864dccd4feb0298858 +0 -0
  248. data/spec/internal/tmp/cache/assets/test/sprockets/1e85a069dc1fa2fd3a325dd73115819a +0 -0
  249. data/spec/internal/tmp/cache/assets/test/sprockets/21f2bd9f5281712ad2d8c772fd407505 +0 -0
  250. data/spec/internal/tmp/cache/assets/test/sprockets/235664cdcf9cd81bf6a89a09e1e5711a +0 -0
  251. data/spec/internal/tmp/cache/assets/test/sprockets/271f465e2ee560eee64005efa04346de +0 -0
  252. data/spec/internal/tmp/cache/assets/test/sprockets/29a5c683744eb88ed1292f59cd6063c9 +0 -0
  253. data/spec/internal/tmp/cache/assets/test/sprockets/2bb02e7009e6fec07e0ed0d01a1cf997 +0 -0
  254. data/spec/internal/tmp/cache/assets/test/sprockets/2cb954dcae3aa6f587625543070feb84 +0 -0
  255. data/spec/internal/tmp/cache/assets/test/sprockets/316c469209d39a7bdac5c11828cf8d74 +0 -0
  256. data/spec/internal/tmp/cache/assets/test/sprockets/31be2b6ebd86190dc1ec80ce5f0833c5 +0 -0
  257. data/spec/internal/tmp/cache/assets/test/sprockets/3e5a01607dc58566739854e9f3ce5024 +0 -0
  258. data/spec/internal/tmp/cache/assets/test/sprockets/3fadb5164d4b3caf81ef217fcde0d142 +0 -0
  259. data/spec/internal/tmp/cache/assets/test/sprockets/450ba61c4dc9c4cfa9f7efa5c9bba83d +0 -0
  260. data/spec/internal/tmp/cache/assets/test/sprockets/4543f412f8a876cd357e5888a4453e5d +0 -0
  261. data/spec/internal/tmp/cache/assets/test/sprockets/4a0eb5dbdb969be5257139300ae901a9 +0 -0
  262. data/spec/internal/tmp/cache/assets/test/sprockets/4ad30c03a35f4b46291c9c6331c43567 +0 -0
  263. data/spec/internal/tmp/cache/assets/test/sprockets/4c55f0b46f9bfc697010c07487d932e1 +0 -0
  264. data/spec/internal/tmp/cache/assets/test/sprockets/4d779cbf3db6f14b3e022a5e5758d72d +0 -0
  265. data/spec/internal/tmp/cache/assets/test/sprockets/50ae0bcf805250caf4ae4c4e01deebc9 +0 -0
  266. data/spec/internal/tmp/cache/assets/test/sprockets/53fc0263b1ce55a46ed55c461a2a8696 +0 -0
  267. data/spec/internal/tmp/cache/assets/test/sprockets/53fee1ff706022963c15ff24d5c53b54 +0 -0
  268. data/spec/internal/tmp/cache/assets/test/sprockets/54746a8bf1cdccbce2a3cfb4af05aef8 +0 -0
  269. data/spec/internal/tmp/cache/assets/test/sprockets/595ad1f5b58343141474f9211039df61 +0 -0
  270. data/spec/internal/tmp/cache/assets/test/sprockets/5d1e25ab219593639db982c901882c0f +0 -0
  271. data/spec/internal/tmp/cache/assets/test/sprockets/5d676e2352411dd3f05c6cee14727d1c +0 -0
  272. data/spec/internal/tmp/cache/assets/test/sprockets/5e3f572f31041a301e0891c10f04604c +0 -0
  273. data/spec/internal/tmp/cache/assets/test/sprockets/620148b9ab753da9e8644581b619731b +0 -0
  274. data/spec/internal/tmp/cache/assets/test/sprockets/6471408d963e9165f8831b4bab80edd9 +0 -0
  275. data/spec/internal/tmp/cache/assets/test/sprockets/6519463c3d8d8a34d743ef38eff5df45 +0 -0
  276. data/spec/internal/tmp/cache/assets/test/sprockets/656b07036edb74305c343f41eba55695 +0 -0
  277. data/spec/internal/tmp/cache/assets/test/sprockets/67a11a42996d51802481c92dc09c83fa +0 -0
  278. data/spec/internal/tmp/cache/assets/test/sprockets/6873baccb9ed57b839e83cfb93738955 +0 -0
  279. data/spec/internal/tmp/cache/assets/test/sprockets/6c3df81c5fb88b555bafde4f54db7db2 +0 -0
  280. data/spec/internal/tmp/cache/assets/test/sprockets/6c62bea96eebf0f05624a859e8666f9a +0 -0
  281. data/spec/internal/tmp/cache/assets/test/sprockets/6cecd8ec655b80ac006bbec236b4263b +0 -0
  282. data/spec/internal/tmp/cache/assets/test/sprockets/72a7339f697b2dcde9bd4835eaa42642 +0 -0
  283. data/spec/internal/tmp/cache/assets/test/sprockets/756eb63f1239c0a7a3d85253ddb5ca0d +0 -0
  284. data/spec/internal/tmp/cache/assets/test/sprockets/76e3360cc08985753a1273cd40c3084a +0 -0
  285. data/spec/internal/tmp/cache/assets/test/sprockets/78f9aaf7b4a1253db9bdb2f2301a9b7d +0 -0
  286. data/spec/internal/tmp/cache/assets/test/sprockets/7ba5aaf62125e0b56d9e46603f5f8601 +0 -0
  287. data/spec/internal/tmp/cache/assets/test/sprockets/7e297a13578eea5ae51d5abb3be9df18 +0 -0
  288. data/spec/internal/tmp/cache/assets/test/sprockets/8b99288467087dc247c025d41444f377 +0 -0
  289. data/spec/internal/tmp/cache/assets/test/sprockets/8c123b8d3cc73220c5b69f99d2168389 +0 -0
  290. data/spec/internal/tmp/cache/assets/test/sprockets/8c5dcc180f78ee4957d754df726e2248 +0 -0
  291. data/spec/internal/tmp/cache/assets/test/sprockets/8e6315300501d34a896b82c0c0ceb70c +0 -0
  292. data/spec/internal/tmp/cache/assets/test/sprockets/9117ec941398c9b1340aa0b170ab2dc7 +0 -0
  293. data/spec/internal/tmp/cache/assets/test/sprockets/91d56ecde1551ea73ef462a44b77f650 +0 -0
  294. data/spec/internal/tmp/cache/assets/test/sprockets/9788c645f0c65ea7466be1dc13f64eea +0 -0
  295. data/spec/internal/tmp/cache/assets/test/sprockets/9b08bbf9ae722116682b8e22cb38c2ec +0 -0
  296. data/spec/internal/tmp/cache/assets/test/sprockets/9bc5469fea2a4926d4744c370bae613a +0 -0
  297. data/spec/internal/tmp/cache/assets/test/sprockets/9c1b3e8d4f1bab87ed819b82da42f535 +0 -0
  298. data/spec/internal/tmp/cache/assets/test/sprockets/9cf76f5ce68332b0f67c2f3b896a3475 +0 -0
  299. data/spec/internal/tmp/cache/assets/test/sprockets/9d484a2e742210fa6bc8be543c6331b9 +0 -0
  300. data/spec/internal/tmp/cache/assets/test/sprockets/a1e23f12c8163631dc3a2a98efd393a1 +0 -0
  301. data/spec/internal/tmp/cache/assets/test/sprockets/a2668b2b36e10c17a0a37e15af1adf92 +0 -0
  302. data/spec/internal/tmp/cache/assets/test/sprockets/acb56c1b241b90a3a8694a04d7724e7d +0 -0
  303. data/spec/internal/tmp/cache/assets/test/sprockets/b1a78635932522eb99a619b6e190b898 +0 -0
  304. data/spec/internal/tmp/cache/assets/test/sprockets/b236b354a0e5045c17b85a70f66e612d +0 -0
  305. data/spec/internal/tmp/cache/assets/test/sprockets/b2a3274db2081478a289f8eeee8370c7 +0 -0
  306. data/spec/internal/tmp/cache/assets/test/sprockets/b4c4d53c35d932c2b28bcefa990ec7fc +0 -0
  307. data/spec/internal/tmp/cache/assets/test/sprockets/b6f987547de2c90ebc0413d3263b87e8 +0 -0
  308. data/spec/internal/tmp/cache/assets/test/sprockets/bb4e55b9b1a8a3bb8a8f0a10d4c6b074 +0 -0
  309. data/spec/internal/tmp/cache/assets/test/sprockets/bf20d01df22f01e0fd66116d0ce58969 +0 -0
  310. data/spec/internal/tmp/cache/assets/test/sprockets/bf6fcb4c8c96d5406899b48c688e17a2 +0 -0
  311. data/spec/internal/tmp/cache/assets/test/sprockets/c1195a7d9d0e930545cda22ad40b0a9c +0 -0
  312. data/spec/internal/tmp/cache/assets/test/sprockets/c13a23e52c9d1956c61fb8540bfff8ef +0 -0
  313. data/spec/internal/tmp/cache/assets/test/sprockets/c3954ed4f5e4dced91ee1240e4f90a05 +0 -0
  314. data/spec/internal/tmp/cache/assets/test/sprockets/c698133fe56541139a2f0d883ca07936 +0 -0
  315. data/spec/internal/tmp/cache/assets/test/sprockets/c7fcb613d0a346398fdf7a3a6ee722a1 +0 -0
  316. data/spec/internal/tmp/cache/assets/test/sprockets/c811799e9db5c939aab1e8e394df3b64 +0 -0
  317. data/spec/internal/tmp/cache/assets/test/sprockets/c9a027b847d199e99825ea85000303cf +0 -0
  318. data/spec/internal/tmp/cache/assets/test/sprockets/c9f12fd289b0f7e670ede1eeb8d3c24c +0 -0
  319. data/spec/internal/tmp/cache/assets/test/sprockets/c9f83bead35bd9bb5c671e327174c526 +0 -0
  320. data/spec/internal/tmp/cache/assets/test/sprockets/cb6a30f2c5219f77229df845e426ea71 +0 -0
  321. data/spec/internal/tmp/cache/assets/test/sprockets/cbf827028b6168652324eb60180e21bd +0 -0
  322. data/spec/internal/tmp/cache/assets/test/sprockets/cc6766435593a06fcc9193244ea952a0 +0 -0
  323. data/spec/internal/tmp/cache/assets/test/sprockets/ccf22a7e27ed81a71d47f42a7cdb8e0e +0 -0
  324. data/spec/internal/tmp/cache/assets/test/sprockets/cd7d618755faec87f9c5cf47c6ae3365 +0 -0
  325. data/spec/internal/tmp/cache/assets/test/sprockets/cded6947b5642cfe05ffecc7a33ba54f +0 -0
  326. data/spec/internal/tmp/cache/assets/test/sprockets/d5693a0bc9ebc317ed346946e8fe94ba +0 -0
  327. data/spec/internal/tmp/cache/assets/test/sprockets/d5c56cd3863549bedac1c7b3f28ae1d7 +0 -0
  328. data/spec/internal/tmp/cache/assets/test/sprockets/dd47254dcdc30cdbffbe6c32c57032fe +0 -0
  329. data/spec/internal/tmp/cache/assets/test/sprockets/ded9d8a2db25b4ab7f6d4f297208ded2 +0 -0
  330. data/spec/internal/tmp/cache/assets/test/sprockets/e80c7be4df818b60928137fb7c450a43 +0 -0
  331. data/spec/internal/tmp/cache/assets/test/sprockets/e8edf2c8d66f7e31710f9aa5068d1155 +0 -0
  332. data/spec/internal/tmp/cache/assets/test/sprockets/ec197b57d7a6b4163dac32744e3fa5b0 +0 -0
  333. data/spec/internal/tmp/cache/assets/test/sprockets/edb76e2e1ee82dc916a1086ca2d71de9 +0 -0
  334. data/spec/internal/tmp/cache/assets/test/sprockets/edc87d0b81267faccd7c5ada85675f9b +0 -0
  335. data/spec/internal/tmp/cache/assets/test/sprockets/ef4e09f768bb9330652eaa198bbd2c61 +0 -0
  336. data/spec/internal/tmp/cache/assets/test/sprockets/ef64bea489660cf5e30a6feb53bf3a5d +0 -0
  337. data/spec/internal/tmp/cache/assets/test/sprockets/f1b8af27ca9833a0ac2a5e10763efaa2 +0 -0
  338. data/spec/internal/tmp/cache/assets/test/sprockets/f60d687ea69fe491a8686efe8d6b3022 +0 -0
  339. data/spec/internal/tmp/cache/assets/test/sprockets/f66a526c31371958b5cd65928dd07d7f +0 -0
  340. data/spec/internal/tmp/cache/assets/test/sprockets/f71d6134d0f24cb1de62de79100e19ee +0 -0
  341. data/spec/internal/tmp/cache/assets/test/sprockets/f7ace754f231b5ad97520f631ea60e01 +0 -0
  342. data/spec/internal/tmp/cache/assets/test/sprockets/f8f8cc64c68687e8c827d78d42ed93a4 +0 -0
  343. data/spec/internal/tmp/cache/assets/test/sprockets/fa2eaf4b4fc72c8cb321c6f9c022a55f +0 -0
  344. data/spec/internal/tmp/cache/assets/test/sprockets/fa9f906d3d676d23eac6d15f90f77876 +0 -0
  345. data/spec/internal/tmp/cache/assets/test/sprockets/ff2e40602b14836c882af817459fa90e +0 -0
  346. data/spec/internal/tmp/capybara/capybara-201308160115352034044402.html +0 -51
  347. data/spec/internal/tmp/capybara/capybara-201308160118107572662369.html +0 -140
  348. data/spec/internal/tmp/capybara/capybara-201308160124322422773822.html +0 -140
  349. data/spec/internal/tmp/capybara/capybara-201308160216057700618069.html +0 -71
  350. data/spec/internal/tmp/capybara/capybara-201308160227299029704750.html +0 -51
  351. data/spec/internal/tmp/capybara/capybara-201308160227517375148134.html +0 -51
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c9cd74072ad0fa1a8984e87e473b45a7279eb8d
4
- data.tar.gz: e5f9937a7b34e095fc055ea4a49225e0ada5a7f3
3
+ metadata.gz: 7ce97adc9d0450c98c8798c59f0c11de677a0d36
4
+ data.tar.gz: 736e9d336fdf5bfbdec6dd19c165e82092c406da
5
5
  SHA512:
6
- metadata.gz: 477424d6cc1b69199e68b204e7834823a8ca8723be2d258b3b0b5c989416a550bb8771d1a6d044a068c0a02e2d09bd43e5b67fe5923df512856dad672947e4a8
7
- data.tar.gz: 2d1a39fd30466b412fd26843e5e27e30d74afc43d78bb6cd0466d5628b30a6445f784357dda649e462638dc7583eb0252b4e59c2c9a9b0d3d0ae17046b153c61
6
+ metadata.gz: 425816b1d2cf23091744e7be3349b5dcf0849dcf072321d6cef62599f6da6bf9119c39b6174f5424fdc1b2c60ef75f962a744f8d0d0b2fb4439009a0ee27c6ba
7
+ data.tar.gz: 8877ae325754f8c33c877fcc63b5f53ebd2e2cc4665e91c9e1be3d1c3ad08a0cd0d5d9f6d2111ce58dcbb2cd85c76e4e579ba882e6181a8bdb6d787f2bb442b1
data/README.md CHANGED
@@ -65,15 +65,7 @@ end
65
65
 
66
66
  ### Authentication
67
67
  Much like Devise, Outpost provides a basic `SessionsController` and
68
- corresponding views. To use these, just add them to your routes:
69
-
70
- ```ruby
71
- namespace :outpost do
72
- resources :sessions, only: [:create, :destroy]
73
- get 'login' => "sessions#new", as: :login
74
- get 'logout' => "sessions#destroy", as: :logout
75
- end
76
- ```
68
+ corresponding views. Their routes are part of the `Outpost::Engine` routes.
77
69
 
78
70
  Outpost also provides the `Outpost::Model::Authentication` module,
79
71
  which you should include into your User model to work with the provided
@@ -108,20 +100,29 @@ end
108
100
 
109
101
  ##### Routes
110
102
 
111
- Note that this gem doesn't provide any routes for you. It is expected that you'll want to use the path globbing to render Outpost-style 404's inside of Outpost (rather than your application's 404 page), so it gets too messy and complicated to try to combine your routes with path globbing.
112
-
113
- You'll want to put this at the bottom of your `outpost` namespace in your routes:
103
+ Mount Outpost's routes outside of your `outpost` namespace. Your custom-defined namespace will be mostly for defining resources. You can also add a catch-all route (see example) at the very bottom of the namespace to use outpost-specific 404 pages. If you don't add this line, then 404 pages in the `/outpost` namespace will render your app's normal 404 page.
114
104
 
115
105
  ```ruby
116
- root to: 'home#dashboard'
106
+ Rails.application.routes.draw do
107
+ # ...
108
+
109
+ mount Outpost::Engine, at: "outpost"
117
110
 
118
- resources :sessions, only: [:create, :destroy]
119
- get 'login' => "sessions#new", as: :login
120
- get 'logout' => "sessions#destroy", as: :logout
111
+ namespace :outpost do
112
+ resources :posts
121
113
 
122
- get "*path" => 'errors#not_found'
114
+ # Add outpost-specific 404 pages.
115
+ # This must be at the very bottom of the namespace.
116
+ get "*path" => 'errors#not_found'
117
+ end
118
+ end
123
119
  ```
124
120
 
121
+ This mount provides a few routes:
122
+ * `outpost.root_path` - The path to the dashboard.
123
+ * `outpost.login_path` - Login
124
+ * `outpost.logout_path` - Logout
125
+
125
126
 
126
127
  ### Authorization
127
128
  Outpost comes with a built-in `Permission` model, whose only attribute is
@@ -152,7 +153,7 @@ method:
152
153
 
153
154
  ```ruby
154
155
  if !current_user.can_manage?(Post)
155
- redirect_to outpost_root_path, alert: "Not Authorized"
156
+ redirect_to outpost.root_path, alert: "Not Authorized"
156
157
  end
157
158
  ```
158
159
 
@@ -10,10 +10,22 @@ module Outpost
10
10
  before_filter :root_breadcrumb
11
11
  before_filter :set_sections
12
12
 
13
+
14
+ private
15
+
16
+ #----------------------
17
+ # This method was originally introduced to get around
18
+ # a kaminari bug: https://github.com/amatsuda/kaminari/issues/457
19
+ # But it could stick around and be useful anyways.
20
+ def route_proxy
21
+ nil
22
+ end
23
+ helper_method :route_proxy
24
+
13
25
  #------------------------
14
26
  # Always want to add this link to the Breadcrumbs
15
27
  def root_breadcrumb
16
- breadcrumb "Outpost", outpost_root_path
28
+ breadcrumb "Outpost", outpost.root_path
17
29
  end
18
30
 
19
31
  #----------------------
@@ -22,8 +34,6 @@ module Outpost
22
34
  @sections = {}
23
35
  end
24
36
 
25
- #----------------------
26
-
27
37
  def with_rollback(object)
28
38
  object.transaction do
29
39
  yield if block_given?
@@ -1,3 +1,2 @@
1
1
  class Outpost::BaseController < Outpost::ApplicationController
2
- include Outpost::Controller::CustomErrors
3
2
  end
@@ -1,2 +1,5 @@
1
1
  class Outpost::HomeController < Outpost::BaseController
2
+ def dashboard
3
+ # Overwrite me
4
+ end
2
5
  end
@@ -6,7 +6,7 @@ module Outpost
6
6
  respond_to :html
7
7
 
8
8
  def new
9
- redirect_to outpost_root_path if current_user
9
+ redirect_to outpost.root_path if current_user
10
10
  end
11
11
 
12
12
  def create
@@ -16,7 +16,7 @@ module Outpost
16
16
  session[:user_id] = user.id
17
17
  user.update_column(:last_login, Time.now)
18
18
 
19
- redirect_to session[:return_to] || outpost_root_path,
19
+ redirect_to session[:return_to] || outpost.root_path,
20
20
  notice: "Logged in."
21
21
 
22
22
  session[:return_to] = nil
@@ -29,7 +29,7 @@ module Outpost
29
29
  def destroy
30
30
  @current_user = nil
31
31
  session[:user_id] = nil
32
- redirect_to outpost_login_path, notice: "Logged Out."
32
+ redirect_to outpost.login_path, notice: "Logged Out."
33
33
  end
34
34
 
35
35
  private
@@ -1,6 +1,4 @@
1
1
  class Permission < ActiveRecord::Base
2
- outpost_model
3
-
4
2
  #-------------------
5
3
  # Association
6
4
  has_many :user_permissions
@@ -14,7 +14,7 @@
14
14
  <div class="navbar navbar-fixed-top navbar-inverse">
15
15
  <div class="navbar-inner">
16
16
  <div class="container">
17
- <a href="<%=outpost_root_path%>" class="brand"><%= image_tag "outpost/logo.png" %></a>
17
+ <a href="<%=outpost.root_path%>" class="brand"><%= image_tag "outpost/logo.png" %></a>
18
18
 
19
19
  <% if current_user %>
20
20
  <ul class="nav">
@@ -57,13 +57,13 @@
57
57
  <li class="dropdown">
58
58
  <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class='icon-user icon-white'></i> <%= current_user.name %> <b class="caret"></b></a>
59
59
  <ul class="dropdown-menu">
60
- <li><%= link_to "Logout", outpost_logout_path, id: "logout" %></li>
60
+ <li><%= link_to "Logout", outpost.logout_path, id: "logout" %></li>
61
61
  </ul>
62
62
  </li>
63
63
  </ul>
64
64
  <% else %>
65
65
  <ul class="nav pull-right">
66
- <li><%= link_to "Login", outpost_login_path %></li>
66
+ <li><%= link_to "Login", outpost.login_path %></li>
67
67
  </ul>
68
68
  <% end %>
69
69
  </div>
@@ -13,7 +13,7 @@
13
13
  <div class="navbar navbar-fixed-top navbar-inverse">
14
14
  <div class="navbar-inner">
15
15
  <div class="container-fluid">
16
- <a href="<%=outpost_root_path%>" class="brand">Outpost</a>
16
+ <a href="<%=outpost.root_path%>" class="brand">Outpost</a>
17
17
  </div>
18
18
  </div>
19
19
  </div>
@@ -1,6 +1,6 @@
1
1
  <% add_to_page_title "Login" %>
2
2
 
3
- <%= form_tag outpost_sessions_path, id: "login" do %>
3
+ <%= form_tag outpost.sessions_path, id: "login" do %>
4
4
  <fieldset>
5
5
  <legend>Login</legend>
6
6
  <%= label_tag @authentication_attribute %>
@@ -1,2 +1,2 @@
1
- <%= paginate records, theme: 'bootstrap', window: 3, left: 1, right: 2 %>
1
+ <%= paginate records, theme: 'bootstrap', route_proxy: route_proxy, window: 3, left: 1, right: 2 %>
2
2
  <strong><%= records.size %> records on this page</strong>
@@ -0,0 +1,18 @@
1
+ # https://github.com/amatsuda/kaminari/issues/457
2
+ module Kaminari
3
+ module Helpers
4
+ class Tag
5
+ def page_url_for(page)
6
+ t = @options[:route_proxy] || @template
7
+
8
+ # master 0.15.1 changed this method from 0.15.1 release in
9
+ # 544acb4deb8dd9b9f369553b4af4d0eee788e40f
10
+ if respond_to?(:params_for)
11
+ t.url_for params_for(page).merge(:only_path => true)
12
+ else
13
+ t.url_for @params.merge(@param_name => (page <= 1 ? nil : page))
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
data/config/routes.rb CHANGED
@@ -1,4 +1,7 @@
1
- Rails.application.routes.draw do
2
- namespace :outpost do
3
- end
1
+ Outpost::Engine.routes.draw do
2
+ post 'sessions' => 'outpost/sessions#create'
3
+ get 'login' => "outpost/sessions#new", as: :login
4
+ get 'logout' => "outpost/sessions#destroy", as: :logout
5
+
6
+ root to: 'outpost/home#dashboard'
4
7
  end
@@ -27,7 +27,7 @@ module Outpost
27
27
  def require_login
28
28
  if !current_user
29
29
  session[:return_to] = request.fullpath
30
- redirect_to outpost_login_path and return false
30
+ redirect_to outpost.login_path and return false
31
31
  end
32
32
  end
33
33
  end # Authentication
@@ -19,7 +19,7 @@ module Outpost
19
19
 
20
20
  # What to do when a user doesn't have proper permissions
21
21
  def handle_unauthorized(resource)
22
- redirect_to outpost_root_path,
22
+ redirect_to outpost.root_path,
23
23
  alert: "You don't have permission to manage " \
24
24
  "#{resource.to_title.pluralize}"
25
25
  return false
@@ -22,9 +22,12 @@ module Outpost
22
22
  with: ->(e) { render_error(404, e) and return false }
23
23
  end
24
24
 
25
- #----------------------
26
25
 
27
- def render_error(status, e=StandardError)
26
+ private
27
+
28
+ # We don't want this to be considered an action method,
29
+ # so it's private
30
+ def render_error(status, e=StandardError, template_prefix="outpost/")
28
31
  response.status = status
29
32
 
30
33
  if Rails.application.config.consider_all_requests_local
@@ -33,8 +36,8 @@ module Outpost
33
36
  respond_to do |format|
34
37
  format.html do
35
38
  render(
36
- :template => "/errors/error_#{status}",
37
- :layout => "application",
39
+ :template => "#{template_prefix}errors/error_#{status}",
40
+ :layout => "#{template_prefix}application",
38
41
  :status => status,
39
42
  :locals => { error: e }
40
43
  )
@@ -1,5 +1,7 @@
1
1
  module Outpost
2
2
  class Engine < ::Rails::Engine
3
+ engine_name "outpost"
4
+
3
5
  config.generators do |g|
4
6
  g.test_framework :rspec, fixture: false
5
7
  g.fixture_replacement :factory_girl, dir: "spec/factories"
@@ -1,3 +1,3 @@
1
1
  module Outpost
2
- VERSION = "0.0.5"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -55,7 +55,7 @@ describe Outpost::PeopleController do
55
55
  end
56
56
 
57
57
  it "redirects to login path if current_user is false" do
58
- controller.response.should redirect_to outpost_login_path
58
+ controller.response.should redirect_to outpost.login_path
59
59
  end
60
60
  end
61
61
  end
@@ -1,7 +1,7 @@
1
1
  require "spec_helper"
2
2
 
3
3
  describe Outpost::SessionsController do
4
- # -------------------------
4
+ routes { Outpost::Engine.routes }
5
5
 
6
6
  describe "GET /new" do
7
7
  it "returns success and renders new template if current_user false" do
@@ -14,7 +14,7 @@ describe Outpost::SessionsController do
14
14
  it "redirects to home page if current_user if set" do
15
15
  controller.stub(:current_user) { create :user }
16
16
  get :new
17
- response.should redirect_to outpost_root_path
17
+ response.should redirect_to outpost.root_path
18
18
  end
19
19
  end
20
20
 
@@ -47,7 +47,7 @@ describe Outpost::SessionsController do
47
47
  end
48
48
 
49
49
  it "redirects to admin root" do
50
- controller.response.should redirect_to outpost_root_path
50
+ controller.response.should redirect_to outpost.root_path
51
51
  end
52
52
 
53
53
  it "sets the flash" do
@@ -71,7 +71,7 @@ describe Outpost::SessionsController do
71
71
 
72
72
  # -------------------------
73
73
 
74
- describe "DELETE /destroy" do
74
+ describe "GET /destroy" do
75
75
  let(:user) { create :user }
76
76
 
77
77
  it "unsets @current_user" do
@@ -88,7 +88,7 @@ describe Outpost::SessionsController do
88
88
 
89
89
  it "redirects to login page" do
90
90
  get :destroy
91
- controller.response.should redirect_to outpost_login_path
91
+ controller.response.should redirect_to outpost.login_path
92
92
  end
93
93
 
94
94
  it "sets the flash" do
@@ -4,7 +4,7 @@ describe 'authentication' do
4
4
  context 'not logged in' do
5
5
  it 'redirects to login path' do
6
6
  visit outpost_people_path
7
- current_path.should eq outpost_login_path
7
+ current_path.should eq outpost.login_path
8
8
  end
9
9
  end
10
10
 
@@ -15,7 +15,7 @@ describe 'authentication' do
15
15
  :password => "secret",
16
16
  :password_confirmation => "secret"
17
17
 
18
- visit outpost_login_path
18
+ visit outpost.login_path
19
19
  end
20
20
 
21
21
  context 'incorrect login information' do
@@ -24,7 +24,7 @@ describe 'authentication' do
24
24
  fill_in "password", with: "secret"
25
25
  click_button "Submit"
26
26
 
27
- current_path.should eq outpost_sessions_path
27
+ current_path.should eq outpost.sessions_path
28
28
  page.should have_css ".alert-error"
29
29
  end
30
30
  end
@@ -35,7 +35,7 @@ describe 'authentication' do
35
35
  fill_in "password", with: "secret"
36
36
  click_button "Submit"
37
37
 
38
- current_path.should eq outpost_root_path
38
+ current_path.should eq outpost.root_path
39
39
  page.should have_css ".alert-success"
40
40
  end
41
41
  end
@@ -8,7 +8,7 @@ describe 'authorization' do
8
8
 
9
9
  it 'redirects to the dashboard' do
10
10
  visit outpost_people_path
11
- current_path.should eq outpost_root_path
11
+ current_path.should eq outpost.root_path
12
12
  page.should have_css ".alert-error"
13
13
  page.should have_content "You don't have permission"
14
14
  end
@@ -2,15 +2,10 @@ Rails.application.routes.draw do
2
2
  get '/people' => 'people#index', as: :people
3
3
  get '/people/:id' => 'people#show', as: :person
4
4
 
5
+ mount Outpost::Engine, at: 'outpost'
6
+
5
7
  namespace :outpost do
6
8
  resources :people
7
-
8
- root to: 'home#dashboard'
9
-
10
- resources :sessions, only: [:create, :destroy]
11
- get 'login' => "sessions#new", as: :login
12
- get 'logout' => "sessions#destroy", as: :logout
13
-
14
9
  get "*path" => 'errors#not_found'
15
10
  end
16
11
  end