osc_machete_rails 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +8 -1
- data/README.md +5 -0
- data/lib/osc_machete_rails/version.rb +1 -1
- data/test/dummy/app/assets/config/manifest.js +3 -0
- data/test/dummy/app/controllers/simulations_controller.rb +10 -2
- data/test/dummy/app/models/application_record.rb +3 -0
- data/test/dummy/app/models/simulation.rb +2 -1
- data/test/dummy/app/models/simulation_job.rb +1 -1
- data/test/dummy/bin/bundle +1 -1
- data/test/dummy/bin/rails +1 -1
- data/test/dummy/bin/setup +36 -0
- data/test/dummy/bin/update +31 -0
- data/test/dummy/bin/yarn +11 -0
- data/test/dummy/config/application.rb +12 -12
- data/test/dummy/config/boot.rb +3 -4
- data/test/dummy/config/cable.yml +10 -0
- data/test/dummy/config/environment.rb +2 -2
- data/test/dummy/config/environments/development.rb +37 -5
- data/test/dummy/config/environments/production.rb +43 -29
- data/test/dummy/config/environments/test.rb +14 -4
- data/test/dummy/config/initializers/application_controller_renderer.rb +8 -0
- data/test/dummy/config/initializers/assets.rb +14 -0
- data/test/dummy/config/initializers/content_security_policy.rb +25 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +5 -0
- data/test/dummy/config/initializers/mime_types.rb +0 -1
- data/test/dummy/config/initializers/new_framework_defaults_5_2.rb +38 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +2 -2
- data/test/dummy/config/locales/en.yml +10 -0
- data/test/dummy/config/storage.yml +34 -0
- data/test/dummy/db/migrate/20151230193910_create_simulations.rb +1 -1
- data/test/dummy/db/migrate/20151230193911_create_simulation_jobs.rb +1 -1
- data/test/dummy/db/schema.rb +14 -16
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +203 -0
- data/test/dummy/log/test.log +56263 -28669
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-B/-BANaI0BvyIrLAnt96Wi1_DKLmlDUsZOvm9L7fRyKQg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-U/-UiBfw_occnrRHYH5aQhHa718gofqkZJOpKEIYScKsM.cache +1 -0
- data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/-_/-_FgHxoyjYWnPbPSp8sZ9XOTpyoeDFUZxouAdmxNaW4.cache → sprockets/v4.0.0/-v/-vzZTpKRXzW-jXinwE6t0T7RxXG3VamWjnGzd6ysZp8.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0N/0NXuhZPJCxsnb4SxNJohtR6Ds6iA2cCYvLt65oMTH4M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/11/11wNNq_yp1EWLFwPeKty_sl3jitOT9jL5s_R0VzWrrM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2t/2tHFPMXuyymP_dShGZKc0KeTlzz7QkpoNUpIT7Toxm0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3L/3L8iHi4NmlUD1HoJC2bvJ4XdsxAs3BUR_QZQxawsX7M.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4I/4I_rKd7umQfvYFi6PuUCxb2sz1l8aTUqsJI794sAYeQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/54/54T_afAsY6lXxRnXqO2KAcw6EA3iAO1HbqdgnaR_pk0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5D/5DWXsCHQU2DMU3izpCm_3NWIcMhMP7D0qgXHHxSzPXI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5Q/5Qr3apZwhiimwAn9-RAAOg0kXrVnE7-gkze6_XixegM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6X/6XAZA3kCWQJGjaOxfEr3cWoXlKbdXw02_q-v338BkM8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6h/6h9XvuodYnz_ZLRY8355jtQ--1I_AdlejxQWrjUKEuw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6z/6zcect5FazAA-OoGex1AtN89XdeEYlaz4Y9Xk6GK0YY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7b/7bVpgPwOlfWDAmIiGoOiZ6TBLARdlx-omxi87P2KkN8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7q/7qaL2i3wBAOq5FNr3vCkpc4AgeBSJoZSLQwTTnLLEa4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8S/8SKPilcEzQKaDUirhK4IkNLNR6q7u2EMFtQKsVb6spU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8Z/8Z-8z2_Z1_CDTVScV3KqRqs0cb6uzXh3T24hTmPCUts.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/99/99eIslArEGSNfEOhVME6TDRaLfBGX_0cpb0MvjwduoA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/A8/A8ZGpt1fefGsMV0SGVf_VpfKUQhdqW5VCy1TCqwg7MM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AX/AXO6VpOsUYQBHkJHrHlDNTJ93jeovfbSuH8h9fyfgdc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ar/Ar2ERUlEVZ2xcS-sEPPrdoy4npFcA1J2vE0aXe-3ZC8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bn/Bnl16pJthMlb9LJZoscZq6vVgOQblBY6zl37EnReDmE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bz/BzhpWV2InsOErnoYZX6dBjvvVPlEy99UclVDYoIEw_o.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/CT/CThasUlXEOIx1SUlscSP9RgrgqLXTWYNDCiJrk95JxE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cc/CcVRTgDpESKaGdwWZYTyrvsBw4eWY2DBQh8tOngelh0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ea/EaJBivAnKBgcGaz3ZQZPcKP4Coz1wGFBktcRrTgaXYU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Er/Er5ueQcE2abXSGqmgaZP4bkmyBCEUBDGuC0q6xd-Ijo.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FO/FO358DyeMjJB0LcW9kKUCoiuRw4H12xFxFWgUlzvmG0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Fo/FoZXM--_lgVq84eokisUDfOKcWKBqZU8OaBLef7f-lE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Fw/FwksGD5bV5evLjkB1z2NC-Opi41fGN1j29ZPCNhM8dk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/G1/G1pwsG2zxvezfQm97DVdgtOAld3cyHUjt6A5UijstRc.cache +1 -0
- data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/Z_/Z_sXom7vWvYxknKWQBlvWsfM5W-jQECAR-mfYQmapUY.cache → sprockets/v4.0.0/Gx/GxU2bxKgXdsYICpBi9RGCZxnfLRDw9kLIHvfSxtgNGM.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Hs/Hs1ppCwF3E5PcMTsuAqAXhg35vIe_ytYxRwYuGH3laU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ip/IpztfXGAqx3gfy_fxSNniN3MudBwEzZccc7Cv83s3iE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/JB/JBZAXrKnqMFpNshxSivJcuAXPIHkbrmm4GRJNjGAwm0.cache +0 -0
- data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/dX/dXgpXGDgv4-FscFP0bPlPxM9I1lTG6HzgF0XsiH41W4.cache → sprockets/v4.0.0/Jc/Jcv21OVipylhW0IopsE5qXPV2q_2dX3KA5qCfwBy9aU.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Jw/JwrKorLAV3W-ma4_dDYZ0xafkaSW2zVjT4HS3zCsq98.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/KL/KLV_7umwDG3fe_IDbZKcjZ-ig4LrvaX99jz4b44n5QU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/KO/KO-JQhC5R5_mTOuKFPG1wvE3zOkfj3oIIupBZVMxh5U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/KO/KOmDtzEbkOQ5LiqGgq8UYH0iOcwPidfxF_alyFiAVoY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/L0/L0RERykb0-35n4Fg6Ila7DpOfudx0R9Q_fnDssnI6bk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/LF/LFQySYddIbPTTICP8O59BvR12RTklyHKIJFf-zogPNI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/MX/MX5dkGmKs8ZaqXtS6Jn1LtxCSjuHcXLtTHZRpfk0ntE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Mu/MuY-d1TbazHJhXEVzYfAaY9F_ku1T6gyZYMzN1KkURE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/N9/N9nKVmwS47Dj2rF_u81oaMwgqssFqlG_d_0XidE-eZo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/NW/NWtLkRYit3uaPD-NYxPlWbHmxpRjHnyOtVypaimZmb4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OA/OANDwh9Ejz21qIUzq15qz2r2SG1-9kkvdB5M0ijfNY8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OI/OIMhgC-9xQMXrR4OyKbS3Dh7CUhg61FaPf0xdxZwBrI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Od/OdCGR3yvt8_VApYXXbFXReTDrc0vjPpzedyog4Y3H60.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/P0/P09GB41wAocPes05TS9Cf1XIRrZI8gt_QrpDycq4Mt8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Qw/QwiVcMROOsIzcnx6tYPrpz5e-BoRcd86ScwKitGe3G0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/RF/RF-seMsTRmn8TgtsIwJ6mYmYkx_nhsWB7R31FsAL1XI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/RR/RRMGbepm0E9W-STDfSqFJfgEnpwof2mTc_TNCNp_JoA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Te/TePfxC-2FA92sL_oMy5eE9rDZ1PHUBTEubR67iduJmk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UN/UND0nqiZjTTUt_QAM70EzybUmRj3ia-xbbnzpCMlUsU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Un/UnWrhSmeaRcXBPdGHNS0YkXnAardPubFHRkhKxiYAxI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Uq/Uq892zg5zrVaVkjXgKv3jxCoEETYAx0Eq6pdFFvqwZ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/V6/V6EW5RnFrq8k0eTHXHBJ1XZBDSGOWMe-I02XvP9s8SY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Vv/Vv5ZzFjx6XWUkhJTVexVwkM8gs-wPGE43Crqx0UkBY4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/W1/W17q9_qnyJgrvGHiLUxE7bVXdSMp-VdZhbD1URqvu4E.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Wx/WxyVIoOGxS07iFZJT2KAmp2N868yfJgy4ZYm0baCySM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/XN/XN1e5ViRSr39XaW3-etnR8GjKMb9TKyzi18Bwi4-Qxc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/XS/XSRP-jbNdW7dWPiyqwnrM5pbeSM8hI_A35W94t6zvbg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/XZ/XZs0jFeH3KMGlzRkZoBfkUu9OVNb07hj6cPTHipHr7U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/YU/YUtrj_BU6UHBlHdjNPWvIORnKl7R0sI688Sr3ZAkEVM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/YW/YWNzxsKH2Zq0MslaRWHsZHv0AMHjeq5futFLoZCurY4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ZI/ZIIJko6kUvsh9lZ6QqA6WrUiyv2v_1sYUJo9k_pkwRk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zs/ZsJ5bC-rY1bWQqs0YTixqZfPbetPyO1igp2M1tBqZzY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_2/_2KD_sgGPFmOUphJuoK_AXiW2qUu5LebvQmtw40O4gM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_K/_KEXKvCnj9WRy5naPRRwQegQzmUPIboUYgMi_PZJ_1I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_m/_m-rCzgkRAi8D1pbGIafjab0EWoyUrxGFZeAOz8-D4k.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_u/_uwq1xnECmrZ4cOAhdYB-HDdWbRxmsj7UTmtNXHtcw4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/b7/b7Rg-PwBDnkNzTBObQIaS5a4HS3OwaQuFGKAKxHY1S8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/c5/c5uwNy6TwYUgQHnYX2O16T9BPmjhAwQ3THanJSuNPPY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cD/cDtWKI3HJ0Y7-qb6zbY2323ZnkdBNVOv-m_Wuvexqeo.cache +1 -0
- data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/Px/PxeCrnp7Ihyoo7AiHDew6j1Sd9dUPqMeyGXBTzlcrdQ.cache → sprockets/v4.0.0/cF/cF4Tw-XyDJgJcYqMLS_JDer8Ezs_AiyjaCOLkhyAii8.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cH/cHwedTOg_gk5OHDlq_FznaawqXAkICo_u67tnAvQfRU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cY/cYc_YDmxwDItW8vWcLNunLSoUFMSh3ftGGkgsqn14ww.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dC/dC3vvrcj4RWgUgdw6YLuqT_9d4yF5OtycFaDTxvHnd4.cache +0 -0
- data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/R_/R_Sg-HpbFe3B6agIfLBEw57act2CN3JkvMXfCwZw37I.cache → sprockets/v4.0.0/dO/dODhQkf7zGX8y-T0pEOJ1MXqn1LaVSTsVjBUBOK7K7A.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fZ/fZkmucFmqqep75MCWM0na4r7u22bwwGJU7p8rzxBPLw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fu/fuyXnpeNx6qV19t8QQjjBkjeOajSyOFWxHu9aL7wrVw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gC/gCBeOSuJ1AMrdY5a2uwKot5ipdYi3HXiYptojOqaMwE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hO/hOLYALo5ONNXt8mI-q_ljt2obhJgyWNwMWfh5et5TP0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ib/ibKCpk8kvPQ0tKM2WjW2DHxpiOfTURGb513bHkqubw0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/iu/iuTEIlV2Xtm74jVIHka7thNBX-uE9SfcuyOyG1Q43GY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jX/jXIV6Vnu5rdovb3JUPwVp366ueZzi8DqnVc0mMNibz8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ji/jiU667kWC-plKnH48wV7Uz4H-mfSZ4oESE1q-sHT5mk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kK/kKB9Xe4SaSqdPxofEMvWY1-zgWYnq847ara8T0zV_MU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kM/kMwq9l3swgnce-dF_vH-NDtP1MZDS1KfLykCiP64wa0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kY/kY8J9VOPIB6PNolkswnUmrWCYGz0KVCCm59PUDdcGfc.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kq/kqBMaKkDhjS5eJjMy0fBwwrNFgrUwPMG6VQSmfUA6R8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kw/kwNFhW24nxXy_HfVKYdXJyRqhu7ljgl9wR2DcJUo-nA.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lB/lBA_-ntrJzFQXtfO83ybQ4HhvJkGR829RtshoRE3Uqk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lj/ljyTHIqZxfeB0s3Gx6bhyfl2KOsl2sARl73ps52IYZ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m5/m5R9i4_rYGmQdye68SkOOcdEYq5h_Z8LmFaq6Ws_aMg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mB/mBxVxrQfWNHUYdRKpczpT1NYjNQFzeRlLHx1HKLvskA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/n5/n5mNhjjY5H0yVIaJJR3_FdyVDkDrM--XSInNP6MpWsY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oB/oBHYeKWfEjflOSwhR2YKlJc5xXn7n5WN_UuqTQzg7kQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oC/oCAURMSrNzVljDVI9FGS6M5XZW0kw4tuQ609Y5ciseU.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pK/pKr_CqM_Au9ghvk-Fro9_uMrqNJIpkcvheQbkRv28BY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/qV/qV7cewMuQwJcyjQiZhSwGvi-uOd1gVTcxSOlsc01DKw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/s9/s9SCEqFRAhjoGsXLCFwBAJPJEAINcwkCh55f94BH1N0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/sh/shZ9OZvpRnOUx3QBlsk9375tCXB4krAR_oq3pnXdWiE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/sl/slzt9ycuWHz5MOT4h_gdxvc65h5BsSS9IupkqRptjfI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/tf/tfabjioG2hgS3P8xAXqafLRZVqM_1CTf06cYtB139YQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uI/uIN_nWx1icLTff7_eFXd8AIZarlc-YvrlIePmIsgOT4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uc/ucfdsKHZdprOIwFFSdkVcrRo_J8wIRfGApSOD5AN3yk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vY/vYjJx0Ju_6WxvFaROism9R3KaR5trHkTnbZRZPFz9dU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vp/vpfNcYevh10q6taOiN4etW-gXl0dh8smeYqWZ62Q_Rs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wN/wNw4kAG0E_RrvLeFAizMmTp_0jh-HGw1ONLtRyw92z0.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wm/wmS9lcrKhwddno4RytFvSUHl9geav6hkIWPkZ9db28w.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yA/yA8t9TIsNsxTouSrIzNi9Ss0M9GK_lD6uaB8xCc5UJw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yR/yRJacTcl_RvSkxtFjs0bq9G4_jCb_Pmf7AXqPFe8Mxg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yU/yUynNRXQpWanilal8zjW-zeXszWpD7ykomTOszzvHLU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yl/yl4y7uSGhBEOmpFW45annTlkwBWn8LJRwV17lUVPzWQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/z2/z2t8iboctjMD_jpnU7V2CdBXNzIbWX_d7FPdztV6tNQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/{test/sprockets/v3.0/a5/a5HZC79BPfktqXfWUh4Z1NmDFnSCAXv8YcbHZEsnsEY.cache → sprockets/v4.0.0/z8/z8Nrm_P2U4UZnh3-aHZvaDnGbHGRLhaDaE3wa6Bg_ls.cache} +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/zN/zNjKeUw6diSbsfnQMxTGuevVuvMX9yl13K5Wj9baSew.cache +1 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/32/60f2fdbd218610 +0 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/65/0b37cdf2e556bc +0 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/66/82a39f58278a1b +0 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/6a/c4f93e1a75b5d7 +0 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/aa/a1b2e204acbc53 +0 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/c5/ab034025488434 +0 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/d9/e3b2a072d5a250 +0 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/e1/f67da9487a56cc +0 -0
- data/test/dummy/tmp/cache/bootsnap-compile-cache/ea/9a6ab8200eb52b +0 -0
- data/test/dummy/tmp/cache/bootsnap-load-path-cache +0 -0
- data/test/test_helper.rb +4 -0
- data/test/unit/statusable_test.rb +2 -1
- metadata +393 -117
- data/test/dummy/tmp/cache/assets/test/sprockets/0ff4cb4a6c217771a1336b307c51cf4e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/57261b7c75c19be33229517e39e47528 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9e1e594361ba2561e5f6011db99503bb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dc292ec300d07016ebcc2de4806208c3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5N/5NGTSA2tFdqkndjpW9UVnsXY_W1Qa2rlf3AC2KODxlQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/5g/5gD_Vitf7J4NZh1JpKhFAdFLgq4aveotPZ_sU19REPM.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Hs/Hs1ppCwF3E5PcMTsuAqAXhg35vIe_ytYxRwYuGH3laU.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/OT/OTvwb2q2Z2WCHN3Thi-rRN6FiimCkcpHEFXqs7G5ez0.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Q4/Q4wqT8P7izLbXfUtNHisY63qtgFEhVK0gk1DiO7nq3Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/RU/RU-MnuBOvcOM58B7s-bziikcwfCoIGWVaje6uZcVnKs.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UJ/UJLviZfjE3MzjXgi_8z8Z2WE7QVUFf6fVZYpejs0EtA.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/a6/a62u_Owd3LULhaM8Euz7m7v2FOdazyj5Jjq8SnMqfrU.cache +0 -1
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lp/lpBMkqZf3VqwRurpAz7pRz0yytxVOmXJoxyJgBpWtz0.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/mz/mzAVv9vBPPsJ4JrX8EcJzhTA5BIDVbyySmoWvpCJ8ug.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/nl/nlhcdyFo2SEnQB8NE5zgMBS8UPixLVJuavmWHy1Rhew.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/pf/pfw-k9vGwQ9EwzAvpRqNgcJrdoJldpp8bfJkv5fnoXA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yl/yl4y7uSGhBEOmpFW45annTlkwBWn8LJRwV17lUVPzWQ.cache +0 -2
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zw/zwmsFM953ufcJN8AHtCBFNDCbYiHOObeQqbj-WotT6A.cache +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 1ccf9dd31c0eac336541309c597370b5eba9a13abe9dbe95262f621b64142053
|
|
4
|
+
data.tar.gz: 776cdd0aef32e7cbbe581de67a32a0f11b36ba28a28ecdb2f43984658033a4ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6b4f005e0e20c6b69362d668de3edeb7a9a0cec82244d60aee7612fae221a1397e475ada3b9fe11c29fb28467f8257d6347c8113c66cbb3aab2bdf78e49bb269
|
|
7
|
+
data.tar.gz: cab8ba2fb96936870601bcf335e6cf97a227cf4f477cf5a672772adb94c70252e97c45c156159f431aa2f0308b8fbbccfbab5fff44392beb535657ac5a822320
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
|
+
## [1.3.0] - 2020-01-21
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- dependency on rails has been increased from 4.2 to > 5.
|
|
12
|
+
- this changed a lot in the test cases, nothing in the actual library.
|
|
7
13
|
|
|
8
14
|
## [1.2.2] - 2016-07-26
|
|
9
15
|
|
|
@@ -92,7 +98,8 @@ statusable.rb (from v0.6.3 of osc-machete to latest osc_machete_rails)
|
|
|
92
98
|
### Removed
|
|
93
99
|
|
|
94
100
|
|
|
95
|
-
[Unreleased]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.
|
|
101
|
+
[Unreleased]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.3.0...master
|
|
102
|
+
[1.3.0]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.2.2...v1.3.0
|
|
96
103
|
[1.2.2]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.2.1...v1.2.2
|
|
97
104
|
[1.2.1]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.2.0...v1.2.1
|
|
98
105
|
[1.2.0]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.1.0...v1.2.0
|
data/README.md
CHANGED
|
@@ -55,12 +55,20 @@ class SimulationsController < ApplicationController
|
|
|
55
55
|
# DELETE /simulations/1.json
|
|
56
56
|
def destroy
|
|
57
57
|
respond_to do |format|
|
|
58
|
-
if
|
|
58
|
+
# this shouldn't need a rescue, should just be if/else but the rails-controller-testing added
|
|
59
|
+
# in rails 5 doesn't seem to want to actually rescue exceptions in simulation.destroy and do it's
|
|
60
|
+
# rails magic, but instead they bubble up into the test case. so we force the rescue here
|
|
61
|
+
# and add it to simulation.errors.
|
|
62
|
+
begin
|
|
63
|
+
@simulation.destroy
|
|
59
64
|
format.html { redirect_to simulations_url, notice: 'Simulation was successfully destroyed.' }
|
|
60
65
|
format.json { head :no_content }
|
|
61
|
-
|
|
66
|
+
|
|
67
|
+
rescue PBS::BadhostError => e
|
|
68
|
+
@simulation.errors.add(:name, :not_implemented, message: e.to_s)
|
|
62
69
|
format.html { render :show, status: 500, alert: 'A problem occurred when trying to destroy the simulation.' }
|
|
63
70
|
format.json { render json: @simulation.errors, status: 500 }
|
|
71
|
+
next
|
|
64
72
|
end
|
|
65
73
|
end
|
|
66
74
|
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
class Simulation <
|
|
1
|
+
class Simulation < ApplicationRecord
|
|
2
2
|
has_many :simulation_jobs, dependent: :destroy
|
|
3
3
|
has_machete_workflow_of :simulation_jobs
|
|
4
4
|
|
|
@@ -23,4 +23,5 @@ class Simulation < ActiveRecord::Base
|
|
|
23
23
|
def copy
|
|
24
24
|
self.dup
|
|
25
25
|
end
|
|
26
|
+
|
|
26
27
|
end
|
data/test/dummy/bin/bundle
CHANGED
data/test/dummy/bin/rails
CHANGED
|
@@ -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,31 @@
|
|
|
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 way to update your development environment automatically.
|
|
14
|
+
# Add necessary update 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== Updating database =="
|
|
24
|
+
system! 'bin/rails db:migrate'
|
|
25
|
+
|
|
26
|
+
puts "\n== Removing old logs and tempfiles =="
|
|
27
|
+
system! 'bin/rails log:clear tmp:clear'
|
|
28
|
+
|
|
29
|
+
puts "\n== Restarting application server =="
|
|
30
|
+
system! 'bin/rails restart'
|
|
31
|
+
end
|
data/test/dummy/bin/yarn
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
APP_ROOT = File.expand_path('..', __dir__)
|
|
3
|
+
Dir.chdir(APP_ROOT) do
|
|
4
|
+
begin
|
|
5
|
+
exec "yarnpkg", *ARGV
|
|
6
|
+
rescue Errno::ENOENT
|
|
7
|
+
$stderr.puts "Yarn executable was not detected in the system."
|
|
8
|
+
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
|
|
9
|
+
exit 1
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
require_relative 'boot'
|
|
2
2
|
|
|
3
3
|
require 'rails/all'
|
|
4
4
|
|
|
5
|
+
# Require the gems listed in Gemfile, including any gems
|
|
6
|
+
# you've limited to :test, :development, or :production.
|
|
5
7
|
Bundler.require(*Rails.groups)
|
|
6
|
-
require "osc_machete_rails"
|
|
7
8
|
|
|
8
9
|
module Dummy
|
|
9
10
|
class Application < Rails::Application
|
|
10
|
-
#
|
|
11
|
-
|
|
12
|
-
# -- all .rb files in that directory are automatically loaded.
|
|
11
|
+
# Initialize configuration defaults for originally generated Rails version.
|
|
12
|
+
config.load_defaults 5.2
|
|
13
13
|
|
|
14
|
-
#
|
|
15
|
-
#
|
|
16
|
-
#
|
|
14
|
+
# Settings in config/environments/* take precedence over those specified here.
|
|
15
|
+
# Application configuration can go into files in config/initializers
|
|
16
|
+
# -- all .rb files in that directory are automatically loaded after loading
|
|
17
|
+
# the framework and any gems in your application.
|
|
18
|
+
config.active_record.sqlite3.represent_boolean_as_integer = true
|
|
17
19
|
|
|
18
|
-
#
|
|
19
|
-
|
|
20
|
-
# config.i18n.default_locale = :de
|
|
20
|
+
# rails 5 update. tests don't create the belongs_to models
|
|
21
|
+
config.active_record.belongs_to_required_by_default = false
|
|
21
22
|
end
|
|
22
23
|
end
|
|
23
|
-
|
data/test/dummy/config/boot.rb
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
|
|
1
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
|
|
3
2
|
|
|
4
|
-
require 'bundler/setup'
|
|
5
|
-
|
|
3
|
+
require 'bundler/setup' # Set up gems listed in the Gemfile.
|
|
4
|
+
require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
Rails.application.configure do
|
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
|
3
3
|
|
|
4
4
|
# In the development environment your application's code is reloaded on
|
|
@@ -9,21 +9,53 @@ Dummy::Application.configure do
|
|
|
9
9
|
# Do not eager load code on boot.
|
|
10
10
|
config.eager_load = false
|
|
11
11
|
|
|
12
|
-
# Show full error reports
|
|
13
|
-
config.consider_all_requests_local
|
|
14
|
-
|
|
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
|
|
15
32
|
|
|
16
33
|
# Don't care if the mailer can't send.
|
|
17
34
|
config.action_mailer.raise_delivery_errors = false
|
|
18
35
|
|
|
36
|
+
config.action_mailer.perform_caching = false
|
|
37
|
+
|
|
19
38
|
# Print deprecation notices to the Rails logger.
|
|
20
39
|
config.active_support.deprecation = :log
|
|
21
40
|
|
|
22
|
-
# Raise an error on page load if there are pending migrations
|
|
41
|
+
# Raise an error on page load if there are pending migrations.
|
|
23
42
|
config.active_record.migration_error = :page_load
|
|
24
43
|
|
|
44
|
+
# Highlight code that triggered database queries in logs.
|
|
45
|
+
config.active_record.verbose_query_logs = true
|
|
46
|
+
|
|
25
47
|
# Debug mode disables concatenation and preprocessing of assets.
|
|
26
48
|
# This option may cause significant delays in view rendering with a large
|
|
27
49
|
# number of complex assets.
|
|
28
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
|
|
29
61
|
end
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
Rails.application.configure do
|
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
|
3
3
|
|
|
4
4
|
# Code is not reloaded between requests.
|
|
5
5
|
config.cache_classes = true
|
|
6
6
|
|
|
7
7
|
# Eager load code on boot. This eager loads most of Rails and
|
|
8
|
-
# your application in memory, allowing both
|
|
8
|
+
# your application in memory, allowing both threaded web servers
|
|
9
9
|
# and those relying on copy on write to perform better.
|
|
10
10
|
# Rake tasks automatically ignore this option for performance.
|
|
11
11
|
config.eager_load = true
|
|
@@ -14,13 +14,13 @@ Dummy::Application.configure do
|
|
|
14
14
|
config.consider_all_requests_local = false
|
|
15
15
|
config.action_controller.perform_caching = true
|
|
16
16
|
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
# config.action_dispatch.rack_cache = true
|
|
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
|
|
21
20
|
|
|
22
|
-
# Disable
|
|
23
|
-
|
|
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
24
|
|
|
25
25
|
# Compress JavaScripts and CSS.
|
|
26
26
|
config.assets.js_compressor = :uglifier
|
|
@@ -29,52 +29,66 @@ Dummy::Application.configure do
|
|
|
29
29
|
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
|
30
30
|
config.assets.compile = false
|
|
31
31
|
|
|
32
|
-
#
|
|
33
|
-
config.assets.digest = true
|
|
32
|
+
# `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
|
|
34
33
|
|
|
35
|
-
#
|
|
36
|
-
config.
|
|
34
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
|
35
|
+
# config.action_controller.asset_host = 'http://assets.example.com'
|
|
37
36
|
|
|
38
37
|
# Specifies the header that your server uses for sending files.
|
|
39
|
-
# config.action_dispatch.x_sendfile_header =
|
|
40
|
-
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for
|
|
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.*/ ]
|
|
41
48
|
|
|
42
49
|
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
|
43
50
|
# config.force_ssl = true
|
|
44
51
|
|
|
45
|
-
#
|
|
46
|
-
|
|
52
|
+
# Use the lowest log level to ensure availability of diagnostic information
|
|
53
|
+
# when problems arise.
|
|
54
|
+
config.log_level = :debug
|
|
47
55
|
|
|
48
56
|
# Prepend all log lines with the following tags.
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
# Use a different logger for distributed setups.
|
|
52
|
-
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
|
57
|
+
config.log_tags = [ :request_id ]
|
|
53
58
|
|
|
54
59
|
# Use a different cache store in production.
|
|
55
60
|
# config.cache_store = :mem_cache_store
|
|
56
61
|
|
|
57
|
-
#
|
|
58
|
-
# config.
|
|
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}"
|
|
59
65
|
|
|
60
|
-
|
|
61
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
|
62
|
-
# config.assets.precompile += %w( search.js )
|
|
66
|
+
config.action_mailer.perform_caching = false
|
|
63
67
|
|
|
64
68
|
# Ignore bad email addresses and do not raise email delivery errors.
|
|
65
69
|
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
|
66
70
|
# config.action_mailer.raise_delivery_errors = false
|
|
67
71
|
|
|
68
72
|
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
|
69
|
-
# the I18n.default_locale when a translation
|
|
73
|
+
# the I18n.default_locale when a translation cannot be found).
|
|
70
74
|
config.i18n.fallbacks = true
|
|
71
75
|
|
|
72
76
|
# Send deprecation notices to registered listeners.
|
|
73
77
|
config.active_support.deprecation = :notify
|
|
74
78
|
|
|
75
|
-
# Disable automatic flushing of the log to improve performance.
|
|
76
|
-
# config.autoflush_log = false
|
|
77
|
-
|
|
78
79
|
# Use default logging formatter so that PID and timestamp are not suppressed.
|
|
79
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
|
|
80
94
|
end
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
Rails.application.configure do
|
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
|
3
3
|
|
|
4
4
|
# The test environment is used exclusively to run your application's
|
|
@@ -12,9 +12,11 @@ Dummy::Application.configure do
|
|
|
12
12
|
# preloads Rails for running tests, you may have to set it to true.
|
|
13
13
|
config.eager_load = false
|
|
14
14
|
|
|
15
|
-
# Configure
|
|
16
|
-
config.
|
|
17
|
-
config.
|
|
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
|
+
}
|
|
18
20
|
|
|
19
21
|
# Show full error reports and disable caching.
|
|
20
22
|
config.consider_all_requests_local = true
|
|
@@ -26,6 +28,11 @@ Dummy::Application.configure do
|
|
|
26
28
|
# Disable request forgery protection in test environment.
|
|
27
29
|
config.action_controller.allow_forgery_protection = false
|
|
28
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
|
+
|
|
29
36
|
# Tell Action Mailer not to deliver emails to the real world.
|
|
30
37
|
# The :test delivery method accumulates sent emails in the
|
|
31
38
|
# ActionMailer::Base.deliveries array.
|
|
@@ -33,4 +40,7 @@ Dummy::Application.configure do
|
|
|
33
40
|
|
|
34
41
|
# Print deprecation notices to the stderr.
|
|
35
42
|
config.active_support.deprecation = :stderr
|
|
43
|
+
|
|
44
|
+
# Raises error for missing translations
|
|
45
|
+
# config.action_view.raise_on_missing_translations = true
|
|
36
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,25 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Define an application-wide content security policy
|
|
4
|
+
# For further information see the following documentation
|
|
5
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy
|
|
6
|
+
|
|
7
|
+
# Rails.application.config.content_security_policy do |policy|
|
|
8
|
+
# policy.default_src :self, :https
|
|
9
|
+
# policy.font_src :self, :https, :data
|
|
10
|
+
# policy.img_src :self, :https, :data
|
|
11
|
+
# policy.object_src :none
|
|
12
|
+
# policy.script_src :self, :https
|
|
13
|
+
# policy.style_src :self, :https
|
|
14
|
+
|
|
15
|
+
# # Specify URI for violation reports
|
|
16
|
+
# # policy.report_uri "/csp-violation-report-endpoint"
|
|
17
|
+
# end
|
|
18
|
+
|
|
19
|
+
# If you are using UJS then enable automatic nonce generation
|
|
20
|
+
# Rails.application.config.content_security_policy_nonce_generator = -> request { SecureRandom.base64(16) }
|
|
21
|
+
|
|
22
|
+
# Report CSP violations to a specified URI
|
|
23
|
+
# For further information see the following documentation:
|
|
24
|
+
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy-Report-Only
|
|
25
|
+
# Rails.application.config.content_security_policy_report_only = true
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
#
|
|
3
|
+
# This file contains migration options to ease your Rails 5.2 upgrade.
|
|
4
|
+
#
|
|
5
|
+
# Once upgraded flip defaults one by one to migrate to the new default.
|
|
6
|
+
#
|
|
7
|
+
# Read the Guide for Upgrading Ruby on Rails for more info on each option.
|
|
8
|
+
|
|
9
|
+
# Make Active Record use stable #cache_key alongside new #cache_version method.
|
|
10
|
+
# This is needed for recyclable cache keys.
|
|
11
|
+
# Rails.application.config.active_record.cache_versioning = true
|
|
12
|
+
|
|
13
|
+
# Use AES-256-GCM authenticated encryption for encrypted cookies.
|
|
14
|
+
# Also, embed cookie expiry in signed or encrypted cookies for increased security.
|
|
15
|
+
#
|
|
16
|
+
# This option is not backwards compatible with earlier Rails versions.
|
|
17
|
+
# It's best enabled when your entire app is migrated and stable on 5.2.
|
|
18
|
+
#
|
|
19
|
+
# Existing cookies will be converted on read then written with the new scheme.
|
|
20
|
+
# Rails.application.config.action_dispatch.use_authenticated_cookie_encryption = true
|
|
21
|
+
|
|
22
|
+
# Use AES-256-GCM authenticated encryption as default cipher for encrypting messages
|
|
23
|
+
# instead of AES-256-CBC, when use_authenticated_message_encryption is set to true.
|
|
24
|
+
# Rails.application.config.active_support.use_authenticated_message_encryption = true
|
|
25
|
+
|
|
26
|
+
# Add default protection from forgery to ActionController::Base instead of in
|
|
27
|
+
# ApplicationController.
|
|
28
|
+
# Rails.application.config.action_controller.default_protect_from_forgery = true
|
|
29
|
+
|
|
30
|
+
# Store boolean values are in sqlite3 databases as 1 and 0 instead of 't' and
|
|
31
|
+
# 'f' after migrating old data.
|
|
32
|
+
# Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
|
|
33
|
+
|
|
34
|
+
# Use SHA-1 instead of MD5 to generate non-sensitive digests, such as the ETag header.
|
|
35
|
+
# Rails.application.config.active_support.use_sha1_digests = true
|
|
36
|
+
|
|
37
|
+
# Make `form_with` generate id attributes for any generated HTML tags.
|
|
38
|
+
# Rails.application.config.action_view.form_with_generates_ids = true
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
|
7
7
|
ActiveSupport.on_load(:action_controller) do
|
|
8
|
-
wrap_parameters format: [:json]
|
|
8
|
+
wrap_parameters format: [:json]
|
|
9
9
|
end
|
|
10
10
|
|
|
11
11
|
# To enable root element in JSON for ActiveRecord objects.
|
|
12
12
|
# ActiveSupport.on_load(:active_record) do
|
|
13
|
-
#
|
|
13
|
+
# self.include_root_in_json = true
|
|
14
14
|
# end
|
|
@@ -16,6 +16,16 @@
|
|
|
16
16
|
#
|
|
17
17
|
# This would use the information in config/locales/es.yml.
|
|
18
18
|
#
|
|
19
|
+
# The following keys must be escaped otherwise they will not be retrieved by
|
|
20
|
+
# the default I18n backend:
|
|
21
|
+
#
|
|
22
|
+
# true, false, on, off, yes, no
|
|
23
|
+
#
|
|
24
|
+
# Instead, surround them with single quotes.
|
|
25
|
+
#
|
|
26
|
+
# en:
|
|
27
|
+
# 'true': 'foo'
|
|
28
|
+
#
|
|
19
29
|
# To learn more, please read the Rails Internationalization guide
|
|
20
30
|
# available at http://guides.rubyonrails.org/i18n.html.
|
|
21
31
|
|