gdpr_rails 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (255) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +10 -6
  3. data/app/controllers/policy_manager/application_controller.rb +1 -1
  4. data/app/controllers/policy_manager/portability_requests_controller.rb +6 -2
  5. data/app/controllers/policy_manager/terms_controller.rb +3 -1
  6. data/app/controllers/policy_manager/user_portability_requests_controller.rb +23 -20
  7. data/app/controllers/policy_manager/user_terms_controller.rb +6 -3
  8. data/app/mailers/policy_manager/application_mailer.rb +4 -2
  9. data/app/mailers/policy_manager/portability_mailer.rb +3 -3
  10. data/app/models/policy_manager/concerns/user_behavior.rb +1 -0
  11. data/app/models/policy_manager/user_term.rb +4 -3
  12. data/app/views/layouts/policy_manager/application.html.erb +2 -2
  13. data/app/views/layouts/policy_manager/portability.erb +5 -0
  14. data/app/views/policy_manager/401.erb +1 -0
  15. data/app/views/policy_manager/user_terms/show.html.erb +1 -1
  16. data/app/views/policy_manager/user_terms/show.json.jbuilder +2 -2
  17. data/lib/policy_manager/config.rb +2 -1
  18. data/lib/policy_manager/engine.rb +6 -0
  19. data/lib/policy_manager/exporter.rb +1 -1
  20. data/lib/policy_manager/exporter/handler.rb +1 -1
  21. data/lib/policy_manager/exporter/view.rb +0 -1
  22. data/lib/policy_manager/version.rb +1 -1
  23. data/spec/controllers/policy_manager/categories_controller_spec.rb +51 -0
  24. data/spec/controllers/policy_manager/portability_requests_controller_spec.rb +85 -0
  25. data/spec/controllers/policy_manager/terms_controller_spec.rb +125 -0
  26. data/spec/controllers/policy_manager/user_portability_requests_controller_spec.rb +76 -0
  27. data/spec/controllers/policy_manager/user_terms_controller_test.rb +92 -0
  28. data/spec/dummy/Rakefile +6 -0
  29. data/spec/dummy/app/assets/config/manifest.js +5 -0
  30. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  31. data/spec/dummy/app/assets/javascripts/cable.js +13 -0
  32. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  33. data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
  34. data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
  35. data/spec/dummy/app/controllers/application_controller.rb +4 -0
  36. data/spec/dummy/app/helpers/application_helper.rb +3 -0
  37. data/spec/dummy/app/helpers/user_helper.rb +2 -0
  38. data/spec/dummy/app/jobs/application_job.rb +2 -0
  39. data/spec/dummy/app/mailers/application_mailer.rb +4 -0
  40. data/spec/dummy/app/models/application_record.rb +3 -0
  41. data/spec/dummy/app/models/user.rb +26 -0
  42. data/spec/dummy/app/views/collection.json.jbuilder +11 -0
  43. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  44. data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
  45. data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
  46. data/spec/dummy/app/views/layouts/portability.erb +15 -0
  47. data/spec/dummy/app/views/layouts/portability_requests.erb +14 -0
  48. data/spec/dummy/app/views/template.erb +1 -0
  49. data/spec/dummy/app/views/template.haml +1 -0
  50. data/spec/dummy/app/views/template.json.jbuilder +16 -0
  51. data/spec/dummy/app/views/test.erb +2 -0
  52. data/spec/dummy/app/views/user_mailer/admin.html.erb +1 -0
  53. data/spec/dummy/app/views/user_mailer/complete.html.erb +5 -0
  54. data/spec/dummy/app/views/user_mailer/progress.html.erb +1 -0
  55. data/spec/dummy/bin/bundle +3 -0
  56. data/spec/dummy/bin/rails +4 -0
  57. data/spec/dummy/bin/rake +4 -0
  58. data/spec/dummy/bin/setup +38 -0
  59. data/spec/dummy/bin/update +29 -0
  60. data/spec/dummy/bin/yarn +11 -0
  61. data/spec/dummy/config.ru +5 -0
  62. data/spec/dummy/config/application.rb +18 -0
  63. data/spec/dummy/config/boot.rb +5 -0
  64. data/spec/dummy/config/cable.yml +10 -0
  65. data/spec/dummy/config/database.yml +40 -0
  66. data/spec/dummy/config/database.yml.test +11 -0
  67. data/spec/dummy/config/environment.rb +5 -0
  68. data/spec/dummy/config/environments/development.rb +54 -0
  69. data/spec/dummy/config/environments/production.rb +91 -0
  70. data/spec/dummy/config/environments/test.rb +42 -0
  71. data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -0
  72. data/spec/dummy/config/initializers/assets.rb +14 -0
  73. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  74. data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
  75. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  76. data/spec/dummy/config/initializers/inflections.rb +16 -0
  77. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  78. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  79. data/spec/dummy/config/locales/en.yml +33 -0
  80. data/spec/dummy/config/puma.rb +56 -0
  81. data/spec/dummy/config/routes.rb +3 -0
  82. data/spec/dummy/config/secrets.yml +32 -0
  83. data/spec/dummy/config/spring.rb +6 -0
  84. data/spec/dummy/db/development.sqlite3 +0 -0
  85. data/spec/dummy/db/migrate/20180326193826_create_users.rb +9 -0
  86. data/spec/dummy/db/schema.rb +56 -0
  87. data/spec/dummy/log/development.log +326 -0
  88. data/spec/dummy/log/test.log +191664 -0
  89. data/spec/dummy/package.json +5 -0
  90. data/spec/dummy/public/401.html +67 -0
  91. data/spec/dummy/public/404.html +67 -0
  92. data/spec/dummy/public/422.html +67 -0
  93. data/spec/dummy/public/500.html +66 -0
  94. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  95. data/spec/dummy/public/apple-touch-icon.png +0 -0
  96. data/spec/dummy/public/favicon.ico +0 -0
  97. data/spec/dummy/test/fixtures/users.yml +7 -0
  98. data/spec/dummy/test/models/user_test.rb +7 -0
  99. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/--/--mfnHuBeUWp4S0t5Gy9k8VFIhwH9_LeypHDTu0Tr_Y.cache +1 -0
  100. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-N/-NoFiyuUvy7n3K1PxiEyF7_ntONf3urTihjqgwKchcg.cache +0 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-X/-XFR33TgzW2uZ8FmmS1qlvD_wt-ox_qSWUqkuGQ6bNY.cache +1 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-Y/-YgMOSbIN0nMswWct7su9H9L0ICRZaRq34uti66AccM.cache +0 -0
  103. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0D/0DLlhyih7JQM6a36xn80gBEsL2G82TErD8Dj_whhN-U.cache +0 -0
  104. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0g/0gU8kGXleEoducYsLkjy0I4rqnsgoWaK8lr0kAj6bp8.cache +1 -0
  105. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1v/1vjyDvVwQZlnzxWly1brkoOTCuyetgHeuvD_e6dGKyM.cache +0 -0
  106. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/27/27CLtUz28kIcg6tIfaI14dpsrgCp7ic4eWUty-oq-sU.cache +3 -0
  107. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2F/2FM4u0wEV34qcad5bAQ22XooiME80Q0nmdLaov7r7rE.cache +0 -0
  108. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2y/2Y306WtiuaczRMe98h_Ef4LsZ7wmIC8iaa8c8EJinbs.cache +0 -0
  109. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2y/2yX2unfUzEDiZ4-YOag_nKmTGmuMxpM11mKaJOvfOlQ.cache +1 -0
  110. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3M/3Me2fKJpLVszUwxPRDsRAmn-4i9xo32wikeSt4U2wP8.cache +1 -0
  111. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/45/45ictadc7ZQCwBtuyUUnDphpgBJ7TJ6pcfxw3Rm8Vrs.cache +1 -0
  112. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4P/4PwXz69YXiFINqI_IN8j6RKuEt3OdudXYYLnaUq7rjo.cache +1 -0
  113. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4h/4hzVRVCmNzCaipE8Gr5-DBLrbCGbWpjcyBY9LdEj3jo.cache +0 -0
  114. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4x/4xpoeWRviufHh_q5whnyBr0pk8UQxCZPYQ6ftOStGLU.cache +0 -0
  115. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/54/54rewMnifJtcFqBk72TyTygb95Ttwy9bKfBZExpc-C0.cache +1 -0
  116. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/58/58sAgzwP4eFt7yuB9XYB1mxdOz0FJEh-xIOdTwXXE2Y.cache +0 -0
  117. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5h/5hHJvRWBp2bv5Ree05fgFaFaPqfaRhMLTEdkG-O6aVM.cache +0 -0
  118. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5m/5mO5S2MfbEUVxkXH46amJgMg-T2BHvPkW-PHDU1kP68.cache +0 -0
  119. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5r/5rJJjxkhn8Z92_UbvZfgoL5BcowL6nZNszQvsginLnk.cache +1 -0
  120. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6B/6B2r6p0vt9YHgITkhKEgJagg9pCZvP28XC8UOVcbLSQ.cache +1 -0
  121. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7d/7dwWkcsTuGWyWtwftKHD_gXp9W4odm_5You_aKR4fsg.cache +0 -0
  122. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7g/7gQSNgL-2DO1ds5Jv0PIG150XXV5HrGgSE1_9Y9lTGw.cache +0 -0
  123. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/87/87l8g48DzMElacGqDKT2Tw4SN-vPuWe-87l1WVSGGSU.cache +0 -0
  124. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8M/8MYgLnjJJ3blsJWL9xRH67td4kEWctoW8vYSPk16D4E.cache +1 -0
  125. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8r/8rGgH_J5ehLhHbE7cWWoP9Zec-2rlNUjBS9UFF-2ZIM.cache +3 -0
  126. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9j/9j6v9HXgAkMtDkZYoqP7GOaorSZsL5Rj7hbAazvTOzc.cache +0 -0
  127. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/A0/A0XqQCJjWHzYPT5e9-HBsso43aW4FSEDl0k6e4VGR2k.cache +0 -0
  128. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Aw/AwefclPt5cLFlWCSECVgQvodBrq_1V9JWkOGvfpoVe0.cache +1 -0
  129. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bm/Bm3fgDgbZDpu1Tg8RWJNvhqP_EtKfEUezpd5RtvfnVY.cache +0 -0
  130. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DU/DUUFwyjNig6oW4WouEVhntJB_JYYRXhEnvXjUhz2SS8.cache +1 -0
  131. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ex/ExToesB1w5_4dhyfTB7w2rnEW3JYsyiDCwQS5YryS6c.cache +1 -0
  132. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FG/FGTqZQ-ICnWRw_FIx5roRi8IATSdS5OkwrMtS3XtXBY.cache +0 -0
  133. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fi/Fi7XjszeLrn8TVUuJQRwrmmVolcJXedDZtlfXb0e0_8.cache +0 -0
  134. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gk/GkeSNzAIKac6T0REp80cIYHQW869pVVY8_jS7YbxfXQ.cache +0 -0
  135. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/H0/H0IluIpOXOr2BxNlpAjzwArc75w56IB4mlScIpBdQ24.cache +1 -0
  136. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/H1/H1LhaUgwIO1D2k0RMMo2na3l-Elc5xpQKK5iBOp4F5I.cache +0 -0
  137. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JU/JUxqlgeXXBppIjEN9UyWuqzr4PfBPsUj011p_oO71do.cache +1 -0
  138. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K_/K_D8m4e3tDZRmnK3CKTP8bP5kmay4w-Td9Cu5U-ED-I.cache +0 -0
  139. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kb/KbL79CL_ql47tz33zx6iBjdGneWja5vKKEEAkW_w7NM.cache +0 -0
  140. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kb/KbZGMmB8DJ2BA4mcdSXN4bebOMd0j8s4PkB0S-23XfE.cache +0 -0
  141. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/L3/L31_eyjOuFh92q-RAafvpnxszCNW9HoObtWVS4gpQHo.cache +1 -0
  142. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LL/LLlnPIuN7QMIMMQ5nRnTNtLtkMx1LXfhg6fs2tDYaSk.cache +0 -0
  143. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Lm/LmnZza-YSYZY-dEHFm3EWLFVvsxsIOnCKJ5-3zlrOKk.cache +0 -0
  144. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Lu/LuFRHx4qb0l1K_A0pjAOQO8llKL2WaJRMKuH9JMNVw0.cache +0 -0
  145. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OA/OAtvFgJJQnarYrhlAK-vSgn9egwT1NDz78YqjstXCBA.cache +1 -0
  146. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OY/OYj0e5ox1ill6KB0XxgjT7dpx88kd1ow52UsaJwSHtE.cache +1 -0
  147. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Oc/OcrdvWm5dtFEHIomtrRuAU5SquzymBRnNyRpx-cEWvw.cache +2 -0
  148. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qo/QoIXukdcQouQLyMkre-k41LX_pHd0kKo57VZ79D9GS8.cache +0 -0
  149. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qp/QpwXeqd_RNMk--6i6e5jHxRvn5PaARBKDucD5In1F-s.cache +0 -0
  150. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TN/TN4TNVw5nI_0WW6X9CsSG4eDr1LJQclFhQNHtGOb2QA.cache +1 -0
  151. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U0/U0FxO18TfrZeRQx8V4zoWPSskXIA2s9MHtP3lJfONWs.cache +1 -0
  152. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UC/UCvPD9uXZwJeEm-1pmKEMfgj4DjvUOf4dx2jhhhlv6k.cache +3 -0
  153. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ue/UeAHhO5lBiMllQvT8e5iL1ddSRsZxH0BHjYjHdjcSTY.cache +3 -0
  154. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ui/UiRXGeBaY88moPjIjUguzeNSGWaRyVS8tSCNjnwfwy8.cache +0 -0
  155. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Us/Us-RVGQ4-a94Pu0yyugJVYf4RxGXf-xlPqYtAiwYWjU.cache +0 -0
  156. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ut/UtGzFRo4wbBgA2fF_MZ8krZa159Z1A6aoxGAXDPmZVw.cache +2 -0
  157. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VG/VGChoLzfgrn9FobW4pun_Jde-mQ3MgDloMfYR8m6drM.cache +1 -0
  158. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vk/VkQUb2zhn-uTclXve3ha-oUJAN9l-rmuxFVuNSz9KYk.cache +1 -0
  159. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vm/VmFxkBmoolMrxZI2hEaFfp8wPGc33_oxQoGyaFsh70M.cache +0 -0
  160. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/W-/W-pTadlsf_Vpkn5yWhaLXUV1aKGLvP0nhxewZnwjGBc.cache +0 -0
  161. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/W3/W3Hibs-2ZXTSO00vDV2YhmzHjmvegpc-rARFtZTgyy8.cache +1 -0
  162. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X-/X-RlCEy2cN8eQ1d2pqsNwUZ4H4ej8ztuZ0MvZKgKmkk.cache +2 -0
  163. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X8/X8wS5wYKKTutqBv6YpD5Gpm2s_wyBehAQww9qxgE96Q.cache +1 -0
  164. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yc/Yc2cY6cLNXFppCCbQSm3-FiGXtBtRa3Tq1RKxgARljA.cache +1 -0
  165. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yo/YoZWJS_zeJGl5xpGe-YaWy9J3RRNaVwVnMLNbrWN6oM.cache +1 -0
  166. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZI/ZIsNAJOrG64AKjeXnqm0vARAqYLKq6PVhiiYDZXsuCg.cache +1 -0
  167. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZX/ZX7fzX0ySlnLNNqdDO5sM6XA_ajPzRgqPCnLt8hVYcA.cache +1 -0
  168. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zy/Zy0_Bbsl6EQYVutKT0oH9YCq2Cl53wPVkZn0dqjK4xk.cache +1 -0
  169. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_c/_c__nkkVWonX6jTabzOJ1VjpZtlO8F43EC-KB4ZaIZg.cache +1 -0
  170. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a5/A5zisQ1zyxFgISw9mztcz0XbHTdurklNjleMx1aUA5U.cache +1 -0
  171. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a5/a5O3NIdzPl0cdbCdVkYA9P9lpNRPjyMCViolW9XhLVo.cache +1 -0
  172. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aS/aS6nnaCaO7L6EkZaEVpCmd8KMTcB7_Z2RzKYn9y4EQ0.cache +1 -0
  173. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/am/amrEpszeLKtdRNJO_wvfR4CrCz0Ir06_TX8B7pq1cBg.cache +0 -0
  174. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bD/bD1YRW0nGSZSi6Yjf72ndpk0mSsnE2bIqF9HFpuQvJQ.cache +1 -0
  175. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bL/bLTJSRS-mPPtzb3ADwW73pG5RKqBMNyRSzmSykFI4aE.cache +1 -0
  176. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bL/bLpXenoWnkxKfzeQ13hl4RPrP7Bz-CtaezkMzIQlza8.cache +1 -0
  177. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +0 -0
  178. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dG/dGSOHXa2AZ0InnD5tvsjuust4kitbUMQ2Sl_m8wAyf8.cache +1 -0
  179. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dk/dkEweQBtw4njrs6iVJnj7ETQ4TymXPZEco06LxR-GkU.cache +0 -0
  180. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dt/dtAVvVgzfd4QVeFVwgVQEqfOZHSLv31NAGS--_AFFbk.cache +1 -0
  181. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dv/DvhTH0zff-ovDk0WuxtJVX52w1Dsj8mpTrlu13gFZLk.cache +0 -0
  182. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dv/dvFJw0JQySkre2qTOuLi3LGVG3Ph4EZAlO6DGxv-NnU.cache +0 -0
  183. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eE/eEuAk0x0P4OKjqc5gajF3htm7mCKzyqIXg6J12bCC3I.cache +2 -0
  184. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ef/efZTW0s76NnPeT2AOVM0HzsJS1xLONNJUHYE1zdCwGY.cache +0 -0
  185. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/el/elst6LxDf6uiVQqncFBRktiesQ9v596iWdTQYZawHEM.cache +0 -0
  186. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eu/euKy5W1SAHGCFuJPKmIrFquEdTMDPZUo6cDEhrPTLls.cache +0 -0
  187. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fA/fAViRsSZA5XPpdMKXZISeo6pwTqQvSbgV3DwDIabGNo.cache +0 -0
  188. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fD/fDLaGMMGspyWygH8LlU0lxLyilp70uVzb4RCmhjbnhM.cache +0 -0
  189. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fP/FPY6pMfBVF2ZZFxjkNoHy-pIX28YUKhYxeA3NetoKcc.cache +1 -0
  190. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fP/fPpdI9YznBUi8ANFCN5U-ZVmPliuf4NEJVoXO51WvJc.cache +1 -0
  191. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fP/fpQeY6CbAun98ZHomPg7-bNYZhRLvsamvuecQS5LMBU.cache +1 -0
  192. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/g0/g0330d9boKb5chcX02AeoulsGjVEEjZJWdlpD_XpJY4.cache +2 -0
  193. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gD/gD6ot5sYgE-WBfmqQ7IaCYuSjtyIndn5s8O2MW6o8GU.cache +1 -0
  194. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/im/im-Ko494HDK7aTzKHqKNowN3DyIBJn4TiHUm2mn2dhM.cache +1 -0
  195. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j6/j65tprlPKeR-CehSzEgLSiUFS3AaYIJuzAKEk61ZA1Y.cache +1 -0
  196. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j8/j8dyiExD2nG1_gMxpZvzzwB0yaR1R5ENefU2luvhl7Y.cache +2 -0
  197. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jP/jPNHfJkhkye_m0cM-YrVn04QupctcHRhUu8iwOOqhtw.cache +1 -0
  198. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kc/kcFhYA0d3emrDxUmud7c48o5u6yQwyeOVtMmwORgpBw.cache +0 -0
  199. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lk/lk9QnvV0ljxlBsK_QCOrLY03_QjoK5h_pKjjxNEd3SA.cache +1 -0
  200. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lr/lrTlK4TrzHJzJlyneDsyErO7wWUWPDmftoHVW7Rgj-0.cache +0 -0
  201. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lt/lty3VRZktpe4UVJ4_zXLYxW4_kA4BxdzbEJsDuzd2B0.cache +1 -0
  202. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mE/mESJqSh3IknWVtFxGBdjfQ7ucP3Qr3AnX_VN5XI8H9E.cache +1 -0
  203. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mN/mNRYoOqJlB5Q4bgxmEEBCwKWfK7rMHv78T86bTHR--Q.cache +1 -0
  204. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache +0 -0
  205. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nB/nBZaod2TAg-SCCdhqam2NT8yByjFoYKRNsrK2yYoQh8.cache +1 -0
  206. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nU/nUx82NupskukOpC2x2UWPfPZYfcqn_YiCdpx9zoDLSA.cache +1 -0
  207. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -0
  208. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -0
  209. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/o1/o14kRWbYMyhU0inykrB0P9jKoKHqRF0SwhpubuX6taU.cache +0 -0
  210. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oQ/oQLnX-2tNalupH2T660cx2Bv3YARzSKu8JZKCLp0j20.cache +1 -0
  211. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oQ/oQcpLerwTeJdicTzkZbtuTnmEkICELpCDAJS7ItOd7U.cache +0 -0
  212. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ob/obVCEvP8Mw6ENSbPK7wgHTWZpqyjoex_URTP6dey67g.cache +2 -0
  213. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oz/ozRNsKle-0dkVv9TVQv2L4j0KHKVorNn-Y1ZoqeH23k.cache +0 -0
  214. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pG/pGx8dgb85gcQO3XOrNlHmvafHPF-lL3uSCNTdhqPX18.cache +1 -0
  215. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p_/p_PWUDJLQf1atvZhhoyb-0AaUsrtHK8KU7kagZ2zyRM.cache +1 -0
  216. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pm/pmbWi2btd3KtBAF8CYhiLr2-ukFXxId0ylowGfqydkY.cache +0 -0
  217. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/q2/q2K0N7MblONWdUKKS4c9bfwNHDWuRkYadJCjok9UCXI.cache +1 -0
  218. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qu/qu7l1v4I55NHtTUGNIuAM2wJ3QBOQhANIRUwle_j1Y4.cache +1 -0
  219. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rV/rVSAQ3sTHbGs4UPCwZRbSQjlbfOm8AzJqR4k2gkf9hM.cache +1 -0
  220. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHXKrc5B3KBol-bEZM0XIznn6_BQVCPF7hasOTXNyO8.cache +1 -0
  221. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sM/sMKpdRSlEcVRbOqSsc__aw5mVMuXK3ZEPZCvViYNda8.cache +0 -0
  222. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sc/scdDaFuy71mZQ2arS0dSZNmPLSmiIMZa0swBAmPyiU8.cache +1 -0
  223. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uU/uUt5sf6NA2ya1M2MpCcLhrhyUw4WeEGEa8vsf7cekBQ.cache +0 -0
  224. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ug/ug5RHgJJ200_4orxQv-xqHnZDyPiPjgRhTVz7vgzWY4.cache +1 -0
  225. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v6/v6_ojZlJ1QDYoLVNY2SApvICGklrej1fxYJxFWb8IM4.cache +0 -0
  226. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/va/Vad7m3FUgOsZS7pl3DgNAPEvfAqBAG1_WKjqpGlJTG8.cache +0 -0
  227. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/va/va5poKCjsL5Wp3j5hL7wFbD7TcPBzheI2tiSnBh_3tM.cache +1 -0
  228. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xs/xsgBreUPfNwnblzhAkGChr7kJbU7PqO8PWyEW-CfEQY.cache +1 -0
  229. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y7/y7F3_2-J_Arx_AkD0P3mAkqOjZ9JiMlGaxpmSM7lsRc.cache +1 -0
  230. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yF/yFPchNl88oBAJTCBwi9H9eL9EV2D7fNcEM7JjPpgg_k.cache +2 -0
  231. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z4/z4D0MyZoHMzE_XiqOnR-a9JLt4SpmpFAFHiFUNIKEV8.cache +1 -0
  232. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zP/zPFxDYRLW-AMnp9IbPtHKk_--8Iy8dluhgknBCcqZcA.cache +0 -0
  233. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zZ/zZiuImW-YlPd_8deyKGG-Wku7gzX-sxgPRUJTBOpO0U.cache +1 -0
  234. data/spec/dummy/tmp/portability/1/build.zip +0 -0
  235. data/spec/dummy/tmp/portability/11/build.zip +0 -0
  236. data/spec/dummy/tmp/portability/14/build.zip +0 -0
  237. data/spec/dummy/tmp/portability/15/build.zip +0 -0
  238. data/spec/dummy/tmp/portability/17/build.zip +0 -0
  239. data/spec/dummy/tmp/portability/2/build.zip +0 -0
  240. data/spec/dummy/tmp/portability/4/build.zip +0 -0
  241. data/spec/dummy/tmp/portability/8/build.zip +0 -0
  242. data/spec/dummy/tmp/portability/9/build.zip +0 -0
  243. data/spec/dummy/tmp/restart.txt +0 -0
  244. data/spec/mailers/policy_manager/portability_mailer_spec.rb +194 -0
  245. data/spec/mailers/previews/policy_manager/portability_mailer_preview.rb +6 -0
  246. data/spec/models/policy_manager/config_spec.rb +29 -0
  247. data/spec/models/policy_manager/exporter_spec.rb +99 -0
  248. data/spec/models/policy_manager/portability_request_spec.rb +78 -0
  249. data/spec/models/policy_manager/portability_rule_spec.rb +56 -0
  250. data/spec/models/policy_manager/term_spec.rb +29 -0
  251. data/spec/models/policy_manager/user_spec.rb +118 -0
  252. data/spec/models/policy_manager/user_term_spec.rb +4 -0
  253. data/spec/rails_helper.rb +79 -0
  254. data/spec/spec_helper.rb +107 -0
  255. metadata +484 -18
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # ActiveSupport::Reloader.to_prepare do
4
+ # ApplicationController.renderer.defaults.merge!(
5
+ # http_host: 'example.org',
6
+ # https: false
7
+ # )
8
+ # end
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path.
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+ # Add Yarn node_modules folder to the asset load path.
9
+ Rails.application.config.assets.paths << Rails.root.join('node_modules')
10
+
11
+ # Precompile additional assets.
12
+ # application.js, application.css, and all non-JS/CSS in the app/assets
13
+ # folder are already added.
14
+ # Rails.application.config.assets.precompile += %w( admin.js admin.css )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Specify a serializer for the signed and encrypted cookie jars.
4
+ # Valid options are :json, :marshal, and :hybrid.
5
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,33 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # The following keys must be escaped otherwise they will not be retrieved by
20
+ # the default I18n backend:
21
+ #
22
+ # true, false, on, off, yes, no
23
+ #
24
+ # Instead, surround them with single quotes.
25
+ #
26
+ # en:
27
+ # 'true': 'foo'
28
+ #
29
+ # To learn more, please read the Rails Internationalization guide
30
+ # available at http://guides.rubyonrails.org/i18n.html.
31
+
32
+ en:
33
+ hello: "Hello world"
@@ -0,0 +1,56 @@
1
+ # Puma can serve each request in a thread from an internal thread pool.
2
+ # The `threads` method setting takes two numbers: a minimum and maximum.
3
+ # Any libraries that use thread pools should be configured to match
4
+ # the maximum value specified for Puma. Default is set to 5 threads for minimum
5
+ # and maximum; this matches the default thread size of Active Record.
6
+ #
7
+ threads_count = ENV.fetch("RAILS_MAX_THREADS") { 5 }
8
+ threads threads_count, threads_count
9
+
10
+ # Specifies the `port` that Puma will listen on to receive requests; default is 3000.
11
+ #
12
+ port ENV.fetch("PORT") { 3000 }
13
+
14
+ # Specifies the `environment` that Puma will run in.
15
+ #
16
+ environment ENV.fetch("RAILS_ENV") { "development" }
17
+
18
+ # Specifies the number of `workers` to boot in clustered mode.
19
+ # Workers are forked webserver processes. If using threads and workers together
20
+ # the concurrency of the application would be max `threads` * `workers`.
21
+ # Workers do not work on JRuby or Windows (both of which do not support
22
+ # processes).
23
+ #
24
+ # workers ENV.fetch("WEB_CONCURRENCY") { 2 }
25
+
26
+ # Use the `preload_app!` method when specifying a `workers` number.
27
+ # This directive tells Puma to first boot the application and load code
28
+ # before forking the application. This takes advantage of Copy On Write
29
+ # process behavior so workers use less memory. If you use this option
30
+ # you need to make sure to reconnect any threads in the `on_worker_boot`
31
+ # block.
32
+ #
33
+ # preload_app!
34
+
35
+ # If you are preloading your application and using Active Record, it's
36
+ # recommended that you close any connections to the database before workers
37
+ # are forked to prevent connection leakage.
38
+ #
39
+ # before_fork do
40
+ # ActiveRecord::Base.connection_pool.disconnect! if defined?(ActiveRecord)
41
+ # end
42
+
43
+ # The code in the `on_worker_boot` will be called if you are using
44
+ # clustered mode by specifying a number of `workers`. After each worker
45
+ # process is booted, this block will be run. If you are using the `preload_app!`
46
+ # option, you will want to use this block to reconnect to any threads
47
+ # or connections that may have been created at application boot, as Ruby
48
+ # cannot share connections between processes.
49
+ #
50
+ # on_worker_boot do
51
+ # ActiveRecord::Base.establish_connection if defined?(ActiveRecord)
52
+ # end
53
+ #
54
+
55
+ # Allow puma to be restarted by `rails restart` command.
56
+ plugin :tmp_restart
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ mount PolicyManager::Engine => "/terms"
3
+ end
@@ -0,0 +1,32 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rails secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ # Shared secrets are available across all environments.
14
+
15
+ # shared:
16
+ # api_key: a1B2c3D4e5F6
17
+
18
+ # Environmental secrets are only available for that specific environment.
19
+
20
+ development:
21
+ secret_key_base: 6cb7d3d7becb2879925310121083efcb61e7384da8871e35a35fc2b6a6c6470d536cedbbeedc8cfa7a21ab7c26ff65e3fa79d7eadd53dcc8e46ddabbb4429950
22
+
23
+ test:
24
+ secret_key_base: 492b72c959660cf41135600a1fe0b41950a4f68b2c13553f25e0cff721d7bdccf002464d0f5bdb80d1b52ca44be460799c72d33004fc3941b03a971600586cad
25
+
26
+ # Do not keep production secrets in the unencrypted secrets file.
27
+ # Instead, either read values from the environment.
28
+ # Or, use `bin/rails secrets:setup` to configure encrypted secrets
29
+ # and move the `production:` environment over there.
30
+
31
+ production:
32
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,6 @@
1
+ %w(
2
+ .ruby-version
3
+ .rbenv-vars
4
+ tmp/restart.txt
5
+ tmp/caching-dev.txt
6
+ ).each { |path| Spring.watch(path) }
@@ -0,0 +1,9 @@
1
+ class CreateUsers < ActiveRecord::Migration[5.1]
2
+ def change
3
+ create_table :users do |t|
4
+ t.string :email
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,56 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # Note that this schema.rb definition is the authoritative source for your
6
+ # database schema. If you need to create the application database on another
7
+ # system, you should be using db:schema:load, not running all the migrations
8
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
9
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 20180410171354) do
14
+
15
+ create_table "policy_manager_portability_requests", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
16
+ t.integer "user_id"
17
+ t.string "state"
18
+ t.string "attachment"
19
+ t.string "attachment_file_name"
20
+ t.string "attachment_file_size"
21
+ t.datetime "attachment_content_type"
22
+ t.string "attachment_file_content_type"
23
+ t.datetime "expire_at"
24
+ t.datetime "created_at", null: false
25
+ t.datetime "updated_at", null: false
26
+ t.index ["user_id"], name: "index_policy_manager_portability_requests_on_user_id"
27
+ end
28
+
29
+ create_table "policy_manager_terms", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
30
+ t.text "description"
31
+ t.string "rule"
32
+ t.string "state"
33
+ t.datetime "accepted_at"
34
+ t.datetime "rejected_at"
35
+ t.datetime "created_at", null: false
36
+ t.datetime "updated_at", null: false
37
+ end
38
+
39
+ create_table "policy_manager_user_terms", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
40
+ t.integer "user_id"
41
+ t.integer "term_id"
42
+ t.string "state"
43
+ t.datetime "created_at", null: false
44
+ t.datetime "updated_at", null: false
45
+ t.index ["state"], name: "index_policy_manager_user_terms_on_state"
46
+ t.index ["term_id"], name: "index_policy_manager_user_terms_on_term_id"
47
+ t.index ["user_id"], name: "index_policy_manager_user_terms_on_user_id"
48
+ end
49
+
50
+ create_table "users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
51
+ t.string "email"
52
+ t.datetime "created_at", null: false
53
+ t.datetime "updated_at", null: false
54
+ end
55
+
56
+ end
@@ -0,0 +1,326 @@
1
+ Started GET "/" for 127.0.0.1 at 2018-05-16 04:00:05 -0400
2
+
3
+ ActiveRecord::PendingMigrationError (
4
+
5
+ Migrations are pending. To resolve this issue, run:
6
+
7
+ bin/rails db:migrate RAILS_ENV=development
8
+
9
+ ):
10
+
11
+ activerecord (5.1.6) lib/active_record/migration.rb:576:in `check_pending!'
12
+ activerecord (5.1.6) lib/active_record/migration.rb:553:in `call'
13
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
14
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
15
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
16
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
17
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
18
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
19
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
20
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
21
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
22
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
23
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
24
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
25
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
26
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
27
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
28
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
29
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
30
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
31
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
32
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
33
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
34
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
35
+ puma (3.11.3) lib/puma/configuration.rb:225:in `call'
36
+ puma (3.11.3) lib/puma/server.rb:624:in `handle_request'
37
+ puma (3.11.3) lib/puma/server.rb:438:in `process_client'
38
+ puma (3.11.3) lib/puma/server.rb:302:in `block in run'
39
+ puma (3.11.3) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
40
+  (0.5ms) SELECT sqlite_version(*)
41
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
42
+  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
43
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
44
+ Migrating to CreatePolicyManagerTerms (20180326193825)
45
+  (0.1ms) begin transaction
46
+  (0.5ms) CREATE TABLE "policy_manager_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "description" text, "rule" varchar, "state" varchar, "accepted_at" datetime, "rejected_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
47
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180326193825"]]
48
+  (0.8ms) commit transaction
49
+ Migrating to CreateUsers (20180326193826)
50
+  (0.1ms) begin transaction
51
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
52
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180326193826"]]
53
+  (0.8ms) commit transaction
54
+ Migrating to CreatePolicyManagerUserTerms (20180326193827)
55
+  (0.0ms) begin transaction
56
+  (0.5ms) CREATE TABLE "policy_manager_user_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "term_id" integer, "state" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
57
+  (0.1ms) CREATE INDEX "index_policy_manager_user_terms_on_user_id" ON "policy_manager_user_terms" ("user_id")
58
+  (0.1ms)  SELECT sql
59
+ FROM sqlite_master
60
+ WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'
61
+ UNION ALL
62
+ SELECT sql
63
+ FROM sqlite_temp_master
64
+ WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'
65
+ 
66
+  (0.1ms) CREATE INDEX "index_policy_manager_user_terms_on_term_id" ON "policy_manager_user_terms" ("term_id")
67
+  (0.1ms)  SELECT sql
68
+ FROM sqlite_master
69
+ WHERE name='index_policy_manager_user_terms_on_term_id' AND type='index'
70
+ UNION ALL
71
+ SELECT sql
72
+ FROM sqlite_temp_master
73
+ WHERE name='index_policy_manager_user_terms_on_term_id' AND type='index'
74
+ 
75
+  (0.1ms)  SELECT sql
76
+ FROM sqlite_master
77
+ WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'
78
+ UNION ALL
79
+ SELECT sql
80
+ FROM sqlite_temp_master
81
+ WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'
82
+ 
83
+  (0.1ms) CREATE INDEX "index_policy_manager_user_terms_on_state" ON "policy_manager_user_terms" ("state")
84
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180326193827"]]
85
+  (0.9ms) commit transaction
86
+ Migrating to CreatePolicyManagerPortabilityRequests (20180410171354)
87
+  (0.1ms) begin transaction
88
+  (0.4ms) CREATE TABLE "policy_manager_portability_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "state" varchar, "attachment" varchar, "attachment_file_name" varchar, "attachment_file_size" varchar, "attachment_content_type" datetime, "attachment_file_content_type" varchar, "expire_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
89
+  (0.1ms) CREATE INDEX "index_policy_manager_portability_requests_on_user_id" ON "policy_manager_portability_requests" ("user_id")
90
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20180410171354"]]
91
+  (0.8ms) commit transaction
92
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
93
+  (0.1ms) begin transaction
94
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-05-16 08:00:20.468844"], ["updated_at", "2018-05-16 08:00:20.468844"]]
95
+  (0.7ms) commit transaction
96
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
97
+  (0.1ms)  SELECT sql
98
+ FROM sqlite_master
99
+ WHERE name='index_policy_manager_portability_requests_on_user_id' AND type='index'
100
+ UNION ALL
101
+ SELECT sql
102
+ FROM sqlite_temp_master
103
+ WHERE name='index_policy_manager_portability_requests_on_user_id' AND type='index'
104
+ 
105
+  (0.1ms)  SELECT sql
106
+ FROM sqlite_master
107
+ WHERE name='index_policy_manager_user_terms_on_state' AND type='index'
108
+ UNION ALL
109
+ SELECT sql
110
+ FROM sqlite_temp_master
111
+ WHERE name='index_policy_manager_user_terms_on_state' AND type='index'
112
+ 
113
+  (0.1ms)  SELECT sql
114
+ FROM sqlite_master
115
+ WHERE name='index_policy_manager_user_terms_on_term_id' AND type='index'
116
+ UNION ALL
117
+ SELECT sql
118
+ FROM sqlite_temp_master
119
+ WHERE name='index_policy_manager_user_terms_on_term_id' AND type='index'
120
+ 
121
+  (0.1ms)  SELECT sql
122
+ FROM sqlite_master
123
+ WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'
124
+ UNION ALL
125
+ SELECT sql
126
+ FROM sqlite_temp_master
127
+ WHERE name='index_policy_manager_user_terms_on_user_id' AND type='index'
128
+ 
129
+ Started GET "/" for 127.0.0.1 at 2018-05-16 04:00:31 -0400
130
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
131
+ Processing by Rails::WelcomeController#index as HTML
132
+ Rendering /Users/michelson/.rvm/gems/ruby-2.3.1/gems/railties-5.1.6/lib/rails/templates/rails/welcome/index.html.erb
133
+ Rendered /Users/michelson/.rvm/gems/ruby-2.3.1/gems/railties-5.1.6/lib/rails/templates/rails/welcome/index.html.erb (9.7ms)
134
+ Completed 200 OK in 30ms (Views: 22.2ms | ActiveRecord: 0.0ms)
135
+
136
+
137
+ Started GET "/terms" for 127.0.0.1 at 2018-05-16 04:00:36 -0400
138
+ Processing by PolicyManager::CategoriesController#index as HTML
139
+ Completed 500 Internal Server Error in 105ms (ActiveRecord: 0.0ms)
140
+
141
+
142
+
143
+ NoMethodError (super: no superclass method `current_user' for #<PolicyManager::CategoriesController:0x007feacab98e78>):
144
+
145
+ /Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/app/controllers/policy_manager/application_controller.rb:26:in `current_user'
146
+ /Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/app/controllers/policy_manager/application_controller.rb:16:in `user_authenticated?'
147
+ activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda'
148
+ activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
149
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
150
+ activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting'
151
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before'
152
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each'
153
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before'
154
+ activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks'
155
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
156
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
157
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
158
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
159
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
160
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
161
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
162
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
163
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
164
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
165
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
166
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
167
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
168
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
169
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
170
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
171
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
172
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
173
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
174
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
175
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
176
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
177
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
178
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
179
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
180
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
181
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
182
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
183
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
184
+ rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
185
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
186
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
187
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
188
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
189
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
190
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
191
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
192
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
193
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
194
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
195
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
196
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
197
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
198
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
199
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
200
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
201
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
202
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
203
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
204
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
205
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
206
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
207
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
208
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
209
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
210
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
211
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
212
+ puma (3.11.3) lib/puma/configuration.rb:225:in `call'
213
+ puma (3.11.3) lib/puma/server.rb:624:in `handle_request'
214
+ puma (3.11.3) lib/puma/server.rb:438:in `process_client'
215
+ puma (3.11.3) lib/puma/server.rb:302:in `block in run'
216
+ puma (3.11.3) lib/puma/thread_pool.rb:120:in `block in spawn_thread'
217
+ Started GET "/terms" for 127.0.0.1 at 2018-05-16 04:02:09 -0400
218
+ Processing by PolicyManager::CategoriesController#index as HTML
219
+ User Load (0.6ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]]
220
+ Completed 500 Internal Server Error in 137ms (ActiveRecord: 1.9ms)
221
+
222
+
223
+
224
+ ActionView::MissingTemplate (Missing template /401.erb with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :svg, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip, :gzip], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :haml, :jbuilder]}. Searched in:
225
+ * "/Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/spec/dummy/app/views"
226
+ * "/Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/app/views"
227
+ * "/Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/spec/dummy"
228
+ * "/"
229
+ ):
230
+
231
+ actionview (5.1.6) lib/action_view/path_set.rb:50:in `find_file'
232
+ actionview (5.1.6) lib/action_view/lookup_context.rb:121:in `find_file'
233
+ actionview (5.1.6) lib/action_view/renderer/abstract_renderer.rb:18:in `find_file'
234
+ actionview (5.1.6) lib/action_view/renderer/template_renderer.rb:30:in `block in determine_template'
235
+ actionview (5.1.6) lib/action_view/lookup_context.rb:147:in `with_fallbacks'
236
+ actionview (5.1.6) lib/action_view/renderer/abstract_renderer.rb:18:in `with_fallbacks'
237
+ actionview (5.1.6) lib/action_view/renderer/template_renderer.rb:30:in `determine_template'
238
+ actionview (5.1.6) lib/action_view/renderer/template_renderer.rb:8:in `render'
239
+ actionview (5.1.6) lib/action_view/renderer/renderer.rb:42:in `render_template'
240
+ actionview (5.1.6) lib/action_view/renderer/renderer.rb:23:in `render'
241
+ actionview (5.1.6) lib/action_view/rendering.rb:103:in `_render_template'
242
+ actionpack (5.1.6) lib/action_controller/metal/streaming.rb:217:in `_render_template'
243
+ actionview (5.1.6) lib/action_view/rendering.rb:83:in `render_to_body'
244
+ actionpack (5.1.6) lib/action_controller/metal/rendering.rb:52:in `render_to_body'
245
+ actionpack (5.1.6) lib/action_controller/metal/renderers.rb:141:in `render_to_body'
246
+ actionpack (5.1.6) lib/abstract_controller/rendering.rb:24:in `render'
247
+ actionpack (5.1.6) lib/action_controller/metal/rendering.rb:36:in `render'
248
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
249
+ activesupport (5.1.6) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
250
+ /Users/michelson/.rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/benchmark.rb:308:in `realtime'
251
+ activesupport (5.1.6) lib/active_support/core_ext/benchmark.rb:12:in `ms'
252
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
253
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
254
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:29:in `cleanup_view_runtime'
255
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:43:in `render'
256
+ /Users/michelson/Documents/rubyonrails/prey-control-panel/vendor/engines/terms/app/controllers/policy_manager/application_controller.rb:17:in `user_authenticated?'
257
+ activesupport (5.1.6) lib/active_support/callbacks.rb:413:in `block in make_lambda'
258
+ activesupport (5.1.6) lib/active_support/callbacks.rb:197:in `block (2 levels) in halting'
259
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:12:in `block (2 levels) in <module:Callbacks>'
260
+ activesupport (5.1.6) lib/active_support/callbacks.rb:198:in `block in halting'
261
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `block in invoke_before'
262
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `each'
263
+ activesupport (5.1.6) lib/active_support/callbacks.rb:507:in `invoke_before'
264
+ activesupport (5.1.6) lib/active_support/callbacks.rb:130:in `run_callbacks'
265
+ actionpack (5.1.6) lib/abstract_controller/callbacks.rb:19:in `process_action'
266
+ actionpack (5.1.6) lib/action_controller/metal/rescue.rb:20:in `process_action'
267
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
268
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `block in instrument'
269
+ activesupport (5.1.6) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
270
+ activesupport (5.1.6) lib/active_support/notifications.rb:166:in `instrument'
271
+ actionpack (5.1.6) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
272
+ actionpack (5.1.6) lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
273
+ activerecord (5.1.6) lib/active_record/railties/controller_runtime.rb:22:in `process_action'
274
+ actionpack (5.1.6) lib/abstract_controller/base.rb:124:in `process'
275
+ actionview (5.1.6) lib/action_view/rendering.rb:30:in `process'
276
+ actionpack (5.1.6) lib/action_controller/metal.rb:189:in `dispatch'
277
+ actionpack (5.1.6) lib/action_controller/metal.rb:253:in `dispatch'
278
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
279
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:31:in `serve'
280
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
281
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
282
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
283
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
284
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
285
+ railties (5.1.6) lib/rails/railtie.rb:185:in `public_send'
286
+ railties (5.1.6) lib/rails/railtie.rb:185:in `method_missing'
287
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:17:in `block in <class:Constraints>'
288
+ actionpack (5.1.6) lib/action_dispatch/routing/mapper.rb:46:in `serve'
289
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:50:in `block in serve'
290
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `each'
291
+ actionpack (5.1.6) lib/action_dispatch/journey/router.rb:33:in `serve'
292
+ actionpack (5.1.6) lib/action_dispatch/routing/route_set.rb:844:in `call'
293
+ rack (2.0.4) lib/rack/etag.rb:25:in `call'
294
+ rack (2.0.4) lib/rack/conditional_get.rb:25:in `call'
295
+ rack (2.0.4) lib/rack/head.rb:12:in `call'
296
+ rack (2.0.4) lib/rack/session/abstract/id.rb:232:in `context'
297
+ rack (2.0.4) lib/rack/session/abstract/id.rb:226:in `call'
298
+ actionpack (5.1.6) lib/action_dispatch/middleware/cookies.rb:613:in `call'
299
+ activerecord (5.1.6) lib/active_record/migration.rb:556:in `call'
300
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
301
+ activesupport (5.1.6) lib/active_support/callbacks.rb:97:in `run_callbacks'
302
+ actionpack (5.1.6) lib/action_dispatch/middleware/callbacks.rb:24:in `call'
303
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
304
+ actionpack (5.1.6) lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
305
+ actionpack (5.1.6) lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
306
+ railties (5.1.6) lib/rails/rack/logger.rb:36:in `call_app'
307
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `block in call'
308
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `block in tagged'
309
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:26:in `tagged'
310
+ activesupport (5.1.6) lib/active_support/tagged_logging.rb:69:in `tagged'
311
+ railties (5.1.6) lib/rails/rack/logger.rb:24:in `call'
312
+ sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
313
+ actionpack (5.1.6) lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
314
+ actionpack (5.1.6) lib/action_dispatch/middleware/request_id.rb:25:in `call'
315
+ rack (2.0.4) lib/rack/method_override.rb:22:in `call'
316
+ rack (2.0.4) lib/rack/runtime.rb:22:in `call'
317
+ activesupport (5.1.6) lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
318
+ actionpack (5.1.6) lib/action_dispatch/middleware/executor.rb:12:in `call'
319
+ actionpack (5.1.6) lib/action_dispatch/middleware/static.rb:125:in `call'
320
+ rack (2.0.4) lib/rack/sendfile.rb:111:in `call'
321
+ railties (5.1.6) lib/rails/engine.rb:522:in `call'
322
+ puma (3.11.3) lib/puma/configuration.rb:225:in `call'
323
+ puma (3.11.3) lib/puma/server.rb:624:in `handle_request'
324
+ puma (3.11.3) lib/puma/server.rb:438:in `process_client'
325
+ puma (3.11.3) lib/puma/server.rb:302:in `block in run'
326
+ puma (3.11.3) lib/puma/thread_pool.rb:120:in `block in spawn_thread'