cmor_user_area 0.0.5.pre → 0.0.6.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/cmor/user_area/install/templates/initializer.rb +12 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +7 -0
- data/spec/dummy/app/controllers/home_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/home/index.html.erb +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +17 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +36 -0
- data/spec/dummy/config/application.rb +30 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +61 -0
- data/spec/dummy/config/environments/production.rb +94 -0
- data/spec/dummy/config/environments/test.rb +46 -0
- data/spec/dummy/config/initializers/assets.rb +14 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cmor_user_area.rb +60 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/i18n.rb +2 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/route_translator.rb +3 -0
- data/spec/dummy/config/initializers/simple_form.rb +179 -0
- data/spec/dummy/config/initializers/simple_form_bootstrap.rb +439 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +33 -0
- data/spec/dummy/config/locales/simple_form.en.yml +31 -0
- data/spec/dummy/config/routes.rb +6 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/{20190325192603_create_active_storage_tables.active_storage.rb → 20190331095353_create_active_storage_tables.active_storage.rb} +0 -0
- data/spec/dummy/db/migrate/{20190325192624_create_cmor_user_area_users.cmor_user_area.rb → 20190331095424_create_cmor_user_area_users.cmor_user_area.rb} +0 -0
- data/spec/dummy/db/schema.rb +57 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +108 -0
- data/spec/dummy/log/test.log +509 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-c/-cuKPPwHZkwFd6IgxQE8O3NIcz1BxcEtj8_Li4tO65A.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1K/1KgvLLYOFxSfTJFK5lmV_hmsX4ZkMf5g2Ys-JQhpB0o.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Kq/Kqu-8GldLxbnQ5PYr_P_Xv6O-g9ty5ReXacceHUMDiY.cache → 1V/1VsRgyzQ1vlic_7PaRz77EIFjEEn-CdqTggPIzDWUQk.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1k/1kdNoTqwtFtMqqtblh3qYdDN5dVef2q4brB1porceyU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2S/2SVIvw30C4cWeaBQiu8PWqFuKUJty6OKGIc86tkKMh8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{iJ/iJM3CTsQFj5rof3eJPd4ioz8cgWWJie0byeOy7L6Nng.cache → 37/370Vj1Sltcu2nClumO8b3vVE7_EFa5YqubInckiseiE.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5K/5Kh5RevuIQpUVSDW-EilhDsPlutdytHspzHRGTC9IDU.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{W5/W5NIwCJ2YK1p63ZkfQtu4M00FVW772ITtEBrY9xYfYI.cache → 5V/5VLmIs86eSd_hPs5fQKMe6uET535JDQ0dUVamRx0md8.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5m/5mgggfU5TNVloeEYkS83SNoa72C7S0D8-v90iT0N6EQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{bl/blP7I9wrpMZirmqxSinkxvHgn7dwfxBAvHlUkCTQf9Q.cache → 61/6138Bof4x3ZSZ7YLzRmzE5URgWhtB3VhHpteANuN7Lk.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/76/76taIr98yCKASI80nBxP9-qfWSO83VaTOgn4z_LoziE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{5L/5L-FSYLjBxDmPgzI_CAYGDk-9Mni9w9C57XkJeyt5LA.cache → 7k/7k1s1mg0vEpa372J8lk3aJE9wfHksPwXY2kCroBQiMs.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Zj/ZjK1fvOKdajGTfU5pRn8x2UWgX8GWvuTXo24RENXREM.cache → 90/90mLZCbqQQdp8mH8x2ZaElIGp1TXzqJkAGVjh89YVNE.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AM/AMmCzd0FPCP7ucqJXDVzTxISKuicH3nbG9zmnk0B8XI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{2J/2JZ8VAYhkBcWE3sok5fqFK1opx8vf16OKQxVHfUPn4k.cache → Aw/AwSe0kIpfZO1_N_jxDVfMtl9b18suKN8SrRIgod0AIU.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{F7/F74fucogx91yB5PW70H7x0uAJV_sYuVfbAg73rR-wUI.cache → Bi/BiN2Ha5hUOMTb50aSS144igMPB701e-AeXzEiuq4ibY.cache} +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CF/CFBmCmsu4gAl_qLmYoFOGF0zivHebhIgDLYFJQm1uEc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EN/ENSt_RnkZ4BYiPok7AvYEa9m5BlfomLyXTYhsO7OlYQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Xk/XkVHFvPaI-xAbAcXZSv_EslOO0sXQSOJi2v9-w5UyE4.cache → FX/FXt0N61UaIKRoPm9pevI_ByGNxW2iXndjvUacvoQHiI.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fb/Fb1aUvqSI14uamG3D2ZqdkFhycB5l-9jbv1SFZRB66k.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fd/Fdh8clk4QyqC4tyyDJDlsvQYS4pD8tUJQryNyYirftc.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{PD/PD99Bcd5AQWB3NVDhz4dX9LI8A31bqUs4N-qUdEFCAE.cache → GR/GR_dFxKWlRMlEsjUZxe8l3zVR4KpEtRtvCYGfdxHvSM.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{c7/c7CooReQb2ejxEumMNCGRid6lhlPFxxlYhiSx0BnFf4.cache → GZ/GZwfMCGrlbDC7CbklFx5cgylV5NtlaEkHhnqd2VgZXc.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{j1/j1BQXikuCXkgfl_ekvX7byh1qZLEg4hhbmTdGdJVijs.cache → Gh/GhiFx4ECQwph_b28G_Gw2LIftjSC-4Z-uwubscPBkH0.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{4T/4TkMgJg6Zk3-hcNYiEywIW5XROuYtAcnmPk9_0I7clg.cache → IO/IOkoxozxRsgGlsiI3CG-5qPKBZcX8nzflDIBFar1APs.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{yq/yqxTsMP8kmCSie9aYhLgHs_Db7h-sSa5vmqZZJUtwv0.cache → IU/IUGIkL3Eu0gXGUtNjJ2KTqp13fBKEhaoMwFuMdTtyG0.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{6e/6eHLns1-9lpL1ONXkJHSM9src6rLg-c1X_ABZTpGJU0.cache → Ja/Ja6uOMSCpy_p4sOTkbgkDxHcztKNS0S8q6Gt8IvvJ40.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jy/Jys_Voy4xs7RxsUQm25RwQtv2iBnsKD0DzwtX1hn0QE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KF/KFwsDoXKgPkAViOgXSDkO-_u4UfTHYbvlNfFRRpWeIY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KH/KH1weUIoULdRa3mv789REoKH0CDJo7oR5JtZeu_94WU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mc/Mc3yxqGZIXZvnFjcmbGvsSJ3u3Kt-zzNyTzzgwjklWM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Qn/QntQgTSCYnhbiX4LoprBXIqyz2RyRzOJiKazX9xHuu8.cache → N8/N8tYLaq1Kh-zi5FZJ2mjO2WBVhf7Z2v7skclLaP9UXI.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Nw/NwIZyGSy-WODoVeCMGvfTQjwxeyD4DlfUxGqWTFPEIo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PM/PM1w5sU-TuNp7GGxzztmaIQEMh6qYeMnSiClDT2s3HM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Hx/HxDhLNAjgpAjWKLIYCTcv1gXd11GGWXDRkGMlW1ZL4o.cache → Pq/PqNGPuCtSMrlLnjGKo7EIbwQl9iXU9wM5idrdOwLu8c.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{8Q/8Qv0pOFexuQn3xn0g8_E7UAZoZjcSudR3eCadt2r1ic.cache → Q9/Q9q3jCjA-3xIJF0KIubEiMpBuIFmmxYyp0eMkJBZiwc.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qb/QbaBfd7OSjpTJ-G3P2DDdPRMw658dGXDKXEBmTe4dzY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{jK/jKHqW1VBzFtw_WgOZ-5WFrod_nbiYJ_Duey1VZXs3Mo.cache → R3/R3GdNowIw3hlF0ujvYHDVVWVGlxQVJQFJWbrrEZjmEg.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Ia/Iamg0tlKTyWQONN43wFwQ4e-seFD8rm8Tf-G72HPyP4.cache → Rl/Rl2AUpzfTZuY0hSJkg9KJKQeXBkSv9buTw4_p8gtXIQ.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TW/TWE8JXYPQum_c_l5jTy2fPji0chs99yisTw8BNRw4_8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tt/Ttoa-zD-dAWoo-rJ3gshyxbKoauOWLD-ak-kosgam1A.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UB/UBp41XbZ8R0L0Fb7viPS0UJjNreoVzYRxMEE6SqWYHA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/UX/UXj1sStkYk8SbzALMSHkueNCs63mzQr3JPgwXEScHTQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{MC/MCuEd_HWd5C2COVhVm23pI9wjRXLZI7gB5cNb6b_5X4.cache → UZ/UZ9cRKab4_sSxH3gP17keJ0h3yo5-kZbnDG6WnrdyZU.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uj/UjRnatVNz-qZBbNvAYHU13xUlexnQFOMVeIjVE0p63E.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Vr/VrtEHnJmqjZwGxBqPWkxmfbuNoZ_ZlWNmLzKRC924FU.cache → WA/WAtUty_ix7MBKyJa1_L9faGTPcKqgA4_g-wvi_QSBJQ.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/WC/WCeLIq5pjBhjaZTHe7SaTCpivSl2wm7sKQBEHtVTYds.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wf/Wf--bEKoWjqYVaRlahT16HLs2YYQp1J7tHXTSy6GjKo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wy/WylASnFbdiaJfX1pQIkxGnczfBmu9_9qLe21TVXDPbg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xq/XqkLuENMTUW2nzcPyJZyEuy_5F8K-ICotABR7RArwvA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Y-/Y-wSeC10VnqeKAR-NP3muQymCLBzapXlMfnsLMeB5jQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{VS/VSliUoy2QKm5bR_26CTaylVZY4o61YuE0gr5kqU6UJE.cache → Y4/Y4XWKeUbBAln5R4blBbY3DjHBqNSs4ebK-gp6OmYU_M.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Aq/AqM1YgA1Ku-odROqZQDyMn3C45ppUn4qo1QscS5TAL4.cache → Z4/Z4i6FahvUFyvUMOBpcY-hD6mIl0dubEZ7YQzfWralpE.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{U2/U2ziIOj8cbeulgezpTOzcrhnd7Z8mGLcFNHHLRS6v_w.cache → _f/_f37Kiq5wbY2Bi9u7UOI6ec6HbjTfWhWg8xhSf_2dIg.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/au/auQ3x8zXOM49-hXdsaFW5joDE2nZ7tfAbcHkSWr-5c8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{bD/bDIuRJAlDi98cyI-tv6gf95cK6b2lDclVk6gw7-4yQE.cache → ay/ayh76HmqeLRMSghmYXsAI1BfnPqMqZa1oqUjoHk8aBM.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/az/azPz0MjaMrptwfd2WrANe0mC8dv4x54NUTZ_RHwB2Fs.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cI/cIALWL2ddpV08vfKV7cTIEbDEIj_hKe9XzXE3nHsaqo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/e9/e9yVRKiBBhiDx_tTHV1r_0KYUZVsJD4B8rou_i_dyH4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eH/eHMchJ4PCNfD87Erh3Z6BI-p7ujIt9wc2HonsfMVnIY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eX/eXrODHOUM-OXkFK5Q1CvWeg-ktPYWwG9U2Unzw62WZo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ei/eiFkEVAMA6n-qI35ymzdt1OEk4im7SlOdwlpqsKJnSo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gp/gpci-QPWKmrTTh-Xs-mauKwPvIkWmvIGQNbagawZEZ8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gs/gs8O-hnSVTNtAMoD9-yrTB7WC2L1NXNBheKKW_4t_xw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i2/i25EH2oIbRevpSjjmr3TLu6SS853FVwXl8Y5U8a4Otk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iY/iYhimmRrdDOmXCdoOoOMlvf5hLfXlGLdIiEAuxsah00.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ik/ikqi0IrytERlPVbeJrNZnd1jaKMHIIc5Blerf_4lbh4.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j2/j2skU2nc-aqF6PfTOea94frYebxBibA9utpbpkuOE4E.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jH/jH8hW1xSqjECWuoRRApKZV--luT4V1qtSWPXkiT1VLw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jJ/jJGkzEbxzDo17GKkOUAZ5P7XJtWG8qepfOV5Ey9KVk8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jk/jk-Q6T8oRztqqYmSOxc_AuGgQ8U2ZCP0lxFvmRgxrc0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jn/jn3ivaEfoMNfc63pPxk0dJjJyRSYlBVLMJrk_zKWums.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k-/k-bsTA315sR8iUULydbJ9swQ_sbliU0Z3nmwvFduMoQ.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{SC/SCj7IBUBBJModudbkHhWngiTTDj1t5ZhW5PfZA0HGHQ.cache → kl/kls5UuCt8hVDHfP091IYwMkT1Kj_yw1zb8zNQF7O0u4.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{v_/v_O7CAdXG7icZucqoA971FxfXpz7XWC8PtjH-Z1HIFU.cache → l1/l1lmj4PCoaRrPDXkf-ikrO7kRyONy8ClBgVCs5VsXDk.cache} +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{PI/PIysz08byyvXlaQfthLgm79fjzz0rZ0el42dAQq2hf8.cache → lK/lKGH44TunnRkF8jUSCnL0OdfZC_Zni3neC4vMCF5ujI.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lS/lStvx9Beg2l4s8L-QdTSKuc5_qQPQAZPnIcRI7JkpPE.cache +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lT/lTKNqEgLIygAjYgm7MnOke140lfkcHgwGGrL3mBRh-c.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/m-/m-KoGmcLtdp8vtF22A9teDEm_JF5Y4GQRYG3U76C0UY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{_U/_Uz5da-URnRhVpIycPwOq3dvEZay17seoAYyPNNT_d4.cache → m3/m3RtRdvHROwjpGVwjOd8rEQ_tg8E03UHR12uHkQ5yns.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Oo/OoGJC7rHNFMAE-SQlL4eOy8lPJR8Y4cN0zSRnygkHY8.cache → mI/mIezwD6M0ojbvDqwnJqbh5aTK0q2-SA_FsFSjp8KTNc.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qp/qpnn4gewy2_0O7aLG1YcbCjdvoFzZxERgl-uAb2NBiU.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rC/rCAMfTZFvLZAvZkG0yjpjdxfU6c4nS9cBxOmcZ0QDkI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rv/rvPXCY9kJZYjGQOyZ6zPTQuqWqqQRgIDvwlmVSfV18Q.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{lD/lDkdR_Yvju7JvBiTO_3OE9ADzuVk-4T_JvDZhPSpmXk.cache → so/soKjdOJ20U2upDc_3Q5scrLDmYao5op30XJaWymQYU4.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{nq/nqBvCfX72u2EvAyNfHt3upjIFz009V5YYgwPmmaNRH4.cache → tF/tFBBIqJk8kEXHwZodwwsDG1ZnLtHUgQExLBppHiMr70.cache} +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Ex/Exni9T-N0D00xhk9o73AIRL5YUOyHlJTj0i9YuzvnvQ.cache → tY/tYYp0H86bioOkPFc1RbWFH68qWBtL9S2yA6tuwJgzwE.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ud/udkM7SoQ3JtFz5Q8AxznJ7fEcnIAryXA7xrZjWI-kkM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{w8/w8XS90xe44-zLTirkVNvEMgky0Iu-y4R4tWoQTHOkWA.cache → wF/wFSBbUGz8WpfML51Da50Tvw7C-hGfgycwNSDqIsphqQ.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wi/win_v0ZNu-l7AoRx8w3ls1xcy0mUExLBVMCSr5oaJFc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xC/xCobBePQjr16SbYrc5w5Tfe9I4FoONzo9b8VWWX1zQc.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{kD/kDartayL6A6j26rd-NkFIU9yqvIIJh9IUdiLsbuHoPY.cache → xc/xcfRWaRFgob3Xu3T4P1Up82x0oH7C_aPjhNUA3zc2_Y.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z7/z7CDn7lXRGjOyw7X0PxCqc9McO9F7BSmBxAonpaLd28.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{NA/NA7TG8OGXra5NGU5ptqd0TbvuCX0sB2U1SUbbOgo_ik.cache → zW/zW51zQa3-6H1Z0YLK8_H7cGH48sXpR1JrTPqJeq15GM.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{fR/fRbCj1aNB38O-9pznPKZJ-EZoFXBeVilAs0WroTkIEM.cache → zY/zYNHo2ll3Cf6Ar7vuMINuDiYvrBlPq91ezUwLh9Gzqs.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{dG/dG2st3mUGsh-8yC115nqU2IltElHJVNhu2vRfijxs20.cache → zf/zfjPBpskKQFgF2WPjespGIh87PR7oxT_r-aZMv-DnTM.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zy/zyFUshNIki7SgZJJQP4jo-mKxWoBDKGzro8Tfy7TWuM.cache +1 -0
- data/spec/dummy/tmp/development_secret.txt +1 -1
- metadata +159 -117
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-w/-wwQdyEeejIS0ptNkDb8CotcFEz8shbr_mHkZA7OevQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/58/584AkuPUz7HNQZLo41hVlC43-zDp6wQiwQjwuqNORRY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/79/79jR4Uf_pUhttCKeRR-xEPMITP6aTnSgtQIa8EfUW8E.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7R/7RJVJLrYkQmkJ9Sl8MmsOoQEZ8h9ZjROviFb0SniYcs.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8-/8-QQLtMujDnjyd2fI0Ygw5qXaATxumVuyPKDpUWewKE.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8B/8BjefZm87J3KSHa70sBrLglaelKVHts_WPz85SBILbw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AE/AEkMvfX2UxO0g0t28U8GjbECOIWvVNlR03X0ab1M4tE.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AR/ARfYs31IhL3pDDp_oJE4RzmDigur1JRJkqZpRTyt1M8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bz/BzORlUIjpUN9Hsz7XbBmcaQFd_l4HfoJkJw0t4nAKjc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/C5/C5D4T0_nOZRxlB1Kr3YBjpAz13VAaGm5141p_IqSHEw.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/D2/D2ri1FdDjnUlgaCehETUAH9MBudGFni8BhvIeGwF46s.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DX/DXbHDrIcECN1YE2zwFlHXwUEsa9Nc1OnPX_baI13PI8.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EK/EK4OLCBAIT0sqfYnC571wtOio3A88k5mjqemmHXRvME.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/H5/H5OObbRUl_LDveW5FbD_ypXLGfV1jkVsOYxMVonPdRU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HZ/HZ1iRdzAHZ8o4HrWUPniUmrldI0rrw3czGHIlhKx20Q.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K9/K9crSvC2UPnYrdvz_jmuiFaHNpGz63JZnWi2--YxO7A.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KU/KUadIyonXR1Vyz07b6lra7kQIWQVonzIiOzZCJOK4IE.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Kz/KzLDCKAT9oKrukAg9tFB8mtVV7bPiIGpiFUeS1TljEQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LW/LWYc1nv4Bh5BbSrhl4B1cnaH5Qqks2CqNagjBrxfoDY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mb/MbgYygU0CWG73XoEOS94Vyil9b_iyKja00eXefGa5LM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mm/MmSp1Be-PB_hAasIwNDehj1aIpBVchE9WrMEIgD67SA.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ng/NgoumFe4ZOSieHJ2XRgYhOlgTLS35s0DyU58x7HfI2A.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P_/P_UMpytd32vzaBB9OmSyfMhsloRkvkvWbGJU1cY-_T0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q7/Q7JnF7XNGFTeq0tZ_T2eaASvv6XImGz7QxxPWYcA3g0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R6/R6W1OhmXADlwn2paOoImbgcKCpB8tY4uwtVA27HImuc.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rs/RscE5VBWfyXMQo35So2JtRTyNa8kpDdAjWTM96exJtw.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SB/SByKDoOgon_c4yw7Hg6SUt7e3nBnAiFe0PmKjQKgP38.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TM/TMb1cGxkrsKz17sDCtqbWN-Jh6QxyKU_ltbBTBTsZVc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tp/TpmeWw1QJfLYcmHo3aqXMUTmK3_tppjOTY6Bhmm5z4c.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uz/UzRlBw63ovNsxNNbz6WVQPkQx_g01AT7k9JzvmLbmZ8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xv/XvoUclLVplyO9UQw8e-98EJElxKytnIKdeiw8cN1tAk.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yp/YpBWosQuOX-dGPr1EDa4wnkCPyZdLhq-0vKhfbMWsUY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yu/YubKG280u8nFXEY4CvadpgzyDbeevIL7SFUQeFA_0X4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_v/_vHhLuv_HO3ndie5PLld1rfmAfh8Y54vtbj14lnA97w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aQ/aQL0CNPS5ESzN5XcS9o8NF7i4bv4pCm0xdrA7vfw5fc.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aR/aR5t7yCAR6IoNonATlf4QuZZSFc4k_ERK1u2fltqois.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bu/buXbbv7z8SqC7DAPe_4Oip10Xm9GRMFE9VIlCHH3pDQ.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dp/dpzW4cK3NsJEHAYf7z-nszapTBk7oQrhBPjmkIoZoXQ.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eJ/eJhiyiHTMJUDd_OqCXD93jBwAivnKRBa5x5qtFrxQj8.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fU/fUQKkajuOuSLJQtRtjum4rOrJsTBFTgtwktNG4QVlrQ.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fq/fqqy6XMocl_Tx0nWsOC1LQ_uj3jUrV-CN8kMgtDR0Bc.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gd/gdC8KjHpTRTYsyeT0HoM5RR_ZKDCK_4XKXQO81ArNlM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i_/i_s59CkDPBCbkVzR2yxiT9kpEI1B0pO0OYOIwTGpkcI.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ip/ipi1NeZWfWKRKJ3wXF6d_iPE8V0BdYHjDxYhBLc98A8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jU/jUmxOIOwQBdZhDyVmTtD0UUEWZz_9Iu64WY59bXHgs0.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nI/nIKQa784qYcxM8_rmLncqiSL4jWWsKrqq19GrEprQ34.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nt/ntry6y5LOGB3mXS76ylx-eIcul__UqoQoqB4-0eaNnI.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qq/qqeUBxpDPTNXL2hYWXX8t_E_jxRkRpjhJR-FcdiLWr0.cache +0 -3
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qt/qtFUQpglBnMnPpRsGKkhr2rqj9Ub3yOf_h01fudm3pc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sm/smkjNAEzX7uLiRZnQA38poQvnhHE5uHIlMpkirr_K04.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vw/vw4hWcAaXGLEo2E8KRM86fVgJAvs7q3qkZYmkI2UYG0.cache +0 -2
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wH/wHiXMAfKVNHdoxvX_7U_fJX97Kv2TDg5VZs6QQGgM7k.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wY/wYXscG863_Dznp_gsU3c1NlFGjKgloZPKnaFeHYhgLg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ws/wsn2nUkOEHSwCK9Q1WpZekvvnYE5COQwF3keiKR9-0A.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yM/yMREEbi29WAWRdWlQTj_ovW5SHtEt1exOy8aWy1PCI4.cache +0 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yr/yrp_60uUSk5SlU1028XR4AIpun11BkJJOvIgatVUYBQ.cache +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e365b92fda9b4b803fc0cbca1b8e9fb4d319497b53aadaa3948f83ee4fc85e3
|
4
|
+
data.tar.gz: 706126896f41a4844cdd6493d1066cae383df1d996e8087bc3322b2719e2aa91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 022cb554e67549bbef8266406d1329f4c2adc7cf4689751bcefc05f4a333903aef2fbb416ed132ca9f334573a433ffb1b46805b05f8cf41523849b7641cc126f
|
7
|
+
data.tar.gz: 1422e49d15ff84386c560478f8a5f4c21b92d8fa266d37546d98c4f83ebadebca10ec7e8d3d08ab51268c65d54b211d834b32bb4bdba56ceb9e9e3f5d84d2f3c
|
@@ -57,4 +57,16 @@ Cmor::UserArea.configure do |config|
|
|
57
57
|
# default: config.allow_users_to_destroy_self = true
|
58
58
|
#
|
59
59
|
config.allow_users_to_destroy_self = true
|
60
|
+
|
61
|
+
# Additional rows to show in the current user table.
|
62
|
+
#
|
63
|
+
# For example, you can intergrate Cmor::Rbac here:
|
64
|
+
#
|
65
|
+
# config.current_user_additional_table_rows_proc = lambda do |view, table|
|
66
|
+
# view.render partial: 'cmor/rbac/current_user_additional_table_rows', locals: { table: table }
|
67
|
+
# end
|
68
|
+
#
|
69
|
+
# default: config.current_user_additional_table_rows_proc = nil
|
70
|
+
#
|
71
|
+
config.current_user_additional_table_rows_proc = nil
|
60
72
|
end
|
data/spec/dummy/Rakefile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require rails-ujs
|
14
|
+
//= require activestorage
|
15
|
+
//= require_tree .
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
|
10
|
+
* files in this directory. Styles in this file should be added after the last require_* statement.
|
11
|
+
* It is generally better to create a new file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require_self
|
15
|
+
*/
|
@@ -0,0 +1,7 @@
|
|
1
|
+
class ApplicationController < ActionController::Base
|
2
|
+
view_helper Cmor::Core::ApplicationViewHelper, as: :core_helper
|
3
|
+
view_helper Cmor::UserArea::ApplicationViewHelper, as: :user_area_helper
|
4
|
+
include Cmor::UserArea::Controller::RedirectBackConcern
|
5
|
+
include Cmor::UserArea::Controller::CurrentUserConcern
|
6
|
+
|
7
|
+
end
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<%= user_area_helper(self).render_navigation %>
|
3
|
+
<%= core_helper(self).render_flash %>
|
4
|
+
<html>
|
5
|
+
<head>
|
6
|
+
<title>Dummy</title>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
<%= csp_meta_tag %>
|
9
|
+
|
10
|
+
<%= stylesheet_link_tag 'application', media: 'all' %>
|
11
|
+
<%= javascript_include_tag 'application' %>
|
12
|
+
</head>
|
13
|
+
|
14
|
+
<body>
|
15
|
+
<%= yield %>
|
16
|
+
</body>
|
17
|
+
</html>
|
data/spec/dummy/bin/rake
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'fileutils'
|
3
|
+
include FileUtils
|
4
|
+
|
5
|
+
# path to your application root.
|
6
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
7
|
+
|
8
|
+
def system!(*args)
|
9
|
+
system(*args) || abort("\n== Command #{args} failed ==")
|
10
|
+
end
|
11
|
+
|
12
|
+
chdir APP_ROOT do
|
13
|
+
# This script is a starting point to setup your application.
|
14
|
+
# Add necessary setup steps to this file.
|
15
|
+
|
16
|
+
puts '== Installing dependencies =='
|
17
|
+
system! 'gem install bundler --conservative'
|
18
|
+
system('bundle check') || system!('bundle install')
|
19
|
+
|
20
|
+
# Install JavaScript dependencies if using Yarn
|
21
|
+
# system('bin/yarn')
|
22
|
+
|
23
|
+
# puts "\n== Copying sample files =="
|
24
|
+
# unless File.exist?('config/database.yml')
|
25
|
+
# cp 'config/database.yml.sample', 'config/database.yml'
|
26
|
+
# end
|
27
|
+
|
28
|
+
puts "\n== Preparing database =="
|
29
|
+
system! 'bin/rails db:setup'
|
30
|
+
|
31
|
+
puts "\n== Removing old logs and tempfiles =="
|
32
|
+
system! 'bin/rails log:clear tmp:clear'
|
33
|
+
|
34
|
+
puts "\n== Restarting application server =="
|
35
|
+
system! 'bin/rails restart'
|
36
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require_relative 'boot'
|
2
|
+
|
3
|
+
require "rails"
|
4
|
+
# Pick the frameworks you want:
|
5
|
+
require "active_model/railtie"
|
6
|
+
require "active_job/railtie"
|
7
|
+
require "active_record/railtie"
|
8
|
+
require "active_storage/engine"
|
9
|
+
require "action_controller/railtie"
|
10
|
+
require "action_mailer/railtie"
|
11
|
+
require "action_view/railtie"
|
12
|
+
require "action_cable/engine"
|
13
|
+
require "sprockets/railtie"
|
14
|
+
# require "rails/test_unit/railtie"
|
15
|
+
|
16
|
+
Bundler.require(*Rails.groups)
|
17
|
+
require "cmor_user_area"
|
18
|
+
|
19
|
+
module Dummy
|
20
|
+
class Application < Rails::Application
|
21
|
+
# Initialize configuration defaults for originally generated Rails version.
|
22
|
+
config.load_defaults 5.2
|
23
|
+
|
24
|
+
# Settings in config/environments/* take precedence over those specified here.
|
25
|
+
# Application configuration can go into files in config/initializers
|
26
|
+
# -- all .rb files in that directory are automatically loaded after loading
|
27
|
+
# the framework and any gems in your application.
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
#
|
7
|
+
default: &default
|
8
|
+
adapter: sqlite3
|
9
|
+
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
development:
|
13
|
+
<<: *default
|
14
|
+
database: db/development.sqlite3
|
15
|
+
|
16
|
+
# Warning: The database defined as "test" will be erased and
|
17
|
+
# re-generated from your development database when you run "rake".
|
18
|
+
# Do not set this db to the same as development or production.
|
19
|
+
test:
|
20
|
+
<<: *default
|
21
|
+
database: db/test.sqlite3
|
22
|
+
|
23
|
+
production:
|
24
|
+
<<: *default
|
25
|
+
database: db/production.sqlite3
|
@@ -0,0 +1,61 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
11
|
+
|
12
|
+
# Show full error reports.
|
13
|
+
config.consider_all_requests_local = true
|
14
|
+
|
15
|
+
# Enable/disable caching. By default caching is disabled.
|
16
|
+
# Run rails dev:cache to toggle caching.
|
17
|
+
if Rails.root.join('tmp', 'caching-dev.txt').exist?
|
18
|
+
config.action_controller.perform_caching = true
|
19
|
+
|
20
|
+
config.cache_store = :memory_store
|
21
|
+
config.public_file_server.headers = {
|
22
|
+
'Cache-Control' => "public, max-age=#{2.days.to_i}"
|
23
|
+
}
|
24
|
+
else
|
25
|
+
config.action_controller.perform_caching = false
|
26
|
+
|
27
|
+
config.cache_store = :null_store
|
28
|
+
end
|
29
|
+
|
30
|
+
# Store uploaded files on the local file system (see config/storage.yml for options)
|
31
|
+
config.active_storage.service = :local
|
32
|
+
|
33
|
+
# Don't care if the mailer can't send.
|
34
|
+
config.action_mailer.raise_delivery_errors = false
|
35
|
+
|
36
|
+
config.action_mailer.perform_caching = false
|
37
|
+
|
38
|
+
# Print deprecation notices to the Rails logger.
|
39
|
+
config.active_support.deprecation = :log
|
40
|
+
|
41
|
+
# Raise an error on page load if there are pending migrations.
|
42
|
+
config.active_record.migration_error = :page_load
|
43
|
+
|
44
|
+
# Highlight code that triggered database queries in logs.
|
45
|
+
config.active_record.verbose_query_logs = true
|
46
|
+
|
47
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
48
|
+
# This option may cause significant delays in view rendering with a large
|
49
|
+
# number of complex assets.
|
50
|
+
config.assets.debug = true
|
51
|
+
|
52
|
+
# Suppress logger output for asset requests.
|
53
|
+
config.assets.quiet = true
|
54
|
+
|
55
|
+
# Raises error for missing translations
|
56
|
+
# config.action_view.raise_on_missing_translations = true
|
57
|
+
|
58
|
+
# Use an evented file watcher to asynchronously detect changes in source code,
|
59
|
+
# routes, locales, etc. This feature depends on the listen gem.
|
60
|
+
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
61
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# Code is not reloaded between requests.
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
8
|
+
# your application in memory, allowing both threaded web servers
|
9
|
+
# and those relying on copy on write to perform better.
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
11
|
+
config.eager_load = true
|
12
|
+
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
14
|
+
config.consider_all_requests_local = false
|
15
|
+
config.action_controller.perform_caching = true
|
16
|
+
|
17
|
+
# Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
|
18
|
+
# or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
|
19
|
+
# config.require_master_key = true
|
20
|
+
|
21
|
+
# Disable serving static files from the `/public` folder by default since
|
22
|
+
# Apache or NGINX already handles this.
|
23
|
+
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
|
24
|
+
|
25
|
+
# Compress JavaScripts and CSS.
|
26
|
+
config.assets.js_compressor = :uglifier
|
27
|
+
# config.assets.css_compressor = :sass
|
28
|
+
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
|
+
config.assets.compile = false
|
31
|
+
|
32
|
+
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
33
|
+
|
34
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
35
|
+
# config.action_controller.asset_host = 'http://assets.example.com'
|
36
|
+
|
37
|
+
# Specifies the header that your server uses for sending files.
|
38
|
+
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
|
39
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
|
40
|
+
|
41
|
+
# Store uploaded files on the local file system (see config/storage.yml for options)
|
42
|
+
config.active_storage.service = :local
|
43
|
+
|
44
|
+
# Mount Action Cable outside main process or domain
|
45
|
+
# config.action_cable.mount_path = nil
|
46
|
+
# config.action_cable.url = 'wss://example.com/cable'
|
47
|
+
# config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
|
48
|
+
|
49
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
50
|
+
# config.force_ssl = true
|
51
|
+
|
52
|
+
# Use the lowest log level to ensure availability of diagnostic information
|
53
|
+
# when problems arise.
|
54
|
+
config.log_level = :debug
|
55
|
+
|
56
|
+
# Prepend all log lines with the following tags.
|
57
|
+
config.log_tags = [ :request_id ]
|
58
|
+
|
59
|
+
# Use a different cache store in production.
|
60
|
+
# config.cache_store = :mem_cache_store
|
61
|
+
|
62
|
+
# Use a real queuing backend for Active Job (and separate queues per environment)
|
63
|
+
# config.active_job.queue_adapter = :resque
|
64
|
+
# config.active_job.queue_name_prefix = "dummy_#{Rails.env}"
|
65
|
+
|
66
|
+
config.action_mailer.perform_caching = false
|
67
|
+
|
68
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
69
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
70
|
+
# config.action_mailer.raise_delivery_errors = false
|
71
|
+
|
72
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
73
|
+
# the I18n.default_locale when a translation cannot be found).
|
74
|
+
config.i18n.fallbacks = true
|
75
|
+
|
76
|
+
# Send deprecation notices to registered listeners.
|
77
|
+
config.active_support.deprecation = :notify
|
78
|
+
|
79
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
80
|
+
config.log_formatter = ::Logger::Formatter.new
|
81
|
+
|
82
|
+
# Use a different logger for distributed setups.
|
83
|
+
# require 'syslog/logger'
|
84
|
+
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
|
85
|
+
|
86
|
+
if ENV["RAILS_LOG_TO_STDOUT"].present?
|
87
|
+
logger = ActiveSupport::Logger.new(STDOUT)
|
88
|
+
logger.formatter = config.log_formatter
|
89
|
+
config.logger = ActiveSupport::TaggedLogging.new(logger)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Do not dump schema after migrations.
|
93
|
+
config.active_record.dump_schema_after_migration = false
|
94
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
Rails.application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure public file server for tests with Cache-Control for performance.
|
16
|
+
config.public_file_server.enabled = true
|
17
|
+
config.public_file_server.headers = {
|
18
|
+
'Cache-Control' => "public, max-age=#{1.hour.to_i}"
|
19
|
+
}
|
20
|
+
|
21
|
+
# Show full error reports and disable caching.
|
22
|
+
config.consider_all_requests_local = true
|
23
|
+
config.action_controller.perform_caching = false
|
24
|
+
|
25
|
+
# Raise exceptions instead of rendering exception templates.
|
26
|
+
config.action_dispatch.show_exceptions = false
|
27
|
+
|
28
|
+
# Disable request forgery protection in test environment.
|
29
|
+
config.action_controller.allow_forgery_protection = false
|
30
|
+
|
31
|
+
# Store uploaded files on the local file system in a temporary directory
|
32
|
+
config.active_storage.service = :test
|
33
|
+
|
34
|
+
config.action_mailer.perform_caching = false
|
35
|
+
|
36
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
37
|
+
# The :test delivery method accumulates sent emails in the
|
38
|
+
# ActionMailer::Base.deliveries array.
|
39
|
+
config.action_mailer.delivery_method = :test
|
40
|
+
|
41
|
+
# Print deprecation notices to the stderr.
|
42
|
+
config.active_support.deprecation = :stderr
|
43
|
+
|
44
|
+
# Raises error for missing translations
|
45
|
+
# config.action_view.raise_on_missing_translations = true
|
46
|
+
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,60 @@
|
|
1
|
+
Cmor::UserArea.configure do |config|
|
2
|
+
# Allow/disallow new user registrations.
|
3
|
+
#
|
4
|
+
# default: config.enable_registrations = false
|
5
|
+
#
|
6
|
+
config.enable_registrations = false
|
7
|
+
|
8
|
+
# Set the base controller
|
9
|
+
#
|
10
|
+
# Default: config.base_controller = '::ApplicationController'
|
11
|
+
#
|
12
|
+
config.base_controller = '::ApplicationController'
|
13
|
+
|
14
|
+
# Set the base mailer
|
15
|
+
#
|
16
|
+
# Default: config.base_mailer = 'ApplicationMailer'
|
17
|
+
#
|
18
|
+
config.base_mailer = 'ApplicationMailer'
|
19
|
+
|
20
|
+
# Where to redirect to after successful login
|
21
|
+
#
|
22
|
+
# Default: config.after_sign_in_url = ->(controller) { main_app.root_path }
|
23
|
+
#
|
24
|
+
config.after_sign_in_url = ->(controller) { main_app.root_path }
|
25
|
+
|
26
|
+
# This is the block, that will be passed to the acts_as_authentic call
|
27
|
+
# in the user model.
|
28
|
+
#
|
29
|
+
# Default: config.acts_as_authentic_options = ->(c) do
|
30
|
+
# config.crypto_provider = Authlogic::CryptoProviders::BCrypt
|
31
|
+
# config.login_field = :email
|
32
|
+
# end
|
33
|
+
#
|
34
|
+
config.acts_as_authentic_options = lambda do |c|
|
35
|
+
c.crypto_provider = Authlogic::CryptoProviders::BCrypt
|
36
|
+
c.login_field = :email
|
37
|
+
# How paranoid are you?
|
38
|
+
# c.perishable_token_valid_for = 24.hours
|
39
|
+
end
|
40
|
+
|
41
|
+
# Application name for mail delivery.
|
42
|
+
#
|
43
|
+
# Default: config.application_name = Rails.application.class.name.deconstantize
|
44
|
+
#
|
45
|
+
config.application_name = Rails.application.class.name.deconstantize
|
46
|
+
|
47
|
+
# E-Mail sender address for password reset emails.
|
48
|
+
#
|
49
|
+
# Default: config.email_from_address = 'info@example.com'
|
50
|
+
#
|
51
|
+
config.email_from_address = lambda do
|
52
|
+
ENV['CMOR_USER_AREA_FROM_ADDRESS'] || 'info@example.com'
|
53
|
+
end
|
54
|
+
|
55
|
+
# Allow/disallow users to remove their own accounts.
|
56
|
+
#
|
57
|
+
# default: config.allow_users_to_destroy_self = true
|
58
|
+
#
|
59
|
+
config.allow_users_to_destroy_self = true
|
60
|
+
end
|
@@ -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
|