osc_machete_rails 1.3.1 → 2.0.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +3 -41
  3. data/README.md +0 -5
  4. data/lib/osc_machete_rails/statusable.rb +1 -1
  5. data/lib/osc_machete_rails/version.rb +1 -1
  6. data/test/dummy/app/controllers/simulations_controller.rb +2 -10
  7. data/test/dummy/app/models/simulation.rb +1 -2
  8. data/test/dummy/app/models/simulation_job.rb +1 -1
  9. data/test/dummy/bin/bundle +1 -1
  10. data/test/dummy/bin/rails +1 -1
  11. data/test/dummy/config/application.rb +12 -12
  12. data/test/dummy/config/boot.rb +4 -3
  13. data/test/dummy/config/environment.rb +2 -2
  14. data/test/dummy/config/environments/development.rb +5 -37
  15. data/test/dummy/config/environments/production.rb +29 -43
  16. data/test/dummy/config/environments/test.rb +4 -14
  17. data/test/dummy/config/initializers/mime_types.rb +1 -0
  18. data/test/dummy/config/initializers/wrap_parameters.rb +2 -2
  19. data/test/dummy/config/locales/en.yml +0 -10
  20. data/test/dummy/db/migrate/20151230193910_create_simulations.rb +1 -1
  21. data/test/dummy/db/migrate/20151230193911_create_simulation_jobs.rb +1 -1
  22. data/test/dummy/db/{development.sqlite3 → production.sqlite3} +0 -0
  23. data/test/dummy/db/schema.rb +16 -14
  24. data/test/dummy/log/production.log +0 -0
  25. data/test/dummy/tmp/cache/assets/production/sprockets/0ff4cb4a6c217771a1336b307c51cf4e +0 -0
  26. data/test/dummy/tmp/cache/assets/production/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  27. data/test/dummy/tmp/cache/assets/production/sprockets/57261b7c75c19be33229517e39e47528 +0 -0
  28. data/test/dummy/tmp/cache/assets/production/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  29. data/test/test_helper.rb +0 -4
  30. data/test/unit/statusable_test.rb +1 -6
  31. metadata +62 -443
  32. data/test/dummy/app/assets/config/manifest.js +0 -3
  33. data/test/dummy/app/models/application_record.rb +0 -3
  34. data/test/dummy/bin/setup +0 -36
  35. data/test/dummy/bin/update +0 -31
  36. data/test/dummy/bin/yarn +0 -11
  37. data/test/dummy/config/cable.yml +0 -10
  38. data/test/dummy/config/initializers/application_controller_renderer.rb +0 -8
  39. data/test/dummy/config/initializers/assets.rb +0 -14
  40. data/test/dummy/config/initializers/content_security_policy.rb +0 -25
  41. data/test/dummy/config/initializers/cookies_serializer.rb +0 -5
  42. data/test/dummy/config/initializers/new_framework_defaults_5_2.rb +0 -38
  43. data/test/dummy/config/storage.yml +0 -34
  44. data/test/dummy/db/test.sqlite3 +0 -0
  45. data/test/dummy/log/development.log +0 -203
  46. data/test/dummy/log/test.log +0 -81521
  47. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-B/-BANaI0BvyIrLAnt96Wi1_DKLmlDUsZOvm9L7fRyKQg.cache +0 -1
  48. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-U/-UiBfw_occnrRHYH5aQhHa718gofqkZJOpKEIYScKsM.cache +0 -1
  49. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-v/-vzZTpKRXzW-jXinwE6t0T7RxXG3VamWjnGzd6ysZp8.cache +0 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0C/0CdnQe0XxTGq-uNRTqwybYi0M3UB1NYehUzdpenFNsI.cache +0 -1
  51. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0N/0NXuhZPJCxsnb4SxNJohtR6Ds6iA2cCYvLt65oMTH4M.cache +0 -0
  52. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/11/11wNNq_yp1EWLFwPeKty_sl3jitOT9jL5s_R0VzWrrM.cache +0 -1
  53. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2t/2tHFPMXuyymP_dShGZKc0KeTlzz7QkpoNUpIT7Toxm0.cache +0 -1
  54. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3L/3L8iHi4NmlUD1HoJC2bvJ4XdsxAs3BUR_QZQxawsX7M.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3k/3kJKvLtWhAmskn_cFGN_M3SBp0v-Ms7BPpdq7Lk2uhk.cache +0 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4I/4I_rKd7umQfvYFi6PuUCxb2sz1l8aTUqsJI794sAYeQ.cache +0 -1
  57. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/4L/4LKO6191ONLtFgTZARb0kto2QiuJp52_GGQU6SvgkJU.cache +0 -1
  58. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/54/54T_afAsY6lXxRnXqO2KAcw6EA3iAO1HbqdgnaR_pk0.cache +0 -1
  59. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5D/5DWXsCHQU2DMU3izpCm_3NWIcMhMP7D0qgXHHxSzPXI.cache +0 -1
  60. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/5Q/5Qr3apZwhiimwAn9-RAAOg0kXrVnE7-gkze6_XixegM.cache +0 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6X/6XAZA3kCWQJGjaOxfEr3cWoXlKbdXw02_q-v338BkM8.cache +0 -1
  62. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6d/6d6bb6g4ABECsZ-hpaQsDjmaOGLhCTeIWQS8gOJdOWc.cache +0 -1
  63. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6h/6h9XvuodYnz_ZLRY8355jtQ--1I_AdlejxQWrjUKEuw.cache +0 -1
  64. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6z/6zcect5FazAA-OoGex1AtN89XdeEYlaz4Y9Xk6GK0YY.cache +0 -1
  65. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7b/7bVpgPwOlfWDAmIiGoOiZ6TBLARdlx-omxi87P2KkN8.cache +0 -1
  66. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7q/7qaL2i3wBAOq5FNr3vCkpc4AgeBSJoZSLQwTTnLLEa4.cache +0 -1
  67. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8S/8SKPilcEzQKaDUirhK4IkNLNR6q7u2EMFtQKsVb6spU.cache +0 -0
  68. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8Z/8Z-8z2_Z1_CDTVScV3KqRqs0cb6uzXh3T24hTmPCUts.cache +0 -1
  69. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/99/99eIslArEGSNfEOhVME6TDRaLfBGX_0cpb0MvjwduoA.cache +0 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/A8/A8ZGpt1fefGsMV0SGVf_VpfKUQhdqW5VCy1TCqwg7MM.cache +0 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AX/AXO6VpOsUYQBHkJHrHlDNTJ93jeovfbSuH8h9fyfgdc.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ar/Ar2ERUlEVZ2xcS-sEPPrdoy4npFcA1J2vE0aXe-3ZC8.cache +0 -1
  73. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bn/Bnl16pJthMlb9LJZoscZq6vVgOQblBY6zl37EnReDmE.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bz/BzhpWV2InsOErnoYZX6dBjvvVPlEy99UclVDYoIEw_o.cache +0 -1
  75. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/CT/CThasUlXEOIx1SUlscSP9RgrgqLXTWYNDCiJrk95JxE.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cc/CcVRTgDpESKaGdwWZYTyrvsBw4eWY2DBQh8tOngelh0.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Do/Do83AoOat5W-c1g7piDGy2GMmffsY6JY0Qfuh5PY3GM.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Dw/DwIJlqyIXgun8XFyY-mBxKbwybjCpFB7w2vsF-4b0VU.cache +0 -1
  79. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ea/EaJBivAnKBgcGaz3ZQZPcKP4Coz1wGFBktcRrTgaXYU.cache +0 -1
  80. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Er/Er5ueQcE2abXSGqmgaZP4bkmyBCEUBDGuC0q6xd-Ijo.cache +0 -1
  81. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/FO/FO358DyeMjJB0LcW9kKUCoiuRw4H12xFxFWgUlzvmG0.cache +0 -1
  82. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Fo/FoZXM--_lgVq84eokisUDfOKcWKBqZU8OaBLef7f-lE.cache +0 -1
  83. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Fw/FwksGD5bV5evLjkB1z2NC-Opi41fGN1j29ZPCNhM8dk.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/G1/G1pwsG2zxvezfQm97DVdgtOAld3cyHUjt6A5UijstRc.cache +0 -1
  85. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Gx/GxU2bxKgXdsYICpBi9RGCZxnfLRDw9kLIHvfSxtgNGM.cache +0 -2
  86. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Hs/Hs1ppCwF3E5PcMTsuAqAXhg35vIe_ytYxRwYuGH3laU.cache +0 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ip/IpztfXGAqx3gfy_fxSNniN3MudBwEzZccc7Cv83s3iE.cache +0 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/JB/JBZAXrKnqMFpNshxSivJcuAXPIHkbrmm4GRJNjGAwm0.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Jc/Jcv21OVipylhW0IopsE5qXPV2q_2dX3KA5qCfwBy9aU.cache +0 -1
  90. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Jw/JwrKorLAV3W-ma4_dDYZ0xafkaSW2zVjT4HS3zCsq98.cache +0 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/KL/KLV_7umwDG3fe_IDbZKcjZ-ig4LrvaX99jz4b44n5QU.cache +0 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/KO/KO-JQhC5R5_mTOuKFPG1wvE3zOkfj3oIIupBZVMxh5U.cache +0 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/KO/KOmDtzEbkOQ5LiqGgq8UYH0iOcwPidfxF_alyFiAVoY.cache +0 -1
  94. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/L0/L0RERykb0-35n4Fg6Ila7DpOfudx0R9Q_fnDssnI6bk.cache +0 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/LF/LFQySYddIbPTTICP8O59BvR12RTklyHKIJFf-zogPNI.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/LH/LHDO4MpB5X2IttuXxs76mMv8OGICLJt7k-6ogs09a4g.cache +0 -1
  97. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/MX/MX5dkGmKs8ZaqXtS6Jn1LtxCSjuHcXLtTHZRpfk0ntE.cache +0 -1
  98. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Mu/MuY-d1TbazHJhXEVzYfAaY9F_ku1T6gyZYMzN1KkURE.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/N9/N9nKVmwS47Dj2rF_u81oaMwgqssFqlG_d_0XidE-eZo.cache +0 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/NW/NWtLkRYit3uaPD-NYxPlWbHmxpRjHnyOtVypaimZmb4.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OA/OANDwh9Ejz21qIUzq15qz2r2SG1-9kkvdB5M0ijfNY8.cache +0 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OI/OIMhgC-9xQMXrR4OyKbS3Dh7CUhg61FaPf0xdxZwBrI.cache +0 -1
  103. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OT/OTQpOMAfdhya6Bm749_GVMbUBG64g0cG-FJmbp4C49U.cache +0 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Od/OdCGR3yvt8_VApYXXbFXReTDrc0vjPpzedyog4Y3H60.cache +0 -1
  105. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/P0/P09GB41wAocPes05TS9Cf1XIRrZI8gt_QrpDycq4Mt8.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Qw/QwiVcMROOsIzcnx6tYPrpz5e-BoRcd86ScwKitGe3G0.cache +0 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/RF/RF-seMsTRmn8TgtsIwJ6mYmYkx_nhsWB7R31FsAL1XI.cache +0 -1
  108. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/RR/RRMGbepm0E9W-STDfSqFJfgEnpwof2mTc_TNCNp_JoA.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Te/TePfxC-2FA92sL_oMy5eE9rDZ1PHUBTEubR67iduJmk.cache +0 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ty/TyE06oReOpUOgBIGxf3A0QMwIuykjtkBaxnGuqeTpRk.cache +0 -1
  111. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UK/UKvLy3b2qBS9lT8I7B2r3sKmAxvwxXE69JSzhiEEhKc.cache +0 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UN/UND0nqiZjTTUt_QAM70EzybUmRj3ia-xbbnzpCMlUsU.cache +0 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Un/UnWrhSmeaRcXBPdGHNS0YkXnAardPubFHRkhKxiYAxI.cache +0 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Uq/Uq892zg5zrVaVkjXgKv3jxCoEETYAx0Eq6pdFFvqwZ8.cache +0 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/V6/V6EW5RnFrq8k0eTHXHBJ1XZBDSGOWMe-I02XvP9s8SY.cache +0 -1
  116. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Vb/Vb9DnB8BTyYO4GTFvojBNILJJkETlTwkxmNCE_O8qJ8.cache +0 -1
  117. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Vv/Vv5ZzFjx6XWUkhJTVexVwkM8gs-wPGE43Crqx0UkBY4.cache +0 -1
  118. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/W1/W17q9_qnyJgrvGHiLUxE7bVXdSMp-VdZhbD1URqvu4E.cache +0 -1
  119. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Wx/WxyVIoOGxS07iFZJT2KAmp2N868yfJgy4ZYm0baCySM.cache +0 -1
  120. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/XN/XN1e5ViRSr39XaW3-etnR8GjKMb9TKyzi18Bwi4-Qxc.cache +0 -1
  121. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/XS/XSRP-jbNdW7dWPiyqwnrM5pbeSM8hI_A35W94t6zvbg.cache +0 -1
  122. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/XZ/XZs0jFeH3KMGlzRkZoBfkUu9OVNb07hj6cPTHipHr7U.cache +0 -0
  123. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/YU/YUtrj_BU6UHBlHdjNPWvIORnKl7R0sI688Sr3ZAkEVM.cache +0 -0
  124. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/YW/YWNzxsKH2Zq0MslaRWHsZHv0AMHjeq5futFLoZCurY4.cache +0 -0
  125. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ZI/ZIIJko6kUvsh9lZ6QqA6WrUiyv2v_1sYUJo9k_pkwRk.cache +0 -1
  126. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zs/ZsJ5bC-rY1bWQqs0YTixqZfPbetPyO1igp2M1tBqZzY.cache +0 -1
  127. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_0/_0d_uO_EJpRzPw1cFMoSXc91E1EBDWEQ-HfpaYhshEA.cache +0 -0
  128. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_2/_2KD_sgGPFmOUphJuoK_AXiW2qUu5LebvQmtw40O4gM.cache +0 -1
  129. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_K/_KEXKvCnj9WRy5naPRRwQegQzmUPIboUYgMi_PZJ_1I.cache +0 -0
  130. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_m/_m-rCzgkRAi8D1pbGIafjab0EWoyUrxGFZeAOz8-D4k.cache +0 -1
  131. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_u/_uwq1xnECmrZ4cOAhdYB-HDdWbRxmsj7UTmtNXHtcw4.cache +0 -1
  132. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/b7/b7Rg-PwBDnkNzTBObQIaS5a4HS3OwaQuFGKAKxHY1S8.cache +0 -1
  133. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/c5/c5uwNy6TwYUgQHnYX2O16T9BPmjhAwQ3THanJSuNPPY.cache +0 -0
  134. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cD/cDtWKI3HJ0Y7-qb6zbY2323ZnkdBNVOv-m_Wuvexqeo.cache +0 -1
  135. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cF/cF4Tw-XyDJgJcYqMLS_JDer8Ezs_AiyjaCOLkhyAii8.cache +0 -1
  136. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cH/cHwedTOg_gk5OHDlq_FznaawqXAkICo_u67tnAvQfRU.cache +0 -0
  137. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cY/cYc_YDmxwDItW8vWcLNunLSoUFMSh3ftGGkgsqn14ww.cache +0 -0
  138. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dC/dC3vvrcj4RWgUgdw6YLuqT_9d4yF5OtycFaDTxvHnd4.cache +0 -0
  139. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dO/dODhQkf7zGX8y-T0pEOJ1MXqn1LaVSTsVjBUBOK7K7A.cache +0 -1
  140. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ed/edMBSdeALLytbtiOrLw7Qo0btRA8GO8_ngXvYZku_kA.cache +0 -0
  141. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fZ/fZkmucFmqqep75MCWM0na4r7u22bwwGJU7p8rzxBPLw.cache +0 -1
  142. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/fu/fuyXnpeNx6qV19t8QQjjBkjeOajSyOFWxHu9aL7wrVw.cache +0 -1
  143. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gC/gCBeOSuJ1AMrdY5a2uwKot5ipdYi3HXiYptojOqaMwE.cache +0 -0
  144. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gI/gIskAd0Td18f6kG3XhdIWv1aWYIannhd7IQMOzx8fSI.cache +0 -0
  145. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hO/hOLYALo5ONNXt8mI-q_ljt2obhJgyWNwMWfh5et5TP0.cache +0 -1
  146. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/hj/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
  147. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ib/ibKCpk8kvPQ0tKM2WjW2DHxpiOfTURGb513bHkqubw0.cache +0 -1
  148. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ie/ie2pYHbmp6B0oTotQgZw6PAed8Yi3-eV3W0Q-dYpUT8.cache +0 -1
  149. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/iu/iuTEIlV2Xtm74jVIHka7thNBX-uE9SfcuyOyG1Q43GY.cache +0 -1
  150. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/jX/jXIV6Vnu5rdovb3JUPwVp366ueZzi8DqnVc0mMNibz8.cache +0 -1
  151. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ji/jiU667kWC-plKnH48wV7Uz4H-mfSZ4oESE1q-sHT5mk.cache +0 -0
  152. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kK/kKB9Xe4SaSqdPxofEMvWY1-zgWYnq847ara8T0zV_MU.cache +0 -1
  153. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kM/kMwq9l3swgnce-dF_vH-NDtP1MZDS1KfLykCiP64wa0.cache +0 -1
  154. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kY/kY8J9VOPIB6PNolkswnUmrWCYGz0KVCCm59PUDdcGfc.cache +0 -0
  155. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kq/kqBMaKkDhjS5eJjMy0fBwwrNFgrUwPMG6VQSmfUA6R8.cache +0 -0
  156. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kw/kwNFhW24nxXy_HfVKYdXJyRqhu7ljgl9wR2DcJUo-nA.cache +0 -3
  157. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lB/lBA_-ntrJzFQXtfO83ybQ4HhvJkGR829RtshoRE3Uqk.cache +0 -1
  158. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lj/ljyTHIqZxfeB0s3Gx6bhyfl2KOsl2sARl73ps52IYZ8.cache +0 -0
  159. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m5/m5R9i4_rYGmQdye68SkOOcdEYq5h_Z8LmFaq6Ws_aMg.cache +0 -1
  160. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mB/mBxVxrQfWNHUYdRKpczpT1NYjNQFzeRlLHx1HKLvskA.cache +0 -0
  161. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/n5/n5mNhjjY5H0yVIaJJR3_FdyVDkDrM--XSInNP6MpWsY.cache +0 -1
  162. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/nh/nhSucAhSVICVX3UCaeqUZLF5lua1fR4FQUIzoxnriro.cache +0 -0
  163. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/nx/nx21HmvASQBRLvpELI-cyv5e4No5lETtkantludlRNs.cache +0 -0
  164. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oB/oBHYeKWfEjflOSwhR2YKlJc5xXn7n5WN_UuqTQzg7kQ.cache +0 -0
  165. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oC/oCAURMSrNzVljDVI9FGS6M5XZW0kw4tuQ609Y5ciseU.cache +0 -1
  166. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oC/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
  167. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/oz/ozmGPR97pbvSsrwp1gUdtiwYL_A660pxhsd7wIUClAk.cache +0 -1
  168. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pK/pKr_CqM_Au9ghvk-Fro9_uMrqNJIpkcvheQbkRv28BY.cache +0 -0
  169. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pv/pv6tV3CDkIAmLXdU8EPLlNEkXAKJPufVD4VP30o4fWo.cache +0 -0
  170. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q6/q6BYa32YJF11eGVapO4ouNl6gayPIsARgMavlzZmoi0.cache +0 -0
  171. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/qV/qV7cewMuQwJcyjQiZhSwGvi-uOd1gVTcxSOlsc01DKw.cache +0 -0
  172. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/s9/s9SCEqFRAhjoGsXLCFwBAJPJEAINcwkCh55f94BH1N0.cache +0 -0
  173. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/sh/shZ9OZvpRnOUx3QBlsk9375tCXB4krAR_oq3pnXdWiE.cache +0 -0
  174. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/sl/slzt9ycuWHz5MOT4h_gdxvc65h5BsSS9IupkqRptjfI.cache +0 -0
  175. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/tH/tH-aHIYe_HP75aWllggdPoiWbSV7yWM-LncuE649G0E.cache +0 -0
  176. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/tf/tfabjioG2hgS3P8xAXqafLRZVqM_1CTf06cYtB139YQ.cache +0 -0
  177. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ts/tsGm0KdPPXOZlJaM5uW9JiKo_lPePZypoNIdhpuX4ow.cache +0 -1
  178. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uI/uIN_nWx1icLTff7_eFXd8AIZarlc-YvrlIePmIsgOT4.cache +0 -1
  179. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uc/ucfdsKHZdprOIwFFSdkVcrRo_J8wIRfGApSOD5AN3yk.cache +0 -0
  180. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/v9/v92TxOCdH5GMayXsn1UAq5ALxQtiqz4_ExaM3ntURtM.cache +0 -0
  181. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vY/vYjJx0Ju_6WxvFaROism9R3KaR5trHkTnbZRZPFz9dU.cache +0 -0
  182. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vp/vpfNcYevh10q6taOiN4etW-gXl0dh8smeYqWZ62Q_Rs.cache +0 -0
  183. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wN/wNw4kAG0E_RrvLeFAizMmTp_0jh-HGw1ONLtRyw92z0.cache +0 -2
  184. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wm/wmS9lcrKhwddno4RytFvSUHl9geav6hkIWPkZ9db28w.cache +0 -1
  185. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/x7/x7KkTV3ibfIEysLB_ug5bfmnn2VLV_BldukPR3EoPBk.cache +0 -0
  186. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yA/yA8t9TIsNsxTouSrIzNi9Ss0M9GK_lD6uaB8xCc5UJw.cache +0 -1
  187. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yR/yRJacTcl_RvSkxtFjs0bq9G4_jCb_Pmf7AXqPFe8Mxg.cache +0 -1
  188. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yU/yUynNRXQpWanilal8zjW-zeXszWpD7ykomTOszzvHLU.cache +0 -0
  189. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yl/yl4y7uSGhBEOmpFW45annTlkwBWn8LJRwV17lUVPzWQ.cache +0 -0
  190. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/z2/z2t8iboctjMD_jpnU7V2CdBXNzIbWX_d7FPdztV6tNQ.cache +0 -1
  191. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/z8/z8Nrm_P2U4UZnh3-aHZvaDnGbHGRLhaDaE3wa6Bg_ls.cache +0 -0
  192. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/zN/zNjKeUw6diSbsfnQMxTGuevVuvMX9yl13K5Wj9baSew.cache +0 -1
  193. data/test/dummy/tmp/cache/bootsnap-compile-cache/32/60f2fdbd218610 +0 -0
  194. data/test/dummy/tmp/cache/bootsnap-compile-cache/3d/f30ce3a42dcf82 +0 -0
  195. data/test/dummy/tmp/cache/bootsnap-compile-cache/65/0b37cdf2e556bc +0 -0
  196. data/test/dummy/tmp/cache/bootsnap-compile-cache/66/82a39f58278a1b +0 -0
  197. data/test/dummy/tmp/cache/bootsnap-compile-cache/6a/c4f93e1a75b5d7 +0 -0
  198. data/test/dummy/tmp/cache/bootsnap-compile-cache/aa/a1b2e204acbc53 +0 -0
  199. data/test/dummy/tmp/cache/bootsnap-compile-cache/c5/ab034025488434 +0 -0
  200. data/test/dummy/tmp/cache/bootsnap-compile-cache/d9/e3b2a072d5a250 +0 -0
  201. data/test/dummy/tmp/cache/bootsnap-compile-cache/e1/f67da9487a56cc +0 -0
  202. data/test/dummy/tmp/cache/bootsnap-compile-cache/ea/9a6ab8200eb52b +0 -0
  203. data/test/dummy/tmp/cache/bootsnap-load-path-cache +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 9892ae7412d5d8d8973582ff8bc32b9e897d6bc95cd2cd5a5f96f52435fcef4d
4
- data.tar.gz: 38195307959e85aacb48961cba1f0034735be6a61317535dcd7a40c07ef7105b
2
+ SHA1:
3
+ metadata.gz: 532dd20ce410fdf6ef08f67364f2bc0f3f5ffd68
4
+ data.tar.gz: 0b2e520c82c4f185e8b70c0a1725b5becf656f64
5
5
  SHA512:
6
- metadata.gz: 491d4f56701312843836a6c4ac92f61c3238cd5c1c967accb5e8e3d46088651547ccd88cd8d7ed14e22a0cefe836bd621c9559bec8d7553bbeadc115c2116d9c
7
- data.tar.gz: 7129f42bc62d006eaa0122cbb6a569b4af78243b737f983f73da4955cac8d243a2a2b19889115c6f2b38eb2aaf6aa1d57da6a191360eea24c07ca8842f45a330
6
+ metadata.gz: 450668a0aebdd9c4691cb29ee7ddd62a337b980db69bc6ed0d40432a74bde44c4976ee4572d7c299b5289591f9dd778d13076f13aac32ff61fd9e6bbe78c0259
7
+ data.tar.gz: 6e7fe6f48805ac128673610b3bc2eb36d1951087e87069d69c255bbe607d996d5854e40a23de4d396f9c18bfb940de3a2bfec041295f0de0621ab770dd5bc019
data/CHANGELOG.md CHANGED
@@ -4,43 +4,10 @@ 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.1] - 2020-04-02
8
- ### Fixed
9
-
10
- - Fixed [#71](https://github.com/OSC/osc_machete_rails/pull/71).
11
-
12
- ## [1.3.0] - 2020-01-21
13
-
14
- ### Changed
15
-
16
- - dependency on rails has been increased from 4.2 to > 5.
17
- - this changed a lot in the test cases, nothing in the actual library.
18
-
19
- ## [1.2.2] - 2016-07-26
20
-
21
- ### Changed
22
-
23
- - dependency from osc-machete 1.1 to 1.2 which ups the pbs dependency to 2.0
24
-
25
- ### Fixed
26
-
27
- - use latest version of osc-machete gem so `Job#host` exists so after submitting a
28
- job we save the host to the database
29
-
30
- ## [1.2.1] - 2016-07-26
31
-
32
- ### Fixed
33
-
34
- - bug where `results_valid?` might not call results validation method
35
-
36
- ## [1.2.0] - 2016-06-07
37
7
 
38
8
  ### Changed
39
9
 
40
10
  - remove `AwesimRails` as a dependency
41
- - README and spec changes for rubygems release
42
- - `Workflow#staging_target_dir` now accepts `dataroot` path keyword argument
43
- - change Rails dependency to allow any minor version of Rails 4
44
11
 
45
12
  ## [1.1.0] - 2016-03-03
46
13
 
@@ -103,12 +70,7 @@ statusable.rb (from v0.6.3 of osc-machete to latest osc_machete_rails)
103
70
  ### Removed
104
71
 
105
72
 
106
- [Unreleased]: https://github.com/OSC/osc_machete_rails/compare/v1.3.1...master
107
- [1.3.1]: https://github.com/OSC/osc_machete_rails/compare/v1.3.0...v1.3.1
108
- [1.3.0]: https://github.com/OSC/osc_machete_rails/compare/v1.2.2...v1.3.0
109
- [1.2.2]: https://github.com/OSC/osc_machete_rails/compare/v1.2.1...v1.2.2
110
- [1.2.1]: https://github.com/OSC/osc_machete_rails/compare/v1.2.0...v1.2.1
111
- [1.2.0]: https://github.com/OSC/osc_machete_rails/compare/v1.1.0...v1.2.0
112
- [1.1.0]: https://github.com/OSC/osc_machete_rails/compare/v1.0.1...v1.1.0
113
- [1.0.1]: https://github.com/OSC/osc_machete_rails/compare/v1.0.0...v1.0.1
73
+ [Unreleased]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.1.0...master
74
+ [1.1.0]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.0.1...v1.1.0
75
+ [1.0.1]: https://github.com/AweSim-OSC/osc_machete_rails/compare/v1.0.0...v1.0.1
114
76
 
data/README.md CHANGED
@@ -12,8 +12,3 @@ And then execute:
12
12
 
13
13
  $ bundle install
14
14
 
15
- ## Usage
16
-
17
- ### Generators
18
-
19
- See [USAGE](lib/generators/osc_machete_rails/USAGE) guidelines for details and examples.
@@ -133,7 +133,7 @@ module OscMacheteRails
133
133
  # @return [String] A string representing a validation method name from script_name attr
134
134
  # using ActiveSupport methods
135
135
  def results_validation_method_name
136
- File.basename(script_name, ".*").underscore.parameterize(separator: '_') + "_results_valid?"
136
+ File.basename(script_name, ".*").underscore.parameterize('_') + "_results_valid?"
137
137
  end
138
138
 
139
139
  # A hook that can be overidden with custom code
@@ -1,3 +1,3 @@
1
1
  module OscMacheteRails
2
- VERSION = "1.3.1"
2
+ VERSION = "2.0.0.pre1"
3
3
  end
@@ -55,20 +55,12 @@ class SimulationsController < ApplicationController
55
55
  # DELETE /simulations/1.json
56
56
  def destroy
57
57
  respond_to do |format|
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
58
+ if @simulation.destroy
64
59
  format.html { redirect_to simulations_url, notice: 'Simulation was successfully destroyed.' }
65
60
  format.json { head :no_content }
66
-
67
- rescue PBS::BadhostError => e
68
- @simulation.errors.add(:name, :not_implemented, message: e.to_s)
61
+ else
69
62
  format.html { render :show, status: 500, alert: 'A problem occurred when trying to destroy the simulation.' }
70
63
  format.json { render json: @simulation.errors, status: 500 }
71
- next
72
64
  end
73
65
  end
74
66
  end
@@ -1,4 +1,4 @@
1
- class Simulation < ApplicationRecord
1
+ class Simulation < ActiveRecord::Base
2
2
  has_many :simulation_jobs, dependent: :destroy
3
3
  has_machete_workflow_of :simulation_jobs
4
4
 
@@ -23,5 +23,4 @@ class Simulation < ApplicationRecord
23
23
  def copy
24
24
  self.dup
25
25
  end
26
-
27
26
  end
@@ -1,4 +1,4 @@
1
- class SimulationJob < ApplicationRecord
1
+ class SimulationJob < ActiveRecord::Base
2
2
  # Here we test the deprecated include method instead of the new
3
3
  # OscMacheteRails::Statusable
4
4
  # We will want both to work...
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
3
  load Gem.bin_path('bundler', 'bundle')
data/test/dummy/bin/rails CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- APP_PATH = File.expand_path('../config/application', __dir__)
2
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
3
3
  require_relative '../config/boot'
4
4
  require 'rails/commands'
@@ -1,23 +1,23 @@
1
- require_relative 'boot'
1
+ require File.expand_path('../boot', __FILE__)
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.
7
5
  Bundler.require(*Rails.groups)
6
+ require "osc_machete_rails"
8
7
 
9
8
  module Dummy
10
9
  class Application < Rails::Application
11
- # Initialize configuration defaults for originally generated Rails version.
12
- config.load_defaults 5.2
13
-
14
10
  # 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
11
+ # Application configuration should go into files in config/initializers
12
+ # -- all .rb files in that directory are automatically loaded.
13
+
14
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
15
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
16
+ # config.time_zone = 'Central Time (US & Canada)'
19
17
 
20
- # rails 5 update. tests don't create the belongs_to models
21
- config.active_record.belongs_to_required_by_default = false
18
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
19
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
20
+ # config.i18n.default_locale = :de
22
21
  end
23
22
  end
23
+
@@ -1,4 +1,5 @@
1
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
1
+ # Set up gems listed in the Gemfile.
2
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
2
3
 
3
- require 'bundler/setup' # Set up gems listed in the Gemfile.
4
- require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
4
+ require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
5
+ $LOAD_PATH.unshift File.expand_path('../../../../lib', __FILE__)
@@ -1,5 +1,5 @@
1
1
  # Load the Rails application.
2
- require_relative 'application'
2
+ require File.expand_path('../application', __FILE__)
3
3
 
4
4
  # Initialize the Rails application.
5
- Rails.application.initialize!
5
+ Dummy::Application.initialize!
@@ -1,4 +1,4 @@
1
- Rails.application.configure do
1
+ Dummy::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,53 +9,21 @@ Rails.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 = 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
12
+ # Show full error reports and disable caching.
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
32
15
 
33
16
  # Don't care if the mailer can't send.
34
17
  config.action_mailer.raise_delivery_errors = false
35
18
 
36
- config.action_mailer.perform_caching = false
37
-
38
19
  # Print deprecation notices to the Rails logger.
39
20
  config.active_support.deprecation = :log
40
21
 
41
- # Raise an error on page load if there are pending migrations.
22
+ # Raise an error on page load if there are pending migrations
42
23
  config.active_record.migration_error = :page_load
43
24
 
44
- # Highlight code that triggered database queries in logs.
45
- config.active_record.verbose_query_logs = true
46
-
47
25
  # Debug mode disables concatenation and preprocessing of assets.
48
26
  # This option may cause significant delays in view rendering with a large
49
27
  # number of complex assets.
50
28
  config.assets.debug = true
51
-
52
- # Suppress logger output for asset requests.
53
- config.assets.quiet = true
54
-
55
- # Raises error for missing translations
56
- # config.action_view.raise_on_missing_translations = true
57
-
58
- # Use an evented file watcher to asynchronously detect changes in source code,
59
- # routes, locales, etc. This feature depends on the listen gem.
60
- config.file_watcher = ActiveSupport::EventedFileUpdateChecker
61
29
  end
@@ -1,11 +1,11 @@
1
- Rails.application.configure do
1
+ Dummy::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 threaded web servers
8
+ # your application in memory, allowing both thread 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 @@ Rails.application.configure do
14
14
  config.consider_all_requests_local = false
15
15
  config.action_controller.perform_caching = true
16
16
 
17
- # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
18
- # or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
19
- # config.require_master_key = true
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20
+ # config.action_dispatch.rack_cache = true
20
21
 
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?
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
23
+ config.serve_static_assets = false
24
24
 
25
25
  # Compress JavaScripts and CSS.
26
26
  config.assets.js_compressor = :uglifier
@@ -29,66 +29,52 @@ Rails.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
- # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
32
+ # Generate digests for assets URLs.
33
+ config.assets.digest = true
33
34
 
34
- # Enable serving of images, stylesheets, and JavaScripts from an asset server.
35
- # config.action_controller.asset_host = 'http://assets.example.com'
35
+ # Version of your assets, change this if you want to expire all your assets.
36
+ config.assets.version = '1.0'
36
37
 
37
38
  # Specifies the header that your server uses for sending files.
38
- # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
39
- # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
40
-
41
- # Store uploaded files on the local file system (see config/storage.yml for options)
42
- config.active_storage.service = :local
43
-
44
- # Mount Action Cable outside main process or domain
45
- # config.action_cable.mount_path = nil
46
- # config.action_cable.url = 'wss://example.com/cable'
47
- # config.action_cable.allowed_request_origins = [ 'http://example.com', /http:\/\/example.*/ ]
39
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
40
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
48
41
 
49
42
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
50
43
  # config.force_ssl = true
51
44
 
52
- # Use the lowest log level to ensure availability of diagnostic information
53
- # when problems arise.
54
- config.log_level = :debug
45
+ # Set to :debug to see everything in the log.
46
+ config.log_level = :info
55
47
 
56
48
  # Prepend all log lines with the following tags.
57
- config.log_tags = [ :request_id ]
49
+ # config.log_tags = [ :subdomain, :uuid ]
50
+
51
+ # Use a different logger for distributed setups.
52
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
58
53
 
59
54
  # Use a different cache store in production.
60
55
  # config.cache_store = :mem_cache_store
61
56
 
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}"
57
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
58
+ # config.action_controller.asset_host = "http://assets.example.com"
65
59
 
66
- config.action_mailer.perform_caching = false
60
+ # Precompile additional assets.
61
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
62
+ # config.assets.precompile += %w( search.js )
67
63
 
68
64
  # Ignore bad email addresses and do not raise email delivery errors.
69
65
  # Set this to true and configure the email server for immediate delivery to raise delivery errors.
70
66
  # config.action_mailer.raise_delivery_errors = false
71
67
 
72
68
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
73
- # the I18n.default_locale when a translation cannot be found).
69
+ # the I18n.default_locale when a translation can not be found).
74
70
  config.i18n.fallbacks = true
75
71
 
76
72
  # Send deprecation notices to registered listeners.
77
73
  config.active_support.deprecation = :notify
78
74
 
75
+ # Disable automatic flushing of the log to improve performance.
76
+ # config.autoflush_log = false
77
+
79
78
  # Use default logging formatter so that PID and timestamp are not suppressed.
80
79
  config.log_formatter = ::Logger::Formatter.new
81
-
82
- # Use a different logger for distributed setups.
83
- # require 'syslog/logger'
84
- # config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
85
-
86
- if ENV["RAILS_LOG_TO_STDOUT"].present?
87
- logger = ActiveSupport::Logger.new(STDOUT)
88
- logger.formatter = config.log_formatter
89
- config.logger = ActiveSupport::TaggedLogging.new(logger)
90
- end
91
-
92
- # Do not dump schema after migrations.
93
- config.active_record.dump_schema_after_migration = false
94
80
  end
@@ -1,4 +1,4 @@
1
- Rails.application.configure do
1
+ Dummy::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,11 +12,9 @@ Rails.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 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
- }
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = "public, max-age=3600"
20
18
 
21
19
  # Show full error reports and disable caching.
22
20
  config.consider_all_requests_local = true
@@ -28,11 +26,6 @@ Rails.application.configure do
28
26
  # Disable request forgery protection in test environment.
29
27
  config.action_controller.allow_forgery_protection = false
30
28
 
31
- # Store uploaded files on the local file system in a temporary directory
32
- config.active_storage.service = :test
33
-
34
- config.action_mailer.perform_caching = false
35
-
36
29
  # Tell Action Mailer not to deliver emails to the real world.
37
30
  # The :test delivery method accumulates sent emails in the
38
31
  # ActionMailer::Base.deliveries array.
@@ -40,7 +33,4 @@ Rails.application.configure do
40
33
 
41
34
  # Print deprecation notices to the stderr.
42
35
  config.active_support.deprecation = :stderr
43
-
44
- # Raises error for missing translations
45
- # config.action_view.raise_on_missing_translations = true
46
36
  end
@@ -2,3 +2,4 @@
2
2
 
3
3
  # Add new mime types for use in respond_to blocks:
4
4
  # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -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] if respond_to?(:wrap_parameters)
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
- # self.include_root_in_json = true
13
+ # self.include_root_in_json = true
14
14
  # end