cmor_galleries 0.0.51.pre → 0.0.52.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (246) hide show
  1. checksums.yaml +4 -4
  2. metadata +6 -250
  3. data/spec/dummy/Rakefile +0 -6
  4. data/spec/dummy/app/assets/config/manifest.js +0 -3
  5. data/spec/dummy/app/assets/javascripts/application.js +0 -15
  6. data/spec/dummy/app/assets/javascripts/cable.js +0 -13
  7. data/spec/dummy/app/assets/stylesheets/application.css +0 -15
  8. data/spec/dummy/app/channels/application_cable/channel.rb +0 -4
  9. data/spec/dummy/app/channels/application_cable/connection.rb +0 -4
  10. data/spec/dummy/app/controllers/application_controller.rb +0 -2
  11. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  12. data/spec/dummy/app/jobs/application_job.rb +0 -2
  13. data/spec/dummy/app/mailers/application_mailer.rb +0 -4
  14. data/spec/dummy/app/models/application_record.rb +0 -3
  15. data/spec/dummy/app/views/layouts/application.html.erb +0 -15
  16. data/spec/dummy/app/views/layouts/mailer.html.erb +0 -13
  17. data/spec/dummy/app/views/layouts/mailer.text.erb +0 -1
  18. data/spec/dummy/bin/bundle +0 -3
  19. data/spec/dummy/bin/rails +0 -4
  20. data/spec/dummy/bin/rake +0 -4
  21. data/spec/dummy/bin/setup +0 -36
  22. data/spec/dummy/bin/update +0 -31
  23. data/spec/dummy/bin/yarn +0 -11
  24. data/spec/dummy/config.ru +0 -5
  25. data/spec/dummy/config/application.rb +0 -30
  26. data/spec/dummy/config/boot.rb +0 -5
  27. data/spec/dummy/config/cable.yml +0 -10
  28. data/spec/dummy/config/database.yml +0 -25
  29. data/spec/dummy/config/environment.rb +0 -5
  30. data/spec/dummy/config/environments/development.rb +0 -61
  31. data/spec/dummy/config/environments/production.rb +0 -94
  32. data/spec/dummy/config/environments/test.rb +0 -46
  33. data/spec/dummy/config/initializers/application_controller_renderer.rb +0 -8
  34. data/spec/dummy/config/initializers/assets.rb +0 -14
  35. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  36. data/spec/dummy/config/initializers/cmor_galleries.rb +0 -27
  37. data/spec/dummy/config/initializers/content_security_policy.rb +0 -25
  38. data/spec/dummy/config/initializers/cookies_serializer.rb +0 -5
  39. data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  40. data/spec/dummy/config/initializers/i18n.rb +0 -2
  41. data/spec/dummy/config/initializers/inflections.rb +0 -16
  42. data/spec/dummy/config/initializers/mime_types.rb +0 -4
  43. data/spec/dummy/config/initializers/route_translator.rb +0 -3
  44. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  45. data/spec/dummy/config/locales/en.yml +0 -33
  46. data/spec/dummy/config/puma.rb +0 -34
  47. data/spec/dummy/config/routes.rb +0 -6
  48. data/spec/dummy/config/spring.rb +0 -6
  49. data/spec/dummy/config/storage.yml +0 -34
  50. data/spec/dummy/db/development.sqlite3 +0 -0
  51. data/spec/dummy/db/migrate/20200119183525_create_active_storage_tables.active_storage.rb +0 -27
  52. data/spec/dummy/db/migrate/20200119183555_create_cmor_galleries_picture_galleries.cmor_galleries.rb +0 -12
  53. data/spec/dummy/db/migrate/20200119183556_create_cmor_galleries_picture_details.cmor_galleries.rb +0 -15
  54. data/spec/dummy/db/migrate/20200119183557_add_identifier_to_cmor_galleries_picture_details.cmor_galleries.rb +0 -6
  55. data/spec/dummy/db/schema.rb +0 -56
  56. data/spec/dummy/db/test.sqlite3 +0 -0
  57. data/spec/dummy/log/development.log +0 -132
  58. data/spec/dummy/log/test.log +0 -178
  59. data/spec/dummy/package.json +0 -5
  60. data/spec/dummy/public/404.html +0 -67
  61. data/spec/dummy/public/422.html +0 -67
  62. data/spec/dummy/public/500.html +0 -66
  63. data/spec/dummy/public/apple-touch-icon-precomposed.png +0 -0
  64. data/spec/dummy/public/apple-touch-icon.png +0 -0
  65. data/spec/dummy/public/favicon.ico +0 -0
  66. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-c/-cuKPPwHZkwFd6IgxQE8O3NIcz1BxcEtj8_Li4tO65A.cache +0 -3
  67. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/-y/-yIEKeFakKurwrNimxdVR9RevTutOZnN8c2_TKAX6iI.cache +0 -1
  68. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/01/01ygIIWFIlBUkqUKYzNVNmwe0rgu35zBbfCE7_7p2Es.cache +0 -0
  69. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0V/0VFVJ-JhrAzykBRXIU470to_I4dPSdwlkqqk0Wdu9aw.cache +0 -1
  70. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/0V/0VilvFJqgX3FtXVZ8Rgwp_4rVn14bw0wBLm7miTtqxg.cache +0 -0
  71. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/1O/1O5a_WHIsRg3w3q-VybVh0K_tHgRI5lIKDlPL2GaubI.cache +0 -2
  72. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/3E/3Ehe8GmBgFLMvQFXoupsbBAX6-g8dIyQeJO3Cz4TVK8.cache +0 -2
  73. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4g/4gRPAA9a97DZ86wDL9-aj92N89QvoVv44J_-qz67IoQ.cache +0 -0
  74. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/4z/4zq1758yWaDUDv0Bes27ZSs7g9gsp1ZILYyEzbgr67o.cache +0 -0
  75. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/5K/5Kh5RevuIQpUVSDW-EilhDsPlutdytHspzHRGTC9IDU.cache +0 -2
  76. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6C/6C-k5JLCJrzkbb8CQXpbO5g1eTjCAXWkQdyd5aBlf5A.cache +0 -1
  77. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6K/6Kfk5m9bAGq0gRDTJ0Kclh-5DdQ_NcYEps0wD6tSChw.cache +0 -1
  78. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6b/6bwL85Ajb3aYEkp97VoeKEMxkBX3cObP-yAnx1PoawA.cache +0 -1
  79. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6g/6g6ojv_uQnOA-4q8WWr_-zHJ2b1sN77Hy2BZ0g_Gapc.cache +0 -1
  80. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/6q/6qkPa8IvAPSDbuyIO4iaqx6z-q7L_xeioarQ-kZ1vpA.cache +0 -0
  81. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7D/7D7TV5voQt8FCYVT0EEFS6C5CXkfWXzvmpV89WUEe5s.cache +0 -1
  82. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/7g/7gns8M_HVEJb0R065KIGjcusO78tyEL3fqtIalsgxlY.cache +0 -1
  83. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/8U/8UNjRxm72c5mg1LZUJexacXAn8rOGOC9zPitoxvcPXA.cache +0 -1
  84. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9D/9DDAEM7Osw_1a6_rn4pAf2N0XRkvYz1h2MF00fPpRKE.cache +0 -1
  85. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9q/9qBeJL-7zwx9pS0nPb4jJ212WzTu6miVPgUlz738_NY.cache +0 -1
  86. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/9s/9sd3vxBhqnRaj4WQvjq4EspUIn2gsq-adI1-_n8tBfk.cache +0 -0
  87. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AB/AB8-CtsTpmGRE49QW4EJRRpwPgtGgxNdcKPI8sstx4I.cache +0 -1
  88. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/AM/AMmCzd0FPCP7ucqJXDVzTxISKuicH3nbG9zmnk0B8XI.cache +0 -2
  89. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Af/AfHcZItIVsxBKqx-vEdp6C55Hh4gYsEIjPrrVpixkUA.cache +0 -1
  90. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ax/AxP5nvn4nM3_bBtoaeHKZtVZQSs1lo0lXmwVzDAyR44.cache +0 -2
  91. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/BW/BW8LCjzNPDyiDVCkq_ASsCCZSuOY7f7iPGG9uLUMCpc.cache +0 -0
  92. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bi/BiN2Ha5hUOMTb50aSS144igMPB701e-AeXzEiuq4ibY.cache +0 -3
  93. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Bm/BmmBkcCC1qQxVWDcZgrkuhFXZQUTTjglsBdztYI64WM.cache +0 -2
  94. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CM/CMiVj3kjYxfZZEuWuVAwS1HROurgBBqnBjRGZXron9M.cache +0 -0
  95. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/CN/CNwh60D5uyq8wi2pMJWv-wJJTLO2xiTGnyubWXCRISc.cache +0 -1
  96. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/D_/D_meRPARgDMvk5OvEW8tzXwxLDJCc89tJPrJDiRYg34.cache +0 -1
  97. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Dw/Dwt2ouxjsYZtKUWTnzMKjl-fVjuaClZ_XZoBAZQcgmg.cache +0 -0
  98. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Eo/Eob5osH1tlKyeYW4x3B7YTTC4UopEyh1PD_TaawI2tA.cache +0 -1
  99. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ex/Exhl4W5TW-BTpAscDwneEPCTkdJGk1TdUeDgKL6LytU.cache +0 -1
  100. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ey/EycqNPgcRBjMIntxia66QP6tx2xHPIjHc4Em8kBeZBA.cache +0 -0
  101. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FC/FCvybvGkHfD8aaawAv4UWZsQMwBwfTO9jOsZV6xxImo.cache +0 -0
  102. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FN/FNadC17Fjn31cNub608HO79L8TxoeE9gk1o_nTEZ4Oc.cache +0 -1
  103. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/FN/FNyjcBZA6hdlZbpnzV0BR2OOFc65g4_q2mRH2BeXnbI.cache +0 -1
  104. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/G1/G1PCbP0-CtILmFiVaLef8DwXaVP64US9eijybiUaHKc.cache +0 -3
  105. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GG/GG2-DZ_yLOj4rPIL2brrzQn3z4hxL9wGg0E_lV3tR5s.cache +0 -0
  106. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/GM/GMr2OZk98U2Znb6oFJxVBuxP0BAEEeWy1Evs3NSBhro.cache +0 -1
  107. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Gm/GmkGW_aKzTsiHd7JndhKDLVrMtXFUkgKEnbfE_VWRq4.cache +0 -1
  108. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HC/HCDOUd7-S45aJ_PjVAC_Vmjyud3i1aQv4cE3t9_Z3Dw.cache +0 -2
  109. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HO/HOARVEFGGT_qDzkVbiFk2H1_FQq1xMXkcnw8j9aJAQk.cache +0 -1
  110. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/HQ/HQf2LYaABrxlqVRcdpCiOG-gPeTigMEeRXM22eXGO3w.cache +0 -1
  111. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/I8/I8qkmXFSdI0xjiN66w-4qrmG1yRok1SAqoxdFgYoIIw.cache +0 -1
  112. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IB/IBIljsDANAwT8tcHccaLfMNy66-M9dTF_8oY8jlTo0c.cache +0 -1
  113. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/IL/ILwGqUK8NnsBiVN2xloqQOKk1kjf8KD0B5UG7WlUfTM.cache +0 -0
  114. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/If/IfjuVHwDs3o1_4wuUYL8Q6C4G57uRvoah_vChE0pUco.cache +0 -1
  115. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JR/JRLJwu5F-aux0D48W21AAkB9T95UUri7Q_fmem0aBAw.cache +0 -1
  116. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/JV/JVv6AcqM4oK5CbcGmtT2T2hSIkRcsHgppFRNV3VKEB0.cache +0 -1
  117. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Jt/Jt0O9Gt5u370Hb1oUrXBDMDqECnh867hwCIhdzaK0QI.cache +0 -1
  118. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/K2/K2pJNKn8a1wTLHWtUBZqpodk3suPX1EgckOrp1MrOtM.cache +0 -0
  119. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Ka/KamRgvp6wOKI_6o8XnCa773ueVHCUfudSxfu50W_Lxc.cache +0 -1
  120. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/LC/LCePtzwtzSrE_4KuMxQ8S9g6QZ4EY2apO8bg32I7xHo.cache +0 -1
  121. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/MD/MDxMTfnKjBeqCwuzo1XX31sVYrcBInKx-RGVl0edTxc.cache +0 -1
  122. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/N3/N3A7tnUKUUtamW6B1GeGk0y0SqVZIEZhJGgdlO-e-eM.cache +0 -0
  123. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P5/P5VRLxXXMo2jQTy8uOGZtH9Fet2p_tQAMtxusaEuf3U.cache +0 -0
  124. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/PY/PY8MlEPGHFn5VBci09tK7yPjxtUiLLZe7_MMXff2oW8.cache +0 -1
  125. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/P_/P_lWg_k_ueT5Fu9YmdLuXJa-bpueSgRVtzwhUhVrnWw.cache +0 -1
  126. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pf/Pfi97IYnvXOzz227mj5naP68fv95ojFUKJxKmxs5Hek.cache +0 -0
  127. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Pg/Pg41v8c4sWuBb_W8ZMSCZ2zX23kDejycBOi8YVKkNqQ.cache +0 -1
  128. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q3/Q3TxuimbxsnBfAe0acZOCxKn6OeBB9d4PoBLW1SZcJU.cache +0 -1
  129. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Q3/Q3gZGMI6TKba8ow-9vu9FON5kFe6nTMRCePE6XM3kJE.cache +0 -1
  130. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/QM/QMaC_vwUS0KrN8DIk11nLdt5Qh81qn4JLR7WArqYL3o.cache +0 -0
  131. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Qe/Qe9dIPyBf-TLGpyNZ41UbzGFhNkLEBMNw5imoL8nxEU.cache +0 -2
  132. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Rp/RpbWqCBhaJ7BAhAfaLGnigZMwSi2KxGSwKQD51-U0Pc.cache +0 -0
  133. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S6/S68aVGMiAgB8IhZUhas9MXYzV9u0LFcnex-8fhxxWQo.cache +0 -1
  134. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/S6/S6dmMNJYKhn5nl6RbrTH3ovAqHxTplB8AfnMMcqVYVM.cache +0 -0
  135. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SE/SE7fSBIuiAKNYOhBrFInMz3M-SvU4Z0m4_kcLVc10LM.cache +0 -1
  136. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SS/SSuJnNgFrg8pMTWYDWC-eSCumbPm9K_2a9IVZxpkdGg.cache +0 -1
  137. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/SZ/SZ_jZ31jOCqhU5acGK-_xMG-BGTN7yW-bti2cDUJbns.cache +0 -1
  138. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Tj/TjmrP6Ow0Xz-IWA7aMn6URiSRaQpyKca-bIsHWWoDQc.cache +0 -1
  139. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/U3/U3XHSb-zR1wHDGSSGYsHBg25CwttMFIaASdgt5b3oqU.cache +0 -0
  140. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Uc/UcNZRYqBrPwrCNqco0s_8EfUJ-tnUgu5KFAs7LcnmMw.cache +0 -0
  141. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/V3/V3VZmRgeNXCVhrRFnSe4czkYuM3MJHHfTURdvfs6TD4.cache +0 -1
  142. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/V9/V99EfSaCz3piQ9qb9vICLZ-gmlxEeqXIkLqm-bFZxcM.cache +0 -1
  143. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vc/VcLn_O7dJDiubfl3knpr3w579UdZ9OgHDVDOWYi6gVs.cache +0 -1
  144. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vd/VdH3CDqPdWKPY-Lkae1-uPOUs39MVU0S00gNQj1Q060.cache +0 -1
  145. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XF/XFm721sy_c-7DMamnj1rTaN3Qgw9QDbKcusnxkhiMy4.cache +0 -2
  146. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/XT/XTu8gbxd0XNcmnVDnOjqur7aiXJD9LxucyDeZbpb4fM.cache +0 -2
  147. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Xq/XqkLuENMTUW2nzcPyJZyEuy_5F8K-ICotABR7RArwvA.cache +0 -2
  148. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YM/YMSkijO4OqF-va090LsCh_f3AaiBWZcHyXM4hqlhuhU.cache +0 -1
  149. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/YQ/YQ59w02BDq-mbe5babUCysqn2TRo9zbX3KGSfX5BZck.cache +0 -0
  150. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yl/YlukUsyujAODdc0yapT61cXvvVIQ_M9YWUgpTpQTa_Y.cache +0 -1
  151. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Yn/YnDhC5Hn3XGTCyvL1qKLMdenlf0kSq_sO49MBJFBkqc.cache +0 -2
  152. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ZG/ZGNH5BV0OmZlAsLHdaziDhfqYQXDuDX1IoWeOuUgeK4.cache +0 -1
  153. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Zr/ZrYwkqbBJ87gRG_CDY6qWYPVl5SAHXGVtEgJfDaUXvM.cache +0 -2
  154. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/_w/_wzuLMwwd_IjpK9xzYU_pNvR3zN24jWS7IzitPkNeIs.cache +0 -1
  155. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a6/a6c2fElJyz52FG1bzR1lcV7uaAsWFsR7vgCx-9C3Auk.cache +0 -0
  156. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/a9/a9AbcO7bHCvM_zzrZ7GY22eAdaWYE3P7D7NHlc_bqdQ.cache +0 -1
  157. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/aF/aFB5dWBViE6IpSaN4pYK1qd0hYDdJMcxbzoU_Jqvjtg.cache +0 -1
  158. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/az/azPz0MjaMrptwfd2WrANe0mC8dv4x54NUTZ_RHwB2Fs.cache +0 -3
  159. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bh/bhKIeyiTP_fCzZ4rNlnGcySFPYYxawrW8wndr_fkUHc.cache +0 -0
  160. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bi/bii54CR1m1ntH-AA_CCAj0NWeUm7yA_4MdLM9X2_LJM.cache +0 -0
  161. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/bq/bqX4j_zZbeV8LgllrusWMRjlCAKnQopwGmBpRlR0RVo.cache +0 -1
  162. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ci/ciKCYgJ8xqkVKW7svWS-EBI8RGb17E3tr9vTADbOmIc.cache +0 -2
  163. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cp/cpdNCLEKYg_Ph76a6x8ETvN8_faTzJmwoM_B9Vo5HUc.cache +0 -1
  164. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d0/d0fThEIQ41YBYVo_mKDpw9LKP9K34RVY6GRegvoMXKE.cache +0 -1
  165. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/d_/d_ShKVvVbuMU_ES4Ihqjv0EKwU5pfdl9YMoSAMwfFiI.cache +0 -1
  166. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dp/dpYfWRNwhMBvM4r0LC7pRLwCmYyDyXmo-W16YLyUkEY.cache +0 -1
  167. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/dq/dqjE0oe_gPeTNbOdQkhLct4GbqVy4POWy7jOpasv2HQ.cache +0 -1
  168. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/e4/e4KhaMiKnHNn7WbKYvSl4qLfn5XOzf7tghXekwAtk_M.cache +0 -3
  169. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/eX/eXrODHOUM-OXkFK5Q1CvWeg-ktPYWwG9U2Unzw62WZo.cache +0 -2
  170. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/fH/fHcE4Kuql8zBhtB1xYJArJKc4RVJcHRkWe17NdQVfX8.cache +0 -1
  171. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/g3/g3meu_FE0d8HVLqnQdR6wmPl9L1IEjF6lLMbWshsISQ.cache +0 -2
  172. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/gs/gs8O-hnSVTNtAMoD9-yrTB7WC2L1NXNBheKKW_4t_xw.cache +0 -2
  173. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hE/hEfqVpUEZekaAwq2WfcTahAURqOqs8qMJRVAMBLJBbk.cache +0 -0
  174. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/hh/hhBL0QAskLI4K7s0076rBPZPKRoTCQv730SRl0UkzPc.cache +0 -1
  175. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iK/iKD_EVENnAK9F4ZbyFFVRdJs479d65nJ_KqAzUR5Jv4.cache +0 -0
  176. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iO/iOw0nZ_UlyveIdiJuVzexCsKXYXJhcPNAKaaJCNsFio.cache +0 -0
  177. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iY/iYhimmRrdDOmXCdoOoOMlvf5hLfXlGLdIiEAuxsah00.cache +0 -2
  178. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ik/ikqi0IrytERlPVbeJrNZnd1jaKMHIIc5Blerf_4lbh4.cache +0 -2
  179. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/j8/j8tRKpfjOjXZRaJXsGM1r4BsSi5JKwunwboCqv5ZTNc.cache +0 -0
  180. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jk/jk-Q6T8oRztqqYmSOxc_AuGgQ8U2ZCP0lxFvmRgxrc0.cache +0 -2
  181. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jm/jmzFz_Md4soBpDFbasfxBDoyVADl_cupI0sRBj48mRs.cache +0 -1
  182. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/k-/k-bsTA315sR8iUULydbJ9swQ_sbliU0Z3nmwvFduMoQ.cache +0 -3
  183. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/kD/kDLXaoqtGVQUDEzb74pum5ml09TJhBs5BRrnHLPXQW0.cache +0 -0
  184. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/l1/l1lmj4PCoaRrPDXkf-ikrO7kRyONy8ClBgVCs5VsXDk.cache +0 -3
  185. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lS/lStvx9Beg2l4s8L-QdTSKuc5_qQPQAZPnIcRI7JkpPE.cache +0 -4
  186. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lU/lUj3vyxUmcBZ8KJsyN9DvseLYfkOcGMLDRrw4LzHptU.cache +0 -1
  187. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lf/lflernCDhcSC5VkRFNnrnYINBO8XdzkOgNdtMy8oQy0.cache +0 -0
  188. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/lu/luWp4WzF2hyzqRLszkLOcO2OsS4BNJrwN5qkemrz5d8.cache +0 -1
  189. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mg/mgKQfCNtf8r-ZBapE8bOEFMzHCe5vL3gXf2pwytxr24.cache +0 -0
  190. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/mt/mti_Jdr3zlygSo4F5-1sh1eE_lSBfg23UMyg7ntjZhs.cache +0 -1
  191. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nO/nOk1StRCpfpfcUL3LxqZXbZiPO5KoAQsu4DCr1DpHtE.cache +0 -2
  192. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/n_/n_xYqQYhwEMQknb3jFQnjlxxBE9TzMNHCdJ-bEyZFIw.cache +0 -2
  193. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ng/ngwnlqgAXfajuxyzGBVhYt_Ky-GC_lLS9MQpPSbt-3Y.cache +0 -1
  194. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -2
  195. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/oM/oM1oQE3FgzTu9aqgt_XdVsqnnzFGqvFumkATW75GmJg.cache +0 -0
  196. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/p0/p0vWtcL5UVFUAUqI81PWoYPI-F9vc63tkYFpEzUEO4g.cache +0 -0
  197. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qA/qAkiTbwaBs4RwJHb6Jtug2zz2laOT119nyF_kBS58Qs.cache +0 -1
  198. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/qp/qpnn4gewy2_0O7aLG1YcbCjdvoFzZxERgl-uAb2NBiU.cache +0 -3
  199. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rb/rbDCS-io3L3p4WS4ZiqeLynhhonweTQEq3i9R4eLs3s.cache +0 -1
  200. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rk/rkzsaR8DLyv7syxVI2ktz78NORpORgtcVkWoSJfvKZ4.cache +0 -0
  201. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rn/rnVts0Io_LAgx9wlH63uAfJtfIQxcRVpVcF4uZz_UHI.cache +0 -1
  202. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/ro/roRo4i80-eCp5OBfQixarj57g1MAEFAnJXfB8yIecBU.cache +0 -1
  203. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/rv/rvPXCY9kJZYjGQOyZ6zPTQuqWqqQRgIDvwlmVSfV18Q.cache +0 -2
  204. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sA/sAw46mukjoTifaOQ01KEeeK5Mzkdfvoc-FfZ68VBKVs.cache +0 -1
  205. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sW/sWHJLQan8RhKi7amfExG_cnqQsVEgxG86ah5xHsYlww.cache +0 -0
  206. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sp/spHzQy8hpyOazaWV8ps2e8eEN_1JQvuZlOKKAXvP3Pg.cache +0 -1
  207. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/sp/spmduukUSFexEgdkyN__dxk-oQoX91V9zjhAbSNQNM4.cache +0 -0
  208. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/t-/t-jgStIIfiaatm9QQpadC0tGWkgG1E-S2DA-zbNknkE.cache +0 -1
  209. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/tF/tFBBIqJk8kEXHwZodwwsDG1ZnLtHUgQExLBppHiMr70.cache +0 -3
  210. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/t_/t_IAh167sYXFIIq1JF86hxPOws9zzpctz14bgRLLbzI.cache +0 -0
  211. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/u8/u8eyB2x_fVKUn-D8y1bx18f_2dk0bWeImNjqPZc6HqU.cache +0 -1
  212. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/uZ/uZShm4oTj3aMhVv0aQ-bHZO2ILpbR_YEin0O8xu69Us.cache +0 -1
  213. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/v7/v7hSJvwYfPO6C9GnV3MxVwU9vRMRSIiggPZlnWnGn_A.cache +0 -0
  214. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vB/vBLT1E9n7EOISgDPQqwYcI8iMLucUJ4YPgkDwKEpkvU.cache +0 -0
  215. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vH/vHIeDgPhDOSthVvhWKosHY0EA_KfxcwR62T531rRvi4.cache +0 -1
  216. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/vU/vUfiVzvKlAAF-sjUsmmhQaZ_dwRqi11ODiONxPXkNu0.cache +0 -1
  217. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wG/wGRFtTdlRRiNqe5bXhfPn-KKzpzUrC_Jg3IrfrFPnrs.cache +0 -0
  218. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wY/wYscM1kVYoR9SjNgvA8tz8Yw6dGjEFb8NegK1QfM-rc.cache +0 -1
  219. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wi/win_v0ZNu-l7AoRx8w3ls1xcy0mUExLBVMCSr5oaJFc.cache +0 -0
  220. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wm/wmM3XYZ7jgPQhwclqYwEvWDLmz85O03chKhUsA7oJsA.cache +0 -2
  221. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x1/x1jZVLow5dH75Ou23U6NL1_q4JSNkbQd7SkAdKhLMSQ.cache +0 -3
  222. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xC/xCobBePQjr16SbYrc5w5Tfe9I4FoONzo9b8VWWX1zQc.cache +0 -3
  223. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xK/xKZVz47ZdUYZ-DmD7FS32QBgn7Z5rHW_xNDsk09Y9WY.cache +0 -0
  224. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/xZ/xZ0ofPLCa_78nu4X-JJndP82tpoBXU4ZAwxmSIT3l9E.cache +0 -1
  225. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/y9/y9uiaFpiQLMr_n_gWPmZZk7Q3_ACqu2U822UwFvpKME.cache +0 -1
  226. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/yW/yWFZzGL5OfncjMgS6E7KYJTkzSqwjYQR9H9DJO2G3nQ.cache +0 -1
  227. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/z0/z0QxzSglPRKGD5VT7-MPt28GS9df3XPxQHnIReSLbUk.cache +0 -1
  228. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zb/zbnLOSWWPYE5ydWMPKTuprAHgnao8N5vrc83ZOIe9bk.cache +0 -1
  229. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zh/zhAd8dYYNP893k39uHFLlF9qPfbWss3C-ce78opZA1I.cache +0 -1
  230. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/zz/zzTkB9krj24PcCT5BugitvniTIC4mXLQLpfjaAwR0_I.cache +0 -1
  231. data/spec/dummy/tmp/development_secret.txt +0 -1
  232. data/spec/dummy/tmp/storage/P5/hL/P5hLgrSMiuNAXK3MJGUd7Ci9 +0 -0
  233. data/spec/dummy/tmp/storage/U7/rU/U7rUx2AXLduvjWhV7QSSo1Ze +0 -0
  234. data/spec/factories/cmor_galleries_picture_details.rb +0 -17
  235. data/spec/factories/cmor_galleries_picture_galleries.rb +0 -5
  236. data/spec/features/de/bilder/galerien_feature_spec.rb +0 -13
  237. data/spec/models/cmor/galleries/picture_detail_spec.rb +0 -7
  238. data/spec/models/cmor/galleries/picture_gallery_spec.rb +0 -8
  239. data/spec/models/generic_spec.rb +0 -50
  240. data/spec/models/i18n_spec.rb +0 -41
  241. data/spec/rails_helper.rb +0 -62
  242. data/spec/spec_helper.rb +0 -96
  243. data/spec/support/capybara.rb +0 -1
  244. data/spec/support/factory_bot.rb +0 -5
  245. data/spec/support/rao-shoulda_matchers.rb +0 -5
  246. data/spec/support/shoulda_matchers.rb +0 -8
@@ -1 +0,0 @@
1
- "%� `���Q�����cyvQ����xNp/��c��m
@@ -1 +0,0 @@
1
- "%p?Z�N�ʫ���6疌 ���'�d�m/����
@@ -1 +0,0 @@
1
- "%C�y=��U��]cQ����EحI�����'��
@@ -1 +0,0 @@
1
- I"�/home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/javascripts/cmor/galleries/application/keep.js?type=application/javascript&pipeline=self&id=4a9a9b38fdb3d1edc604eb65da1ee0dd42e42850f1ddb08699f6561fda7caf30:ET
@@ -1 +0,0 @@
1
- "%!�����>b�C��8~JA�n�\4lҺ��%�
@@ -1,2 +0,0 @@
1
- [o:Set:
2
- @hash}#I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"�file-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/rails_eu_gdpr-0.0.4/app/assets/javascripts/eu_gdpr/application/keep.js;TTI"$file-digest://app/assets/config;TTI".file-digest://app/assets/config/js.cookie;TTI"$file-digest://app/assets/images;TTI".file-digest://app/assets/images/js.cookie;TTI")file-digest://app/assets/javascripts;TTI"3file-digest://app/assets/javascripts/js.cookie;TTI")file-digest://app/assets/stylesheets;TTI"3file-digest://app/assets/stylesheets/js.cookie;TTI"Qfile-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/config;TTI"[file-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/config/js.cookie;TTI"Qfile-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/images;TTI"[file-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/images/js.cookie;TTI"Vfile-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/javascripts;TTI"`file-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/javascripts/js.cookie;TTI"Vfile-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/stylesheets;TTI"`file-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/stylesheets/js.cookie;TTI"efile-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/rails_eu_gdpr-0.0.4/app/assets/config;TTI"ofile-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/rails_eu_gdpr-0.0.4/app/assets/config/js.cookie;TTI"jfile-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/rails_eu_gdpr-0.0.4/app/assets/javascripts;TTI"tfile-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/rails_eu_gdpr-0.0.4/app/assets/javascripts/js.cookie;TTI"jfile-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/rails_eu_gdpr-0.0.4/app/assets/stylesheets;TTI"tfile-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/rails_eu_gdpr-0.0.4/app/assets/stylesheets/js.cookie;TTI"ofile-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/js_cookie_rails-2.2.0/vendor/assets/javascripts;TTI"yfile-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/js_cookie_rails-2.2.0/vendor/assets/javascripts/js.cookie;TTI"|file-digest:///home/vagrant/.rvm/gems/ruby-2.4.0@cmor/gems/js_cookie_rails-2.2.0/vendor/assets/javascripts/js.cookie.js;TTF
@@ -1,3 +0,0 @@
1
- [o:Set:
2
- @hash}
3
- I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"zfile-digest:///home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/stylesheets/cmor/galleries/application/keep.css;TTF
@@ -1,3 +0,0 @@
1
- [o:Set:
2
- @hash}
3
- I"environment-version:ETTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"ofile-digest:///home/vagrant/rails/cmor/cmor/cmor_core/app/assets/javascripts/cmor/core/application/keep.js;TTF
@@ -1 +0,0 @@
1
- I"�/home/vagrant/rails/cmor/cmor/cmor_core/app/assets/javascripts/cmor/core/backend/application.js?type=application/javascript&id=aef08a431504cbb3b1d80a674346d2a25b2211cc9c84c2fdf8ad63d98ca66fb3:ET
@@ -1 +0,0 @@
1
- "%�<������X���̀#+�����,�(o���
@@ -1 +0,0 @@
1
- "%n�6 ���^4����¨�Yt���iC��,
@@ -1 +0,0 @@
1
- I"�app/assets/javascripts/cable.js?type=application/javascript&pipeline=self&id=26dcaaa693b712ecb5358964dd50c33bee680ac878d7e119ddf79bfa6d125777:ET
@@ -1 +0,0 @@
1
- "%��Rm�v�S3.��O�L���ڹc�ƕq�=_j�
@@ -1 +0,0 @@
1
- "%p?Z�N�ʫ���6疌 ���'�d�m/����
@@ -1 +0,0 @@
1
- I"�/home/vagrant/rails/cmor/cmor/cmor_galleries/app/assets/stylesheets/cmor/galleries/application/keep.css?type=text/css&pipeline=self&id=47db4bafc23748fa6708a00ee130ee9e08e354fd1a167338b9e4543f592b4dd8:ET
@@ -1 +0,0 @@
1
- d46d9aa5de6fd2448faadef4c74c1f340dd1c8dc2062c448d3ed72f2a7404d8c2f4bd1d81ff2e10affed40a5109a66f96013dd72b6992f60f6f83da5e89ba35e
@@ -1,17 +0,0 @@
1
- FactoryBot.define do
2
- factory :cmor_galleries_picture_detail, class: 'Cmor::Galleries::PictureDetail' do
3
- association :picture_gallery, factory: :cmor_galleries_picture_gallery
4
- after(:build) { |resource|
5
- assets = resource.picture_gallery.assets.attach(
6
- io: File.open(File.join(Cmor::Galleries::Engine.root.join(*%w( spec files cmor galleries picture_details example.png)))),
7
- filename: 'example.png',
8
- content_type: 'image/png'
9
- )
10
- if Rails.version < "6.0.0"
11
- resource.asset = assets.first
12
- else
13
- resource.asset = resource.picture_gallery.assets.first
14
- end
15
- }
16
- end
17
- end
@@ -1,5 +0,0 @@
1
- FactoryBot.define do
2
- factory :cmor_galleries_picture_gallery, class: 'Cmor::Galleries::PictureGallery' do
3
- sequence(:name) { |i| "Picture Gallery ##{i}" }
4
- end
5
- end
@@ -1,13 +0,0 @@
1
- require 'rails_helper'
2
-
3
- RSpec.describe '/de/bilder/galerien', type: :feature do
4
- let(:resource_class) { Cmor::Galleries::PictureGallery }
5
- let(:resource) { create(:cmor_galleries_picture_gallery, published: true) }
6
- let(:resources) { create_list(:cmor_galleries_picture_gallery, 3, published: true) }
7
-
8
- # List
9
- it { resources; expect(subject).to implement_index_action(self) }
10
-
11
- # Read
12
- it { expect(subject).to implement_show_action(self).for(resource) }
13
- end
@@ -1,7 +0,0 @@
1
- require 'rails_helper'
2
-
3
- module Cmor::Galleries
4
- RSpec.describe PictureDetail, type: :model do
5
- pending "add some examples to (or delete) #{__FILE__}"
6
- end
7
- end
@@ -1,8 +0,0 @@
1
- require 'rails_helper'
2
-
3
- module Cmor::Galleries
4
- RSpec.describe PictureGallery, type: :model do
5
- it { expect(subject).to validate_presence_of(:name) }
6
- it { expect(subject).to validate_uniqueness_of(:name).scoped_to([:locale]) }
7
- end
8
- end
@@ -1,50 +0,0 @@
1
- require 'rails_helper'
2
-
3
- RSpec.describe 'ActiveRecord::Base models', type: :model do
4
- DEFAULT_SPECS_TO_RUN = [
5
- :is_an_active_record,
6
- :is_instanciable,
7
- :valid_with_correct_attributes,
8
- :not_valid_with_empty_attributes,
9
- :saves_with_valid_attributes
10
- ]
11
-
12
- {
13
- Cmor::Galleries::PictureGallery => {},
14
- Cmor::Galleries::PictureDetail => {},
15
- }.each do |model, options|
16
- options.reverse_merge!(specs_to_run: DEFAULT_SPECS_TO_RUN, specs_to_skip: [])
17
- specs_to_run = options.delete(:specs_to_run)
18
- specs_to_skip = options.delete(:specs_to_skip)
19
- specs = specs_to_run - specs_to_skip
20
-
21
- describe model do
22
- it 'is an ActiveRecord::Base' do
23
- expect(ActiveRecord::Base.descendants).to include(model)
24
- end if specs.include?(:is_an_active_record)
25
-
26
- it 'is instanciable' do
27
- instance = model.new
28
- expect(instance).to be_a(model)
29
- end if specs.include?(:is_instanciable)
30
-
31
- it 'is valid with correct attribute values' do
32
- instance = build(model.to_s.tableize.singularize.underscore.tr('/', '_'))
33
-
34
- instance.valid?
35
- expect(instance.errors.full_messages).to eq([])
36
- end if specs.include?(:valid_with_correct_attributes)
37
-
38
- it 'is not valid with empty attributes' do
39
- instance = model.new
40
- expect(instance).not_to be_valid
41
- end if specs.include?(:not_valid_with_empty_attributes)
42
-
43
- it 'saves with valid attributes' do
44
- instance = build(model.to_s.tableize.singularize.underscore.tr('/', '_'))
45
- expect(instance.save).to be_truthy
46
- expect(instance).to be_persisted
47
- end if specs.include?(:saves_with_valid_attributes)
48
- end
49
- end
50
- end
@@ -1,41 +0,0 @@
1
- require 'rails_helper'
2
-
3
- RSpec.describe 'Translations', type: :model do
4
- {
5
- Cmor::Galleries::PictureGallery => {},
6
- Cmor::Galleries::PictureDetail => {},
7
- }.each do |model, options|
8
- I18n.available_locales.each do |locale|
9
- I18n.locale = locale
10
-
11
- describe "for locale #{locale}:" do
12
- describe "#{model} translations" do
13
- it 'include one' do
14
- I18n.locale = locale
15
- i18n_key = ['activerecord', 'models', model.name.underscore].join('.')
16
- i18n_options = {}
17
- expect(I18n.translate!(i18n_key, options)[:one]).to be_a(String)
18
- end
19
-
20
- it 'include other' do
21
- I18n.locale = locale
22
- i18n_key = ['activerecord', 'models', model.name.underscore].join('.')
23
- i18n_options = {}
24
- expect(I18n.translate!(i18n_key, options)[:other]).to be_a(String)
25
- end
26
-
27
- describe 'for attributes' do
28
-
29
- model.column_names.each do |column_name|
30
- it "include #{column_name}" do
31
- I18n.locale = locale
32
- i18n_key = ['activerecord', 'attributes', model.name.underscore, column_name].join('.')
33
- expect(I18n.translate!(i18n_key)).to be_a(String)
34
- end
35
- end
36
- end
37
- end
38
- end
39
- end
40
- end
41
- end
data/spec/rails_helper.rb DELETED
@@ -1,62 +0,0 @@
1
- # This file is copied to spec/ when you run 'rails generate rspec:install'
2
- require 'spec_helper'
3
- ENV['RAILS_ENV'] ||= 'test'
4
- require File.expand_path('../dummy/config/environment', __FILE__)
5
- # Prevent database truncation if the environment is production
6
- abort("The Rails environment is running in production mode!") if Rails.env.production?
7
- require 'rspec/rails'
8
- # Add additional requires below this line. Rails is not loaded until this point!
9
-
10
- # Requires supporting ruby files with custom matchers and macros, etc, in
11
- # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
12
- # run as spec files by default. This means that files in spec/support that end
13
- # in _spec.rb will both be required and run as specs, causing the specs to be
14
- # run twice. It is recommended that you do not name files matching this glob to
15
- # end with _spec.rb. You can configure this pattern with the --pattern
16
- # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
17
- #
18
- # The following line is provided for convenience purposes. It has the downside
19
- # of increasing the boot-up time by auto-requiring all files in the support
20
- # directory. Alternatively, in the individual `*_spec.rb` files, manually
21
- # require only the support files necessary.
22
- #
23
- # Dir[Rails.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
24
- Dir[Cmor::Galleries::Engine.root.join('spec', 'support', '**', '*.rb')].each { |f| require f }
25
-
26
- # Checks for pending migrations and applies them before tests are run.
27
- # If you are not using ActiveRecord, you can remove these lines.
28
- # begin
29
- # ActiveRecord::Migration.maintain_test_schema!
30
- # rescue ActiveRecord::PendingMigrationError => e
31
- # puts e.to_s.strip
32
- # exit 1
33
- # end
34
- RSpec.configure do |config|
35
- # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
36
- config.fixture_path = "#{::Rails.root}/spec/fixtures"
37
-
38
- # If you're not using ActiveRecord, or you'd prefer not to run each of your
39
- # examples within a transaction, remove the following line or assign false
40
- # instead of true.
41
- config.use_transactional_fixtures = true
42
-
43
- # RSpec Rails can automatically mix in different behaviours to your tests
44
- # based on their file location, for example enabling you to call `get` and
45
- # `post` in specs under `spec/controllers`.
46
- #
47
- # You can disable this behaviour by removing the line below, and instead
48
- # explicitly tag your specs with their type, e.g.:
49
- #
50
- # RSpec.describe UsersController, :type => :controller do
51
- # # ...
52
- # end
53
- #
54
- # The different available types are documented in the features, such as in
55
- # https://relishapp.com/rspec/rspec-rails/docs
56
- config.infer_spec_type_from_file_location!
57
-
58
- # Filter lines from Rails gems in backtraces.
59
- config.filter_rails_from_backtrace!
60
- # arbitrary gems may also be filtered via:
61
- # config.filter_gems_from_backtrace("gem name")
62
- end
data/spec/spec_helper.rb DELETED
@@ -1,96 +0,0 @@
1
- # This file was generated by the `rails generate rspec:install` command. Conventionally, all
2
- # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
- # The generated `.rspec` file contains `--require spec_helper` which will cause
4
- # this file to always be loaded, without a need to explicitly require it in any
5
- # files.
6
- #
7
- # Given that it is always loaded, you are encouraged to keep this file as
8
- # light-weight as possible. Requiring heavyweight dependencies from this file
9
- # will add to the boot time of your test suite on EVERY test run, even for an
10
- # individual file that may not need all of that loaded. Instead, consider making
11
- # a separate helper file that requires the additional dependencies and performs
12
- # the additional setup, and require it from the spec files that actually need
13
- # it.
14
- #
15
- # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
16
- RSpec.configure do |config|
17
- # rspec-expectations config goes here. You can use an alternate
18
- # assertion/expectation library such as wrong or the stdlib/minitest
19
- # assertions if you prefer.
20
- config.expect_with :rspec do |expectations|
21
- # This option will default to `true` in RSpec 4. It makes the `description`
22
- # and `failure_message` of custom matchers include text for helper methods
23
- # defined using `chain`, e.g.:
24
- # be_bigger_than(2).and_smaller_than(4).description
25
- # # => "be bigger than 2 and smaller than 4"
26
- # ...rather than:
27
- # # => "be bigger than 2"
28
- expectations.include_chain_clauses_in_custom_matcher_descriptions = true
29
- end
30
-
31
- # rspec-mocks config goes here. You can use an alternate test double
32
- # library (such as bogus or mocha) by changing the `mock_with` option here.
33
- config.mock_with :rspec do |mocks|
34
- # Prevents you from mocking or stubbing a method that does not exist on
35
- # a real object. This is generally recommended, and will default to
36
- # `true` in RSpec 4.
37
- mocks.verify_partial_doubles = true
38
- end
39
-
40
- # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
41
- # have no way to turn it off -- the option exists only for backwards
42
- # compatibility in RSpec 3). It causes shared context metadata to be
43
- # inherited by the metadata hash of host groups and examples, rather than
44
- # triggering implicit auto-inclusion in groups with matching metadata.
45
- config.shared_context_metadata_behavior = :apply_to_host_groups
46
-
47
- # The settings below are suggested to provide a good initial experience
48
- # with RSpec, but feel free to customize to your heart's content.
49
- =begin
50
- # This allows you to limit a spec run to individual examples or groups
51
- # you care about by tagging them with `:focus` metadata. When nothing
52
- # is tagged with `:focus`, all examples get run. RSpec also provides
53
- # aliases for `it`, `describe`, and `context` that include `:focus`
54
- # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
55
- config.filter_run_when_matching :focus
56
-
57
- # Allows RSpec to persist some state between runs in order to support
58
- # the `--only-failures` and `--next-failure` CLI options. We recommend
59
- # you configure your source control system to ignore this file.
60
- config.example_status_persistence_file_path = "spec/examples.txt"
61
-
62
- # Limits the available syntax to the non-monkey patched syntax that is
63
- # recommended. For more details, see:
64
- # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
65
- # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
66
- # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
67
- config.disable_monkey_patching!
68
-
69
- # Many RSpec users commonly either run the entire suite or an individual
70
- # file, and it's useful to allow more verbose output when running an
71
- # individual spec file.
72
- if config.files_to_run.one?
73
- # Use the documentation formatter for detailed output,
74
- # unless a formatter has already been configured
75
- # (e.g. via a command-line flag).
76
- config.default_formatter = "doc"
77
- end
78
-
79
- # Print the 10 slowest examples and example groups at the
80
- # end of the spec run, to help surface which specs are running
81
- # particularly slow.
82
- config.profile_examples = 10
83
-
84
- # Run specs in random order to surface order dependencies. If you find an
85
- # order dependency and want to debug it, you can fix the order by providing
86
- # the seed, which is printed after each run.
87
- # --seed 1234
88
- config.order = :random
89
-
90
- # Seed global randomization in this process using the `--seed` CLI option.
91
- # Setting this allows you to use `--seed` to deterministically reproduce
92
- # test failures related to randomization by passing the same `--seed` value
93
- # as the one that triggered the failure.
94
- Kernel.srand config.seed
95
- =end
96
- end
@@ -1 +0,0 @@
1
- require 'capybara'
@@ -1,5 +0,0 @@
1
- require 'factory_bot_rails'
2
-
3
- RSpec.configure do |config|
4
- config.include FactoryBot::Syntax::Methods
5
- end
@@ -1,5 +0,0 @@
1
- require 'rao/shoulda/matchers'
2
-
3
- RSpec.configure do |config|
4
- config.include Rao::Shoulda::Matchers, type: :feature
5
- end
@@ -1,8 +0,0 @@
1
- require 'shoulda-matchers'
2
-
3
- Shoulda::Matchers.configure do |config|
4
- config.integrate do |with|
5
- with.test_framework :rspec
6
- with.library :rails
7
- end
8
- end