cmor_system_backend 0.0.6.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +19 -0
- data/app/assets/config/cmor_system_backend_manifest.js +2 -0
- data/app/assets/javascripts/cmor/system/backend/application/keep.js +0 -0
- data/app/assets/javascripts/cmor/system/backend/application.js +13 -0
- data/app/assets/javascripts/cmor_system_backend.js +1 -0
- data/app/assets/stylesheets/cmor/system/backend/application.css +4 -0
- data/app/assets/stylesheets/cmor_system_backend.css +3 -0
- data/app/controllers/cmor/system/backend/active_storage/attachments_controller.rb +27 -0
- data/app/controllers/cmor/system/backend/active_storage/blobs_controller.rb +27 -0
- data/app/controllers/cmor/system/backend/delayed_backend_active_record_jobs_controller.rb +21 -0
- data/app/controllers/cmor/system/backend/home_controller.rb +8 -0
- data/app/views/cmor/system/backend/active_storage/attachments/_index_table.html.haml +7 -0
- data/app/views/cmor/system/backend/active_storage/blobs/_index_table.html.haml +15 -0
- data/app/views/cmor/system/backend/delayed_backend_active_record_jobs/_index_table_actions.html.haml +16 -0
- data/app/views/cmor/system/backend/delayed_backend_active_record_jobs/_show_actions.html.haml +12 -0
- data/config/initializers/assets.rb +2 -0
- data/config/initializers/cmor.rb +3 -0
- data/config/locales/de.yml +48 -0
- data/config/locales/en.yml +48 -0
- data/config/routes.rb +9 -0
- data/lib/cmor/system/backend/configuration.rb +27 -0
- data/lib/cmor/system/backend/engine.rb +9 -0
- data/lib/cmor/system/backend/version.rb +9 -0
- data/lib/cmor/system/backend.rb +12 -0
- data/lib/cmor_system_backend.rb +3 -0
- data/lib/generators/cmor/system/backend/install/install_generator.rb +32 -0
- data/lib/generators/cmor/system/backend/install/templates/initializer.rb +41 -0
- data/lib/generators/cmor/system/backend/install/templates/routes.source +4 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/javascripts/cable.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/channels/application_cable/channel.rb +4 -0
- data/spec/dummy/app/channels/application_cable/connection.rb +4 -0
- data/spec/dummy/app/controllers/application_controller.rb +2 -0
- data/spec/dummy/app/controllers/backend_controller.rb +2 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/jobs/application_job.rb +2 -0
- data/spec/dummy/app/mailers/application_mailer.rb +4 -0
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/app/models/post.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +15 -0
- data/spec/dummy/app/views/layouts/mailer.html.erb +13 -0
- data/spec/dummy/app/views/layouts/mailer.text.erb +1 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/delayed_job +5 -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/bin/update +31 -0
- data/spec/dummy/bin/yarn +11 -0
- data/spec/dummy/config/application.rb +34 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/cable.yml +10 -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/administador.rb +11 -0
- data/spec/dummy/config/initializers/application_controller_renderer.rb +8 -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_core_backend.rb +12 -0
- data/spec/dummy/config/initializers/cmor_system_backend.rb +35 -0
- data/spec/dummy/config/initializers/content_security_policy.rb +25 -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/puma.rb +34 -0
- data/spec/dummy/config/routes.rb +11 -0
- data/spec/dummy/config/spring.rb +6 -0
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +5 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20190331094612_create_delayed_jobs.rb +22 -0
- data/spec/dummy/db/migrate/20190331094627_create_active_storage_tables.active_storage.rb +27 -0
- data/spec/dummy/db/migrate/20190331094640_create_posts.rb +9 -0
- data/spec/dummy/db/schema.rb +57 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/templates/haml/scaffold/_form.html.haml +12 -0
- data/spec/dummy/log/development.log +128 -0
- data/spec/dummy/log/test.log +951 -0
- data/spec/dummy/package.json +5 -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/apple-touch-icon-precomposed.png +0 -0
- data/spec/dummy/public/apple-touch-icon.png +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/spec/factories/posts.rb +5 -0
- data/spec/dummy/spec/models/post_spec.rb +5 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/--/--kuNDI-qjasSX_vx98FiiJU7t6q9-2uAECZs3_00nA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-5/-5_i5Cu4DVWB6u5AzETTDl8QjlOOgMfrD6OzZZ0mlOQ.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-Y/-Y2SN5PPdcImwSrymEIobBYEZIljDWB3ff0RoGB_TsY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/06/06xXy_R6Nb4tVESoZ8BL7ieC3PsuTXp4Tk8vGlvu0oc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0d/0dEDJ_66n_wUD9IIQuMLmzqwHqX5jYjK_az2B2YB5S4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/10/10LnhyXw-zfOCjNU_dm2pq229XULyOwxJiuJ6PArWEk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1H/1H0sc5Wllu7CW7u2GM7ifu6l0prMHSetI72hfeDIf6U.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1o/1oqLwT_YuYuXdzdc62rRR7PSqDnMwyQGhcD1kOTxPq8.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1v/1vu5o8pZOx49A8FubB147MTuST9ZOG_Z59-V2lhPSds.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2-/2-4XUQU1zOtp2aZbayDkzju-R7COR2JviLRVtr9XzdA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/2w/2w3NL7ot0cD6RHAax5qkbNc0N1ZIDdCU-3dVCiFyA80.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3H/3Hufg8DeGcI7D4A4mZquW4BkQwMIPGcyJE45IzAPLoY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3R/3Rr4PAjUqQn6hsghqwfPssfuJptMaHQxIcXMffXI3K4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/47/47sczUK1xuMY-kOX4m2ilscUU31HcipOP2CB4QgeuPo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4A/4AKfWXKo2-p9HLawuhXDUDvJ51li6a7tjamz85DkfeM.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4D/4DqaLJlj0stn256kYPxtSBb6o0SuFEh6B4NuR_J3ooY.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4L/4Lnn2_DBcgTRoYRew5nRbFbJu0QiOP0uc-1V7qiJ08I.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4Q/4QkTCmLzrvTMp7j_lJzL48TLLSMqDb0rOVy3rWLOzQ0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5V/5VLmIs86eSd_hPs5fQKMe6uET535JDQ0dUVamRx0md8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5X/5X1J8UBeIBYVE3m4_5t5-XN3TgrBBN2CfDAKo8G0FZU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5n/5n5srCfPI_1d6miKrdE1dfnZLr2Fm28GRwoRXV7Zzb4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6b/6b3QGbmhzESmm6r7h6Ey2N5VJv6HNPI7s3ky_YPAlxw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6m/6mjspBpf7lbs42h6gX6CDWsr6rZm4Pjvp-l5w7QAOr0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6q/6q5EgfnxHaxpX878fBdHogkT9ULkOk9-b0SsuatjOTE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7B/7BWPuyR0NC4RBxX6DNM_4Yjv5I4H0GEnE2RSur1Rwlg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7T/7THmIrbQdhcWbDN84ICQb9RhnvINJ6bMXTss4ZlA_uI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/84/84__21iiiCxGeG-EouK1OKpeIuZcFKKMT8N1glEOHIc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/89/89JNYJEQM9JZyf7zqejUgoGSe0noDpTGh8xoQWamc9I.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8D/8D_xpDjLaCIEzCSNN2dH0ZQhZsm1AOJQ7FEAxFxHQ0w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8W/8WtRVFp11m08s36jcIR3QHsTAOwLS-BvldrGYd7NaVQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8f/8fyEWsLyoNl9Fol3NjyOMkmnPZLbySqJ_Cqysly_TgU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8t/8tdDsZkkAFiLUoepQpVLBq_D0eIh01G2HLd3NFDcRs8.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/91/91Qk1qA0FrC6hVDekhrlUz00i2leQGCCNhFUwfM2U8I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9o/9o8Qwhpa624CaUIvd0F8htKcM_LKK2RE3hIzHyWlb1c.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9q/9qfFDXVHpk41QG7WtXb9d0vuuBHtyz9oRnJ71uOHZ1M.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AR/ARxZknrQslD7H8ebebqkPZiyPtZILG1Rtlq6pgK9zYo.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Am/AmV2YeTLcEu585qtqxINmfRXabST-rXrCzIhJtbf57Q.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ar/Aredar3r6yXFxQOrrapXB81CBRWR596Zv-v1l_ZUHG8.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/At/AtbpLF65IYMctIApvHZSYNppMU72buuO8Ua9D5bMPRk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/B9/B9z4O4V6Ntfhgr3Z4K9GXevgl-o6_G4OT9Wlbu1CAIw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bo/BoBmJiCerYN_4K4pDinBCcY3B6JFIW1oV4VmU7x8txs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bp/Bpn4o6bMLfsdCzpsMRLTHt0zP-a3sBtapCcKD9SkiSg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/C4/C4LLShJFixxoppzlyX_1hOznT5LoPRmHSgurkCjQIDk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CF/CFlbSmnf2Pa_peqpgvcvP0UHK6o-rLtBgcJV3QGLGEI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CN/CNiorCIoliz3Cwq2etLd7Dd0d83sJ1Wfp0j_7n3tERA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cm/Cmwwv8ddr2byZrle-Z3ivJ5WnPPv9kEDhkNJ83gOwYk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Cx/CxDxFVtH-HQCIhXkTjj62kfCsbu93FSHzbJkGMOsX_s.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/D1/D1yTrkh1wLtA65um5NDZDqgOJYkbnuPB1jJeqn0gveg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/DN/DNiaDTrxxV10EWiPegw6Rtwf-jgFjhp7K2TZSUT_aW8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Da/DafvNPQk8SlKSG4ZJjgHHAPlbQLDSVhQ-5b9WMZ4iv4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dx/Dx3aTfrI5VF5MuvCgSBCgbRd4iMdder-8OvMfrtaON0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EK/EKpLfemr_IUowOSnIjCV1QvOvzgYt_SfduE_ZwNyfKI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EQ/EQq51m2tS2-w7UL_mT2dQ-u8vReD7FSiyCmPIdTYRRE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/EU/EUMQaSL_lD1Z9R_EAcJLyuNaRL2DICkT4xj5XCS4dwg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Em/Em137X7-MWtcStt_1eIOF418j8dUh7hBC_94vwfVILQ.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ez/EzqaRbf1GGVrgimbcDHQlVxE4aSBeIccfD1myQXqxRg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FO/FOlMxqHy9-dO6zjIOX06fPLY2n3yjiHxmnuJ36yHtQs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/F_/F_xrUvfDEGW2HWJlPwVMsszDJST7NMt1o8H3x8Eqjzg.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fd/Fdh8clk4QyqC4tyyDJDlsvQYS4pD8tUJQryNyYirftc.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Fy/FyXS9zF1yr_zW2vXB6E_CYQIGe1WZgRCEwdLiCnrWfk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/G9/G9AzrpNgt-do2ILa3m6Rm7PaPPuriZXnF4IsUYSc0GQ.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GT/GTTZq3-5ucG5FFjk5QvM0gPUnErTXVt9_x0gNovVK_4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gy/GySaRKbEm-CVxrKiAr4iNc6PorLWn1ZPDh_SMXbxxX4.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gz/GzuFtMoPy9ZbQxFv5eDS9uz7VHkUVkDvP4DzP1zfIpA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I2/I2rV-zM_o35vIzVjE6JjN54luUBVqNrxly-4U9C2huU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I8/I8LSZjD849M-zlWFF5_wyM1DnnyIGDQIYFOA4-k7Xzo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IU/IUGIkL3Eu0gXGUtNjJ2KTqp13fBKEhaoMwFuMdTtyG0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IU/IUiOnsp11P0WckGjGe2EZIl31tdgt9gQNwUSERKdm5g.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I_/I_eYb3RQOJg5MoeZmN02od4HnFhNDqdYeWS7aHEntpA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Id/IdX1diTu6Ek6UiwgQtTsMM_KOVlndv3_b6-UyDE3qYw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/J-/J-Gv_xKM1Nigsi_t5jtQ-5sMjqLAZN2T0o14v9-hI1k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/J2/J2KHJGQwbMl2Q8ETpSynUvJIUQW5bwmYpgScxltdlBo.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/J4/J4P8NPeJOF4V2Q6On9oMqdSFkNcjsrAch9_-rV0tDgs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JD/JD1DuxuAp8u_THuUDDOOi85I35BNWaJoNJOzrGQmvdo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JG/JGstfwqTHlnlh0tlcWM_1s0Ff7pXflOUrM6zlULXD_w.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JH/JH7MnyfP9jO4ML1W7NqC2E3DpFmRab_4KSmXqIFfyAE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JI/JIYHAj6g_qKUgy29WTdI2hsFfH3dFXfFcqXckz27jdg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JN/JNoI9B-x5jHF_qfsa6IIO3DPW8KssxNJsNK9F2qbRFs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jh/Jh77UCfUEd9iwHEF4UsoftMyXg8GyTCTnMtS3vKdOKY.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K3/K3MAGk8XcpzS5X0HTuUHgVU0VLM8mWXYgMpwnE5CC5w.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K5/K5EtcC8KageFCflmXNDxhZUtRxqcqoCa28GiMAK5Tlk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/KD/KDsjkma1n_FFLNbLLnsvs9xTrucgpgXdO3-5iI2FsVc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/L1/L1-2Ii78nV6I0WDUbCAWkdFWGsus1d_PciKtgydRHQE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Lp/Lpu_gbOZtQgoKR4k5IdQI6yBe16T_f2iDKZxyCcNVC4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/M7/M7Cqoyak3dy9iCKmThw4HeH5HcFDKU1Uut_LTwgjtx0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MU/MU_g5_uXNVpt-lHFHZPNrFTiW8CpLMePeg5dDTq6uRM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MY/MYeFz-MQYpo2h8J_xKinEHbow05wf40rLnm7I9hiG_4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Md/MdULcMWXvKi83370F6lcp6pVjkaduI1OpPeK_iuHb24.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Mw/MwZxF-Ld9kIyAp6hrOzwGBhiDeU2tbiMtKc4lRTR3Hg.cache +5 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/NW/NWL1PY76XYJ13P0DC2ZMg-Aj8UU0JPQfEbvuyX06Bds.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Nm/NmXI49AE4TxnUg7GheyHyjugHjK-y63Ec3BklNMXULk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OA/OA72VeQ05pF6Ex57QQi6tDd04ZTA7f4veKvBd_oqs-s.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/OT/OTBjtEm36amBFx9-OAmOF3EWnr2-YQiZd6IUdKEgHko.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ov/OvN-i6iA8MvqPyfz90O-eNsSEk6ZZTXz1NrfnZZiLsA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pg/PgSxusnbkJfEIGN7NDIzYs_I5Eel5M2h4LkApeBzqHE.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pn/Pn370aXcRFPGTolqaTrwvvx-6ZBhs6iOIdodCrv6kII.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pq/PqEtzizP8HFsj9SoSc29Yob8DKB8kVltMOPFtp4_cfs.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pq/PqWCNqm1ZMEQMfbxQuJiP5QQEYo8RiisCBHhBmd4Edk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q6/Q6uhfFRQOQA45Z8tgj3oBVfiTDsaiB5jufDdOVqWva0.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QA/QAQoJ0cjBqu547FjbP8SuBDHk6S0yLbd3P4TWbXsmtI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QO/QOtpCYTTAfxmh-JTpnu1T3t4KPKqyWUrUrXPWHQdcZ4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qr/QrrVbn0dg_IYpw9D0Em4t8fhQhf7gCcah2p9ouo6_fI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/R3/R3GdNowIw3hlF0ujvYHDVVWVGlxQVJQFJWbrrEZjmEg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RT/RTh3gNPkgO3l1r7ZQfzEZ3-bJq34TeL9Yeie6Z74sjc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RU/RUljKovpPguUYZlGWwH8Uq3Dz5jooIXpsueQufD9C3A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/RV/RV9h6sSJXZtqJVGTcP631X2wI5diOyzgVvUIuZQrSUI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rg/RgWfDOOQ4XkJRe_DawABG4RvcdJHTuksk681189ei3A.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ru/RukwwJ7Lmi0dwdc9ZNkgrC6pNXzXq651EPDxipa78aU.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ry/RyD-qreU4wfJhGfqk9zf--DFGIOQhV17UrGoSxczlco.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S2/S2O2x8-_FGPk-cJlkizaYLOIEqxJw17HPpJSOL0MZYc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S4/S4vBrJvVz1UP01u7LRqNX737hOI_mDd3ZPl7NvnSuoM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SE/SEwkUu1OvHKFh-u8I4obLeh8gqkx2z2JwD1KjVIuaFE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SN/SNgERjuWagfvj5wSayGOtfT95brSc8DDpkFiJdgBxX0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SO/SOb6BxK3G45jgBDbHt17DF9uFa_iABmpWGCw_F0X9pQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SX/SXi6NGOGJdeRoxVwFGXLE36czvrMXo3lHKuBm4eiDaQ.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SZ/SZ2zYWjqsBfC15K6UzYAeVK3l0jT1aVAvUmZCezRE4I.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sb/SbzywrP6ah14UVsymNTOPaq4GOTJsp3C9biu17Nxhw8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Sr/Sr_aszWSNdB_F6zBKYp23cqTx2qyt3ErPtjpQgfSbPo.cache +4 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TL/TLYNDjXB6--5naO6fE8rh4Wgu-HD19EiF7PdVz_3nCs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/TN/TNRLsaNR_OsXAHJRlxtA59_yi0Ywroef-Omoaiy5oyk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ta/Ta1P7jGXWwiSVQjfMezpmdr7NDPagbH8rkuoxkw9tAg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Th/ThoItLPs8mmsOQRD7ZbIN5DH7eGr3UkWjpQ7SBqsPgE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ti/TiJwwmWdA77ftSiKUR9yu0TJemgjtkT4IaauSOyYfL8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tr/TrWdv_oxon9raWNUNzf6rNxU-o7ExWGo0fb9G8tvpPo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tw/TwXTNSA_NorVL0xyTpbgWWdb_YotZQCpMnxATglOU98.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ul/UlAQOCevk-ZG1nTs9KCsKfWg6rVS5T4PlHUxpFhgbJI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VW/VWLnz994y7sfZE16oRC22SQ_ucD6mVZcCrIZ_MOBfIQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/VY/VYexEwWUWmwml7Etr-Wu1bjQK_9ctDO0Z6l3X6JbxO8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vb/VbcG7sudP_cXC3tT_FWAAfPbS9X-0g8Ek853dOAfy6U.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Wl/WlC2AKxOrEunxOipcU1I-f1lihQGby6U8UOEj13hiUs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/X9/X98ohuir4hwOrFrzSme4JMDfYnzIsIsGuoaoviV9zhk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XF/XF5tYGblF6MCpWFAhRpHLBfYG6uxb2NN9ypl5nJGyFI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XN/XNHk13lf59pkMPH-W9hh57YnoEQef8vC0ubtkTNBF7I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XT/XTu_OJIoJM_TI94cV3B35O_1aTWIoiOvFMAw9cDuYHU.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YG/YG9rrpVBxWFqnCHtcnmar5FvGbh2WFybMTH8LVsguyg.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YH/YH0L_yB0e73CNcd263P29amwGtzCS4Esq7P9FUg2RnI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YU/YUc6fu20FHaK6IP5W7nEgsSbbpFtUvbk6vOIOw5Tr5g.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yf/Yfre4CR0VDsYqN4th36R5YNDeP7kzZ6_zjG2SKBVBPw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yo/Yo5H4UJHArztqJqSWzAMN2u7YAcm5_HjbiE4WviMGC8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yo/Yoqq3KwrAPNE_-xeJFQeyr-RDVjqlFbxK66BtmXAc5c.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Z8/Z8rKwEc3buqlWXgXnoKMqaiVfNARY4ibzhyn1_TQEwo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Z9/Z9EiCrPEJikjwohXGUyZpe3eLFTDEKi7Wj7EQks68so.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zu/Zu5tAoCmNX67puQZaR3Y8TffDKpbwvCbJm4O_LVnb6g.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_p/_pm_0rwTuVS36643Z8915Dqr2NYY8uqbELvAQcH1DsU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aQ/aQnaFh6hQ7VMO52JQBxstVXSrS3-4m9eL_RyTQtGzV0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/at/atAOb41P_Q78sJdwJ_zvtqiWVJjopAeYG4d03crb-tQ.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ay/ayh76HmqeLRMSghmYXsAI1BfnPqMqZa1oqUjoHk8aBM.cache +1 -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/bD/bDGUpl0_kkZgFjHxhyM7wbd1kXwoRu6IMkf_zmKIl7w.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bT/bTP3coNpfDpuWOzrgGsuYeL6iZznxseYWquj0UyfDDM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bW/bW1IJ8Jx6pO2ujOW3K6B3vPEtu3CfILTOIZXPZy_OO8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bd/bdfU5B92e9BnbLrGH5Heq1fsYG4Q3gc2xkHUJ3HRPhE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bj/bj9nCcaP7Y34lzTvVSkZa8cyRyMjYCP6M5-_AYCuOeA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cv/cvUFG-iGp3QdaQRB8LcWLeyFk1-ZJj9mAaMiTgNmhy4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cy/cyEecrJPGiaMG_zjQKAC_RG3gQ8x1J6oSTLW5sPN0HA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cz/cz-hTbllFwMLNM6SURv2Gc_iR9DzQiqzcnwrr-vFMy8.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d8/d84403iB5YCNNOVMCTOicWh0mY7SobSV3aVd4ro4dDE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d9/d9BdLnODbEl2mT-8qTxCw5d4UxY9Sui2NUicHp-KM6c.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dN/dNpIKXkxeI65UavBtUJ5clskOmoykmDNmP8FlMl_VSE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dV/dVNzuPB4VeyqnKjSmwPXMG6H88bVd2vKsS13PmhQ1tM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dV/dVZWFCqDgyxiTQBlUZgzzGntp17Augle1Z9jMxGFfgY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/di/diu5W6Afjb-wmGjAzMP5pK1awhZK_GYl63WYH4PWU3k.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/du/duGvltO6-z27y85HLAsJENCSx8Ne8UTMzm9-hXjchOs.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ep/epqN736SDvOnj4RFxwF8f66bXtB4G3LGwDLCHLmQx_Y.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/g2/g25tK__0OFGKPwfTFvU6LMqKD6uThsHFOf_wZNzh-5g.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gH/gHOeZb8z1CTweFFAsXywyR9sV2hC60RZ0A5alXRPYsk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gK/gK7DVkeTH5kaLE4M25UVaEsxbVIXfF8Hzoa7a4NIA_0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gu/guLD08tGuYN9-QyPPMorlv27APHLeGDzaj-vDmzaLXQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gw/gwvv-p7sUqFjoeT8xo5G6aqbp1jXyTczH_uImRqgKw0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/h9/h96mrC7hlEM5BokAayvD9ucfel_sH0mGMZA8maQWGFc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hH/hH5HROywpGMnR19XrnWQsIBTEcR9z26POHR10QfNxVM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hj/hjKZBPi7GkLwXTVyg3IQJNJ41_kEfnko7oq_u4Nmom8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hl/hlhVsn0HtbRUS7SaSI2k2lAz8R_YZStzp6xZOd3-K0w.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i4/i4OZu7dEwcFP6RiyvrGRH5vXaaKjuHP8ogM6Ex5kq94.cache +34 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/i4/i4k7wzTTAfiSQBg-4iT_BDC5TLi9Ce5QSib-hMHXuyw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iA/iA_PV-jzE0h7Oqhp4XAZru0XJYbcreWgXm89fBck9Aw.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ic/icnSIKutQMyGC6ldcZtto1RYoeMd5ioRztJnDQ_aIcI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/io/ioMpSl__-tQJZEFn66EuOZggLFncMaagrATjUwG5mWM.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j2/j234g8hRsPTcmiYh64h75cGkVJU1uU7x8YU9r4mEqJc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jK/jK8cqSSmB_ojub894xSJsjnMM2NAKChmtYFpzP48XU8.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jT/jTvR7Jp6Mn5r3s0S5DYyIAkacmml4biuCXsRqR-IHQ8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjQ0o-RtYJK6fGw1F5wrT8xczOCI35N1kylOfeCIPy4.cache +1 -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/kC/kClGcEovuXyEHKJSC1hme_H4Krcr3KVFFQCqpYSj0XM.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/l2/l2rSS2f4v-n85AJAXSuGlHsR08GH1y4HTzDyVbF_UnU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lD/lDQmRr0s6ARcHxzaNaW0RhESK09xHxhmrPcV9p_vGbc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lL/lLGpPEYuJxwFhLyaGWz5L5SNlB-x2eGWF5_H2fNaBqM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lS/lStvx9Beg2l4s8L-QdTSKuc5_qQPQAZPnIcRI7JkpPE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lj/ljVlagIG2x87dR5D1NSztu6gWmzzawm1nZOE4TmymmU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/m3/m3RtRdvHROwjpGVwjOd8rEQ_tg8E03UHR12uHkQ5yns.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mV/mV5u08q68IkPm0RFokofH5-kx1UxEZg72azxVXhAlLk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mW/mWUwcqwwOYPtROn-ONyUyM3BPdILAw5l0wvB9JyqsuU.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mw/mw7MZKwF7E-7ZSspF4Xlsxode27OUoKRy1z6Pov4oq0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oK/oKJ87oCEPgOfFajJZhDtWonyaKq8uRlO8JYz6-cVDoI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oU/oUMojGzGoi9vWIsLjJ1lkpDHDSg24Ippt3LrUNxXBKE.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oc/ocE5CB1firE1AKd7UYONa7YS3sHpvl3nbEjrdgWc-0g.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oj/oj_rjV4KkuJmf-iGvO_hSFT692_PHcvoDvF3O-VQU2c.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oo/oo5PuYWsxB2Bx_gvblY8ml6D3FnXhwEfMm-uUqicAp0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/op/oplkuD78F1Xg0Jh1N-3fbHQp1Vpfe2ybLFLjnK8Kzyw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/pH/pHyZ9AbTUNEl1mAoh9pGTiZ3R2etAFRZR7_ym_DWwR8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/py/pygxCScpUQhNEC_KRfCYZcx2l0xRhRMnzPgCRLfp23A.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qn/qnqqDu1kS8ig9iEei5CjAYND02unYf-E22-J953_GIc.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qo/qomhlVAS_REPvgo7Dtrh7-r4Ni69XLSIykCxSM7wWXY.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/qx/qxyGSXnlXlB1hGKL0ReQ-ySdIsxUBR6ZBTW5fZU_9Qg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rN/rNQxz_OgqtJJ20ehUUfYqYAoPenc2Qq3qsdKzpGg1To.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rS/rS-6Ew0r0DBaZoTyAD1yMYRbBiJtFyn6nwxe6G_9ruk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sC/sCtYNlU3vAvVC26ZKDuNgeq31ehn4J6OR31TpQVLAU8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sK/sKvoweUFusZwJ1IUlvNFxobu2z62MY8hwGZVQZlxCyg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sP/sPCsm6ym3xm2G7DaEcE8AIICPGqMBlhJuy3WLz2cnkk.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sP/sPXXSTl0mnL3MC1fHMa_BLVITQ5rYbck0u985DQAe00.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sS/sSkn0HMvM3rLJ_2-w_ulwClVYcJ0XmcH0orH2IQNawo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sl/sls963PmVXZzCIy9Ch2L-HCW41R4KwLFcX--npSGFUY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/su/sutg1rA65QFBgoJD-0HYa5kOAmcUdsYtBHzGbasKyUs.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sz/szywK58M4yVzq_ikv80eyFp6W5kBPCipX_Bz83CrCKI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/t8/t8jEC5t5VJ5SJpmaePxJ6MAVt1q1wi1iTqQky-b1juE.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tM/tMFk2brkn_cv2m4TrPivZL6DI6kTb6iljDzaJAY77NI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tY/tYYp0H86bioOkPFc1RbWFH68qWBtL9S2yA6tuwJgzwE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tz/tzawx9c8FRRG-QmTL-Jtrc8beWTUrYpb30NVV1fKGew.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/u-/u-3FDQkXVo6TXPl_h-_tlNmZfB_M3W4KLFHeL_PbWVo.cache +2 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uF/uFmhqcLtlSH6sdigmpsMJIOlbB_xVHd8-fr_sVgWgEA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uQ/uQqnjuuo618wwjt9jXlYcIsldsplSsIN3NshQ5-zMuU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uo/uoYAZRV-R0GhhsrHYTt4drILzKOa3_zSzpBzU6jBeuA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vC/vCTeCTUOGd9Fb26euiorkxjblPbC2BqzbEjoVxvjsRI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vX/vXQAX6wcse5IxAuysExAkVcqi1itMI9X06wcwaMkRZk.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vb/vbEKu3SXV3oiwyM0lIW94FHcb81v-HlbMRoIsh8YSgQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/w2/w2sLW3Z38joV9ng6paqC1dFBgouTAnChoHQIjK3mQtw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wQ/wQ6JCU93qzbLum7H2llMRi6syrlg4GSiTjLKmb_Pbvk.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wa/waiHxrcavi3eaZqtHp_iZa_Xx8A_poK45ivYx73qDnM.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/ws/wshuOiy0DqCG4PUGL0CPjZhA5sxfnA-jqC7elF3Xbpw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wy/wymDHEbVm2LUuNGSCmMFfaYbe5GGShEdHFd4LIUlACE.cache +3 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xS/xSWEENE2MwGitZG07bKTXThrda2Y_UoFELvWhAjozKw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xq/xqGZ2SqDZfTputNIngRx7YthNyQg3QPv_PDFT5gb79s.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y5/y5_FzvNNSMpbMmHCIsG4K4Qz8TdMhunGIVqp5nak80I.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yK/yK_ltn3FtW6N9iCXqjexaVMHtm9PZtKGfoCgGpLX1tg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yW/yW8j6--nX1z7PyocdbnwtcSwWDE-b0Q2X1tkotvKrdE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yY/yYwB1Ug3ogrNxQDvt8ueEyzsR32PT1EzRHj_ljxvelQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yy/yyPV0MatlE_6qP8W4KY8vgxiDg_uR6pZRd9U80ZdTV8.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z3/z3Js_pcghMRJBt3n7rl9lB8atXrsbV0vbEBNyhsgsj4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ze/zea0MANxU4zQJ4Y3NOpM4O-iDT_oL-ATCyiZ-KRZJ20.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zf/zfPdCqf3PlK-fjEu0zz4CpZoQXvuu_GMkbbUORnAFec.cache +1 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zl/zlSTYPztqYVdN3sgoh99oDWUs0viPTW9Iaaxc8urz00.cache +2 -0
- data/spec/dummy/tmp/development_secret.txt +1 -0
- data/spec/dummy/tmp/storage/CF/SH/CFSHNUWFo361eM5eFsjjNSji +0 -0
- data/spec/dummy/tmp/storage/Dh/V1/DhV1MFZAXjHe7jFGjdSaqtzm +0 -0
- data/spec/dummy/tmp/storage/GU/q4/GUq4hFQeJZCBJXy5AkoxL5Pr +0 -0
- data/spec/dummy/tmp/storage/Hs/QV/HsQVZKt2eGhoJj9GhAWNmmrQ +0 -0
- data/spec/dummy/tmp/storage/Kc/EJ/KcEJa9B69qLYhj35pgHb2Cd9 +0 -0
- data/spec/dummy/tmp/storage/Yx/oL/YxoLt4RgE7WkTehRGTPUeXZX +0 -0
- data/spec/dummy/tmp/storage/aM/57/aM57uKLLDGVnFcK91NdWo4A6 +0 -0
- data/spec/dummy/tmp/storage/ap/2Z/ap2Z5QnZtfgLPT8FVW3ev2hE +0 -0
- data/spec/dummy/tmp/storage/d2/fD/d2fD7omgnjuhf87EEt7DFc4c +0 -0
- data/spec/dummy/tmp/storage/kV/6G/kV6GEcNwn15FWgRD5NnFFmBg +0 -0
- data/spec/dummy/tmp/storage/pU/6b/pU6b7pfVADvk6KWM34WCG9pi +0 -0
- data/spec/dummy/tmp/storage/sf/7h/sf7hbKZrqdMSC62Dfkc8rwKe +0 -0
- data/spec/dummy/tmp/storage/uQ/tn/uQtnL9wfUCYQyrfXaqJ3d9gq +0 -0
- data/spec/dummy/tmp/storage/vD/eE/vDeEMqEomB3tB5ktq4FaH67d +0 -0
- data/spec/factories/active_storage/attachments.rb +7 -0
- data/spec/factories/active_storage/blobs.rb +10 -0
- data/spec/factories/delayed/backend_active_record_jobs.rb +5 -0
- data/spec/features/de/backend/system/active_storage/attachments_feature_spec.rb +20 -0
- data/spec/features/de/backend/system/active_storage/blobs_feature_spec.rb +20 -0
- data/spec/features/de/backend/system/delayed_backend_active_record_jobs_feature_spec.rb +55 -0
- data/spec/files/active_storage/blob/example.png +0 -0
- data/spec/models/generic_spec.rb +51 -0
- data/spec/models/i18n_spec.rb +42 -0
- data/spec/rails_helper.rb +62 -0
- data/spec/spec_helper.rb +96 -0
- data/spec/support/capybara.rb +1 -0
- data/spec/support/factory_bot.rb +12 -0
- data/spec/support/pry-rails.rb +1 -0
- data/spec/support/rao-shoulda_matchers.rb +5 -0
- data/spec/support/shoulda_matchers.rb +8 -0
- metadata +731 -0
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xS/xSWEENE2MwGitZG07bKTXThrda2Y_UoFELvWhAjozKw.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xq/xqGZ2SqDZfTputNIngRx7YthNyQg3QPv_PDFT5gb79s.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/home/vagrant/rails/cmor/cmor/cmor_core_backend/app/assets/javascripts/cmor/core/backend/application.js?type=application/javascript&id=977c01ba3fd95a17f94b358d05176504ca393638b3e6c0337a3c5050ba345779:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y5/y5_FzvNNSMpbMmHCIsG4K4Qz8TdMhunGIVqp5nak80I.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"%��B�����șo�$'�A�d��L���xR�U
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yK/yK_ltn3FtW6N9iCXqjexaVMHtm9PZtKGfoCgGpLX1tg.cache
ADDED
Binary file
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yW/yW8j6--nX1z7PyocdbnwtcSwWDE-b0Q2X1tkotvKrdE.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"%�d�������f�C��R�旔������P�
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yY/yYwB1Ug3ogrNxQDvt8ueEyzsR32PT1EzRHj_ljxvelQ.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"%n�6���^4����¨�Yt���iC��,
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yy/yyPV0MatlE_6qP8W4KY8vgxiDg_uR6pZRd9U80ZdTV8.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/rao-service_controller-0.0.16.pre/app/assets/stylesheets/rao-service_controller.css?type=text/css&pipeline=self&id=89b4e622d8b4e1c754c5b481533be5e609b4f94dc4175ed076d9526a86c5218e:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z3/z3Js_pcghMRJBt3n7rl9lB8atXrsbV0vbEBNyhsgsj4.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
"%��ȋ�~�گ���=2ȓ�����&���
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ze/zea0MANxU4zQJ4Y3NOpM4O-iDT_oL-ATCyiZ-KRZJ20.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/javascripts/cmor/system/backend/application.js?type=application/javascript&pipeline=self&id=e78e03a5250e4743a50e59b3cdaef40bec360212f1c7c9023a621d163553bae5:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zf/zfPdCqf3PlK-fjEu0zz4CpZoQXvuu_GMkbbUORnAFec.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"/home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/twitter-bootstrap-components-rails-0.6.2/app/assets/stylesheets/twitter/bootstrap/components/rails/application/responsive-media-object.css?type=text/css&pipeline=self&id=57a506ebc15cdd7191886ec457a73c4f08e370df159b7713f0bab3d4bcddd04f:ET
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zl/zlSTYPztqYVdN3sgoh99oDWUs0viPTW9Iaaxc8urz00.cache
ADDED
@@ -0,0 +1,2 @@
|
|
1
|
+
[o:Set:
|
2
|
+
@hash}I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"sfile-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/stylesheets/cmor_system_backend.css;TTI"8file-digest://app/assets/config/cmor/system/backend;TTI"Dfile-digest://app/assets/config/cmor/system/backend/application;TTI"8file-digest://app/assets/images/cmor/system/backend;TTI"Dfile-digest://app/assets/images/cmor/system/backend/application;TTI"=file-digest://app/assets/javascripts/cmor/system/backend;TTI"Ifile-digest://app/assets/javascripts/cmor/system/backend/application;TTI"=file-digest://app/assets/stylesheets/cmor/system/backend;TTI"Ifile-digest://app/assets/stylesheets/cmor/system/backend/application;TTI"jfile-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/config/cmor/system/backend;TTI"vfile-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/config/cmor/system/backend/application;TTI"jfile-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/images/cmor/system/backend;TTI"vfile-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/images/cmor/system/backend/application;TTI"ofile-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/javascripts/cmor/system/backend;TTI"{file-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/javascripts/cmor/system/backend/application;TTI"ofile-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/stylesheets/cmor/system/backend;TTI"{file-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/stylesheets/cmor/system/backend/application;TTI"file-digest:///home/vagrant/rails/cmor/cmor/cmor_system_backend/app/assets/stylesheets/cmor/system/backend/application.css;TTF
|
@@ -0,0 +1 @@
|
|
1
|
+
de38ba8432b167f5b131e28deedace829bf73653317dd5c5b95496f9638f1b29359d243c1e0051170567005713d725b86e12b8b9a2dce5b48329c514d5b5c1ee
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,7 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :active_storage_attachment, class: 'ActiveStorage::Attachment' do
|
3
|
+
association(:record, factory: Cmor::System::Backend::Configuration.record_factory_name)
|
4
|
+
association(:blob, factory: :active_storage_blob)
|
5
|
+
name { 'example.png' }
|
6
|
+
end
|
7
|
+
end
|
@@ -0,0 +1,10 @@
|
|
1
|
+
FactoryBot.define do
|
2
|
+
factory :active_storage_blob, class: 'ActiveStorage::Blob' do
|
3
|
+
filename { 'example.png' }
|
4
|
+
byte_size { File.size(Cmor::System::Backend::Engine.root.join(*%w(spec files active_storage blob example.png))) }
|
5
|
+
checksum { Digest::MD5.file(Cmor::System::Backend::Engine.root.join(*%w(spec files active_storage blob example.png))).base64digest }
|
6
|
+
after(:build) do |resource|
|
7
|
+
resource.upload(File.open(Cmor::System::Backend::Engine.root.join(*%w(spec files active_storage blob example.png))))
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
RSpec.describe '/de/backend/system/active_storage/attachments', type: :feature do
|
4
|
+
let(:resource_class) { ActiveStorage::Attachment }
|
5
|
+
let(:resource) { create(:active_storage_attachment) }
|
6
|
+
let(:resources) { create_list(:active_storage_attachment, 3) }
|
7
|
+
|
8
|
+
# List
|
9
|
+
it { resources; expect(subject).to implement_index_action(self) }
|
10
|
+
|
11
|
+
# Read
|
12
|
+
it { expect(subject).to implement_show_action(self).for(resource) }
|
13
|
+
|
14
|
+
# Delete
|
15
|
+
it {
|
16
|
+
expect(subject).to implement_delete_action(self)
|
17
|
+
.for(resource)
|
18
|
+
.reducing{ resource_class.count }.by(1)
|
19
|
+
}
|
20
|
+
end
|
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
RSpec.describe '/de/backend/system/active_storage/blobs', type: :feature do
|
4
|
+
let(:resource_class) { ActiveStorage::Blob }
|
5
|
+
let(:resource) { create(:active_storage_blob) }
|
6
|
+
let(:resources) { create_list(:active_storage_blob, 3) }
|
7
|
+
|
8
|
+
# List
|
9
|
+
it { resources; expect(subject).to implement_index_action(self) }
|
10
|
+
|
11
|
+
# Read
|
12
|
+
it { expect(subject).to implement_show_action(self).for(resource) }
|
13
|
+
|
14
|
+
# Delete
|
15
|
+
it {
|
16
|
+
expect(subject).to implement_delete_action(self)
|
17
|
+
.for(resource)
|
18
|
+
.reducing{ resource_class.count }.by(1)
|
19
|
+
}
|
20
|
+
end
|
@@ -0,0 +1,55 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
require 'delayed_job_active_record'
|
3
|
+
|
4
|
+
RSpec.describe '/de/backend/system/delayed_backend_active_record_jobs', type: :feature do
|
5
|
+
let(:resource_class) { Delayed::Backend::ActiveRecord::Job }
|
6
|
+
let(:resource) { create(:delayed_backend_active_record_job) }
|
7
|
+
let(:resources) { create_list(:delayed_backend_active_record_job, 3) }
|
8
|
+
|
9
|
+
# List
|
10
|
+
it { resources; expect(subject).to implement_index_action(self) }
|
11
|
+
|
12
|
+
# Create
|
13
|
+
it {
|
14
|
+
expect(subject).to implement_create_action(self)
|
15
|
+
.for(resource_class)
|
16
|
+
.within_form('#new_delayed_backend_active_record_job') {
|
17
|
+
# fill the needed form inputs via capybara here
|
18
|
+
#
|
19
|
+
# Example:
|
20
|
+
#
|
21
|
+
# select 'de', from: 'slider[locale]'
|
22
|
+
# fill_in 'slider[name]', with: 'My first slider'
|
23
|
+
# check 'slider[auto_start]'
|
24
|
+
# fill_in 'slider[interval]', with: '3'
|
25
|
+
}
|
26
|
+
.increasing{ Delayed::Backend::ActiveRecord::Job.count }.by(1)
|
27
|
+
}
|
28
|
+
|
29
|
+
# Read
|
30
|
+
it { expect(subject).to implement_show_action(self).for(resource) }
|
31
|
+
|
32
|
+
# Update
|
33
|
+
it {
|
34
|
+
expect(subject).to implement_update_action(self)
|
35
|
+
.for(resource)
|
36
|
+
.within_form('.edit_delayed_backend_active_record_job') {
|
37
|
+
# fill the needed form inputs via capybara here
|
38
|
+
#
|
39
|
+
# Example:
|
40
|
+
#
|
41
|
+
# fill_in 'slider[name]', with: 'New name'
|
42
|
+
fill_in 'delayed_backend_active_record_job[queue]', with: 'different_queue'
|
43
|
+
}
|
44
|
+
.updating
|
45
|
+
.from(resource.attributes)
|
46
|
+
.to({ 'queue' => 'different_queue' }) # Example: .to({ 'name' => 'New name' })
|
47
|
+
}
|
48
|
+
|
49
|
+
# Delete
|
50
|
+
it {
|
51
|
+
expect(subject).to implement_delete_action(self)
|
52
|
+
.for(resource)
|
53
|
+
.reducing{ resource_class.count }.by(1)
|
54
|
+
}
|
55
|
+
end
|
Binary file
|
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
RSpec.describe 'ActiveRecord::Base models', type: :model do
|
4
|
+
DEFAULT_SPECS_TO_RUN = [
|
5
|
+
:is_an_active_record,
|
6
|
+
:is_instanciable,
|
7
|
+
:valid_with_correct_attributes,
|
8
|
+
:not_valid_with_empty_attributes,
|
9
|
+
:saves_with_valid_attributes
|
10
|
+
]
|
11
|
+
|
12
|
+
{
|
13
|
+
ActiveStorage::Attachment => { specs_to_skip: [ :not_valid_with_empty_attributes ] },
|
14
|
+
ActiveStorage::Blob => { specs_to_skip: [ :not_valid_with_empty_attributes ] },
|
15
|
+
Delayed::Backend::ActiveRecord::Job => { specs_to_skip: [ :not_valid_with_empty_attributes ] },
|
16
|
+
}.each do |model, options|
|
17
|
+
options.reverse_merge!(specs_to_run: DEFAULT_SPECS_TO_RUN, specs_to_skip: [])
|
18
|
+
specs_to_run = options.delete(:specs_to_run)
|
19
|
+
specs_to_skip = options.delete(:specs_to_skip)
|
20
|
+
specs = specs_to_run - specs_to_skip
|
21
|
+
|
22
|
+
describe model do
|
23
|
+
it 'is an ActiveRecord::Base' do
|
24
|
+
expect(ActiveRecord::Base.descendants).to include(model)
|
25
|
+
end if specs.include?(:is_an_active_record)
|
26
|
+
|
27
|
+
it 'is instanciable' do
|
28
|
+
instance = model.new
|
29
|
+
expect(instance).to be_a(model)
|
30
|
+
end if specs.include?(:is_instanciable)
|
31
|
+
|
32
|
+
it 'is valid with correct attribute values' do
|
33
|
+
instance = build(model.to_s.tableize.singularize.underscore.tr('/', '_'))
|
34
|
+
|
35
|
+
instance.valid?
|
36
|
+
expect(instance.errors.full_messages).to eq([])
|
37
|
+
end if specs.include?(:valid_with_correct_attributes)
|
38
|
+
|
39
|
+
it 'is not valid with empty attributes' do
|
40
|
+
instance = model.new
|
41
|
+
expect(instance).not_to be_valid
|
42
|
+
end if specs.include?(:not_valid_with_empty_attributes)
|
43
|
+
|
44
|
+
it 'saves with valid attributes' do
|
45
|
+
instance = build(model.to_s.tableize.singularize.underscore.tr('/', '_'))
|
46
|
+
expect(instance.save).to be_truthy
|
47
|
+
expect(instance).to be_persisted
|
48
|
+
end if specs.include?(:saves_with_valid_attributes)
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
require 'rails_helper'
|
2
|
+
|
3
|
+
RSpec.describe 'Translations', type: :model do
|
4
|
+
{
|
5
|
+
ActiveStorage::Attachment => {},
|
6
|
+
ActiveStorage::Blob => {},
|
7
|
+
Delayed::Backend::ActiveRecord::Job => {},
|
8
|
+
}.each do |model, options|
|
9
|
+
I18n.available_locales.each do |locale|
|
10
|
+
I18n.locale = locale
|
11
|
+
|
12
|
+
describe "for locale #{locale}:" do
|
13
|
+
describe "#{model} translations" do
|
14
|
+
it 'include one' do
|
15
|
+
I18n.locale = locale
|
16
|
+
i18n_key = ['activerecord', 'models', model.name.underscore].join('.')
|
17
|
+
i18n_options = {}
|
18
|
+
expect(I18n.translate!(i18n_key, options)[:one]).to be_a(String)
|
19
|
+
end
|
20
|
+
|
21
|
+
it 'include other' do
|
22
|
+
I18n.locale = locale
|
23
|
+
i18n_key = ['activerecord', 'models', model.name.underscore].join('.')
|
24
|
+
i18n_options = {}
|
25
|
+
expect(I18n.translate!(i18n_key, options)[:other]).to be_a(String)
|
26
|
+
end
|
27
|
+
|
28
|
+
describe 'for attributes' do
|
29
|
+
|
30
|
+
model.column_names.each do |column_name|
|
31
|
+
it "include #{column_name}" do
|
32
|
+
I18n.locale = locale
|
33
|
+
i18n_key = ['activerecord', 'attributes', model.name.underscore, column_name].join('.')
|
34
|
+
expect(I18n.translate!(i18n_key)).to be_a(String)
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
|
+
require 'spec_helper'
|
3
|
+
ENV['RAILS_ENV'] ||= 'test'
|
4
|
+
require File.expand_path('../dummy/config/environment', __FILE__)
|
5
|
+
# Prevent database truncation if the environment is production
|
6
|
+
abort("The Rails environment is running in production mode!") if Rails.env.production?
|
7
|
+
require 'rspec/rails'
|
8
|
+
# Add additional requires below this line. Rails is not loaded until this point!
|
9
|
+
|
10
|
+
# Requires supporting ruby files with custom matchers and macros, etc, in
|
11
|
+
# spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
|
12
|
+
# run as spec files by default. This means that files in spec/support that end
|
13
|
+
# in _spec.rb will both be required and run as specs, causing the specs to be
|
14
|
+
# run twice. It is recommended that you do not name files matching this glob to
|
15
|
+
# end with _spec.rb. You can configure this pattern with the --pattern
|
16
|
+
# option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
|
17
|
+
#
|
18
|
+
# The following line is provided for convenience purposes. It has the downside
|
19
|
+
# of increasing the boot-up time by auto-requiring all files in the support
|
20
|
+
# directory. Alternatively, in the individual `*_spec.rb` files, manually
|
21
|
+
# require only the support files necessary.
|
22
|
+
#
|
23
|
+
# Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
|
24
|
+
Dir[Cmor::System::Backend::Engine.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
|
25
|
+
|
26
|
+
# Checks for pending migrations and applies them before tests are run.
|
27
|
+
# If you are not using ActiveRecord, you can remove these lines.
|
28
|
+
# begin
|
29
|
+
# ActiveRecord::Migration.maintain_test_schema!
|
30
|
+
# rescue ActiveRecord::PendingMigrationError => e
|
31
|
+
# puts e.to_s.strip
|
32
|
+
# exit 1
|
33
|
+
# end
|
34
|
+
RSpec.configure do |config|
|
35
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
36
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
37
|
+
|
38
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
39
|
+
# examples within a transaction, remove the following line or assign false
|
40
|
+
# instead of true.
|
41
|
+
config.use_transactional_fixtures = true
|
42
|
+
|
43
|
+
# RSpec Rails can automatically mix in different behaviours to your tests
|
44
|
+
# based on their file location, for example enabling you to call `get` and
|
45
|
+
# `post` in specs under `spec/controllers`.
|
46
|
+
#
|
47
|
+
# You can disable this behaviour by removing the line below, and instead
|
48
|
+
# explicitly tag your specs with their type, e.g.:
|
49
|
+
#
|
50
|
+
# RSpec.describe UsersController, :type => :controller do
|
51
|
+
# # ...
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
# The different available types are documented in the features, such as in
|
55
|
+
# https://relishapp.com/rspec/rspec-rails/docs
|
56
|
+
config.infer_spec_type_from_file_location!
|
57
|
+
|
58
|
+
# Filter lines from Rails gems in backtraces.
|
59
|
+
config.filter_rails_from_backtrace!
|
60
|
+
# arbitrary gems may also be filtered via:
|
61
|
+
# config.filter_gems_from_backtrace("gem name")
|
62
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,96 @@
|
|
1
|
+
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
2
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
3
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
4
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
5
|
+
# files.
|
6
|
+
#
|
7
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
8
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
9
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
10
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
11
|
+
# a separate helper file that requires the additional dependencies and performs
|
12
|
+
# the additional setup, and require it from the spec files that actually need
|
13
|
+
# it.
|
14
|
+
#
|
15
|
+
# See http://rubydoc.info/gems/rspec-system/RSpec/System/Configuration
|
16
|
+
RSpec.configure do |config|
|
17
|
+
# rspec-expectations config goes here. You can use an alternate
|
18
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
19
|
+
# assertions if you prefer.
|
20
|
+
config.expect_with :rspec do |expectations|
|
21
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
22
|
+
# and `failure_message` of custom matchers include text for helper methods
|
23
|
+
# defined using `chain`, e.g.:
|
24
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
25
|
+
# # => "be bigger than 2 and smaller than 4"
|
26
|
+
# ...rather than:
|
27
|
+
# # => "be bigger than 2"
|
28
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
29
|
+
end
|
30
|
+
|
31
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
32
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
33
|
+
config.mock_with :rspec do |mocks|
|
34
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
35
|
+
# a real object. This is generally recommended, and will default to
|
36
|
+
# `true` in RSpec 4.
|
37
|
+
mocks.verify_partial_doubles = true
|
38
|
+
end
|
39
|
+
|
40
|
+
# This option will default to `:apply_to_host_groups` in RSpec 4 (and will
|
41
|
+
# have no way to turn it off -- the option exists only for backwards
|
42
|
+
# compatibility in RSpec 3). It causes shared context metadata to be
|
43
|
+
# inherited by the metadata hash of host groups and examples, rather than
|
44
|
+
# triggering implicit auto-inclusion in groups with matching metadata.
|
45
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
46
|
+
|
47
|
+
# The settings below are suggested to provide a good initial experience
|
48
|
+
# with RSpec, but feel free to customize to your heart's content.
|
49
|
+
=begin
|
50
|
+
# This allows you to limit a spec run to individual examples or groups
|
51
|
+
# you care about by tagging them with `:focus` metadata. When nothing
|
52
|
+
# is tagged with `:focus`, all examples get run. RSpec also provides
|
53
|
+
# aliases for `it`, `describe`, and `context` that include `:focus`
|
54
|
+
# metadata: `fit`, `fdescribe` and `fcontext`, respectively.
|
55
|
+
config.filter_run_when_matching :focus
|
56
|
+
|
57
|
+
# Allows RSpec to persist some state between runs in order to support
|
58
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
59
|
+
# you configure your source control system to ignore this file.
|
60
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
61
|
+
|
62
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
63
|
+
# recommended. For more details, see:
|
64
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
65
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
66
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
67
|
+
config.disable_monkey_patching!
|
68
|
+
|
69
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
70
|
+
# file, and it's useful to allow more verbose output when running an
|
71
|
+
# individual spec file.
|
72
|
+
if config.files_to_run.one?
|
73
|
+
# Use the documentation formatter for detailed output,
|
74
|
+
# unless a formatter has already been configured
|
75
|
+
# (e.g. via a command-line flag).
|
76
|
+
config.default_formatter = "doc"
|
77
|
+
end
|
78
|
+
|
79
|
+
# Print the 10 slowest examples and example groups at the
|
80
|
+
# end of the spec run, to help surface which specs are running
|
81
|
+
# particularly slow.
|
82
|
+
config.profile_examples = 10
|
83
|
+
|
84
|
+
# Run specs in random order to surface order dependencies. If you find an
|
85
|
+
# order dependency and want to debug it, you can fix the order by providing
|
86
|
+
# the seed, which is printed after each run.
|
87
|
+
# --seed 1234
|
88
|
+
config.order = :random
|
89
|
+
|
90
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
91
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
92
|
+
# test failures related to randomization by passing the same `--seed` value
|
93
|
+
# as the one that triggered the failure.
|
94
|
+
Kernel.srand config.seed
|
95
|
+
=end
|
96
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'capybara'
|
@@ -0,0 +1,12 @@
|
|
1
|
+
require 'factory_bot_rails'
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.include FactoryBot::Syntax::Methods
|
5
|
+
end
|
6
|
+
|
7
|
+
FactoryBot.factories.clear
|
8
|
+
FactoryBot.definition_file_paths += [
|
9
|
+
Cmor::System::Backend::Engine.root.join(*%w(spec factories)),
|
10
|
+
Rails.root.join(*%w(spec factories))
|
11
|
+
]
|
12
|
+
FactoryBot.find_definitions
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'pry-rails'
|