gdpr_rails 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/policy_manager/concerns/user_terms.rb +42 -0
- data/app/controllers/policy_manager/user_terms_controller.rb +6 -64
- data/app/models/policy_manager/concerns/user_behavior.rb +5 -5
- data/app/models/policy_manager/portability_request.rb +1 -1
- data/app/models/policy_manager/user_term.rb +1 -1
- data/lib/policy_manager/config.rb +1 -1
- data/lib/policy_manager/version.rb +1 -1
- data/spec/dummy/app/models/another_user.rb +26 -0
- data/spec/dummy/config/database.yml +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20190221193827_create_another_users.rb +9 -0
- data/spec/dummy/db/schema.rb +4 -33
- data/spec/dummy/log/development.log +443 -0
- data/spec/dummy/log/test.log +43784 -0
- data/spec/dummy/test/fixtures/another_users.yml +7 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-a/-aHQxwP06Q1l3SFvBIxMiQYltGHC1m8JxkYfDgYrLAQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-g/-gjzp-ck2yb6Tdt89GKu6zXQ2WQKkhpSiJVFkbrB1EA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-h/-hlM1kR2vjOUm5WXoeZIHyodp0CoKRebRsO_NBtsoyI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-t/-t8f990sOfpmPQ4Z8vmOf6mEfDZ2yoWG9ULAHI1RZOE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0E/0EAgLp4avByXCEGss-kYmNLhcq1TDHSA3tzzO3voKqc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0k/0keLS7n7BrF1dW6jOPaZlLoMNgN0SdbpEz1hGQg6Vdc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1b/1bEROIwc5oQj23SZ2htz-UPdxilvNkK-_zO2enz89cQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1r/1rL0_vhnXKflEHCIhayqGKvIahggn4OM32S-u9cldjs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/22/22qlopVfSb-NAprLkGvGFnrrGyT3aknPTd1mcr9n6iM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2z/2zaQH3i5-H2sAGaNv1xhwKPIupojlSZsUhWxDle6dls.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3I/3IMIH0CnWgFKpGfyuz6cqr3GQqw5Kqr4FXeY2T4t2Ms.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3P/3PkdTX8Fs3jHWDVmgTw678B9TbL72pTiao-Sa14xQAE.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4k/4kyxn8Xl9YphOdLdBhWr_oNqL32lFejOAFviuHukNH8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/59/59CiVYAVFPtvleIV5bHPFieuEuNeWBXLu_pPlA_AU38.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5m/5mO5S2MfbEUVxkXH46amJgMg-T2BHvPkW-PHDU1kP68.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5y/5yHoqy9mnUxVO_i7ZR-K03kXQK-auoOt-eBEjU5OXj4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6A/6AIzqF1gZnraQ1STmFh6RLU-Lxt6gmnLKOKd_b5mua8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6A/6aYIoeQLvEzSfCg96v48NbCUftuuT8AtEkX9QZMqSW0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/72/726z-qbVgHrbQwjA24SMkQj6NC01NKV26LKL5YIEMrw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7J/7J4keF13Jv41wAmHnJtghu6FAyawJVTtonJ0-W3-rTM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7P/7PIUbRiV8Y8GWYRSWsdwmX44RmQMsTejd_b5_UJLib0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7h/7hZcMIiObzta3kek4vjVvIDlUxHE5zpJaz6IEbsKk_0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8e/8e4FRdl1DMMQtTXSFykJV9GTvmFlTDM33Wr2aQimDt4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9-/9-OTYYYlxRuwJWIldQDi-9Fl_V3yAuvawsIbqh41DDI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/A-/A-6FMllBPcMUYEz2RuYEqpusM4sB1VYB-nr2pjLdxxE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AI/AIRy1qewdSPu4KspUovTsLLWBUegd-Noyw1-CrJOxw4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CS/CSAj2e_TLDqvgl3MRh-6RE9I841LoqSDZOd2rLLyfFw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CV/CV6JVVdW1ZMxnoQDN54ivA-jQX8pXqRAMO0M9nbcrAU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CY/CYjbcilVseR74bMqiNJQvYDEfhtXuiyZXgmnuUsGkV8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cu/CuTGLxessomzqUukr5eNIW47zWSw2EcrkHjPU2T79Ss.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Du/DUyo6-s7Nz9FkQCddo6QBemrhIKpLvgP_EQlVIvCMIc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Du/DusKbND6jVwMWGdbLHHFIXSn-VyGoaDFMzfyiRGa01g.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dw/Dw5Rv79fHl7RhN7UndE5QWTk2XxlGR8E4TGriK-fTRo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dz/DzxYG8j_Hk80TSDytBYzhEh4iw2qgnThsphbRfb8Yo0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FG/FGTqZQ-ICnWRw_FIx5roRi8IATSdS5OkwrMtS3XtXBY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FV/FVo-aHKXwy1yxqSMJbkLyHPwRAyFujt9uxWXYbPica0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gh/Gh11Op6cnd3BVM_BqiVDDFJMYQXzF1Rs0H85KKvS6gg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/H3/H3QsZsFck_eI2szqQIJX6m6CKepNHfW03O7kDjLp67M.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HB/HBAJM5iGpE8mygYQoQXo94iLywhzb50rXbxsp-0QFHo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I5/I5hN3KZt5ivvrkpxjmtRV7IuDmIkCg7oIwzDmNiIcBo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JB/JBRp7gYK7Am4VSpEA2KtgnJ7hUn_uWR4Efyepn583_Y.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JU/JUavCo99Fo8fIYH8WHAJW0VWKrwWxzX3SkQ6tVnqa8A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K9/K9kikk4UzNAlj-ylS9V_SIXVh9akPqvgC2wmXLSKPWw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/L7/L7xnnxbChRgMZtzQzwy05Js412R7_RUgJg5FSuH_n4k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MJ/MJ17_sTXgjjs1pZDWp0lj7tCTp9kQ6siEqPiIt0yeEQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mu/Mu1Oqh4YiJx7b3kXCVW0vmwspLRRCO76QR5CZ4hNCjg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NA/NAkzU02rQDJYnKyMltEcsYO4LSTYpGAiYpADUzqbNVw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NH/NHI6S815-hL6Dzee6b-DdCQZRvPmaxbOawD8EFc68YI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NU/NUom7-2vYXd_eEJPYknrsAwAZ8wjIt7PYHRy5_IbFVc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OW/OWzR1WGfjf6E9LsFGmqv9FjKF7tLnK91uhEw79KE-mo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PE/PEjWR-I1zxRHtUF7gbBQ1Ek7DoXi1LdpgEd0DtAHDdQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pi/Pi3bAArV_H1E3W8ia0iNyPPhD5YJQ4508ZX7CzdKPQU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pp/PpNVKBqdav3EobsJmcyre8lzG1wClMVj9j-2gmU2QRM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R6/R6FpOoS6EuiKrVXgMbcjad3Ibr_VL2W0KYP47A7jaxI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RF/RFIQgPTxjMCnNgoYLpS0zLAlSPqlYgp-yNLrpiT6bNs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ra/RaAeFkh66Icz5PuPcBMb_Kn4lKaFCxMKj3Mf5u0rJpM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rg/Rg8-NBWaLbUxa3ffglccKpJoe3Qp62cXTBJf0YKOicI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tf/TfX7CKxq9CGT0II7byr8IDUgkKUETRmyqd3UTh_q0w4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Us/UsdQRHUf-zrBnHLmAUGpqNF9-AcpT3ALFZGgMQudV0w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/V-/V-jtx_79ypXyz8ax35C8m7_j7yusZ11XHrXUA9z7XMI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/W1/W1UKBtf-STM8xlySkcIx-mG8XFQ9ajXmcF05Ltisu0I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/WL/WLQS2trklavDjrIyu36sVxonmT5JolxoyuE45epHAdw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YA/YA3wOiaLDEYoaqT5DFTqyfKYTjY_rFd14qGwFOPMTZ4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ys/YsT84heq92j3foWlXO6byYWcCudufPlS0Oq-EZnduXs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ys/ys3mA-zRRUGP0S4iTcKx_RonHf_WAQp99ZGpkNQwvzE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yu/YukzgTJTB7k2Fwy2rMGCD8hZY90GFYlbkAT4YmW_UYE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZB/ZByeGqvssY6UTbq1m29fzJrwC_P4U10nc_zXYXqUSSg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZU/ZUvhYFT9e0Nd2rmhFfmJWeAW5fijeeZMO1NbJ3qi8pg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zv/ZvZwK5ypI2yuEEbYHYJl1co5hGUZ2tRDWwF9JwfQM_c.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bS/bS3iC0H4_Ge-r9Sbi8YcH91uja7SfilnJfetBOaFrDw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/b_/b_Itlk9QZZd7Rvf8kcA4yLP1R5Acu7jB-m1xQiSU0qE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eB/eBlG7T8TAhmoTaPohjEANUNiW0UHMQZXnmITm4gJimI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ey/EYjFXzqqLtiodZKUuOD38psN3mbJhkiMNH1KMJHtjVg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ey/eyvM_HCZA_hlXW6K1xu6P9_Mea3gLMQBwVbUxWA6Ttw.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/f_/f_i36Hmu17xYcpc3jDVCAzykva6KquwYGdqqLgRwiE0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fa/faPn7B4zieXAAvcPec_s0FA6FtbAXXk114vv1ojuGUo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ft/ftJPgTPp6dnElMFIzpHJCUikKcpFW8db_yZGUaZ_W70.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/g1/g1u_oGi3pgA-2uAtIqn3G9Fu9DnuCCIt3cMsn-a6iRY.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ge/geIQ-vL4sRcpZWAUIm1GWhS8A1_YU2ndjIdVJCS-Uvo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jC/jCh_R4fzgyGAxgZmG717sTbhYTe2-p-EA0Wtj1Y7UbQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lg/lg1ExD6zq_Fv1Ht71z2B1MwWlhUeyq0rAT-gP_8-37c.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ll/llIDdeIkmyURZ2DbBvGx9ELYgC05FPyZaiMs47zl_rI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ln/lnkOHZjj0qN0wjdDTqISbwi3rpVgKphccVPphNphEzY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mX/mX1nlsL_SWOB4y22W5FheRX0YEONKyOY7xUeIvRiHco.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oz/ozRNsKle-0dkVv9TVQv2L4j0KHKVorNn-Y1ZoqeH23k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p0/p0UgQyUa03wLjKCdKoh6l88KkFZm51Y6l2ErCpLpq6I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p0/p0jMhMrkXWEXKdz0A_xO8foeJcDMfZU725lMT6cB9vk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pc/pcLEltO95ofx-rKi148bXemS3vuiolGFQrQTEEaufBg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pz/pzM3RUUwtXKhQ3imcaa9doASJAQJ3zXWHSk-tMaPmTE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qO/qOCD4lYmSNrCmsS2Dlso08gYE3XqDgH6jfj8qv53VZE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qg/qgo_TK76kN_M7OIblszKynmFxms-BnGAEcMuCFCcUmk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rh/RhnOcAIH9GnZzgm48mq6kDm02o5RD0ruwS7Vc22Z0kA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rh/rhiHxaMtmmZZYiO583Or4k7BPLAmMzeqyLc0gmJoKLg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rx/rxcwzzK5tXb6VXzTjzMxfy6a4CdCOrU4mpq6zsOSCXE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sX/sX4_nDcAYBCSCoSVewGQxOL5FI9vJgNVUSWDFwA0tUQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tc/tc_cLeZ4aQAI-SY7F67fDqd3rcESqbLaDrjsh6aE6FU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/to/tofj2C9SbKyYUj_dML3zHTK91A1mHAqikxNxok-XGGU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uU/uUlJF0msNAdT4ST6rqRUkAdlH9vL4_Q3uAmcPmr_7Xw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uU/uuTD2W9Def3Rk5kCW8BxVAcw6OvGZXvyHOy72YZCow0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v0/v06KWsxyryY_cefXxIgvJij95aGaUkbxq3A885_7y5o.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vL/vLX0REBBtf63M9wzTi_c5JGvFp6Hw2TfvB8QNTvXF1o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/w9/w9K9vo0RempLOAQVeC3k12n9QJ1o7uyzzByc4y6PMmQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wX/wXNkAN8ZgMZVOPKuGDGGtarO_P1jzW9WrhvM9WdMtTM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xF/xFziKPVCIY03L0QMyGb_Qwosu5RqxS2bgjsJa7lXZ_Q.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xH/xHYVu8nN-cIJEamW8IVhmY-VieizkWObrlah08OoMyA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xQ/xQdSRH9yEopgH30aAN2vKW4HkDMMAt4XVJF-EKUMOhk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xX/xXItV0-SqLEWMVEQR95OPM6uasu-sSI008PLfVivz8g.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xa/xaZG1JF1braF1MlRAgPC19dVKkA9Xdlx7YQb0JOOoF0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z9/z9O51M9rznozjEDoJhswOkaolmfanQKZyCIXuM8jDqs.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zK/zKriUMIyjtR_QgfrDDjxeTzXauxjjWEFjfQwqLHULSE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z_/z_i_-cAgESR9YdjR1qCZHQyu2qGIM0Ypxyk6hR6EYb4.cache +0 -0
- data/spec/dummy/tmp/export/28/exportable_data/10/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/2/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/3/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/4/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/5/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/6/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/7/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/8/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/9/index.html +14 -0
- data/spec/dummy/tmp/export/28/exportable_data/index.html +14 -0
- data/spec/dummy/tmp/export/28/index.html +16 -0
- data/spec/dummy/tmp/export/28-out.zip +0 -0
- data/spec/dummy/tmp/portability/1/build.zip +0 -0
- data/spec/dummy/tmp/portability/14/build.zip +0 -0
- data/spec/dummy/tmp/portability/15/build.zip +0 -0
- data/spec/dummy/tmp/portability/16/build.zip +0 -0
- data/spec/dummy/tmp/portability/17/build.zip +0 -0
- data/spec/dummy/tmp/portability/18/build.zip +0 -0
- data/spec/dummy/tmp/portability/2/build.zip +0 -0
- data/spec/dummy/tmp/portability/20/build.zip +0 -0
- data/spec/dummy/tmp/restart.txt +0 -0
- data/spec/models/policy_manager/another_user_spec.rb +134 -0
- data/spec/models/policy_manager/exporter_spec.rb +1 -0
- data/spec/models/policy_manager/portability_request_spec.rb +4 -1
- data/spec/models/policy_manager/user_spec.rb +13 -2
- metadata +300 -3
@@ -0,0 +1,443 @@
|
|
1
|
+
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
2
|
+
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
3
|
+
boolean values and must have old data converted to 1 and 0 (its native boolean
|
4
|
+
serialization) before setting this flag to true. Conversion can be accomplished
|
5
|
+
by setting up a rake task which runs
|
6
|
+
|
7
|
+
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
8
|
+
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
9
|
+
|
10
|
+
for all models and all boolean columns, after which the flag must be set to
|
11
|
+
true by adding the following to your application.rb file:
|
12
|
+
|
13
|
+
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
14
|
+
(called from require at bin/rails:14)
|
15
|
+
[1m[35m (53.0ms)[0m [1m[35mSET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483[0m
|
16
|
+
[1m[35m (6.1ms)[0m [1m[35mCREATE DATABASE `gdpr_test` DEFAULT CHARACTER SET `utf8`[0m
|
17
|
+
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
18
|
+
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
19
|
+
boolean values and must have old data converted to 1 and 0 (its native boolean
|
20
|
+
serialization) before setting this flag to true. Conversion can be accomplished
|
21
|
+
by setting up a rake task which runs
|
22
|
+
|
23
|
+
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
24
|
+
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
25
|
+
|
26
|
+
for all models and all boolean columns, after which the flag must be set to
|
27
|
+
true by adding the following to your application.rb file:
|
28
|
+
|
29
|
+
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
30
|
+
(called from instance_eval at /Users/michelson/.rvm/gems/ruby-2.3.1/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
|
31
|
+
Started GET "/" for 127.0.0.1 at 2019-05-05 13:58:45 -0400
|
32
|
+
|
33
|
+
ActiveRecord::PendingMigrationError (
|
34
|
+
|
35
|
+
Migrations are pending. To resolve this issue, run:
|
36
|
+
|
37
|
+
bin/rails db:migrate RAILS_ENV=development
|
38
|
+
|
39
|
+
):
|
40
|
+
|
41
|
+
activerecord (5.2.3) lib/active_record/migration.rb:579:in `check_pending!'
|
42
|
+
activerecord (5.2.3) lib/active_record/migration.rb:556:in `call'
|
43
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
44
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
|
45
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
46
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
47
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
|
48
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
49
|
+
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
|
50
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
|
51
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
52
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
|
53
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
|
54
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
|
55
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
56
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
57
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
58
|
+
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
|
59
|
+
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
|
60
|
+
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
61
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
62
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
|
63
|
+
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
|
64
|
+
railties (5.2.3) lib/rails/engine.rb:524:in `call'
|
65
|
+
puma (3.12.0) lib/puma/configuration.rb:225:in `call'
|
66
|
+
puma (3.12.0) lib/puma/server.rb:658:in `handle_request'
|
67
|
+
puma (3.12.0) lib/puma/server.rb:472:in `process_client'
|
68
|
+
puma (3.12.0) lib/puma/server.rb:332:in `block in run'
|
69
|
+
puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'
|
70
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:58:46 -0400
|
71
|
+
|
72
|
+
ActiveRecord::PendingMigrationError (
|
73
|
+
|
74
|
+
Migrations are pending. To resolve this issue, run:
|
75
|
+
|
76
|
+
bin/rails db:migrate RAILS_ENV=development
|
77
|
+
|
78
|
+
):
|
79
|
+
|
80
|
+
activerecord (5.2.3) lib/active_record/migration.rb:579:in `check_pending!'
|
81
|
+
activerecord (5.2.3) lib/active_record/migration.rb:556:in `call'
|
82
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
83
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
|
84
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
85
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
86
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
|
87
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
88
|
+
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
|
89
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
|
90
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
91
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
|
92
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
|
93
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
|
94
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
95
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
96
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
97
|
+
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
|
98
|
+
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
|
99
|
+
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
100
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
101
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
|
102
|
+
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
|
103
|
+
railties (5.2.3) lib/rails/engine.rb:524:in `call'
|
104
|
+
puma (3.12.0) lib/puma/configuration.rb:225:in `call'
|
105
|
+
puma (3.12.0) lib/puma/server.rb:658:in `handle_request'
|
106
|
+
puma (3.12.0) lib/puma/server.rb:472:in `process_client'
|
107
|
+
puma (3.12.0) lib/puma/server.rb:332:in `block in run'
|
108
|
+
puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'
|
109
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:58:50 -0400
|
110
|
+
|
111
|
+
ActiveRecord::PendingMigrationError (
|
112
|
+
|
113
|
+
Migrations are pending. To resolve this issue, run:
|
114
|
+
|
115
|
+
bin/rails db:migrate RAILS_ENV=development
|
116
|
+
|
117
|
+
):
|
118
|
+
|
119
|
+
activerecord (5.2.3) lib/active_record/migration.rb:579:in `check_pending!'
|
120
|
+
activerecord (5.2.3) lib/active_record/migration.rb:556:in `call'
|
121
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
122
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
|
123
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
124
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
125
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
|
126
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
127
|
+
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
|
128
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
|
129
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
130
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
|
131
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
|
132
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
|
133
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
134
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
135
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
136
|
+
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
|
137
|
+
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
|
138
|
+
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
139
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
140
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
|
141
|
+
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
|
142
|
+
railties (5.2.3) lib/rails/engine.rb:524:in `call'
|
143
|
+
puma (3.12.0) lib/puma/configuration.rb:225:in `call'
|
144
|
+
puma (3.12.0) lib/puma/server.rb:658:in `handle_request'
|
145
|
+
puma (3.12.0) lib/puma/server.rb:472:in `process_client'
|
146
|
+
puma (3.12.0) lib/puma/server.rb:332:in `block in run'
|
147
|
+
puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'
|
148
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:58:50 -0400
|
149
|
+
|
150
|
+
ActiveRecord::PendingMigrationError (
|
151
|
+
|
152
|
+
Migrations are pending. To resolve this issue, run:
|
153
|
+
|
154
|
+
bin/rails db:migrate RAILS_ENV=development
|
155
|
+
|
156
|
+
):
|
157
|
+
|
158
|
+
activerecord (5.2.3) lib/active_record/migration.rb:579:in `check_pending!'
|
159
|
+
activerecord (5.2.3) lib/active_record/migration.rb:556:in `call'
|
160
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
161
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
|
162
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
163
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
164
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
|
165
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
166
|
+
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
|
167
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
|
168
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
169
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
|
170
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
|
171
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
|
172
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
173
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
174
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
175
|
+
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
|
176
|
+
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
|
177
|
+
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
178
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
179
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
|
180
|
+
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
|
181
|
+
railties (5.2.3) lib/rails/engine.rb:524:in `call'
|
182
|
+
puma (3.12.0) lib/puma/configuration.rb:225:in `call'
|
183
|
+
puma (3.12.0) lib/puma/server.rb:658:in `handle_request'
|
184
|
+
puma (3.12.0) lib/puma/server.rb:472:in `process_client'
|
185
|
+
puma (3.12.0) lib/puma/server.rb:332:in `block in run'
|
186
|
+
puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'
|
187
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:58:51 -0400
|
188
|
+
|
189
|
+
ActiveRecord::PendingMigrationError (
|
190
|
+
|
191
|
+
Migrations are pending. To resolve this issue, run:
|
192
|
+
|
193
|
+
bin/rails db:migrate RAILS_ENV=development
|
194
|
+
|
195
|
+
):
|
196
|
+
|
197
|
+
activerecord (5.2.3) lib/active_record/migration.rb:579:in `check_pending!'
|
198
|
+
activerecord (5.2.3) lib/active_record/migration.rb:556:in `call'
|
199
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
200
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
|
201
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
202
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
203
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
|
204
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
205
|
+
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
|
206
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
|
207
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
208
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
|
209
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
|
210
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
|
211
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
212
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
213
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
214
|
+
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
|
215
|
+
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
|
216
|
+
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
217
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
218
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
|
219
|
+
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
|
220
|
+
railties (5.2.3) lib/rails/engine.rb:524:in `call'
|
221
|
+
puma (3.12.0) lib/puma/configuration.rb:225:in `call'
|
222
|
+
puma (3.12.0) lib/puma/server.rb:658:in `handle_request'
|
223
|
+
puma (3.12.0) lib/puma/server.rb:472:in `process_client'
|
224
|
+
puma (3.12.0) lib/puma/server.rb:332:in `block in run'
|
225
|
+
puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'
|
226
|
+
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
227
|
+
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
228
|
+
boolean values and must have old data converted to 1 and 0 (its native boolean
|
229
|
+
serialization) before setting this flag to true. Conversion can be accomplished
|
230
|
+
by setting up a rake task which runs
|
231
|
+
|
232
|
+
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
233
|
+
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
234
|
+
|
235
|
+
for all models and all boolean columns, after which the flag must be set to
|
236
|
+
true by adding the following to your application.rb file:
|
237
|
+
|
238
|
+
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
239
|
+
(called from require at bin/rails:4)
|
240
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
241
|
+
[1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
242
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
243
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
244
|
+
Migrating to CreateUsers (20180326193826)
|
245
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
246
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
247
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20180326193826"]]
|
248
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
249
|
+
Migrating to CreateAnotherUsers (20190221193827)
|
250
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
251
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "another_users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
252
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20190221193827"]]
|
253
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
254
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
255
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
256
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-05-05 17:59:06.275954"], ["updated_at", "2019-05-05 17:59:06.275954"]]
|
257
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
258
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
259
|
+
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
260
|
+
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
261
|
+
boolean values and must have old data converted to 1 and 0 (its native boolean
|
262
|
+
serialization) before setting this flag to true. Conversion can be accomplished
|
263
|
+
by setting up a rake task which runs
|
264
|
+
|
265
|
+
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
266
|
+
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
267
|
+
|
268
|
+
for all models and all boolean columns, after which the flag must be set to
|
269
|
+
true by adding the following to your application.rb file:
|
270
|
+
|
271
|
+
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
272
|
+
(called from instance_eval at /Users/michelson/.rvm/gems/ruby-2.3.1/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
|
273
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:59:18 -0400
|
274
|
+
Started GET "/" for 127.0.0.1 at 2019-05-05 13:59:18 -0400
|
275
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
276
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
277
|
+
Processing by Rails::WelcomeController#index as HTML
|
278
|
+
Rendering /Users/michelson/.rvm/gems/ruby-2.3.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb
|
279
|
+
Rendered /Users/michelson/.rvm/gems/ruby-2.3.1/gems/railties-5.2.3/lib/rails/templates/rails/welcome/index.html.erb (6.7ms)
|
280
|
+
Completed 200 OK in 50ms (Views: 41.4ms | ActiveRecord: 0.0ms)
|
281
|
+
|
282
|
+
|
283
|
+
Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2019-05-05 13:59:18 -0400
|
284
|
+
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
|
285
|
+
Subscription class not found: "EventsChannel"
|
286
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:59:18 -0400
|
287
|
+
Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2019-05-05 13:59:18 -0400
|
288
|
+
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
|
289
|
+
Subscription class not found: "ConversationsChannel"
|
290
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:59:22 -0400
|
291
|
+
Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2019-05-05 13:59:22 -0400
|
292
|
+
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
|
293
|
+
Subscription class not found: "PresenceChannel"
|
294
|
+
DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
|
295
|
+
set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
|
296
|
+
boolean values and must have old data converted to 1 and 0 (its native boolean
|
297
|
+
serialization) before setting this flag to true. Conversion can be accomplished
|
298
|
+
by setting up a rake task which runs
|
299
|
+
|
300
|
+
ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
|
301
|
+
ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
|
302
|
+
|
303
|
+
for all models and all boolean columns, after which the flag must be set to
|
304
|
+
true by adding the following to your application.rb file:
|
305
|
+
|
306
|
+
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
307
|
+
(called from instance_eval at /Users/michelson/.rvm/gems/ruby-2.3.1/gems/activesupport-5.2.3/lib/active_support/lazy_load_hooks.rb:71)
|
308
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:59:59 -0400
|
309
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
310
|
+
Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2019-05-05 13:59:59 -0400
|
311
|
+
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
|
312
|
+
Subscription class not found: "PresenceChannel"
|
313
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:59:59 -0400
|
314
|
+
Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2019-05-05 13:59:59 -0400
|
315
|
+
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
|
316
|
+
Subscription class not found: "EventsChannel"
|
317
|
+
Started GET "/cable" for 127.0.0.1 at 2019-05-05 13:59:59 -0400
|
318
|
+
Started GET "/cable/" [WebSocket] for 127.0.0.1 at 2019-05-05 13:59:59 -0400
|
319
|
+
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
|
320
|
+
Subscription class not found: "ConversationsChannel"
|
321
|
+
Started GET "/documentation" for 127.0.0.1 at 2019-05-05 14:00:02 -0400
|
322
|
+
|
323
|
+
ActionController::RoutingError (No route matches [GET] "/documentation"):
|
324
|
+
|
325
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
|
326
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
327
|
+
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
|
328
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
|
329
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
330
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
|
331
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
|
332
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
|
333
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
334
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
335
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
336
|
+
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
|
337
|
+
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
|
338
|
+
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
339
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
340
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
|
341
|
+
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
|
342
|
+
railties (5.2.3) lib/rails/engine.rb:524:in `call'
|
343
|
+
puma (3.12.0) lib/puma/configuration.rb:225:in `call'
|
344
|
+
puma (3.12.0) lib/puma/server.rb:658:in `handle_request'
|
345
|
+
puma (3.12.0) lib/puma/server.rb:472:in `process_client'
|
346
|
+
puma (3.12.0) lib/puma/server.rb:332:in `block in run'
|
347
|
+
puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'
|
348
|
+
Started GET "/terms/documentation" for 127.0.0.1 at 2019-05-05 14:00:58 -0400
|
349
|
+
Processing by PolicyManager::ApplicationController#doc as HTML
|
350
|
+
Completed 500 Internal Server Error in 113ms (ActiveRecord: 0.0ms)
|
351
|
+
|
352
|
+
|
353
|
+
|
354
|
+
NoMethodError (super: no superclass method `current_user' for #<PolicyManager::ApplicationController:0x007fca3bd64db0>):
|
355
|
+
|
356
|
+
/Users/michelson/Documents/rubyonrails/gdpr_rails/app/controllers/policy_manager/application_controller.rb:37:in `current_user'
|
357
|
+
/Users/michelson/Documents/rubyonrails/gdpr_rails/app/controllers/policy_manager/application_controller.rb:25:in `user_authenticated?'
|
358
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:426:in `block in make_lambda'
|
359
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:198:in `block (2 levels) in halting'
|
360
|
+
actionpack (5.2.3) lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
|
361
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:199:in `block in halting'
|
362
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `block in invoke_before'
|
363
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `each'
|
364
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:513:in `invoke_before'
|
365
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:131:in `run_callbacks'
|
366
|
+
actionpack (5.2.3) lib/abstract_controller/callbacks.rb:41:in `process_action'
|
367
|
+
actionpack (5.2.3) lib/action_controller/metal/rescue.rb:22:in `process_action'
|
368
|
+
actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action'
|
369
|
+
activesupport (5.2.3) lib/active_support/notifications.rb:168:in `block in instrument'
|
370
|
+
activesupport (5.2.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument'
|
371
|
+
activesupport (5.2.3) lib/active_support/notifications.rb:168:in `instrument'
|
372
|
+
actionpack (5.2.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action'
|
373
|
+
actionpack (5.2.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action'
|
374
|
+
activerecord (5.2.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action'
|
375
|
+
actionpack (5.2.3) lib/abstract_controller/base.rb:134:in `process'
|
376
|
+
actionview (5.2.3) lib/action_view/rendering.rb:32:in `process'
|
377
|
+
actionpack (5.2.3) lib/action_controller/metal.rb:191:in `dispatch'
|
378
|
+
actionpack (5.2.3) lib/action_controller/metal.rb:252:in `dispatch'
|
379
|
+
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch'
|
380
|
+
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:34:in `serve'
|
381
|
+
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
|
382
|
+
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
|
383
|
+
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
|
384
|
+
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
|
385
|
+
railties (5.2.3) lib/rails/engine.rb:524:in `call'
|
386
|
+
railties (5.2.3) lib/rails/railtie.rb:190:in `public_send'
|
387
|
+
railties (5.2.3) lib/rails/railtie.rb:190:in `method_missing'
|
388
|
+
actionpack (5.2.3) lib/action_dispatch/routing/mapper.rb:19:in `block in <class:Constraints>'
|
389
|
+
actionpack (5.2.3) lib/action_dispatch/routing/mapper.rb:48:in `serve'
|
390
|
+
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:52:in `block in serve'
|
391
|
+
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `each'
|
392
|
+
actionpack (5.2.3) lib/action_dispatch/journey/router.rb:35:in `serve'
|
393
|
+
actionpack (5.2.3) lib/action_dispatch/routing/route_set.rb:840:in `call'
|
394
|
+
rack (2.0.7) lib/rack/tempfile_reaper.rb:15:in `call'
|
395
|
+
rack (2.0.7) lib/rack/etag.rb:25:in `call'
|
396
|
+
rack (2.0.7) lib/rack/conditional_get.rb:25:in `call'
|
397
|
+
rack (2.0.7) lib/rack/head.rb:12:in `call'
|
398
|
+
actionpack (5.2.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call'
|
399
|
+
rack (2.0.7) lib/rack/session/abstract/id.rb:232:in `context'
|
400
|
+
rack (2.0.7) lib/rack/session/abstract/id.rb:226:in `call'
|
401
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/cookies.rb:670:in `call'
|
402
|
+
activerecord (5.2.3) lib/active_record/migration.rb:559:in `call'
|
403
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
|
404
|
+
activesupport (5.2.3) lib/active_support/callbacks.rb:98:in `run_callbacks'
|
405
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
|
406
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
407
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call'
|
408
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
|
409
|
+
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
|
410
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `block in call'
|
411
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `block in tagged'
|
412
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:28:in `tagged'
|
413
|
+
activesupport (5.2.3) lib/active_support/tagged_logging.rb:71:in `tagged'
|
414
|
+
railties (5.2.3) lib/rails/rack/logger.rb:26:in `call'
|
415
|
+
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call'
|
416
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
|
417
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/request_id.rb:27:in `call'
|
418
|
+
rack (2.0.7) lib/rack/method_override.rb:22:in `call'
|
419
|
+
rack (2.0.7) lib/rack/runtime.rb:22:in `call'
|
420
|
+
activesupport (5.2.3) lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
|
421
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/executor.rb:14:in `call'
|
422
|
+
actionpack (5.2.3) lib/action_dispatch/middleware/static.rb:127:in `call'
|
423
|
+
rack (2.0.7) lib/rack/sendfile.rb:111:in `call'
|
424
|
+
railties (5.2.3) lib/rails/engine.rb:524:in `call'
|
425
|
+
puma (3.12.0) lib/puma/configuration.rb:225:in `call'
|
426
|
+
puma (3.12.0) lib/puma/server.rb:658:in `handle_request'
|
427
|
+
puma (3.12.0) lib/puma/server.rb:472:in `process_client'
|
428
|
+
puma (3.12.0) lib/puma/server.rb:332:in `block in run'
|
429
|
+
puma (3.12.0) lib/puma/thread_pool.rb:133:in `block in spawn_thread'
|
430
|
+
Started GET "/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--28570bbea14808634ed8a4a437aa7eb6ca20ac02/blob.webm" for 127.0.0.1 at 2019-05-05 14:05:06 -0400
|
431
|
+
Processing by ActiveStorage::BlobsController#show as WEBM
|
432
|
+
Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBJdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--28570bbea14808634ed8a4a437aa7eb6ca20ac02", "filename"=>"blob"}
|
433
|
+
Filter chain halted as :set_blob rendered or redirected
|
434
|
+
Completed 404 Not Found in 77ms (ActiveRecord: 0.0ms)
|
435
|
+
|
436
|
+
|
437
|
+
Started GET "/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBFQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f0fccf5eb1a1b40154f71392eb7c94adc33a81fd/foo-1530322369.jpg" for 127.0.0.1 at 2019-05-05 14:05:06 -0400
|
438
|
+
Processing by ActiveStorage::BlobsController#show as JPEG
|
439
|
+
Parameters: {"signed_id"=>"eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBFQT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f0fccf5eb1a1b40154f71392eb7c94adc33a81fd", "filename"=>"foo-1530322369"}
|
440
|
+
Filter chain halted as :set_blob rendered or redirected
|
441
|
+
Completed 404 Not Found in 1ms (ActiveRecord: 0.0ms)
|
442
|
+
|
443
|
+
|