push_type_auth 0.1.0.beta3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (239) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +3 -0
  3. data/app/controllers/concerns/push_type/authentication_methods.rb +10 -0
  4. data/app/controllers/concerns/push_type/invitation_methods.rb +13 -0
  5. data/app/controllers/push_type/confirmations_controller.rb +42 -0
  6. data/app/controllers/push_type/passwords_controller.rb +5 -0
  7. data/app/controllers/push_type/sessions_controller.rb +5 -0
  8. data/app/helpers/push_type/auth_helper.rb +4 -0
  9. data/app/models/concerns/push_type/authenticatable.rb +18 -0
  10. data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
  11. data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
  12. data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
  13. data/app/views/devise/shared/_links.html.erb +25 -0
  14. data/app/views/layouts/push_type/auth.html.erb +49 -0
  15. data/app/views/push_type/confirmations/new.html.haml +14 -0
  16. data/app/views/push_type/confirmations/show.html.haml +19 -0
  17. data/app/views/push_type/passwords/edit.html.haml +19 -0
  18. data/app/views/push_type/passwords/new.html.haml +14 -0
  19. data/app/views/push_type/sessions/new.html.haml +23 -0
  20. data/app/views/push_type/users/_meta_table.html.haml +15 -0
  21. data/config/initializers/devise.rb +259 -0
  22. data/config/locales/devise.en.yml +60 -0
  23. data/config/routes.rb +9 -0
  24. data/db/migrate/20141120155629_devise_extend_push_type_users.rb +36 -0
  25. data/lib/push_type/auth/engine.rb +22 -0
  26. data/lib/push_type/auth.rb +12 -0
  27. data/lib/push_type_auth.rb +1 -0
  28. data/lib/tasks/push_type_tasks.rake +4 -0
  29. data/test/controllers/push_type/confirmations_controller_test.rb +40 -0
  30. data/test/dummy/README.rdoc +28 -0
  31. data/test/dummy/Rakefile +6 -0
  32. data/test/dummy/app/assets/javascripts/application.js +16 -0
  33. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  34. data/test/dummy/app/controllers/application_controller.rb +5 -0
  35. data/test/dummy/app/helpers/application_helper.rb +2 -0
  36. data/test/dummy/app/models/page.rb +10 -0
  37. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  38. data/test/dummy/app/views/nodes/page.html.erb +3 -0
  39. data/test/dummy/bin/bundle +3 -0
  40. data/test/dummy/bin/rails +4 -0
  41. data/test/dummy/bin/rake +4 -0
  42. data/test/dummy/config/application.rb +14 -0
  43. data/test/dummy/config/boot.rb +4 -0
  44. data/test/dummy/config/database.yml +85 -0
  45. data/test/dummy/config/environment.rb +5 -0
  46. data/test/dummy/config/environments/development.rb +37 -0
  47. data/test/dummy/config/environments/production.rb +78 -0
  48. data/test/dummy/config/environments/test.rb +39 -0
  49. data/test/dummy/config/initializers/assets.rb +8 -0
  50. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  51. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  52. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  53. data/test/dummy/config/initializers/inflections.rb +16 -0
  54. data/test/dummy/config/initializers/mime_types.rb +4 -0
  55. data/test/dummy/config/initializers/push_type.rb +5 -0
  56. data/test/dummy/config/initializers/session_store.rb +3 -0
  57. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  58. data/test/dummy/config/locales/en.yml +23 -0
  59. data/test/dummy/config/routes.rb +59 -0
  60. data/test/dummy/config/secrets.yml +22 -0
  61. data/test/dummy/config.ru +4 -0
  62. data/test/dummy/db/migrate/20141205213533_create_push_type_users.push_type.rb +13 -0
  63. data/test/dummy/db/migrate/20141205213534_create_push_type_nodes.push_type.rb +25 -0
  64. data/test/dummy/db/migrate/20141205213535_create_push_type_node_hierarchies.push_type.rb +17 -0
  65. data/test/dummy/db/migrate/20141205213536_create_push_type_assets.push_type.rb +19 -0
  66. data/test/dummy/db/migrate/20141205213537_devise_extend_push_type_users.push_type_auth.rb +37 -0
  67. data/test/dummy/db/schema.rb +82 -0
  68. data/test/dummy/db/seeds.rb +7 -0
  69. data/test/dummy/log/test.log +394 -0
  70. data/test/dummy/public/404.html +67 -0
  71. data/test/dummy/public/422.html +67 -0
  72. data/test/dummy/public/500.html +66 -0
  73. data/test/dummy/public/favicon.ico +0 -0
  74. data/test/dummy/public/robots.txt +5 -0
  75. data/test/dummy/tmp/cache/assets/test/sass/53cc07db53069364c4116d03ae9493d85566d502/_functions.scssc +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_accordion.scssc +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_alert-boxes.scssc +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_block-grid.scssc +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_breadcrumbs.scssc +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_button-groups.scssc +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_buttons.scssc +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_clearing.scssc +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_dropdown-buttons.scssc +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_dropdown.scssc +0 -0
  85. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_flex-video.scssc +0 -0
  86. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_forms.scssc +0 -0
  87. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_global.scssc +0 -0
  88. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_grid.scssc +0 -0
  89. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_icon-bar.scssc +0 -0
  90. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_inline-lists.scssc +0 -0
  91. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_joyride.scssc +0 -0
  92. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_keystrokes.scssc +0 -0
  93. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_labels.scssc +0 -0
  94. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_magellan.scssc +0 -0
  95. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_offcanvas.scssc +0 -0
  96. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_orbit.scssc +0 -0
  97. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_pagination.scssc +0 -0
  98. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_panels.scssc +0 -0
  99. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_pricing-tables.scssc +0 -0
  100. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_progress-bars.scssc +0 -0
  101. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_range-slider.scssc +0 -0
  102. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_reveal.scssc +0 -0
  103. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_side-nav.scssc +0 -0
  104. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_split-buttons.scssc +0 -0
  105. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_sub-nav.scssc +0 -0
  106. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_switches.scssc +0 -0
  107. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_tables.scssc +0 -0
  108. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_tabs.scssc +0 -0
  109. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_thumbs.scssc +0 -0
  110. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_tooltips.scssc +0 -0
  111. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_top-bar.scssc +0 -0
  112. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_type.scssc +0 -0
  113. data/test/dummy/tmp/cache/assets/test/sass/669496e8548de1a6ba1641898c1b30c67ab8fac2/_visibility.scssc +0 -0
  114. data/test/dummy/tmp/cache/assets/test/sass/68968d876746de0885a03aacd18ec354e154ffed/foundation-icons.scssc +0 -0
  115. data/test/dummy/tmp/cache/assets/test/sass/805c0b657f4b79d174c13bc42a4759a57d5a5484/foundation.scssc +0 -0
  116. data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/admin.scssc +0 -0
  117. data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/foundation_and_overrides.scssc +0 -0
  118. data/test/dummy/tmp/cache/assets/test/sass/806626419a476c98acb0fcf38feea6623fb99ce0/froala_theme.scssc +0 -0
  119. data/test/dummy/tmp/cache/assets/test/sprockets/00ae61e049df7e5570b8c57835868cfe +0 -0
  120. data/test/dummy/tmp/cache/assets/test/sprockets/042e6dec69dbf88f86f5e8c360b52bcb +0 -0
  121. data/test/dummy/tmp/cache/assets/test/sprockets/0448802b256c25a379824969bf01241e +0 -0
  122. data/test/dummy/tmp/cache/assets/test/sprockets/05f11ba90b1f59f6a65002fef96de531 +0 -0
  123. data/test/dummy/tmp/cache/assets/test/sprockets/090f2c9bc57f8e73105a98a800051354 +0 -0
  124. data/test/dummy/tmp/cache/assets/test/sprockets/09fd8b22d7c059ed78b065ffa44138a4 +0 -0
  125. data/test/dummy/tmp/cache/assets/test/sprockets/0a01f1c3288f982772ed595695292767 +0 -0
  126. data/test/dummy/tmp/cache/assets/test/sprockets/0b83e9e8467b82a0991df336697846e0 +0 -0
  127. data/test/dummy/tmp/cache/assets/test/sprockets/10a718d020e26634ffd3071d63270dd1 +0 -0
  128. data/test/dummy/tmp/cache/assets/test/sprockets/12375f1bf3d91db0a06c3fc436918949 +0 -0
  129. data/test/dummy/tmp/cache/assets/test/sprockets/12a4fbfdcb2f1ed98ebd869761bce11e +0 -0
  130. data/test/dummy/tmp/cache/assets/test/sprockets/1505f3ddd93d7be2405c81d84a45cbfb +0 -0
  131. data/test/dummy/tmp/cache/assets/test/sprockets/161b66dc0b76d65e577b5465f86cb767 +0 -0
  132. data/test/dummy/tmp/cache/assets/test/sprockets/18ee507bade4f16ba4f6a5c93f3aac22 +0 -0
  133. data/test/dummy/tmp/cache/assets/test/sprockets/1c63cb75109171c505bf1b6b3f26513b +0 -0
  134. data/test/dummy/tmp/cache/assets/test/sprockets/1da46bb361bbd7b80dc66e5737dbf2a7 +0 -0
  135. data/test/dummy/tmp/cache/assets/test/sprockets/2479bd5cbccdeac3ab4df62c2c12e8d3 +0 -0
  136. data/test/dummy/tmp/cache/assets/test/sprockets/2599cde7c63354f12928a204c42fe68b +0 -0
  137. data/test/dummy/tmp/cache/assets/test/sprockets/25b238c2ec907a80d53955a0bb81073c +0 -0
  138. data/test/dummy/tmp/cache/assets/test/sprockets/2821176477eee8de7b9581f0564d0947 +0 -0
  139. data/test/dummy/tmp/cache/assets/test/sprockets/2a00ce050c10f75691b820576ec3aefd +0 -0
  140. data/test/dummy/tmp/cache/assets/test/sprockets/2a854446f76c1902defbfa436b1e7df8 +0 -0
  141. data/test/dummy/tmp/cache/assets/test/sprockets/2c745da65bdbc8ebb88b6bce026972b9 +0 -0
  142. data/test/dummy/tmp/cache/assets/test/sprockets/2d1bc2b9dc5ee0ed5635abc31fb1bc88 +0 -0
  143. data/test/dummy/tmp/cache/assets/test/sprockets/31c57ad31a65f9a951c6d7268cdedae5 +0 -0
  144. data/test/dummy/tmp/cache/assets/test/sprockets/337d12a0890572dfec336aa11e864651 +0 -0
  145. data/test/dummy/tmp/cache/assets/test/sprockets/3a2e7d8d06318496bd7e5c6bac44adf8 +0 -0
  146. data/test/dummy/tmp/cache/assets/test/sprockets/3d4f40cd6363f1841fa7c17dcbd281ce +0 -0
  147. data/test/dummy/tmp/cache/assets/test/sprockets/47dcfb84d9a092ad939f512e1d3db43c +0 -0
  148. data/test/dummy/tmp/cache/assets/test/sprockets/48582f4afd1c515e7eb10a8fc2195deb +0 -0
  149. data/test/dummy/tmp/cache/assets/test/sprockets/4c6b223eba19a3d4009cbda20ed1ae2d +0 -0
  150. data/test/dummy/tmp/cache/assets/test/sprockets/4fc498f23125a9811434c6d5d5b43b64 +0 -0
  151. data/test/dummy/tmp/cache/assets/test/sprockets/505162da4e90217e5f52f5e8f1922a0d +0 -0
  152. data/test/dummy/tmp/cache/assets/test/sprockets/557b45e924759b342404ddfb736f95a2 +0 -0
  153. data/test/dummy/tmp/cache/assets/test/sprockets/55d58e1add1ca367e262464e83ad82cf +0 -0
  154. data/test/dummy/tmp/cache/assets/test/sprockets/55d7985953b175268932d2f7e50f64e0 +0 -0
  155. data/test/dummy/tmp/cache/assets/test/sprockets/59992ed1702654aa166f8572af80a301 +0 -0
  156. data/test/dummy/tmp/cache/assets/test/sprockets/600202d00479f08d2e69019e34d12e65 +0 -0
  157. data/test/dummy/tmp/cache/assets/test/sprockets/62462f7d0da5dfe3ae7923c7c21325c0 +0 -0
  158. data/test/dummy/tmp/cache/assets/test/sprockets/666e486cb09d9612ba03d995085ea02d +0 -0
  159. data/test/dummy/tmp/cache/assets/test/sprockets/67d67f783372c9b99e2ff84c12d38dfb +0 -0
  160. data/test/dummy/tmp/cache/assets/test/sprockets/6d21cd96abbcb6506d99fb93e8a11196 +0 -0
  161. data/test/dummy/tmp/cache/assets/test/sprockets/6e714e8b8ac03d2e562e8a71c40e00f8 +0 -0
  162. data/test/dummy/tmp/cache/assets/test/sprockets/6f2f2b2fbb1097278be40facf7aa8447 +0 -0
  163. data/test/dummy/tmp/cache/assets/test/sprockets/72e0f0b80593c7ccfaf939c504f8127f +0 -0
  164. data/test/dummy/tmp/cache/assets/test/sprockets/7326e3e660754d56c46671c7347c5e97 +0 -0
  165. data/test/dummy/tmp/cache/assets/test/sprockets/75c5663a92b2003b794d5f5d184fde44 +0 -0
  166. data/test/dummy/tmp/cache/assets/test/sprockets/7b63c613f1053bde6004342003178a0e +0 -0
  167. data/test/dummy/tmp/cache/assets/test/sprockets/7d07558d12b9bd9b9dfa778344bab4ac +0 -0
  168. data/test/dummy/tmp/cache/assets/test/sprockets/7ea9d575b03f8effb678d4dcedf3d079 +0 -0
  169. data/test/dummy/tmp/cache/assets/test/sprockets/7f0b91f5fa71c52d3cbe1f108fb7c942 +0 -0
  170. data/test/dummy/tmp/cache/assets/test/sprockets/805c63977d339feb2ea7b61e1141a32f +0 -0
  171. data/test/dummy/tmp/cache/assets/test/sprockets/81ba6a364949bd4ffe2732ae5745012d +0 -0
  172. data/test/dummy/tmp/cache/assets/test/sprockets/81e2498e0e1457dd93b47780ae28fc03 +0 -0
  173. data/test/dummy/tmp/cache/assets/test/sprockets/897553ff72f546645e24e94feec75255 +0 -0
  174. data/test/dummy/tmp/cache/assets/test/sprockets/8a34d99aaa243ebb4e60f483a5b5a817 +0 -0
  175. data/test/dummy/tmp/cache/assets/test/sprockets/8e20677e2b4bd3f063a63fcf9e673971 +0 -0
  176. data/test/dummy/tmp/cache/assets/test/sprockets/8feb3d758b7824f15b301f9dc024c3f6 +0 -0
  177. data/test/dummy/tmp/cache/assets/test/sprockets/932f699ead87a4b9910d47334ed14d60 +0 -0
  178. data/test/dummy/tmp/cache/assets/test/sprockets/959fa77a7302a3002d5fb1394575117b +0 -0
  179. data/test/dummy/tmp/cache/assets/test/sprockets/969e05674f51d3b5b500e605e0292573 +0 -0
  180. data/test/dummy/tmp/cache/assets/test/sprockets/972e71e7d6b360ef56c88716f3191aaf +0 -0
  181. data/test/dummy/tmp/cache/assets/test/sprockets/98228623f6175426b2d7964b4a921cbb +0 -0
  182. data/test/dummy/tmp/cache/assets/test/sprockets/987bf17b1a3915d5c6d95ebda01e8f49 +0 -0
  183. data/test/dummy/tmp/cache/assets/test/sprockets/9aef3ae1f0c62b895d86ab60901dd450 +0 -0
  184. data/test/dummy/tmp/cache/assets/test/sprockets/9f65b180bd79d7b67e5fb1fe8ded1383 +0 -0
  185. data/test/dummy/tmp/cache/assets/test/sprockets/a4ee671663a58ce1f1860b1e9a9d17fb +0 -0
  186. data/test/dummy/tmp/cache/assets/test/sprockets/a55e988592ebc0d8e4e4ef1244ae4da7 +0 -0
  187. data/test/dummy/tmp/cache/assets/test/sprockets/a590260912e62280bb115dd52a953b18 +0 -0
  188. data/test/dummy/tmp/cache/assets/test/sprockets/a6453a78eb0c813a0b69a12cb7c4ab2c +0 -0
  189. data/test/dummy/tmp/cache/assets/test/sprockets/a721a930039ed66bd3f092ab1e9c8de6 +0 -0
  190. data/test/dummy/tmp/cache/assets/test/sprockets/a748bad0d4f5d6e6bbdf1b340905795b +0 -0
  191. data/test/dummy/tmp/cache/assets/test/sprockets/a96494099d559bfd8cb5257e21cb196c +0 -0
  192. data/test/dummy/tmp/cache/assets/test/sprockets/a970f64c67051f35069f45d8dad113a5 +0 -0
  193. data/test/dummy/tmp/cache/assets/test/sprockets/aaa6dc2bd59e21dd14b0c86a308a1d1f +0 -0
  194. data/test/dummy/tmp/cache/assets/test/sprockets/ac1b1f0c521a6acb5833209d7b18d888 +0 -0
  195. data/test/dummy/tmp/cache/assets/test/sprockets/b24f2d6f62512f4cb11c6a2e44bf90e4 +0 -0
  196. data/test/dummy/tmp/cache/assets/test/sprockets/b28bcc6d89b692e6b74758c30e21b862 +0 -0
  197. data/test/dummy/tmp/cache/assets/test/sprockets/b3b2a83d3d7d735130f0b029e58b29b8 +0 -0
  198. data/test/dummy/tmp/cache/assets/test/sprockets/b3d0193a1439465426a4d051a161291d +0 -0
  199. data/test/dummy/tmp/cache/assets/test/sprockets/b657c356e24f45a8b92d4f4da9ff361d +0 -0
  200. data/test/dummy/tmp/cache/assets/test/sprockets/b76beafa9aef0c7a18bf63fe612ecd17 +0 -0
  201. data/test/dummy/tmp/cache/assets/test/sprockets/b771c2de3967bda011cf04e0979497cf +0 -0
  202. data/test/dummy/tmp/cache/assets/test/sprockets/b8a73c4d259957f05d45cb5d96d41ff1 +0 -0
  203. data/test/dummy/tmp/cache/assets/test/sprockets/ba87909b8d71ddaedd84c3f6c00dce72 +0 -0
  204. data/test/dummy/tmp/cache/assets/test/sprockets/badf6e6ab7c3d1cc2b180e5883005a40 +0 -0
  205. data/test/dummy/tmp/cache/assets/test/sprockets/bbfc8dec2c2cc07cf4c1708597316a77 +0 -0
  206. data/test/dummy/tmp/cache/assets/test/sprockets/bc732efa6ca399217b023bd1e04f0404 +0 -0
  207. data/test/dummy/tmp/cache/assets/test/sprockets/bd5b45287cfdac63ed7199b7982da02f +0 -0
  208. data/test/dummy/tmp/cache/assets/test/sprockets/bee4e1605077e29abd380b05b645cbb4 +0 -0
  209. data/test/dummy/tmp/cache/assets/test/sprockets/c0e7a018799e51565da4aae3cd7409b4 +0 -0
  210. data/test/dummy/tmp/cache/assets/test/sprockets/c190d0bdd188c43629f35b9f463b86af +0 -0
  211. data/test/dummy/tmp/cache/assets/test/sprockets/c2b59fd99edc4b53754f7cb4e160452f +0 -0
  212. data/test/dummy/tmp/cache/assets/test/sprockets/c42a7aac68d827f88bcc25a41cdb5591 +0 -0
  213. data/test/dummy/tmp/cache/assets/test/sprockets/c5ef052e357af6829f6c522a38916fc7 +0 -0
  214. data/test/dummy/tmp/cache/assets/test/sprockets/c705dc7fb9e60c7d39b5c23a101cd830 +0 -0
  215. data/test/dummy/tmp/cache/assets/test/sprockets/c988fd2c5c9497ccef54f79a9e444ac6 +0 -0
  216. data/test/dummy/tmp/cache/assets/test/sprockets/cb761fc7bfc4c192abf5c946f863ab1e +0 -0
  217. data/test/dummy/tmp/cache/assets/test/sprockets/ce523687d631719d872f2869d34803b0 +0 -0
  218. data/test/dummy/tmp/cache/assets/test/sprockets/d2215e57429ecae68a054210e665d787 +0 -0
  219. data/test/dummy/tmp/cache/assets/test/sprockets/d30a320df486e076298c602d428f3145 +0 -0
  220. data/test/dummy/tmp/cache/assets/test/sprockets/d3921fc37cc437f0933c4dee9d089fd8 +0 -0
  221. data/test/dummy/tmp/cache/assets/test/sprockets/d527d40cd214f965c2751831ef138ba7 +0 -0
  222. data/test/dummy/tmp/cache/assets/test/sprockets/d8daf6c8e5df881485c0e1139a275f6d +0 -0
  223. data/test/dummy/tmp/cache/assets/test/sprockets/d9e5382620928a6b4a8cd70bdac10aa3 +0 -0
  224. data/test/dummy/tmp/cache/assets/test/sprockets/dd803fd7a93619599c7e703c2b307411 +0 -0
  225. data/test/dummy/tmp/cache/assets/test/sprockets/e05796fbbc7fcdcaefdd97534f2e4030 +0 -0
  226. data/test/dummy/tmp/cache/assets/test/sprockets/e1c3eff1f3886da4c71a854d42077d10 +0 -0
  227. data/test/dummy/tmp/cache/assets/test/sprockets/e568172da8ab8581f83f98dad0a73d29 +0 -0
  228. data/test/dummy/tmp/cache/assets/test/sprockets/f02093872b151ddb0fd1074fe83ff846 +0 -0
  229. data/test/dummy/tmp/cache/assets/test/sprockets/f100237ea34e5360da23f95cca21c340 +0 -0
  230. data/test/dummy/tmp/cache/assets/test/sprockets/f25b88a46a5a3b1b179079f6c0e4039a +0 -0
  231. data/test/dummy/tmp/cache/assets/test/sprockets/f31d581aaa301ef9ef6a08edc4319c35 +0 -0
  232. data/test/dummy/tmp/cache/assets/test/sprockets/f5fcab9d313889bf6d14a05040aff5bc +0 -0
  233. data/test/dummy/tmp/cache/assets/test/sprockets/f66bf7665e75e4d537977c71a5e39a4e +0 -0
  234. data/test/dummy/tmp/cache/assets/test/sprockets/f6c61aec4cc93384f9655a7d8aba73fe +0 -0
  235. data/test/dummy/tmp/cache/assets/test/sprockets/fa7e1f9a13f606e2603a17f8e00aa32a +0 -0
  236. data/test/dummy/tmp/cache/assets/test/sprockets/fcce52ee43ecad8cb3f18fc8f13a66b7 +0 -0
  237. data/test/dummy/tmp/cache/assets/test/sprockets/fd5e59fed8301f86b74e551534fce2b2 +0 -0
  238. data/test/test_helper.rb +22 -0
  239. metadata +576 -0
@@ -0,0 +1,394 @@
1
+  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2
+  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to CreatePushTypeUsers (20141205213533)
5
+  (0.2ms) BEGIN
6
+ SQL (8.2ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
+  (5.9ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying(255), "email" character varying(255), "field_store" json, "created_at" timestamp, "updated_at" timestamp)
8
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205213533"]]
9
+  (0.9ms) COMMIT
10
+ Migrating to CreatePushTypeNodes (20141205213534)
11
+  (0.3ms) BEGIN
12
+  (5.0ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying(255), "title" character varying(255), "slug" character varying(255), "field_store" json, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
13
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205213534"]]
14
+  (0.8ms) COMMIT
15
+ Migrating to CreatePushTypeNodeHierarchies (20141205213535)
16
+  (0.2ms) BEGIN
17
+  (1.2ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL)
18
+  (1.6ms) CREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" ("ancestor_id", "descendant_id", "generations")
19
+  (1.9ms) CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" ("descendant_id")
20
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205213535"]]
21
+  (0.6ms) COMMIT
22
+ Migrating to CreatePushTypeAssets (20141205213536)
23
+  (0.2ms) BEGIN
24
+  (7.3ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying(255), "file_name" character varying(255), "file_size" integer, "file_ext" character varying(255), "mime_type" character varying(255), "description" character varying(255), "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
25
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205213536"]]
26
+  (0.6ms) COMMIT
27
+ Migrating to DeviseExtendPushTypeUsers (20141205213537)
28
+  (0.2ms) BEGIN
29
+  (5.8ms) ALTER TABLE "push_type_users" ADD COLUMN "encrypted_password" character varying(255) DEFAULT '' NOT NULL
30
+  (0.4ms) ALTER TABLE "push_type_users" ADD COLUMN "reset_password_token" character varying(255)
31
+  (0.3ms) ALTER TABLE "push_type_users" ADD COLUMN "reset_password_sent_at" timestamp
32
+  (0.3ms) ALTER TABLE "push_type_users" ADD COLUMN "remember_created_at" timestamp
33
+  (6.1ms) ALTER TABLE "push_type_users" ADD COLUMN "sign_in_count" integer DEFAULT 0 NOT NULL
34
+  (0.5ms) ALTER TABLE "push_type_users" ADD COLUMN "current_sign_in_at" timestamp
35
+  (0.7ms) ALTER TABLE "push_type_users" ADD COLUMN "last_sign_in_at" timestamp
36
+  (0.5ms) ALTER TABLE "push_type_users" ADD COLUMN "current_sign_in_ip" character varying(255)
37
+  (0.9ms) ALTER TABLE "push_type_users" ADD COLUMN "last_sign_in_ip" character varying(255)
38
+  (0.4ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmation_token" character varying(255)
39
+  (0.4ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmed_at" timestamp
40
+  (0.4ms) ALTER TABLE "push_type_users" ADD COLUMN "confirmation_sent_at" timestamp
41
+  (1.3ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" ("email")
42
+  (1.6ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" ("reset_password_token")
43
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205213537"]]
44
+  (1.3ms) COMMIT
45
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
47
+  (124.7ms) DROP DATABASE IF EXISTS "dummy_test"
48
+  (255.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
49
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
50
+ SQL (4.5ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
51
+  (8.1ms) CREATE TABLE "push_type_assets" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "file_uid" character varying(255), "file_name" character varying(255), "file_size" integer, "file_ext" character varying(255), "mime_type" character varying(255), "description" character varying(255), "uploader_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
52
+  (1.2ms) CREATE TABLE "push_type_node_hierarchies" ("ancestor_id" uuid NOT NULL, "descendant_id" uuid NOT NULL, "generations" integer NOT NULL) 
53
+  (1.9ms) CREATE UNIQUE INDEX "anc_desc_idx" ON "push_type_node_hierarchies" USING btree ("ancestor_id", "descendant_id", "generations")
54
+  (1.2ms) CREATE INDEX "desc_idx" ON "push_type_node_hierarchies" USING btree ("descendant_id")
55
+  (3.8ms) CREATE TABLE "push_type_nodes" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "type" character varying(255), "title" character varying(255), "slug" character varying(255), "field_store" json, "parent_id" uuid, "sort_order" integer, "status" integer, "published_at" timestamp, "published_to" timestamp, "creator_id" uuid, "updater_id" uuid, "created_at" timestamp, "updated_at" timestamp, "deleted_at" timestamp)
56
+  (3.5ms) CREATE TABLE "push_type_users" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying(255), "email" character varying(255), "field_store" json, "created_at" timestamp, "updated_at" timestamp, "encrypted_password" character varying(255) DEFAULT '' NOT NULL, "reset_password_token" character varying(255), "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0 NOT NULL, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" character varying(255), "last_sign_in_ip" character varying(255), "confirmation_token" character varying(255), "confirmed_at" timestamp, "confirmation_sent_at" timestamp) 
57
+  (1.4ms) CREATE UNIQUE INDEX "index_push_type_users_on_email" ON "push_type_users" USING btree ("email")
58
+  (1.2ms) CREATE UNIQUE INDEX "index_push_type_users_on_reset_password_token" ON "push_type_users" USING btree ("reset_password_token")
59
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
60
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
61
+  (0.4ms) SELECT version FROM "schema_migrations"
62
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20141205213537')
63
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20141120155629')
64
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
65
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
66
+  (0.2ms) BEGIN
67
+ ------------------------------------------------------------------------------------------------
68
+ PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0001_anonymous
69
+ ------------------------------------------------------------------------------------------------
70
+  (0.2ms) SAVEPOINT active_record_1
71
+ PushType::User Exists (1.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
72
+ PushType::User Exists (0.6ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-1@example.com' LIMIT 1
73
+ PushType::User Load (1.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '5e266b47ff05f4b55a314b5a0296378faf83474e89ccafe902ceab71c8b636a5' ORDER BY "push_type_users"."name" ASC LIMIT 1
74
+ SQL (2.0ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2014-12-05 21:35:42.727939"], ["confirmation_token", "5e266b47ff05f4b55a314b5a0296378faf83474e89ccafe902ceab71c8b636a5"], ["created_at", "2014-12-05 21:35:42.419601"], ["email", "joe-1@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:42.419601"]]
75
+ Rendered /Users/aaron/dev/push_type/auth/app/views/devise/mailer/confirmation_instructions.html.erb (2.7ms)
76
+
77
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 232.3ms
78
+
79
+ Sent mail to joe-1@example.com (20.4ms)
80
+ Date: Fri, 05 Dec 2014 21:35:42 +0000
81
+ From: please-change-me-at-config-initializers-devise@example.com
82
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
83
+ To: joe-1@example.com
84
+ Message-ID: <5482252ef0e4a_c5c73fe74cc65bec349e6@Aarons-MacBook-Air.local.mail>
85
+ Subject: Confirmation instructions
86
+ Mime-Version: 1.0
87
+ Content-Type: text/html;
88
+ charset=UTF-8
89
+ Content-Transfer-Encoding: 7bit
90
+
91
+ <p>Welcome joe-1@example.com!</p>
92
+
93
+ <p>You can confirm your account email through the link below:</p>
94
+
95
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=ghkbFzHrTqz49khntabu">Confirm my account</a></p>
96
+
97
+  (0.2ms) RELEASE SAVEPOINT active_record_1
98
+ Processing by PushType::ConfirmationsController#show as HTML
99
+ Parameters: {"confirmation_token"=>"ghkbFzHrTqz49khntabu"}
100
+ PushType::User Load (0.6ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '5e266b47ff05f4b55a314b5a0296378faf83474e89ccafe902ceab71c8b636a5' ORDER BY "push_type_users"."name" ASC LIMIT 1
101
+ Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (2.0ms)
102
+ Rendered /Users/aaron/dev/push_type/auth/app/views/push_type/confirmations/show.html.haml within layouts/push_type/auth (21.7ms)
103
+ Completed 200 OK in 10669ms (Views: 10666.4ms | ActiveRecord: 0.6ms)
104
+  (1.2ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
105
+  (5.1ms) select table_name from information_schema.views where table_schema = 'dummy_test'
106
+  (6.7ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
107
+  (0.2ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
108
+  (2.7ms) ROLLBACK
109
+  (0.2ms) BEGIN
110
+ ------------------------------------------------------------------------------------------------
111
+ PushType::ConfirmationsController::GET #show::with valid confirmation token: test_0002_anonymous
112
+ ------------------------------------------------------------------------------------------------
113
+  (0.2ms) SAVEPOINT active_record_1
114
+ PushType::User Exists (0.8ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
115
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-2@example.com' LIMIT 1
116
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'e3c884e1e5dcf7dc4559b03b4173498900645328d555d6bfc17f4717b1f407c3' ORDER BY "push_type_users"."name" ASC LIMIT 1
117
+ SQL (0.4ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2014-12-05 21:35:53.704689"], ["confirmation_token", "e3c884e1e5dcf7dc4559b03b4173498900645328d555d6bfc17f4717b1f407c3"], ["created_at", "2014-12-05 21:35:53.703100"], ["email", "joe-2@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:53.703100"]]
118
+
119
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.1ms
120
+
121
+ Sent mail to joe-2@example.com (2.9ms)
122
+ Date: Fri, 05 Dec 2014 21:35:53 +0000
123
+ From: please-change-me-at-config-initializers-devise@example.com
124
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
125
+ To: joe-2@example.com
126
+ Message-ID: <54822539ad5d1_c5c73fe74cc65bec35039@Aarons-MacBook-Air.local.mail>
127
+ Subject: Confirmation instructions
128
+ Mime-Version: 1.0
129
+ Content-Type: text/html;
130
+ charset=UTF-8
131
+ Content-Transfer-Encoding: 7bit
132
+
133
+ <p>Welcome joe-2@example.com!</p>
134
+
135
+ <p>You can confirm your account email through the link below:</p>
136
+
137
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=xnuSdpxRsvx-GUpc3Ae1">Confirm my account</a></p>
138
+
139
+  (0.2ms) RELEASE SAVEPOINT active_record_1
140
+ Processing by PushType::ConfirmationsController#show as HTML
141
+ Parameters: {"confirmation_token"=>"xnuSdpxRsvx-GUpc3Ae1"}
142
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'e3c884e1e5dcf7dc4559b03b4173498900645328d555d6bfc17f4717b1f407c3' ORDER BY "push_type_users"."name" ASC LIMIT 1
143
+ Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
144
+ Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.4ms)
145
+  (0.3ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
146
+  (9.3ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
147
+  (0.4ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
148
+  (2.4ms) ROLLBACK
149
+  (0.1ms) BEGIN
150
+ --------------------------------------------------------------------------------------------------
151
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0001_anonymous
152
+ --------------------------------------------------------------------------------------------------
153
+ Processing by PushType::ConfirmationsController#show as HTML
154
+ Parameters: {"confirmation_token"=>"invalid"}
155
+ PushType::User Load (0.6ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '68865772f652a51673eabfb185ee85c0d5421263393cc3ac3edeccb7371a9b6b' ORDER BY "push_type_users"."name" ASC LIMIT 1
156
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '68865772f652a51673eabfb185ee85c0d5421263393cc3ac3edeccb7371a9b6b' ORDER BY "push_type_users"."name" ASC LIMIT 1
157
+ Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.6ms)
158
+ Completed 200 OK in 15ms (Views: 8.9ms | ActiveRecord: 1.0ms)
159
+  (0.3ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
160
+  (7.5ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
161
+  (0.3ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
162
+  (2.4ms) ROLLBACK
163
+  (0.2ms) BEGIN
164
+ --------------------------------------------------------------------------------------------------
165
+ PushType::ConfirmationsController::GET #show::with invalid confirmation token: test_0002_anonymous
166
+ --------------------------------------------------------------------------------------------------
167
+ Processing by PushType::ConfirmationsController#show as HTML
168
+ Parameters: {"confirmation_token"=>"invalid"}
169
+ PushType::User Load (0.6ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '68865772f652a51673eabfb185ee85c0d5421263393cc3ac3edeccb7371a9b6b' ORDER BY "push_type_users"."name" ASC LIMIT 1
170
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '68865772f652a51673eabfb185ee85c0d5421263393cc3ac3edeccb7371a9b6b' ORDER BY "push_type_users"."name" ASC LIMIT 1
171
+ Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.9ms)
172
+ Completed 200 OK in 10ms (Views: 5.1ms | ActiveRecord: 0.9ms)
173
+  (0.3ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
174
+  (6.8ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
175
+  (0.4ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
176
+  (2.5ms) ROLLBACK
177
+  (0.2ms) BEGIN
178
+ ------------------------------------------------------------------------------------
179
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0001_anonymous
180
+ ------------------------------------------------------------------------------------
181
+  (0.2ms) SAVEPOINT active_record_1
182
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
183
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-3@example.com' LIMIT 1
184
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '4e52633b9437b235dd28a4883c13e9c0db4cbd7298357ea3ea84f6de414f5e9e' ORDER BY "push_type_users"."name" ASC LIMIT 1
185
+ SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2014-12-05 21:35:53.803728"], ["confirmation_token", "4e52633b9437b235dd28a4883c13e9c0db4cbd7298357ea3ea84f6de414f5e9e"], ["created_at", "2014-12-05 21:35:53.802320"], ["email", "joe-3@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:53.802320"]]
186
+
187
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 2.2ms
188
+
189
+ Sent mail to joe-3@example.com (2.3ms)
190
+ Date: Fri, 05 Dec 2014 21:35:53 +0000
191
+ From: please-change-me-at-config-initializers-devise@example.com
192
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
193
+ To: joe-3@example.com
194
+ Message-ID: <54822539c56dc_c5c73fe74cc65bec35150@Aarons-MacBook-Air.local.mail>
195
+ Subject: Confirmation instructions
196
+ Mime-Version: 1.0
197
+ Content-Type: text/html;
198
+ charset=UTF-8
199
+ Content-Transfer-Encoding: 7bit
200
+
201
+ <p>Welcome joe-3@example.com!</p>
202
+
203
+ <p>You can confirm your account email through the link below:</p>
204
+
205
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=b_yZszzrVhZVMdByDJJ-">Confirm my account</a></p>
206
+
207
+  (0.2ms) RELEASE SAVEPOINT active_record_1
208
+ Processing by PushType::ConfirmationsController#update as HTML
209
+ Parameters: {"user"=>{"confirmation_token"=>"b_yZszzrVhZVMdByDJJ-", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
210
+ PushType::User Load (0.6ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '4e52633b9437b235dd28a4883c13e9c0db4cbd7298357ea3ea84f6de414f5e9e' ORDER BY "push_type_users"."name" ASC LIMIT 1
211
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-3@example.com' AND "push_type_users"."id" != 'db078643-391a-44c4-9395-139170d15f16') LIMIT 1
212
+  (0.1ms) SAVEPOINT active_record_1
213
+ SQL (0.5ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmed_at" = $2, "encrypted_password" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = 'db078643-391a-44c4-9395-139170d15f16' [["confirmation_token", nil], ["confirmed_at", "2014-12-05 21:35:53.817923"], ["encrypted_password", "$2a$04$peKkbPFrgRXzpYoju2FzAuwo2bENwuy8S68ND7UmkSmPNEEwph5eq"], ["updated_at", "2014-12-05 21:35:53.818366"]]
214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
215
+  (0.1ms) SAVEPOINT active_record_1
216
+ SQL (0.3ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "current_sign_in_ip" = $2, "last_sign_in_at" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = 'db078643-391a-44c4-9395-139170d15f16' [["current_sign_in_at", "2014-12-05 21:35:53.821500"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_at", "2014-12-05 21:35:53.821500"], ["last_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2014-12-05 21:35:53.822163"]]
217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
218
+ Redirected to http://test.host/push_type/
219
+ Completed 302 Found in 13ms (ActiveRecord: 2.3ms)
220
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."id" = $1 LIMIT 1 [["id", "db078643-391a-44c4-9395-139170d15f16"]]
221
+  (0.5ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
222
+  (7.3ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
223
+  (0.4ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
224
+  (2.1ms) ROLLBACK
225
+  (0.1ms) BEGIN
226
+ ------------------------------------------------------------------------------------
227
+ PushType::ConfirmationsController::PUT #update::with valid user: test_0002_anonymous
228
+ ------------------------------------------------------------------------------------
229
+  (0.1ms) SAVEPOINT active_record_1
230
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
231
+ PushType::User Exists (0.4ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-4@example.com' LIMIT 1
232
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '830e963d0123c460c6828dcc998bffa3ba7f98defcd0649e3a7f23c65cdd5c0b' ORDER BY "push_type_users"."name" ASC LIMIT 1
233
+ SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2014-12-05 21:35:53.846938"], ["confirmation_token", "830e963d0123c460c6828dcc998bffa3ba7f98defcd0649e3a7f23c65cdd5c0b"], ["created_at", "2014-12-05 21:35:53.845397"], ["email", "joe-4@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:53.845397"]]
234
+
235
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.5ms
236
+
237
+ Sent mail to joe-4@example.com (3.0ms)
238
+ Date: Fri, 05 Dec 2014 21:35:53 +0000
239
+ From: please-change-me-at-config-initializers-devise@example.com
240
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
241
+ To: joe-4@example.com
242
+ Message-ID: <54822539cfdee_c5c73fe74cc65bec352be@Aarons-MacBook-Air.local.mail>
243
+ Subject: Confirmation instructions
244
+ Mime-Version: 1.0
245
+ Content-Type: text/html;
246
+ charset=UTF-8
247
+ Content-Transfer-Encoding: 7bit
248
+
249
+ <p>Welcome joe-4@example.com!</p>
250
+
251
+ <p>You can confirm your account email through the link below:</p>
252
+
253
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=-oaHNqYCgM8p5aakTiTi">Confirm my account</a></p>
254
+
255
+  (0.2ms) RELEASE SAVEPOINT active_record_1
256
+ Processing by PushType::ConfirmationsController#update as HTML
257
+ Parameters: {"user"=>{"confirmation_token"=>"-oaHNqYCgM8p5aakTiTi", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
258
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '830e963d0123c460c6828dcc998bffa3ba7f98defcd0649e3a7f23c65cdd5c0b' ORDER BY "push_type_users"."name" ASC LIMIT 1
259
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-4@example.com' AND "push_type_users"."id" != 'd9ce7687-d65a-4792-ae86-ae84864c493d') LIMIT 1
260
+  (0.1ms) SAVEPOINT active_record_1
261
+ SQL (0.3ms) UPDATE "push_type_users" SET "confirmation_token" = $1, "confirmed_at" = $2, "encrypted_password" = $3, "updated_at" = $4 WHERE "push_type_users"."id" = 'd9ce7687-d65a-4792-ae86-ae84864c493d' [["confirmation_token", nil], ["confirmed_at", "2014-12-05 21:35:53.859301"], ["encrypted_password", "$2a$04$2e.svyqzTDqIm1Td.6dKNuEo6KL3d.Pa9hlgXYZHB471kxdG1xE32"], ["updated_at", "2014-12-05 21:35:53.859723"]]
262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
263
+  (0.1ms) SAVEPOINT active_record_1
264
+ SQL (0.3ms) UPDATE "push_type_users" SET "current_sign_in_at" = $1, "current_sign_in_ip" = $2, "last_sign_in_at" = $3, "last_sign_in_ip" = $4, "sign_in_count" = $5, "updated_at" = $6 WHERE "push_type_users"."id" = 'd9ce7687-d65a-4792-ae86-ae84864c493d' [["current_sign_in_at", "2014-12-05 21:35:53.861495"], ["current_sign_in_ip", "0.0.0.0"], ["last_sign_in_at", "2014-12-05 21:35:53.861495"], ["last_sign_in_ip", "0.0.0.0"], ["sign_in_count", 1], ["updated_at", "2014-12-05 21:35:53.861975"]]
265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
266
+ Redirected to http://test.host/push_type/
267
+ Completed 302 Found in 9ms (ActiveRecord: 1.8ms)
268
+  (0.3ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
269
+  (6.9ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
270
+  (0.4ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
271
+  (2.4ms) ROLLBACK
272
+  (0.1ms) BEGIN
273
+ --------------------------------------------------------------------------------------
274
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0001_anonymous
275
+ --------------------------------------------------------------------------------------
276
+  (0.2ms) SAVEPOINT active_record_1
277
+ PushType::User Exists (0.6ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
278
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-5@example.com' LIMIT 1
279
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '2ef5702035c2357716bd1174cb12c1bccc091ea10cbe77ac88eb6658f40247b2' ORDER BY "push_type_users"."name" ASC LIMIT 1
280
+ SQL (0.3ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2014-12-05 21:35:53.889716"], ["confirmation_token", "2ef5702035c2357716bd1174cb12c1bccc091ea10cbe77ac88eb6658f40247b2"], ["created_at", "2014-12-05 21:35:53.888557"], ["email", "joe-5@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:53.888557"]]
281
+
282
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.7ms
283
+
284
+ Sent mail to joe-5@example.com (2.7ms)
285
+ Date: Fri, 05 Dec 2014 21:35:53 +0000
286
+ From: please-change-me-at-config-initializers-devise@example.com
287
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
288
+ To: joe-5@example.com
289
+ Message-ID: <54822539da3e0_c5c73fe74cc65bec35394@Aarons-MacBook-Air.local.mail>
290
+ Subject: Confirmation instructions
291
+ Mime-Version: 1.0
292
+ Content-Type: text/html;
293
+ charset=UTF-8
294
+ Content-Transfer-Encoding: 7bit
295
+
296
+ <p>Welcome joe-5@example.com!</p>
297
+
298
+ <p>You can confirm your account email through the link below:</p>
299
+
300
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=4zR1yc-xFagvQyjx8sH-">Confirm my account</a></p>
301
+
302
+  (0.2ms) RELEASE SAVEPOINT active_record_1
303
+ Processing by PushType::ConfirmationsController#update as HTML
304
+ Parameters: {"user"=>{"confirmation_token"=>"4zR1yc-xFagvQyjx8sH-", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
305
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = '2ef5702035c2357716bd1174cb12c1bccc091ea10cbe77ac88eb6658f40247b2' ORDER BY "push_type_users"."name" ASC LIMIT 1
306
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-5@example.com' AND "push_type_users"."id" != '7c760a1f-15f6-4bcd-b891-458a1b0104f7') LIMIT 1
307
+ Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
308
+ Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.7ms)
309
+  (0.3ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
310
+  (10.7ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
311
+  (0.3ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
312
+  (2.6ms) ROLLBACK
313
+  (0.2ms) BEGIN
314
+ --------------------------------------------------------------------------------------
315
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0002_anonymous
316
+ --------------------------------------------------------------------------------------
317
+  (0.2ms) SAVEPOINT active_record_1
318
+ PushType::User Exists (0.6ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
319
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-6@example.com' LIMIT 1
320
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'ea63fd82259cfb071a17bf1ced00a99b84026963466010115d97ad730659687d' ORDER BY "push_type_users"."name" ASC LIMIT 1
321
+ SQL (0.5ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2014-12-05 21:35:53.929044"], ["confirmation_token", "ea63fd82259cfb071a17bf1ced00a99b84026963466010115d97ad730659687d"], ["created_at", "2014-12-05 21:35:53.927419"], ["email", "joe-6@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:53.927419"]]
322
+
323
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.9ms
324
+
325
+ Sent mail to joe-6@example.com (2.2ms)
326
+ Date: Fri, 05 Dec 2014 21:35:53 +0000
327
+ From: please-change-me-at-config-initializers-devise@example.com
328
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
329
+ To: joe-6@example.com
330
+ Message-ID: <54822539e4019_c5c73fe74cc65bec354b9@Aarons-MacBook-Air.local.mail>
331
+ Subject: Confirmation instructions
332
+ Mime-Version: 1.0
333
+ Content-Type: text/html;
334
+ charset=UTF-8
335
+ Content-Transfer-Encoding: 7bit
336
+
337
+ <p>Welcome joe-6@example.com!</p>
338
+
339
+ <p>You can confirm your account email through the link below:</p>
340
+
341
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=KxNLfVR3gr2QxjZbxtVs">Confirm my account</a></p>
342
+
343
+  (0.2ms) RELEASE SAVEPOINT active_record_1
344
+ Processing by PushType::ConfirmationsController#update as HTML
345
+ Parameters: {"user"=>{"confirmation_token"=>"KxNLfVR3gr2QxjZbxtVs", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
346
+ PushType::User Load (0.4ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'ea63fd82259cfb071a17bf1ced00a99b84026963466010115d97ad730659687d' ORDER BY "push_type_users"."name" ASC LIMIT 1
347
+ PushType::User Exists (0.3ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-6@example.com' AND "push_type_users"."id" != 'bb47b491-afa4-4c3e-a9f8-a9f26a1d0c9d') LIMIT 1
348
+ Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (1.1ms)
349
+ Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.7ms)
350
+  (0.3ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
351
+  (6.5ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
352
+  (0.4ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
353
+  (2.2ms) ROLLBACK
354
+  (0.1ms) BEGIN
355
+ --------------------------------------------------------------------------------------
356
+ PushType::ConfirmationsController::PUT #update::with invalid user: test_0003_anonymous
357
+ --------------------------------------------------------------------------------------
358
+  (0.2ms) SAVEPOINT active_record_1
359
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
360
+ PushType::User Exists (0.2ms) SELECT 1 AS one FROM "push_type_users" WHERE "push_type_users"."email" = 'joe-7@example.com' LIMIT 1
361
+ PushType::User Load (0.3ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'ac2ad016c5e6f23440534f40ea0374e4a95110611ea4074ba9f9b1f9c1af3b09' ORDER BY "push_type_users"."name" ASC LIMIT 1
362
+ SQL (0.5ms) INSERT INTO "push_type_users" ("confirmation_sent_at", "confirmation_token", "created_at", "email", "name", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["confirmation_sent_at", "2014-12-05 21:35:53.965085"], ["confirmation_token", "ac2ad016c5e6f23440534f40ea0374e4a95110611ea4074ba9f9b1f9c1af3b09"], ["created_at", "2014-12-05 21:35:53.963726"], ["email", "joe-7@example.com"], ["name", "Joe Bloggs"], ["updated_at", "2014-12-05 21:35:53.963726"]]
363
+
364
+ Devise::Mailer#confirmation_instructions: processed outbound mail in 1.7ms
365
+
366
+ Sent mail to joe-7@example.com (3.2ms)
367
+ Date: Fri, 05 Dec 2014 21:35:53 +0000
368
+ From: please-change-me-at-config-initializers-devise@example.com
369
+ Reply-To: please-change-me-at-config-initializers-devise@example.com
370
+ To: joe-7@example.com
371
+ Message-ID: <54822539ecdbc_c5c73fe74cc65bec35567@Aarons-MacBook-Air.local.mail>
372
+ Subject: Confirmation instructions
373
+ Mime-Version: 1.0
374
+ Content-Type: text/html;
375
+ charset=UTF-8
376
+ Content-Transfer-Encoding: 7bit
377
+
378
+ <p>Welcome joe-7@example.com!</p>
379
+
380
+ <p>You can confirm your account email through the link below:</p>
381
+
382
+ <p><a href="http://localhost:3000/push_type/confirmation?confirmation_token=8APQafYvxoPKvMShWuou">Confirm my account</a></p>
383
+
384
+  (0.2ms) RELEASE SAVEPOINT active_record_1
385
+ Processing by PushType::ConfirmationsController#update as HTML
386
+ Parameters: {"user"=>{"confirmation_token"=>"8APQafYvxoPKvMShWuou", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}}
387
+ PushType::User Load (0.5ms) SELECT "push_type_users".* FROM "push_type_users" WHERE "push_type_users"."confirmation_token" = 'ac2ad016c5e6f23440534f40ea0374e4a95110611ea4074ba9f9b1f9c1af3b09' ORDER BY "push_type_users"."name" ASC LIMIT 1
388
+ PushType::User Exists (0.5ms) SELECT 1 AS one FROM "push_type_users" WHERE ("push_type_users"."email" = 'joe-7@example.com' AND "push_type_users"."id" != '03d6356b-1ecb-4bad-a298-d2e5cd3cf643') LIMIT 1
389
+ Rendered /Users/aaron/dev/push_type/auth/app/views/devise/shared/_links.html.erb (0.5ms)
390
+ Completed 200 OK in 12ms (Views: 7.2ms | ActiveRecord: 1.0ms)
391
+  (0.4ms) ALTER TABLE "push_type_assets" DISABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" DISABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" DISABLE TRIGGER ALL;ALTER TABLE "push_type_users" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
392
+  (9.8ms) TRUNCATE TABLE "push_type_assets", "push_type_node_hierarchies", "push_type_nodes", "push_type_users" RESTART IDENTITY CASCADE;
393
+  (0.4ms) ALTER TABLE "push_type_assets" ENABLE TRIGGER ALL;ALTER TABLE "push_type_users" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "push_type_node_hierarchies" ENABLE TRIGGER ALL;ALTER TABLE "push_type_nodes" ENABLE TRIGGER ALL
394
+  (2.3ms) ROLLBACK
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,5 @@
1
+ # See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
2
+ #
3
+ # To ban all spiders from the entire site uncomment the next two lines:
4
+ # User-agent: *
5
+ # Disallow: /