ckeditor 5.1.1 → 5.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (365) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +8 -12
  3. data/README.md +18 -8
  4. data/app/assets/config/ckeditor_manifest.js +7 -0
  5. data/app/assets/javascripts/ckeditor/config.js +2 -1
  6. data/lib/ckeditor/backend/shrine.rb +6 -2
  7. data/lib/ckeditor/version.rb +2 -2
  8. data/lib/ckeditor.rb +1 -1
  9. data/lib/generators/ckeditor/install_generator.rb +10 -3
  10. data/lib/generators/ckeditor/templates/active_record/active_storage/migration.rb +1 -1
  11. data/lib/generators/ckeditor/templates/active_record/carrierwave/migration.rb +1 -1
  12. data/lib/generators/ckeditor/templates/active_record/dragonfly/migration.rb +1 -1
  13. data/lib/generators/ckeditor/templates/active_record/paperclip/migration.rb +1 -1
  14. data/lib/generators/ckeditor/templates/active_record/shrine/ckeditor/asset.rb +10 -0
  15. data/lib/generators/ckeditor/templates/active_record/shrine/ckeditor/attachment_file.rb +7 -0
  16. data/lib/generators/ckeditor/templates/active_record/shrine/ckeditor/picture.rb +11 -0
  17. data/lib/generators/ckeditor/templates/active_record/shrine/migration.rb +25 -0
  18. data/lib/generators/ckeditor/templates/base/shrine/initializer.rb +3 -4
  19. data/lib/generators/ckeditor/templates/base/shrine/uploaders/ckeditor_attachment_uploader.rb +8 -0
  20. data/test/controllers/attachment_files_controller_test.rb +2 -2
  21. data/test/controllers/pictures_controller_test.rb +2 -3
  22. data/test/dummy/app/assets/config/manifest.js +5 -0
  23. data/test/dummy/app/assets/javascripts/application.js +0 -2
  24. data/test/dummy/config/environments/test.rb +1 -1
  25. data/test/dummy/db/migrate/20110623120047_create_posts.rb +1 -1
  26. data/test/dummy/db/migrate/20170806125915_create_active_storage_tables.rb +2 -1
  27. data/test/dummy/db/migrate/20240702124877_create_active_storage_variant_records.rb +13 -0
  28. data/test/dummy/log/test.log +21312 -428
  29. data/test/dummy/public/uploads/tmp/1719920086-269311067663131-0007-1441/rails.png +0 -0
  30. data/test/dummy/public/uploads/tmp/1719920086-421952086522918-0008-0646/rails.png +0 -0
  31. data/test/dummy/public/uploads/tmp/1719920086-707816807911030-0005-1571/rails.png +0 -0
  32. data/test/dummy/public/uploads/tmp/1719920086-921967936987686-0006-7493/rails.png +0 -0
  33. data/test/dummy/public/uploads/tmp/1719920145-149703728509145-0006-9077/rails.png +0 -0
  34. data/test/dummy/public/uploads/tmp/1719920145-255182734853331-0007-6402/rails.png +0 -0
  35. data/test/dummy/public/uploads/tmp/1719920145-757917713646467-0005-8127/rails.png +0 -0
  36. data/test/dummy/public/uploads/tmp/1719920145-850037756357442-0008-1113/rails.png +0 -0
  37. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0B/0B7DqwkSWBDpSxvAtpua_g85q8xD5qvfvY5THKYR93A.cache +0 -0
  38. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/2F/2FJDoocaS6ff9e_0MoxHznqDSxf1fPLnBkKQ6GzAlns.cache +1 -0
  39. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3-/3-t_NdNv0uvV3sYq27proc6sC-SHC664rbaK4qboEes.cache +2 -0
  40. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/6i/6iAOahWKIaLuwtblgab4j_KLF11JiXjpAkpb28wI3tI.cache +0 -0
  41. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/7O/7Ob9OpYx4g_QjDm4SQm6NyineZIl1S1pyYpQYGD8qNU.cache +1 -0
  42. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/8Q/8QTc5QAFgWkvnZCOCBLXAMAag4XaxqA8TusfJ6oWa1o.cache +1 -0
  43. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/9R/9RGxdjZQgwIDmIfkFLs-fbY1h_gdC8NYnNmr_FbLsuE.cache +3 -0
  44. data/test/dummy/tmp/cache/assets/sprockets/{v3.0/Nq/NqedKG2c6jsceuP2uhnKqQmoyWVcFM3cmIkRCv0F-PY.cache → v4.0.0/AA/AAvawPuyDCA8-jKrXCSiM03_bzDeBi-ceMyyo010yaE.cache} +0 -0
  45. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Be/BeyJFOVGDD7PgB6eTV7cX74jD51czVdpuDAFGvOv320.cache +1 -0
  46. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bm/Bmz6M6_yg333R9PDO22yTRILqxsmQCjsBDI1DxB4FB4.cache +1 -0
  47. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/C3/C3xGLrKVg2UYsd4g3Z9czHt2vVp7I1wMoUh7LdX4p4Q.cache +0 -0
  48. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/C9/C9ES_HfwL8Slcaq2nSYXagfuYb7zeKfopLbIY-ZgTs4.cache +1 -0
  49. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Cw/CwsSJWoQYKfhdEVdAuO_OxQ0MAN35Uhel8DQLExIn2E.cache +1 -0
  50. data/test/dummy/tmp/cache/assets/sprockets/{v3.0/v3/v3eDSIGmyd0Y1kk1ASc_uFEb7tUqfFdZ3yRZAeZrzcI.cache → v4.0.0/E9/E9y7bw8xzgmMq2uIiJZAzsAZkmhd_6z8xudstzPRRFg.cache} +0 -0
  51. data/test/dummy/tmp/cache/assets/sprockets/{v3.0/AP/AP8aU7CCks37uIRxKXMzD6WbSYsrqlQVLuhOHYrZM70.cache → v4.0.0/GH/GHzBjB8O5LLmsn4RmAtSIgCQjmZcdu9bjRTeemBY6mo.cache} +1 -1
  52. data/test/dummy/tmp/cache/assets/sprockets/{v3.0/wv/wvWyU7svrHKgHvpxvJLK3vuc7SIlfxCVir2p_VMBMjs.cache → v4.0.0/GM/GMcpvaecBvzwdkKOgCJzVS_j-p5EgLkGDwYz48F8tcM.cache} +1 -1
  53. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ht/HtDNlyBHzf1JrmYPHum1qDrL5bPSoHAI8MlnnGNvAns.cache +0 -0
  54. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/IV/IVQzhToEptQX9r20jBE6WorgI8E3XpTviM701zDYlgQ.cache +0 -0
  55. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Jw/JwjbhiOfNj8ShoPvd9BA1RWjPPmWU70c-5YxTzF5T0M.cache +1 -0
  56. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Jz/JzsMtCtvM79EDcxMyHfbZ-N1rklr3OEl9ptlviozl7I.cache +1 -0
  57. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Mn/Mnm6-j6hU_PcRHz8qCxryu1NV5PD9mwcsCBwlP1mjfw.cache +1 -0
  58. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Oj/OjU1CwGLKOBa3xo4YWfUR2t7mC6acpAhTYjjvE1v-y4.cache +2 -0
  59. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Oj/OjYrsieQY9XXcFbxGVCtRDjtFX7tXQPLYrBJDe5A2Ks.cache +3 -0
  60. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pd/PdQ0DBpoUUzjT1XYWmWrpVDl90vqx462tONxIwkkm4M.cache +1 -0
  61. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/QJ/QJvMUnsSUuaT1ITI6AQYvdo-1EQPSzj47fi-2YqYa5M.cache +1 -0
  62. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/R0/R0xLw-M-I9KLtIIAmuX1ccDgtc4PWYeW4lXX0XfqI5g.cache +0 -0
  63. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/RA/RAmhpYhvGxv-pNZWpPxiECoYM9K8GjBCeyZGCZkhdOc.cache +3 -0
  64. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/RX/RXgyyjjpVOOK2lHyyG8ZvP69cXZLzzxkNQk58rSxus4.cache +3 -0
  65. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/R_/R_R0SZiC0GIstNDZGM_su2YV9U4iKG6zFkv9P25r78E.cache +0 -0
  66. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/SI/SIf4zCH8Guz7G3hDhUwB574HoBPMLHWvG2mpd3pLsJ4.cache +0 -0
  67. data/test/dummy/tmp/cache/assets/sprockets/{v3.0/3s/3ss6YahyYEb0qLAV8864wv9pJxbGvaMr2gPjI8FPo_4.cache → v4.0.0/Sc/ScOdiHKdTq9A5uN9Tssm9OQCLHH2XIughY_Q8qRX6sI.cache} +1 -1
  68. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Sh/ShBlBNw3jQxRxivB1DwlyltpKafMAuz3sanU8LXdybc.cache +1 -0
  69. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Sr/SrzPPbXue0TiHoNOg7bYJ1yHGjoZAUqTsm07eOq0UG8.cache +1 -0
  70. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UC/UC_PjeIohf1DkllH6JXFL8hzlzAlh9sFqfQFTKGq5EM.cache +1 -0
  71. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/UT/UTD49wcqYNU14X0UMOzhXDQ7j0qXRp31CtU3hNvmSIM.cache +0 -0
  72. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/WW/WW_ftifpztKvJ-OjkRUFPlDjks-7ohJyiZgVf7MIetA.cache +1 -0
  73. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Xx/XxK58B5Sgg-G0O6NKacku6UWD_kkBxq6jQim_sy8cF8.cache +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/{v3.0/ts/tsSAxcVtdRaxifKEGGehVyZ2rLzQJJ3dc0DXnmPwO8M.cache → v4.0.0/Y6/Y6vL2bN8n7uYVZqLiJ221YOyiWFOCaFrjk2Zojg3SOU.cache} +0 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Z_/Z_LYBrvTXKuCyybK40FDQMMO7VIiWLDlpgQbWHjggF4.cache +0 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zo/ZoUHzuj4a9V0aei97iqhXV8Q_M5g0x7Hm0F3tIpvZjM.cache +0 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zu/ZuQifeSZnszfkdrqms9EhPV2XMvSLscO1gDRkqnEZe0.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_2/_2C7LEh657DyEYmHiBqTke0-yFGPOm3JqAVFA_wmgtE.cache +1 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_M/_MV2zXOUPZRSI3fWMyQDfpxcCaRFz99XqkK3NIfo8RE.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/_R/_Rgc4nWEFK0FmmUbpn-RoXahhZ3SWYlLqT1djd1I41U.cache +0 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/b0/b0IJj00YFezNJ_r4Bh46e9XHOq9II8Jhem7V5fJbUF0.cache +3 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/b6/b6k4-Ny2RrRkv3dLk9zx4_4SpIzII7gAtvo-L5_hIrs.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bx/bxf0W8ugbi-E1Ui46CIqrvfWk7xemRaxmz_Arx8f8nA.cache +3 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cD/cDbNR_lk64HCym3yt2AppMu1OMVigBhdtQqpDjbtiGg.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/cS/cSK-8d9hPcBjf8teV_Vv-CadihyuI3ITnBjJek-tkiU.cache +0 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/d6/d6D7FGX2SqRiESHOTH5C8RsCGr3mJgpb0dfGo8ktoeM.cache +1 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/d9/d9T6NlFwAC8Tkfwj68MPb9bhihgMCk_eg7D6hZm-q7c.cache +1 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dp/dpxqTcq70m3Rz3i6Ykh15BjtmBWaNgJRKoDm9TOmkH0.cache +0 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/e8/e85sbb5qymGBbm8SpSJdr6uBXxPGh3HLZOykF0GP-Xs.cache +0 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/eQ/eQrIt9XKp9Mx08URKFXBs5IJ7ubYHE37fdABSYyiXSA.cache +3 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/ey/eyto58tjYcyvhOhYqgnozPgTgr_lLWFjsSfLFZgAqiw.cache +3 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/f2/f2NCryRVGmGwHIb_UjK2XvsisNMNpPQwy9vC5OPrezI.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gD/gDlbhjjFxXeu5-jOP67mTO9TsObGFhra1nCqj8q-f5g.cache +1 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gP/gP-w3WZ98ZMy3ykCntr4rl9pYwsJnO9BbrhQnSdVRrM.cache +1 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/h-/h-36ev9XrhSbQNydPki9y7aNPLHsvXVy6jHF3ni1enw.cache +0 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kH/kHgJJUJjQermKldcFidJsm1b0DV8ouMGZU8KW--ZtlY.cache +1 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kg/kg-FXfwytbXA2YNEkfuT7HzMSgOrIYdBexYmmPRElT4.cache +1 -0
  98. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/nk/nkkNBWZFtTWCDZFuN8KTDVKf8eaQH0WVjwN-_HGktlE.cache +0 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/od/odHlys_6OzEUrYEd15DH9A3JZet0lvlUr5xeKZneDIk.cache +0 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/of/ofkxmryLtKkMUt3cnDeKgIKZZcagacB9la8c0q4M7to.cache +2 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/pS/pSa9BmFb3_BRFJpeZLh9sbMRakxtwZQ1ieMLV5Kec1c.cache +4 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/po/pozcIhqj73t54kCqvSKq1afVRGyNB5DXaMHsAu504Fw.cache +2 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/py/pyGAJrY1mgvF3JKeIGd7oSFKe34ZIyP04fOnInQI9Pc.cache +2 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q5/q5pcDcr_urm29TVWopfxfmeZjZQgj1QvJTLX_gz8khc.cache +1 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rO/rOFdPWcChniCZF-apA5czWfiuHfUDOqCAwt7do-twKI.cache +0 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/t7/t7EXH9Lq5iq2ES3qLV6Git5IZ0SP-DzRKqNaDlYwUT8.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/{v3.0/sH/sHEfrMxYcpqzAw9Xv5yKd-ImHdYH4dw3LRhAzLtNwbQ.cache → v4.0.0/ti/tikbcC21PDBTCipA4jGx8aWBaYWisQZ6AGLt6y8NknM.cache} +1 -1
  108. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/tx/txoMy5lLS2StLiuyC1AWzL1sKiU0Plv8cBrvQf4L_Y4.cache +1 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/uL/uLlN9z6rr4Htq9VxZbhK9_a9m3177sd9NLWVLfNwM6Y.cache +0 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vc/vcozM1VAnHCKZ0XKI_QPbHs3_GRax2IlSAIpMf-LA6Y.cache +1 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vi/vIuMGX1b-DtxPrYuguf3lRFwGkGN-bVOQpbYRFFMd2s.cache +0 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/vi/vitMUuOWxfNx3V9kpcFlmuMZZkWukv26sz5YS3zvI8Q.cache +2 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wx/wxIXHyY_OainXZKO8JgP6TSLFebNrOHSSeIxZTUyykI.cache +1 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/x_/x_D205w2VQt6LGoMQpy3HKOFfxd8P9x2AGLGLO3yMf4.cache +3 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/zI/zI9Z08jtA9vbOGIhS4o_Ks3rOP7EfHCBCMllDB1pLe0.cache +3 -0
  116. data/test/dummy/tmp/storage/0h/2x/0h2x0t1ewq65tke8w0wqcu94xz1s +0 -0
  117. data/test/dummy/tmp/storage/0j/46/0j46nlfytrxefw1rnsxr7dor9qs0 +0 -0
  118. data/test/dummy/tmp/storage/0p/we/0pwebv3u785keluwz07ygslsduvh +0 -0
  119. data/test/dummy/tmp/storage/2o/wm/2owmd6mq104ngnutsva1hxb9qrrn +0 -0
  120. data/test/dummy/tmp/storage/2r/jq/2rjqjl3bxv5zs3a2hwkn8cfqi4cr +0 -0
  121. data/test/dummy/tmp/storage/2u/hw/2uhwminbvuqxmfacxqohhhcm9ycx +0 -0
  122. data/test/dummy/tmp/storage/3u/f9/3uf9zaalajb5c0ezxylndee3ff9y +0 -0
  123. data/test/dummy/tmp/storage/7u/ia/7uiabpmcn0q9m42tvvtu86nr4vqy +0 -0
  124. data/test/dummy/tmp/storage/9i/2p/9i2palc8qq2eh9lvk2d47s3nqmms +0 -0
  125. data/test/dummy/tmp/storage/9q/8i/9q8i4dlcb17wm4m7ahrpyh3vncvi +0 -0
  126. data/test/dummy/tmp/storage/a4/a5/a4a5paq56lacwz7ejvlnhzry4ws4 +0 -0
  127. data/test/dummy/tmp/storage/ap/x1/apx1ixovt8bv48y928l2hi92eyan +0 -0
  128. data/test/dummy/tmp/storage/b7/4m/b74m7t81nu28dle33efl7ktvluk8 +0 -0
  129. data/test/dummy/tmp/storage/b8/ij/b8ijh6iz0ondj7pt0ykw5ad2cqax +0 -0
  130. data/test/dummy/tmp/storage/c1/77/c177oxwtt9iwxp31qia7conxcp8u +0 -0
  131. data/test/dummy/tmp/storage/cd/of/cdof3celmmo1owuitvrywmh8lzr7 +0 -0
  132. data/test/dummy/tmp/storage/ch/0g/ch0gl45v6s77rha4yvg5gnf5ug9e +0 -0
  133. data/test/dummy/tmp/storage/e4/3b/e43bg5k0vk4ib36xsuy58y0go2hj +0 -0
  134. data/test/dummy/tmp/storage/ep/f4/epf4d3jwmd7jv265jfhjh7hp835j +0 -0
  135. data/test/dummy/tmp/storage/fu/xj/fuxjpesmykwxve59ejwd0d19agyg +0 -0
  136. data/test/dummy/tmp/storage/g6/lf/g6lfp53erxwoop1fxrmuh4m8z58e +0 -0
  137. data/test/dummy/tmp/storage/gd/mp/gdmptsfc8t28cows8sntnhyxd71m +0 -0
  138. data/test/dummy/tmp/storage/gm/98/gm9893vacag5ejoihqqwy2mqrokv +0 -0
  139. data/test/dummy/tmp/storage/h5/rf/h5rfx133px0eco87hbf53a4qiw7e +0 -0
  140. data/test/dummy/tmp/storage/hl/wv/hlwvf7ouxq47c2ghenzbis8ldmwl +0 -0
  141. data/test/dummy/tmp/storage/i7/9i/i79ia8rpb0bal8u7tw4tbp9bdhkr +0 -0
  142. data/test/dummy/tmp/storage/j1/va/j1vap47nm3j9nbf1tcabz6k836ui +0 -0
  143. data/test/dummy/tmp/storage/kh/fw/khfw1wilkeii8bav8ywguzp3jf51 +0 -0
  144. data/test/dummy/tmp/storage/kq/o5/kqo5mjfmwo2l3s3qwxdyl79oiu44 +0 -0
  145. data/test/dummy/tmp/storage/l6/y5/l6y5cihd5nk61339cu4xedid6uiv +0 -0
  146. data/test/dummy/tmp/storage/lp/45/lp45uj5q9qqg5g58y3a4we4dcfjq +0 -0
  147. data/test/dummy/tmp/storage/mh/br/mhbr0ollzdzlt8lcmq5itish1t1f +0 -0
  148. data/test/dummy/tmp/storage/nn/9w/nn9w0fnmnbu32djtij4ezyryyfnm +0 -0
  149. data/test/dummy/tmp/storage/ns/8t/ns8tak91291mp0tx7kz0g0n98eoa +0 -0
  150. data/test/dummy/tmp/storage/p8/c2/p8c27qyrg8dqk0m03blgay83xakq +0 -0
  151. data/test/dummy/tmp/storage/re/6u/re6u96kz4n42uqb885y0qkg3b36n +0 -0
  152. data/test/dummy/tmp/storage/tm/ty/tmtyhyg8ttcc2wxxm228dhua4dbo +0 -0
  153. data/test/dummy/tmp/storage/ub/6m/ub6mgqdp2u55siyevivhsdjqao68 +0 -0
  154. data/test/dummy/tmp/storage/uh/ob/uhobdb1c7di6ukdd0u3mhuh955yt +0 -0
  155. data/test/dummy/tmp/storage/wd/g9/wdg9y43dqhq6ubeb7em16iqt8cgw +0 -0
  156. data/test/dummy/tmp/storage/wq/yy/wqyy1rssq1d1s5kx5333yz1kv574 +0 -0
  157. data/test/dummy/tmp/storage/x2/d2/x2d2qbo7lw8a54h8ygguypba8h0h +0 -0
  158. data/test/dummy/tmp/storage/x8/w7/x8w7sgk63suxo17qxte4y5or39vf +0 -0
  159. data/test/dummy/tmp/storage/xf/jq/xfjqyl4lecwjfcyhs7s39v7vjamd +0 -0
  160. data/test/dummy/tmp/storage/xu/8s/xu8sc9pvidsqhxjv0ytsrm0kaz8x +0 -0
  161. data/test/dummy/tmp/storage/y4/gh/y4ghw4rdxajy6dh61vcd3h9myclh +0 -0
  162. data/test/dummy/tmp/storage/y9/ja/y9ja0bjwr8cfpe5e40otk1mao643 +0 -0
  163. data/test/dummy/tmp/storage/zi/21/zi21ctktxv2ii90j13lnbv5qa597 +0 -0
  164. data/test/dummy/tmp/storage/zw/cb/zwcb2bmj173by2zsm6ppg3bg4x2l +0 -0
  165. data/test/dummy/tmp/storage/zy/ro/zyropjdasx8lqbus1jzkhn4tv7yz +0 -0
  166. data/test/models/picture_test.rb +2 -2
  167. data/test/orm/active_record.rb +2 -1
  168. data/test/support/helpers.rb +4 -4
  169. data/test/test_helper.rb +1 -2
  170. data/test/tmp/config/initializers/ckeditor.rb +1 -1
  171. metadata +387 -456
  172. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-d/-dBqueNlS8WwuPraBl4IkbfQRL93pVKQvYJ-zSKRKxU.cache +0 -2
  173. data/test/dummy/tmp/cache/assets/sprockets/v3.0/-f/-fyTq7_I0HC-1OsK08Hj6mGMvCIifWgY8Qri65a094A.cache +0 -3
  174. data/test/dummy/tmp/cache/assets/sprockets/v3.0/04/04ewZ0c1q_zE-xyp1_tu63iQ08Zc487NAJXCiHxKqCs.cache +0 -3
  175. data/test/dummy/tmp/cache/assets/sprockets/v3.0/05/053vWA3kmu4-6v32aM64Pwcd_LdIf_3lsrDSuGparNE.cache +0 -1
  176. data/test/dummy/tmp/cache/assets/sprockets/v3.0/08/08WCRw3WlsP1fILmwynQ8HaeL3mN5xQV8RsV-OpCR84.cache +0 -1
  177. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0F/0FLX257BoU4j7TvAGAqmKK7M4JK8lPYWt8un9-GElUE.cache +0 -1
  178. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0_/0_RwuQhVhuz2Zj6cyW1Qrg1wmAy9jf_TbrWm30CNHwM.cache +0 -4
  179. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0v/0vzBAlV2TqPJ14G3w9RBBQaFnUaM4_DAV7_fvNQKK-M.cache +0 -3
  180. data/test/dummy/tmp/cache/assets/sprockets/v3.0/15/15kTYHJ9YGIbASZaM7epQZZNu7Fjx93C9YcSeGbURSM.cache +0 -0
  181. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1L/1LzUbGbE3gxsOFwMWWvg7rbCKWcSXx3ikLrP176lXvw.cache +0 -0
  182. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1s/1sXde7PzLPTWbUz4TxQj1XtFcTUsn-ojYQHOBNmc3eY.cache +0 -0
  183. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2i/2i9A4OM8yFNZvNJjen7ywQCA8YUoxnPoVy2aiXupbCg.cache +0 -4
  184. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2n/2nLwAurhvsqUvixh2bPQw-EUkt5JWr9XHyfoEzEEtBs.cache +0 -1
  185. data/test/dummy/tmp/cache/assets/sprockets/v3.0/2o/2o8J2-5zLYcqYc4HmspjYoHJGOiwjk0oKA7p-WYhU6k.cache +0 -0
  186. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3D/3DzwHWCow-x5X9Wpkg5ZCH3RqQlpZ6G3Qo6hvMYtanc.cache +0 -1
  187. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3d/3dmugBqWzGPHNnc8FEqDvHfFYpKJbAziKxIf7veqCOw.cache +0 -1
  188. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4I/4IQZgALzTTT6ZQIK0WwW1zO54x5J1KKPbB-DfiGIb00.cache +0 -3
  189. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4j/4j7x99qNyXvE-LyUyEJ59JT-OaB4CfqjVCaoaRqWxHY.cache +0 -3
  190. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5s/5sf_1So_2TzJhgV9CwZM6iCCfLnz76wdN4yAbVQ3xvg.cache +0 -0
  191. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5w/5wYq7JIx5EMI40F3-Np0vuSwqq5AbsM1M7Z02ubK_Zs.cache +0 -3
  192. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5z/5zzxntCI3GPFcP-dfgOc86Ajp1jgBaj2ESaz4cO9oIc.cache +0 -0
  193. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6I/6I3t_d6wk7buUIh3xThJ6H3WZTVnn5V7gIJBIl1jfSY.cache +0 -3
  194. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6J/6JN4ZmYR_lrkbDiMIsrtw6_IGsGkNNJhUgmlVFZFki8.cache +0 -3
  195. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6L/6L0_bpdm_t1xV1LSElTd4EiwZmDbfImqgNOP44oY4Fg.cache +0 -1
  196. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6r/6rRvrDpqz6FBD-NUHBvGh8o1Os4tCO9hjOpM0LcqD6Q.cache +0 -1
  197. data/test/dummy/tmp/cache/assets/sprockets/v3.0/6y/6yLbSHho8x8T9bFbe5z6A6GSXRtIlu6-MMBP51MpuVQ.cache +0 -3
  198. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7B/7BS88BiOyR7L5EgLvnb2cNG_eC7dZP-TaFbT1u14YfI.cache +0 -3
  199. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7L/7LI10ckVJmn25-bsvE-zOANz2by_rfrzndpbz_0M3IA.cache +0 -1
  200. data/test/dummy/tmp/cache/assets/sprockets/v3.0/7a/7a_aF8iQYuIK9pnWRrnBM4bGcvaW7B7KGiqxdGPrABE.cache +0 -1
  201. data/test/dummy/tmp/cache/assets/sprockets/v3.0/8d/8dK01tNjVZOkAv12c7NbQ9M95iiLjRUHvn8_vQZFLC8.cache +0 -5
  202. data/test/dummy/tmp/cache/assets/sprockets/v3.0/93/930-vFx7yFTnr3WLd3kATLnNsdxrmPLNDAJlgPMSia8.cache +0 -1
  203. data/test/dummy/tmp/cache/assets/sprockets/v3.0/AK/AK3qK8yEs07-d1XF4nIIK-4r5Bae3biMoXTH-XimcIk.cache +0 -3
  204. data/test/dummy/tmp/cache/assets/sprockets/v3.0/B6/B60PzutJO4bVi4HpUZrFVrpcrNiBllTtUuDHmCANe4g.cache +0 -6
  205. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Bi/BidoqWHH9nqc490f8yoQGbijq0_eHWA21nVyVDLIKG0.cache +0 -0
  206. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Bu/BujNz6G7IUtmYGCIKckBJwkoWo42olu6npeyPUjZK3M.cache +0 -0
  207. data/test/dummy/tmp/cache/assets/sprockets/v3.0/CV/CV7HIa3sfMBoB2Iak0KlcMe2CgrlP3KycILium6_rvg.cache +0 -1
  208. data/test/dummy/tmp/cache/assets/sprockets/v3.0/DF/DFl6sNWFwAG371Exi_W7tO72hRJKBO18TGmgDwRl5T8.cache +0 -1
  209. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ee/EeJgeYVT_CZY1OzmZRpaZpwSCdpiI_kGLaZyp0Lx0z0.cache +0 -0
  210. data/test/dummy/tmp/cache/assets/sprockets/v3.0/F-/F-mRXZF1KeR-VvdE94qLvfQ7G4tYqETlWPdhw0ktOpE.cache +0 -3
  211. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gh/GhvM2-MuVU_HNVX1clAXt359AJIcJU5n8YI3boG-6RA.cache +0 -3
  212. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Go/GogfiSOr9ALlZL8yRf8sY-qJt52NT1sNItvg2IRbEhQ.cache +0 -1
  213. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gv/GvoRTz1WzfS40w8mlkZuGKYVMryiv7uFPO5AAWbU24c.cache +0 -1
  214. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCF8cWFjuzdewkC9MR_Gcqb67OnqDAwYJp2lSDV8p14.cache +0 -3
  215. data/test/dummy/tmp/cache/assets/sprockets/v3.0/HT/HToXd6N9BdjuaIfhJw4T6kU3K4erf6L5Zs2ueeZEtIc.cache +0 -1
  216. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hp/HpI4DVES2KTfRomEwW8II9vDXyyEe7l_7hImKJVoSsQ.cache +0 -0
  217. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hu/Hu2TRCk8fVVZKSxUqbu8-2aqv5WaFckjbOIYPeVG6rE.cache +0 -1
  218. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Iw/IwnxC7SnRH6xsVsIU77ajeY3wU3VgmFmYLA67RAkyB0.cache +0 -1
  219. data/test/dummy/tmp/cache/assets/sprockets/v3.0/J-/J-27mU8JDzKZkGLimdmK3wnjKTz2ek_eGRsV6Sx5SfI.cache +0 -0
  220. data/test/dummy/tmp/cache/assets/sprockets/v3.0/JX/JXOdZ4crBS7WZXI04yj4_Kx2Bihs7WfBV5eV7utJkus.cache +0 -5
  221. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Jp/JpeAXRxkp45Ez2YpDSX7odrxvwES3hXR1eofCSTDlCA.cache +0 -0
  222. data/test/dummy/tmp/cache/assets/sprockets/v3.0/KD/KDQQKO-9XB9j2jrauksdDASKO3M2EjFlU7YxNsCuTC4.cache +0 -1
  223. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LA/LA6X678QgeRBLF8c0bPiZP5BJSJIVM6DzB5-SO49W_E.cache +0 -0
  224. data/test/dummy/tmp/cache/assets/sprockets/v3.0/LM/LMkoH8G88hsoVlg2reWs5yn3aTvP3ri6X60VliTesQ0.cache +0 -1
  225. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ls/LsGB6rbumOWBPBSGbvzGm9GnX1N-hluqCr3eCmRVUP8.cache +0 -0
  226. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Lx/LxE1TCMSj5X6GY2HAoIgSCphYVJw3joMIgJy0AladIM.cache +0 -3
  227. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ly/LyU_a18GYQo-r9NjeP0s8quyyhInekhZRIBHJz_jT_A.cache +0 -1
  228. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MV/MVJnuzWbanuxqW14Dc8Y78-M8Wi65wLSlCc8Wq49NZw.cache +0 -1
  229. data/test/dummy/tmp/cache/assets/sprockets/v3.0/N1/N19o30SdBrcqxzPFFb8TfCDRSI2Ufsev3FDMgGjuPIo.cache +0 -0
  230. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ng/Nge8YQeDgbFwrlL8feny1ICqk32DcsNYzcSz0CjcWD4.cache +0 -4
  231. data/test/dummy/tmp/cache/assets/sprockets/v3.0/On/OnMLw3lNhWehiCR4-8vVkwnE0-ijIqhyFtA5vn4HcGI.cache +0 -5
  232. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P0/P0qk9upwDGzYJ923EAuUTbCuu1ymuoJabO8Qznsp8D4.cache +0 -0
  233. data/test/dummy/tmp/cache/assets/sprockets/v3.0/P7/P7pJR0M3wKV-yEunRosFcJX4QQgWy7ifJMlTKXWCd7E.cache +0 -2
  234. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PL/PLXqKdFjQPq1gG8MxkJDd034AGrOmlP42lNttsKRNVo.cache +0 -1
  235. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PT/PTVUf7xyaFbCSvcQQS6baLxtS8Bhte_NUCiUxGXq3RE.cache +0 -1
  236. data/test/dummy/tmp/cache/assets/sprockets/v3.0/PU/PUCBOw7REdP4zl3q099sKBit47suWaK8rbjNVtLUCkA.cache +0 -1
  237. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Q1/Q1mnnVNVktIvFYfFKFv5gBaHJxHrvUhQVS2s-GyXsZg.cache +0 -4
  238. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qm/QmfJnJlv-UeE5U5-dy10ddCGxsyEccCwm8rlSfbMQWg.cache +0 -3
  239. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qs/QssGIs6hD9knPyadpRNYFqAEaPjIyBWHLvdLhtj01DQ.cache +0 -1
  240. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qw/Qwsr6MU-j_a5wWaRoGNRGKc5JNIM7xEVY3TbTGmdbd4.cache +0 -2
  241. data/test/dummy/tmp/cache/assets/sprockets/v3.0/RS/RSQ4sWSaWJyZXl_vfRrU7XEmXaNiQL4fMldJ1_DmOqQ.cache +0 -0
  242. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Rx/RxtO8tM6L0cocpDr1jv2Z4HX8XWqnzTPJjJmA4oFt6U.cache +0 -0
  243. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SJ/SJJOHM7e3gxOVnyy408rn8A376ehBdI69AJIdTdqISM.cache +0 -4
  244. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SO/SO8HufFJWm0rbsJXVsRurZibwFbbCCMMPdp0yjQlqjQ.cache +0 -1
  245. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sk/SkKTg6-wnERrIvPIbEvfEBwo6h01DChWrXsj4QM61vU.cache +0 -0
  246. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Sn/SnneONwbfZdkgXIrIsPDnNxDb2aBY83Ea0e7WboKZ0A.cache +0 -1
  247. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TV/TVDhf7ZxMs_Oov5iDATk8se3-2zK8Yvg9-gvrnuGHXc.cache +0 -1
  248. data/test/dummy/tmp/cache/assets/sprockets/v3.0/TZ/TZiQSFmcqgsCteB5wJhqefkgWHVDI18yyz_Og5I19ik.cache +0 -2
  249. data/test/dummy/tmp/cache/assets/sprockets/v3.0/U7/U7Z6P2gy-gFd0rlSilzfYFNlAfmAODBgOU_f7Q0vVvs.cache +0 -1
  250. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ue/UeAZe1xqNjtzc63YDKyd5eqo4OMQ4yfiLlxK9aRvKB8.cache +0 -2
  251. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Uo/UofS0cqKwZpmrXESj48fTq4w4aeea0UszZv_1umJt_I.cache +0 -1
  252. data/test/dummy/tmp/cache/assets/sprockets/v3.0/VK/VK_uz7ZwmPAKPQfL-tCEPIQ0_2o4cY_5QKX_8HldmmM.cache +0 -0
  253. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Vk/VkV7pbT1hx8yaop4NiDn1kMR7MwS_VjDYNPHQWQOO7E.cache +0 -3
  254. data/test/dummy/tmp/cache/assets/sprockets/v3.0/WS/WShNZpE9_w8EMfkXTaye8MNmuDHrLltlcwPIptKTCao.cache +0 -0
  255. data/test/dummy/tmp/cache/assets/sprockets/v3.0/W_/W_HCQ-NoqY6LFvWJqI7Dxpauna6rDadRWwPYumXhIIM.cache +0 -1
  256. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Xe/XeODfy0gnLbSsviQI9sx8KqYuV7_t_6GfabdB7-NB7s.cache +0 -1
  257. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Y8/Y8ekK4ZkAoQpC2Q0MtxNBTkGhYhmBbHMrD6vFMvKsAo.cache +0 -1
  258. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YD/YDL_VgvgExnwrajYeJLrzifB9dktBwDqzNtyzUtCD3Q.cache +0 -0
  259. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Y_/Y_OlVACK6j5lr-2QVZMaU8cF-Dz1S_T2TZ86vN6PJJw.cache +0 -1
  260. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yb/YbAK65K3suwQEaHCdlXIRDkEuwX9DlYOxixaW07hcg4.cache +0 -4
  261. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ys/YsncDM5rDIeiBNnJwZyWqSu7-fLu8nQPHiSxcKNtRlw.cache +0 -3
  262. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_T/_ThR31O-Iv0N9azSBsaq8YMNCZS0HtNOdVUNhufNXqQ.cache +0 -0
  263. data/test/dummy/tmp/cache/assets/sprockets/v3.0/_W/_WIOqpnSoDe30Uiwc3u9ca1Yf0ygrAdkiz1oenJ9rIc.cache +0 -1
  264. data/test/dummy/tmp/cache/assets/sprockets/v3.0/a9/a9Ndc4oxVRT9YmbyC1t6eAMps_QBsPEyzgfosMs_ckc.cache +0 -1
  265. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ah/ahINRHBr4OBNS6Ev96ytwFu4Lllhejr5UfwHq62_6F8.cache +0 -1
  266. data/test/dummy/tmp/cache/assets/sprockets/v3.0/b6/b6ctzSonpQ3RSo-USlxPZ2o51cMq7G0j_n2UP5SPK9g.cache +0 -0
  267. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bU/bU2MPAAPSo5Q9uII3DGJLnVmpnQaruoUpBe36In7L_c.cache +0 -1
  268. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bs/bsTZHkPBfjgJJ2bpQqBSWywtikZk0kwL0nl315LSj34.cache +0 -1
  269. data/test/dummy/tmp/cache/assets/sprockets/v3.0/bz/bzx9c8FLtzNokI1rMWlgCOhK7ZyRZSmpJxAbR40lMUc.cache +0 -5
  270. data/test/dummy/tmp/cache/assets/sprockets/v3.0/c9/c9nQO7jCnRjJKRDITo6nng557fFIp9YwmqA4xlNx-Cc.cache +0 -0
  271. data/test/dummy/tmp/cache/assets/sprockets/v3.0/cj/cjaZOYTjEMptRd8RaY0aujOSTeN4Fyo7tRti_SZEERk.cache +0 -0
  272. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dj/dj0sh0-NeIakN5o7gtB6MzonGSfAE6aSAOGXcquLJVU.cache +0 -0
  273. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dj/djpmLvcEUPPF44GeZjEzf-jWZlc43XiLngR0P6gsQzU.cache +0 -1
  274. data/test/dummy/tmp/cache/assets/sprockets/v3.0/do/donDLRkEPz9EI7K96pZGvNqvQbn-Zt8pg2bFQehKF4Y.cache +0 -0
  275. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eD/eDN9FOZjukdumjpRxy1tDpIQg0sTdzyuhBMUyz7Pz4U.cache +0 -1
  276. data/test/dummy/tmp/cache/assets/sprockets/v3.0/eM/eMVK5ougZydBZd-IFAJzjaqAoDNJDp8Nm0oBdhlOv6s.cache +0 -1
  277. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ee/eeDN6LD9G2ZAgTdcEL9_ZQiXSI6Jzuhv5KbW9Svj88c.cache +0 -0
  278. data/test/dummy/tmp/cache/assets/sprockets/v3.0/f3/f3wGcAzcwR7I9M4vVSdMvKlbHNGKB0OcwcC2rIf_u58.cache +0 -1
  279. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fS/fSgu2am11_zgLAKnTUnylmTiVzFQB77Z-eN62d88XwI.cache +0 -0
  280. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ff/ffM8QR3UUdE3AiPSVMzQK8MNI2C1oOblPKve3hyihoo.cache +0 -0
  281. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fj/fjaG6x1t7euwaWpHAXwTw1pZJtYG75K7QurK7WV67YA.cache +0 -1
  282. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fq/fqTBZznNgZs-NP6pZ74WUtbDbZRAkI4w979R64f5XHg.cache +0 -2
  283. data/test/dummy/tmp/cache/assets/sprockets/v3.0/h8/h8sGT3_wLt8J2pgHahjWvnn0LoMdD11mHQRMfhWVI2k.cache +0 -3
  284. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hY/hYGLA_7mx6SXKXIUKMLJHBbim2gPLx9mYGyCqOc0aes.cache +0 -1
  285. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hu/huoCxkTn25xVdE8qEIejwda9aqbGvP59sq280V686Jg.cache +0 -2
  286. data/test/dummy/tmp/cache/assets/sprockets/v3.0/i2/i2U8mHjJazWLJXeYa7Hcm0-KV3SMr1Nf_VQ-wUuMKjY.cache +0 -0
  287. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ir/irDLGExxBttMiQTc_vLJLSI_d7WIDKbcuHBryvJZCJk.cache +0 -1
  288. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jC/jCMuwPHJykKL72ahWss8nfPend5gDfz6pffXbVZb0SQ.cache +0 -2
  289. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jL/jLEJNDJIeSEhhThblk5gUv2g-CMijgdeNx095kk9_os.cache +0 -1
  290. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ka/kaNVZlAtVg3t0BmMjOH8ZCHkrezmFy_sME1Hw8Mrfew.cache +0 -1
  291. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kn/kn8Xx6CH8r-3h4p_tbEVHnFaA4j34VRYFr8VmgiqTLQ.cache +0 -0
  292. data/test/dummy/tmp/cache/assets/sprockets/v3.0/kr/krlmMov27lpasITgeAiFvUhUp9yCr-5LWxBeRtMPwfs.cache +0 -1
  293. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lH/lHdb_PeCgraahSNfhufdF5kLuIosrzrYwpcSZXywlPc.cache +0 -3
  294. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lN/lN2qsMU1zXlSuoInbefVqrNTK1V2SEzSN1yqZfU9Ru0.cache +0 -2
  295. data/test/dummy/tmp/cache/assets/sprockets/v3.0/lb/lbnm5U7Gc44KazG1ygxKg-VJZlsxiKs8bCG16FrK7jI.cache +0 -2
  296. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ll/lltp1XFfKQGeq6WKJMN-CriKVEps7jmtmU-XI7EhTUw.cache +0 -3
  297. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mJ/mJFbTtnJshoNhVmVi9S9jG2aUTioPSxms_kGk5nyhKw.cache +0 -3
  298. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mK/mKSHnoDeWz42GN5sMeRKn7fKoZB-2BxxLkob6rAveh4.cache +0 -3
  299. data/test/dummy/tmp/cache/assets/sprockets/v3.0/m_/m__FoNXoU2ztoyz-ek6W7hzQ-6132ydpKlf1xmtDXgg.cache +0 -0
  300. data/test/dummy/tmp/cache/assets/sprockets/v3.0/mx/mxirVMN-incSwDxg8-429kTSg4efU3tISnX6VUojUZU.cache +0 -0
  301. data/test/dummy/tmp/cache/assets/sprockets/v3.0/n8/n8v5QNtmkANjHzhzKlmk3rW9CPcjOcuBF8jLGQUnb28.cache +0 -0
  302. data/test/dummy/tmp/cache/assets/sprockets/v3.0/nn/nnxK8B35jBT31MZrxryKytxAhZVhDWrRxvVO_2NvRw4.cache +0 -1
  303. data/test/dummy/tmp/cache/assets/sprockets/v3.0/o8/o8KD_tJYoRXEbO4jLMzJhtX6pOqnfhiEMRDj5ghHTS4.cache +0 -1
  304. data/test/dummy/tmp/cache/assets/sprockets/v3.0/oG/oGGbOH0hayY6D5txd3QtccbRigWVxB19fvWJP8O54vM.cache +0 -1
  305. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pC/pCfash9WTrrfv9yfQQwyLt9f7SObtMriLlo_QkWE1p8.cache +0 -1
  306. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pS/pSDc64mPPrsJBsMdeoB71e7NlSvg60IUQVxCWg2TDU0.cache +0 -3
  307. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pl/plxe4bdnRdiniGrjkXXUjSoYZ9v7bXVTxBns7IX5LNY.cache +0 -3
  308. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pm/pmHrrifNbYp5V3uylbmaHIXbyDDGVEGvB7xfLPuKwbs.cache +0 -4
  309. data/test/dummy/tmp/cache/assets/sprockets/v3.0/py/py9y20elSXBr1-Fif8v5Z0aLwHfPrkEG34K9pThNoNk.cache +0 -2
  310. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qC/qCimPuombih_K1Y6U-YS-ySAHCUNTvYPZ_N6-DWDl_k.cache +0 -3
  311. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qG/qGjYU5rc4whNqGbZ-Ev-sFFYZDTXZpOhnHRswH81VQI.cache +0 -3
  312. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qY/qYHktjZeTVYyIeVzmSIgG2JV42fyTV0TzIwUkxbYZSQ.cache +0 -0
  313. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qj/qjlULgrZuuzCTNHTNE3IvsI88IhYpf5DLwzbRg7as3U.cache +0 -1
  314. data/test/dummy/tmp/cache/assets/sprockets/v3.0/qp/qpsGPYK_DEnlbfAV1B10gzf85X2fjUVuKcaShGwFAR8.cache +0 -3
  315. data/test/dummy/tmp/cache/assets/sprockets/v3.0/rr/rrMhNNXPFintjn_ZP5RMFZmX5q_4J2rvzVr516oVuZY.cache +0 -1
  316. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sH/sHfCg4WEOfg53iPAv44uwp5mNK6HqvMyWeKmGwAboII.cache +0 -0
  317. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sO/sOkgigzpw9yHTJg1R-bsV_50W9L_p9MTv6CSwUMz_Ps.cache +0 -1
  318. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sP/sPb7jxWOfAHmE_llKwieoJexagI5CQl9F25-09UhQCM.cache +0 -2
  319. data/test/dummy/tmp/cache/assets/sprockets/v3.0/t2/t2AGtm95zgEC1ymTx-cF4Gky6yXKjqMM4BXuQxMYhFU.cache +0 -1
  320. data/test/dummy/tmp/cache/assets/sprockets/v3.0/t3/t3rIl0sKxtbuOdKHOKqe6PtzY-mEAmGMAy0S0te2eyo.cache +0 -0
  321. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tB/tBmy1XTnr--22LM6Zitujx92I1dfh3m1RH3Hhwks3V4.cache +0 -0
  322. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tk/tkYfC9_v7qC9g2yfxRD8SNXVpb9703C5rhHXs3ET7_E.cache +0 -1
  323. data/test/dummy/tmp/cache/assets/sprockets/v3.0/u-/u-V0RvPZjM64X8dX6_bn3jtIvQfG75OKy9zuIF6Jtg0.cache +0 -3
  324. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uA/uA7RfNzNOTNRm3jkZG14w8hjSC4pJRn1ZVs0ec_OPMo.cache +0 -2
  325. data/test/dummy/tmp/cache/assets/sprockets/v3.0/uI/uI_EOGimZCd_E1CgRv5ifLYmSxuP0i4sNiF2WXvP3sg.cache +0 -0
  326. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ux/uxR005Y05Jhl50Mw1ufdKt3V984bimlyEX5akB_YAFI.cache +0 -1
  327. data/test/dummy/tmp/cache/assets/sprockets/v3.0/v-/v-gtNgPSykhFBuKgDhi-xeCf3tbEBQUjY1qKPXMISlM.cache +0 -1
  328. data/test/dummy/tmp/cache/assets/sprockets/v3.0/v2/v2naCjkpFPH9c-NwmCJETQoK7DBDYup8o_jydJMBDeY.cache +0 -4
  329. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vg/vgMKcSF0IQZKKv_x3DrjpksN2pFDWFN7IJhEAmmCZBg.cache +0 -3
  330. data/test/dummy/tmp/cache/assets/sprockets/v3.0/vj/vjuI2fQXa2D6CtQ6q3qr_40P0da4JKryXaWNv7zrA2M.cache +0 -0
  331. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w2/w2WHVIahCX79zlFp_7dfbl6wQPinwISKSTHWngyEnyo.cache +0 -1
  332. data/test/dummy/tmp/cache/assets/sprockets/v3.0/w7/w7fdZ5-Ljpw3oKqBv4nMpR-cYQ9fB7PLoqk2NcUbIWQ.cache +0 -1
  333. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wm/wm0jVVRcI8qC_VsoOfKCp0HHJGnlBOy_FNG3hjMa6Pk.cache +0 -1
  334. data/test/dummy/tmp/cache/assets/sprockets/v3.0/wn/wn3GJ6c-gkr5A6lLAfyeKL98H4FX6r7XKIeUW80gypw.cache +0 -3
  335. data/test/dummy/tmp/cache/assets/sprockets/v3.0/x0/x0wzfxL-nQeWjMAL12L3UiDAYyDTiOg8yp4mdTaZpC8.cache +0 -1
  336. data/test/dummy/tmp/cache/assets/sprockets/v3.0/xh/xhKrbQYzOttXPAV3B8UE0g48dsYPni_9ikA8eccOYIk.cache +0 -1
  337. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yP/yPvoUhaf_yuFaCNJU6ITFYdEzeuSBXWQNLp9bs8nbMc.cache +0 -1
  338. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ym/ymcTn0HULLF6Wenkujvetcm2D24XnhUKoc81dWkMhR8.cache +0 -4
  339. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zD/zDfjs5LeIEuQk6D7sUn8Om3fIIvhvtKmCm8eRfACJgM.cache +0 -0
  340. data/test/dummy/tmp/cache/assets/sprockets/v3.0/zV/zVYsJrJcUbMc1v3v2sP7YsdaBmKpuVVM7oNkvxGJ1JQ.cache +0 -0
  341. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/bb/bbZFJ3rtnAZP8x3-JUVnid9NsB7Ff1zTuFHxn7iW8Cc.cache → v4.0.0/0F/0FyhVDVsQbxVZW9r58QkEROkgNw8iYjSM3L-QhaNgZ8.cache} +0 -0
  342. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/LF/LFI2nxI8wama02WD6drIwzwpfToiO8WBSjaNw0gUxHU.cache → v4.0.0/7c/7cjKlztCxNU7xr_SjNXVRBdRbMgHacgpG6tzQexO9UA.cache} +0 -0
  343. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/jG/jG9xx8asJ-QgTwP6NEhmkP5DSyThNsc6uInt9qologY.cache → v4.0.0/9p/9poOnH6FmRd7JERy5ghJF1mrFapr8ss8Q7yCMWpXh1w.cache} +0 -0
  344. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/Kb/KbtoOF2L9wfndqHkMPAXW-ygqLRoawx6iQOx5qozg44.cache → v4.0.0/A0/A0vaXlDj-oWwUFk7I4X4l_TSviLYJzvNPiR_AozOg3I.cache} +0 -0
  345. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/j7/j7iaQzvTc-zrBhXlfNVdmYrLxRxmsFmV9jJN5uqqVlA.cache → v4.0.0/DV/DVtsBt581_DiaV2p_JFlsZLILHWUnsEcW_nyhH_BBtc.cache} +0 -0
  346. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0 → v4.0.0}/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  347. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/R5/R5ng3VLTDnoUI-pznc7CN8O-eOp6uAz37kiabllbgWk.cache → v4.0.0/IH/IHEyS6s7NCy9428ss8dF_Ec3UaYzW1I_xK4zXYVOQC4.cache} +0 -0
  348. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/dX/dXO4TJtTYlA_7BjfdzdlW__MyZh56Dx5UdjcZomT4ZU.cache → v4.0.0/IM/IM5l6zn9jgsZyr319zpI9ORPr2BRFd8jMp-v4EcLTj8.cache} +0 -0
  349. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/Mo/MofjNnOqCS7WlmuCoJ8OwcR4P0o6Y7mPtRa-hVz-RWE.cache → v4.0.0/JQ/JQAkZKv4GUuW25jF5ZXjVz7qMjwugyAMuS5otGNsZYI.cache} +0 -0
  350. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/vN/vN59miXCuGAyw0iHQg6OmhStV0S1Tz-vGOWUxwN7QOg.cache → v4.0.0/MS/MSGgLyOINzziQ-2bZss89lbySzPx9eh-TRDRvLNWBfY.cache} +0 -0
  351. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/0c/0cpHzwSwJiYcbgcK2pD0vXwKP2VM1owgdYZr4ejiLfI.cache → v4.0.0/QK/QKxKf8TOmN9U8ZUWpEc-6vQYawkgI6vf2R8NVpIIku8.cache} +0 -0
  352. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/qo/qoDAyevKyArNmynPNuCh-sSSEpD4jVGF8vBJGSLM42I.cache → v4.0.0/QS/QSeKQR1aujfBDt4OSQjo0fv1QP8R59ylcXseh5hdJwk.cache} +0 -0
  353. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/an/anaBKbCx7jOFT835cgqX0qxCfQWgrUwV8MN48mg136A.cache → v4.0.0/Rp/Rp0M36CuXaNFU91ez1lrR9yVJlLd9vcF7o3XX5ZmYLQ.cache} +0 -0
  354. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/xn/xn0zd3HM9eTR0-7a6FgJE6NhOy9SsbF21A3rVbVwROw.cache → v4.0.0/U7/U73tntTnbJNkWvV8J1XRjhJ3ZthR9EKTXlH8v663m1c.cache} +0 -0
  355. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/F4/F4obfNmo-wutrSru1b2HuBT0ru_64CzGsup4A9kP_8w.cache → v4.0.0/Xx/xxw-nS8AvOUE4nV97zGmfRDdLJqeii5qmifa1rBpEpc.cache} +0 -0
  356. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/uy/uyyADGu_J8RFP7jMFgLJqNnknx-Oz400wn381wWVZW4.cache → v4.0.0/Y2/Y2MgHcH1INfVKyzFYSfbAM5vQzT8Su5FCwekd1vyICM.cache} +0 -0
  357. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/xR/xRbb3t3bGtgdtnLyv6VZBUPDasllTgN4dsslLL1Ndf0.cache → v4.0.0/YE/YE7-2c6jFYFya6S7WXSXBQP9ZGLEbUuFzu84TAraspI.cache} +0 -0
  358. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/7M/7MnhqviqKpQp4a6wlaqaGhyHxO_7fumN8XNbgTyefGo.cache → v4.0.0/_C/_CPvBvBUntsznGzdeZc43O5hynePbBiukl0hyoNIGto.cache} +0 -0
  359. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/Ov/Ovk6Og38upK7ebMdnjglXiiIWrBEX5smzQXQ_dEiiEE.cache → v4.0.0/dn/dnCgWidsZBhFSQZpqBafg_RAy0BHJ1k3U3TQ-YwNU-0.cache} +0 -0
  360. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/kS/kSXrNqbjB2VH3IOyTGrAYSGttB7BoB9bj6-BQSCs_hI.cache → v4.0.0/ha/haIYh6tFvtm4gQ7XvQrKiR1vSOITJrdCEB8D23f4q24.cache} +0 -0
  361. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/6G/6GlNQ20eeXzca9VGo0hCliNy33gq2QqzC5_o1IjUrZw.cache → v4.0.0/ob/obdo2rX2-q4T1foF5zHnDtucmg4hBmA0ZNBMJGYeSn0.cache} +0 -0
  362. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/hI/hIQZbwjIE-fff8Nh4CiPwqWX0PQdtLh17GomAFE85QU.cache → v4.0.0/s_/s_JxgWVD8zYzSUnopGoUxvDn-4XaERvxlskMUd3cIDU.cache} +0 -0
  363. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0/YS/YStJFI5718x9-8P5pafLnelgTxmna9x4IbZdhs3YeOk.cache → v4.0.0/t9/t92KoKsNjJDW-K-4GSGX6KL8Ug84U2JnmlVjoiM2J2w.cache} +0 -0
  364. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0 → v4.0.0}/wn/wnvJ74QIdj8tSD10cXmY9KyXCpaQIv0FfZJWw-EudW8.cache +0 -0
  365. /data/test/dummy/tmp/cache/assets/sprockets/{v3.0 → v4.0.0}/xP/xPMfTXGxxCCgIip6XsG-paelKjnDzbpAYugLmUfykPs.cache +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b71ac2d1ebfd0eb53c8e24472f22e603c41c3ae8fc5958e44664211ee8e2b6ed
4
- data.tar.gz: 8dd8a0c4681b5c76baf6a09d7c4a71426e7fedd9dd5c10e9623af7bd9d4a567d
3
+ metadata.gz: c89e25ff455ec7ecad8cc5e69b3a27b54d497ab09613447428800a31b2092a9d
4
+ data.tar.gz: d32384ed3c0beb3020018f8c67a0596955f4dc7a95e4f35fc58eea4e6de5c69f
5
5
  SHA512:
6
- metadata.gz: a609bce33d5a52dfab3d630681ffe9f84cf58f39a1fc219606030f9a618a416ba620f9958345afab23cb76e79958ca4c7c3e8aa5cf3a8c1f701d856491b2cf30
7
- data.tar.gz: d2ebba5c7fe3716a65e4af6595da206f52bdee4913fb6ca961d3ae3dcfb5d838664b86067f1dbb265dbe889c4817a15a78624e93e9b2b9bdf5b63f5858830d87
6
+ metadata.gz: 1eda1217bdfead0b319fc7d0d74a9022c2e51760d9ebbf7eb832ae982a7b59cf1e6b2c96a72688dc59354df2177d455bbb11010d33558a07f6a3fa7e8ca61a4b
7
+ data.tar.gz: 9a5bdbdedd22a14486474171513db087e425934ed1575d87d7ca2464140a89a2b9642dad373d2ddee675fd34b93a5f9c1237412fc21067be74c286934b8d07c4
data/Gemfile CHANGED
@@ -4,19 +4,16 @@ source 'http://rubygems.org'
4
4
 
5
5
  gemspec
6
6
 
7
- gem 'rails', '~> 5.2.4.6'
7
+ gem 'rails', '~> 6.1'
8
8
 
9
9
  platforms :ruby do
10
10
  gem 'sass'
11
- gem 'sqlite3', '~> 1.3.6'
12
- gem 'sprockets', '~> 3.7.2'
11
+ gem 'sqlite3'
12
+ gem 'sprockets-rails'
13
+ gem 'sassc'
13
14
 
14
15
  group :development, :test do
15
- gem 'capybara', '>= 0.4.0'
16
- gem 'jquery-rails', '~> 4.3.3'
17
- gem 'mynyml-redgreen', '~> 0.7.1', require: 'redgreen'
18
- gem 'rails-controller-testing'
19
-
16
+ gem 'capybara'
20
17
  gem 'rubocop-rails'
21
18
  end
22
19
 
@@ -24,14 +21,13 @@ platforms :ruby do
24
21
  gem 'carrierwave'
25
22
  gem 'dragonfly'
26
23
  gem 'mini_magick'
27
- gem 'paperclip', '~> 6.1.0'
24
+ # gem 'paperclip', '~> 6.1.0'
28
25
  end
29
26
 
30
27
  group :mongoid do
31
- gem 'bson_ext'
32
28
  gem 'carrierwave-mongoid', require: 'carrierwave/mongoid'
33
- gem 'mongoid', '~> 7.0.2'
34
- gem 'mongoid-paperclip', require: 'mongoid_paperclip'
29
+ gem 'mongoid'
30
+ # gem 'mongoid-paperclip', require: 'mongoid_paperclip'
35
31
  gem 'shrine'
36
32
  gem 'shrine-mongoid'
37
33
  gem 'image_processing'
data/README.md CHANGED
@@ -1,13 +1,18 @@
1
1
  # Ckeditor
2
2
 
3
- [![Build Status](https://semaphoreci.com/api/v1/igor-galeta/ckeditor/branches/master/shields_badge.svg)](https://semaphoreci.com/igor-galeta/ckeditor)
3
+ [![Build Status](https://galetahub.semaphoreci.com/badges/ckeditor/branches/master.svg?style=shields&key=eabcab57-9b51-4460-9b27-9c61c28efcdb)](https://galetahub.semaphoreci.com/projects/ckeditor)
4
4
  [![Code Climate](https://codeclimate.com/github/galetahub/ckeditor/badges/gpa.svg)](https://codeclimate.com/github/galetahub/ckeditor)
5
+ [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/badges/StandWithUkraine.svg)](https://stand-with-ukraine.pp.ua)
5
6
 
6
- CKEditor is a WYSIWYG text editor designed to simplify web content creation. It brings common word processing features directly to your web pages. Enhance your website experience with our community maintained editor. Currently this gem supports [ckeditor 4](https://ckeditor.com/ckeditor-4/) only.
7
+
8
+ CKEditor is a WYSIWYG text editor designed to simplify web content creation. It brings common word processing features directly to your web pages. Enhance your website experience with our
9
+ community maintained editor. Currently this gem supports [ckeditor 4](https://ckeditor.com/ckeditor-4/) only.
10
+
11
+ [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct.svg)](https://stand-with-ukraine.pp.ua)
7
12
 
8
13
  ## Features
9
14
 
10
- * CKEditor version 4.x (https://ckeditor.com/ckeditor-4/)
15
+ * CKEditor version 4.x (<https://ckeditor.com/cke4/release-notes>)
11
16
  * Rails 5.x, 4.2.x integration
12
17
  * Files browser
13
18
  * HTML5 file uploader
@@ -57,7 +62,7 @@ rails generate ckeditor:install --orm=active_record --backend=paperclip
57
62
  ```
58
63
  gem "mini_magick"
59
64
 
60
- rails active_storage:install # if you not install active_storage yet
65
+ rails active_storage:install # if you haven't installed active_storage yet
61
66
  rails generate ckeditor:install --orm=active_record --backend=active_storage
62
67
  ```
63
68
 
@@ -72,7 +77,7 @@ rails generate ckeditor:install --orm=active_record --backend=carrierwave
72
77
 
73
78
  #### ActiveRecord + dragonfly
74
79
 
75
- Requires Dragonfly 1.0 or greater.
80
+ Requires Dragonfly 1.0 or higher.
76
81
 
77
82
  ```
78
83
  gem 'dragonfly'
@@ -110,7 +115,7 @@ Models are autoloaded in Rails 4. For earlier Rails versions, you need to add th
110
115
  config.autoload_paths += %w(#{config.root}/app/models/ckeditor)
111
116
  ```
112
117
 
113
- Mount the Ckeditor::Engine in your routes (config/routes.rb):
118
+ Mount the Ckeditor::Engine to your routes (config/routes.rb):
114
119
 
115
120
  ```ruby
116
121
  mount Ckeditor::Engine => '/ckeditor'
@@ -120,7 +125,7 @@ mount Ckeditor::Engine => '/ckeditor'
120
125
 
121
126
  ### Load editor via CKEditor CDN
122
127
 
123
- Setup editor version to load (more info here http://cdn.ckeditor.com/)
128
+ Setup editor version to load (more info here <http://cdn.ckeditor.com/>)
124
129
 
125
130
  ```ruby
126
131
  # in config/initializers/ckeditor.rb
@@ -229,6 +234,7 @@ jQuery sample:
229
234
  ```
230
235
 
231
236
  ### SimpleForm integration
237
+
232
238
  Note that the toolbar option should match the case specified in the config. If the config is not found it defaults to all available toolbar items.
233
239
 
234
240
  i.e. config.toolbar_mini becomes {toolbar: 'mini'} in the form.
@@ -238,6 +244,7 @@ i.e. config.toolbar_mini becomes {toolbar: 'mini'} in the form.
238
244
  ```
239
245
 
240
246
  ### Turbolink integration
247
+
241
248
  Create a file app/assets/javascripts/init_ckeditor.coffee
242
249
 
243
250
  ```coffee
@@ -248,6 +255,7 @@ ready = ->
248
255
  $(document).ready(ready)
249
256
  $(document).on('page:load', ready)
250
257
  ```
258
+
251
259
  Make sure the file is loaded from your app/assets/javascripts/application.js
252
260
 
253
261
  ### CanCanCan integration
@@ -288,8 +296,9 @@ end
288
296
  Then, generate the policy files for model **Picture** and **AttachmentFile**
289
297
 
290
298
  ```
291
- $ rails g ckeditor:pundit_policy # or ckeditor:action_policy
299
+ rails g ckeditor:pundit_policy # or ckeditor:action_policy
292
300
  ```
301
+
293
302
  By this command, you will got two files:
294
303
  > app/policies/ckeditor/picture_policy.rb
295
304
  app/policies/ckeditor/attachment_file_policy.rb
@@ -303,6 +312,7 @@ You can customize these two policy files as you like.
303
312
  * To override the default CKEditor routes create a [config.js](https://github.com/galetahub/ckeditor/blob/master/app/assets/javascripts/ckeditor/config.js) file within the host application at `app/assets/javascripts/ckeditor/config.js`
304
313
 
305
314
  * By default, the engine inherits from `ApplicationController`. To override the default parent controller:
315
+
306
316
  ```
307
317
  # in config/initializers/ckeditor.rb
308
318
 
@@ -0,0 +1,7 @@
1
+ //= link_tree ../images
2
+
3
+ //= link_directory ../javascripts .js
4
+ //= link_directory ../stylesheets .css
5
+
6
+ //= link ckeditor/application.css
7
+ //= link application.css
@@ -32,7 +32,8 @@ CKEDITOR.editorConfig = function( config )
32
32
  config.filebrowserUploadUrl = "/ckeditor/attachment_files";
33
33
 
34
34
  config.allowedContent = true;
35
- config.filebrowserUploadMethod = 'form';
35
+ config.filebrowserUploadMethod = 'form';
36
+ config.versionCheck = false;
36
37
 
37
38
  // Toolbar groups configuration.
38
39
  config.toolbar = [
@@ -8,8 +8,12 @@ module Ckeditor
8
8
  end
9
9
 
10
10
  module InstanceMethods
11
+ def data=(value)
12
+ self.attachment = value
13
+ end
14
+
11
15
  def url
12
- data_url
16
+ attachment&.url
13
17
  end
14
18
 
15
19
  def data_file_name
@@ -21,7 +25,7 @@ module Ckeditor
21
25
  end
22
26
 
23
27
  def datasource
24
- @datasource ||= data&.metadata || {}
28
+ @datasource ||= attachment&.metadata || {}
25
29
  end
26
30
  end
27
31
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  module Ckeditor
4
4
  module Version
5
- GEM = '5.1.1'
6
- EDITOR = '4.11.3'
5
+ GEM = '5.1.3'
6
+ EDITOR = '4.22.1'
7
7
  end
8
8
  end
data/lib/ckeditor.rb CHANGED
@@ -75,7 +75,7 @@ module Ckeditor
75
75
 
76
76
  # CKEditor CDN
77
77
  mattr_accessor :cdn_url
78
- @@cdn_url = '//cdn.ckeditor.com/4.11.3/standard/ckeditor.js'
78
+ @@cdn_url = '//cdn.ckeditor.com/4.22.1/standard/ckeditor.js'
79
79
 
80
80
  # Url to ckeditor config, used when CDN enabled
81
81
  mattr_accessor :js_config_url
@@ -47,14 +47,21 @@ module Ckeditor
47
47
  template "#{generator_dir}/ckeditor/#{filename}.rb",
48
48
  File.join('app/models', ckeditor_dir, "#{filename}.rb")
49
49
  end
50
+ end
50
51
 
52
+ def create_uploaders
51
53
  if backend_carrierwave?
52
- template "#{uploaders_dir}/uploaders/ckeditor_attachment_file_uploader.rb",
54
+ template "#{uploaders_dir}/ckeditor_attachment_file_uploader.rb",
53
55
  File.join('app/uploaders', 'ckeditor_attachment_file_uploader.rb')
54
56
 
55
- template "#{uploaders_dir}/uploaders/ckeditor_picture_uploader.rb",
57
+ template "#{uploaders_dir}/ckeditor_picture_uploader.rb",
56
58
  File.join('app/uploaders', 'ckeditor_picture_uploader.rb')
57
59
  end
60
+
61
+ if backend_shrine?
62
+ template "#{uploaders_dir}/ckeditor_attachment_uploader.rb",
63
+ File.join('app/uploaders', 'ckeditor_attachment_uploader.rb')
64
+ end
58
65
  end
59
66
 
60
67
  def create_ckeditor_migration
@@ -87,7 +94,7 @@ module Ckeditor
87
94
  end
88
95
 
89
96
  def uploaders_dir
90
- @uploaders_dir ||= 'base/carrierwave'
97
+ @uploaders_dir ||= "base/#{backend}/uploaders"
91
98
  end
92
99
 
93
100
  def orm
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class CreateCkeditorAssets < ActiveRecord::Migration[5.2]
3
+ class CreateCkeditorAssets < ActiveRecord::Migration[6.1]
4
4
  def up
5
5
  create_table :ckeditor_assets do |t|
6
6
  t.string :data_file_name, null: false
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class CreateCkeditorAssets < ActiveRecord::Migration[5.2]
3
+ class CreateCkeditorAssets < ActiveRecord::Migration[6.1]
4
4
  def up
5
5
  create_table :ckeditor_assets do |t|
6
6
  t.string :data_file_name, null: false
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class CreateCkeditorAssets < ActiveRecord::Migration[5.2]
3
+ class CreateCkeditorAssets < ActiveRecord::Migration[6.1]
4
4
  def up
5
5
  create_table :ckeditor_assets do |t|
6
6
  t.string :data_uid, null: false
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class CreateCkeditorAssets < ActiveRecord::Migration[5.2]
3
+ class CreateCkeditorAssets < ActiveRecord::Migration[6.1]
4
4
  def up
5
5
  create_table :ckeditor_assets do |t|
6
6
  t.string :data_file_name, null: false
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Ckeditor::Asset < ActiveRecord::Base
4
+ include Ckeditor::Orm::ActiveRecord::AssetBase
5
+ include Ckeditor::Backend::Shrine
6
+
7
+ include CkeditorAttachmentUploader::Attachment(:attachment)
8
+
9
+ validates :attachment_data, presence: true
10
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Ckeditor::AttachmentFile < Ckeditor::Asset
4
+ def url_thumb
5
+ Ckeditor::Utils.filethumb(filename)
6
+ end
7
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ class Ckeditor::Picture < Ckeditor::Asset
4
+ def url_content
5
+ attachment&.url
6
+ end
7
+
8
+ def url_thumb
9
+ attachment&.url
10
+ end
11
+ end
@@ -0,0 +1,25 @@
1
+ # frozen_string_literal: true
2
+
3
+ class CreateCkeditorAssets < ActiveRecord::Migration[6.1]
4
+ def up
5
+ create_table :ckeditor_assets do |t|
6
+ t.integer :data_size
7
+ t.string :type, limit: 30
8
+
9
+ # Shrine column
10
+ t.text :attachment_data
11
+
12
+ # Uncomment these to save image dimensions, if your need them.
13
+ # t.integer :data_width
14
+ # t.integer :data_height
15
+
16
+ t.timestamps null: false
17
+ end
18
+
19
+ add_index :ckeditor_assets, :type
20
+ end
21
+
22
+ def down
23
+ drop_table :ckeditor_assets
24
+ end
25
+ end
@@ -8,16 +8,15 @@ require 'ckeditor/backend/shrine'
8
8
  require 'image_processing/mini_magick'
9
9
  SHRINE_PICTURE_PROCESSOR = ImageProcessing::MiniMagick
10
10
 
11
- # require 'image_processing/vips'
12
- # SHRINE_PICTURE_PROCESSOR = ImageProcessing::Vips
13
-
14
11
  Shrine.storages = {
15
12
  cache: Shrine::Storage::FileSystem.new('public', prefix: 'uploads/cache'),
16
13
  store: Shrine::Storage::FileSystem.new('public', prefix: 'system')
17
14
  }
18
15
 
19
- Shrine.plugin :determine_mime_type
20
16
  Shrine.plugin :mongoid
17
+ Shrine.plugin :activerecord
18
+
19
+ Shrine.plugin :determine_mime_type
21
20
  Shrine.plugin :instrumentation
22
21
 
23
22
  Shrine.plugin :validation_helpers
@@ -0,0 +1,8 @@
1
+ class CkeditorAttachmentUploader < Shrine
2
+ plugin :validation_helpers
3
+
4
+ Attacher.validate do
5
+ validate_max_size 5*1024*1024 # file size must not be greater than 5 MB
6
+ validate_min_size 1024 # file size must not be less than 1 KB
7
+ end
8
+ end
@@ -6,7 +6,8 @@ class AttachmentFilesControllerTest < ActionController::TestCase
6
6
  tests Ckeditor::AttachmentFilesController
7
7
 
8
8
  def setup
9
- @attachment = fixture_file_upload('files/rails.tar.gz', 'application/x-gzip')
9
+ @attachment = Rack::Test::UploadedFile.new('test/dummy/test/fixtures/files/rails.tar.gz', 'application/x-gzip')
10
+
10
11
  @routes = Ckeditor::Engine.routes
11
12
  end
12
13
 
@@ -18,7 +19,6 @@ class AttachmentFilesControllerTest < ActionController::TestCase
18
19
  get :index
19
20
 
20
21
  assert_equal 200, @response.status
21
- assert_template 'ckeditor/attachment_files/index'
22
22
  end
23
23
 
24
24
  test 'create action via filebrowser' do
@@ -6,7 +6,7 @@ class PicturesControllerTest < ActionController::TestCase
6
6
  tests Ckeditor::PicturesController
7
7
 
8
8
  def setup
9
- @image = fixture_file_upload('files/rails.png', 'image/png')
9
+ @image = Rack::Test::UploadedFile.new('test/dummy/test/fixtures/files/rails.png', 'image/png')
10
10
  @routes = Ckeditor::Engine.routes
11
11
  end
12
12
 
@@ -18,7 +18,6 @@ class PicturesControllerTest < ActionController::TestCase
18
18
  get :index
19
19
 
20
20
  assert_equal 200, @response.status
21
- assert_template 'ckeditor/pictures/index'
22
21
  end
23
22
 
24
23
  test 'create action via filebrowser' do
@@ -54,7 +53,7 @@ class PicturesControllerTest < ActionController::TestCase
54
53
  end
55
54
 
56
55
  test 'destroy action via filebrowser' do
57
- @picture = Ckeditor::Picture.create data: @image
56
+ @picture = Ckeditor::Picture.create! data: @image
58
57
 
59
58
  assert_difference 'Ckeditor::Picture.count', -1 do
60
59
  delete :destroy, params: { id: @picture.id }
@@ -0,0 +1,5 @@
1
+ //= link_directory ../javascripts .js
2
+ //= link_directory ../stylesheets .css
3
+
4
+ //= link ckeditor/application.css
5
+ //= link application.css
@@ -4,5 +4,3 @@
4
4
  // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5
5
  // the compiled file.
6
6
  //
7
- //= require jquery
8
- //= require jquery_ujs
@@ -37,5 +37,5 @@ Dummy::Application.configure do
37
37
 
38
38
  config.active_support.test_order = :sorted
39
39
 
40
- config.active_record.sqlite3.represent_boolean_as_integer = true
40
+ config.assets.precompile += %w( ckeditor/application.css ckeditor/application.js application.css )
41
41
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- class CreatePosts < ActiveRecord::Migration[5.2]
3
+ class CreatePosts < ActiveRecord::Migration[6.1]
4
4
  def up
5
5
  create_table :posts do |t|
6
6
  t.string :title
@@ -1,4 +1,4 @@
1
- class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
1
+ class CreateActiveStorageTables < ActiveRecord::Migration[6.1]
2
2
  def change
3
3
  create_table :active_storage_blobs do |t|
4
4
  t.string :key, null: false
@@ -8,6 +8,7 @@ class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
8
8
  t.bigint :byte_size, null: false
9
9
  t.string :checksum, null: false
10
10
  t.datetime :created_at, null: false
11
+ t.string :service_name, null: false
11
12
 
12
13
  t.index [ :key ], unique: true
13
14
  end
@@ -0,0 +1,13 @@
1
+ # This migration comes from active_storage (originally 20191206030411)
2
+ class CreateActiveStorageVariantRecords < ActiveRecord::Migration[6.1]
3
+ def up
4
+ create_table :active_storage_variant_records do |t|
5
+ t.belongs_to :blob, null: false, index: false
6
+ t.string :variation_digest, null: false
7
+
8
+ t.index %i[ blob_id variation_digest ], name: "index_active_storage_variant_records_uniqueness",
9
+ unique: true
10
+ t.foreign_key :active_storage_blobs, column: :blob_id
11
+ end
12
+ end
13
+ end