lcms-engine 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (327) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +25 -0
  3. data/.eslintignore +2 -1
  4. data/.eslintrc +23 -73
  5. data/.nvmrc +1 -1
  6. data/.overcommit.yml +8 -2
  7. data/.prettierrc +7 -0
  8. data/.rubocop.yml +5 -2
  9. data/.ruby-version +1 -1
  10. data/.stylelintignore +9 -0
  11. data/.stylelintrc +8 -0
  12. data/CHANGELOG.md +36 -2
  13. data/Dockerfile +3 -3
  14. data/Gemfile.lock +344 -297
  15. data/README.md +20 -18
  16. data/app/assets/config/lcms_engine_manifest.js +4 -2
  17. data/app/assets/javascripts/lcms/engine/admin/{application.js → lcms_engine_application.js} +1 -3
  18. data/app/assets/javascripts/lcms/engine/initializers/foundation.js +1 -1
  19. data/app/assets/javascripts/lcms/engine/{application.js → lcms_engine_application.js} +0 -0
  20. data/app/assets/stylesheets/lcms/engine/admin/collections.scss +2 -1
  21. data/app/assets/stylesheets/lcms/engine/admin/components.scss +60 -19
  22. data/app/assets/stylesheets/lcms/engine/admin/curriculums.scss +12 -10
  23. data/app/assets/stylesheets/lcms/engine/admin/lessons.scss +21 -15
  24. data/app/assets/stylesheets/lcms/engine/admin/materials.scss +25 -17
  25. data/app/assets/stylesheets/lcms/engine/admin/resources.scss +8 -7
  26. data/app/assets/stylesheets/lcms/engine/admin/standards.scss +4 -1
  27. data/app/assets/stylesheets/lcms/engine/admin/users.scss +1 -1
  28. data/app/assets/stylesheets/lcms/engine/base/_colors.scss +8 -10
  29. data/app/assets/stylesheets/lcms/engine/base/_ld-colors.scss +10 -10
  30. data/app/assets/stylesheets/lcms/engine/components/_assoc-picker.scss +4 -5
  31. data/app/assets/stylesheets/lcms/engine/components/lesson/_activity.scss +6 -2
  32. data/app/assets/stylesheets/lcms/engine/components/lesson/_callout.scss +19 -5
  33. data/app/assets/stylesheets/lcms/engine/components/lesson/_columns.scss +4 -3
  34. data/app/assets/stylesheets/lcms/engine/components/lesson/_curriculum-map.scss +16 -7
  35. data/app/assets/stylesheets/lcms/engine/components/lesson/_def.scss +2 -2
  36. data/app/assets/stylesheets/lcms/engine/components/lesson/_expand.scss +9 -9
  37. data/app/assets/stylesheets/lcms/engine/components/lesson/_foundational-divider.scss +0 -1
  38. data/app/assets/stylesheets/lcms/engine/components/lesson/_group.scss +3 -1
  39. data/app/assets/stylesheets/lcms/engine/components/lesson/_icons.scss +1 -1
  40. data/app/assets/stylesheets/lcms/engine/components/lesson/_image-wrap.scss +2 -2
  41. data/app/assets/stylesheets/lcms/engine/components/lesson/_inset.scss +7 -2
  42. data/app/assets/stylesheets/lcms/engine/components/lesson/_materials.scss +1 -1
  43. data/app/assets/stylesheets/lcms/engine/components/lesson/_multiple-choice.scss +4 -1
  44. data/app/assets/stylesheets/lcms/engine/components/lesson/_override.scss +28 -9
  45. data/app/assets/stylesheets/lcms/engine/components/lesson/_pd.scss +7 -7
  46. data/app/assets/stylesheets/lcms/engine/components/lesson/_pv.scss +5 -4
  47. data/app/assets/stylesheets/lcms/engine/components/lesson/_section.scss +10 -3
  48. data/app/assets/stylesheets/lcms/engine/components/lesson/_selection-control.scss +14 -8
  49. data/app/assets/stylesheets/lcms/engine/components/lesson/_sidebar.scss +25 -10
  50. data/app/assets/stylesheets/lcms/engine/components/lesson/_title.scss +3 -1
  51. data/app/assets/stylesheets/lcms/engine/components/lesson/_unit-map.scss +1 -1
  52. data/app/assets/stylesheets/lcms/engine/components/material/_material.scss +3 -3
  53. data/app/assets/stylesheets/lcms/engine/components/material/_overlay.scss +12 -4
  54. data/app/assets/stylesheets/lcms/engine/components/material/_preview.scss +1 -1
  55. data/app/assets/stylesheets/lcms/engine/components/support/_survey.scss +3 -1
  56. data/app/assets/stylesheets/lcms/engine/layout/_footer.scss +29 -11
  57. data/app/assets/stylesheets/lcms/engine/layout/_header.scss +5 -5
  58. data/app/assets/stylesheets/lcms/engine/layout/_navigation.scss +4 -6
  59. data/app/assets/stylesheets/lcms/engine/layout/_page.scss +2 -2
  60. data/app/assets/stylesheets/lcms/engine/{admin.scss → lcms_engine_admin.scss} +26 -15
  61. data/app/assets/stylesheets/lcms/engine/lcms_engine_application.scss +9 -0
  62. data/app/assets/stylesheets/lcms/engine/pdf.scss +5 -26
  63. data/app/assets/stylesheets/lcms/engine/pdf_plain.scss +5 -23
  64. data/app/assets/stylesheets/lcms/engine/print/_base.scss +41 -12
  65. data/app/assets/stylesheets/lcms/engine/print/_cover.scss +12 -12
  66. data/app/assets/stylesheets/lcms/engine/print/_footer.scss +8 -3
  67. data/app/assets/stylesheets/lcms/engine/print/_gdoc-base.scss +10 -37
  68. data/app/assets/stylesheets/lcms/engine/print/_helpers.scss +5 -2
  69. data/app/assets/stylesheets/lcms/engine/print/_lesson-base.scss +2 -14
  70. data/app/assets/stylesheets/lcms/engine/print/_material-base.scss +1 -3
  71. data/app/assets/stylesheets/lcms/engine/print/_print.scss +15 -8
  72. data/app/assets/stylesheets/lcms/engine/print/_toc.scss +24 -9
  73. data/app/assets/stylesheets/lcms/engine/print/gdoc/_base-typography.scss +24 -6
  74. data/app/assets/stylesheets/lcms/engine/print/gdoc/_base.scss +10 -3
  75. data/app/assets/stylesheets/lcms/engine/print/gdoc/_colors.scss +3 -3
  76. data/app/assets/stylesheets/lcms/engine/print/gdoc/_header.scss +2 -2
  77. data/app/assets/stylesheets/lcms/engine/print/gdoc/_helpers.scss +1 -0
  78. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_activity.scss +1 -1
  79. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_agenda.scss +8 -2
  80. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_callout.scss +16 -6
  81. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_def.scss +1 -1
  82. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_dialogue.scss +3 -1
  83. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_expand.scss +5 -2
  84. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_image-wrap.scss +5 -3
  85. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_image.scss +1 -1
  86. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_optbreak.scss +1 -0
  87. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_section.scss +4 -1
  88. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_smp.scss +1 -0
  89. data/app/assets/stylesheets/lcms/engine/print/gdoc/lesson/_tables.scss +11 -3
  90. data/app/assets/stylesheets/lcms/engine/print/gdoc/material/_header.scss +5 -2
  91. data/app/assets/stylesheets/lcms/engine/print/lesson/_base-typography.scss +33 -9
  92. data/app/assets/stylesheets/lcms/engine/print/lesson/_group.scss +3 -1
  93. data/app/assets/stylesheets/lcms/engine/print/lesson/_image.scss +3 -1
  94. data/app/assets/stylesheets/lcms/engine/print/lesson/_materials.scss +1 -1
  95. data/app/assets/stylesheets/lcms/engine/print/lesson/_pd.scss +8 -4
  96. data/app/assets/stylesheets/lcms/engine/print/lesson/_section.scss +1 -1
  97. data/app/assets/stylesheets/lcms/engine/print/material/_header.scss +4 -1
  98. data/app/assets/stylesheets/lcms/engine/themes/_material.scss +11 -11
  99. data/app/assets/stylesheets/lcms/engine/utils/_colorcodes.scss +15 -5
  100. data/app/assets/stylesheets/lcms/engine/utils/_functions.scss +1 -1
  101. data/app/assets/stylesheets/lcms/engine/utils/_helpers.scss +23 -11
  102. data/app/assets/stylesheets/lcms/engine/utils/_placeholders.scss +1 -1
  103. data/app/assets/stylesheets/lcms/engine/utils/_variables.scss +11 -11
  104. data/app/assets/stylesheets/lcms/engine/vendors/{mathjax.css → mathjax.scss} +0 -0
  105. data/app/assets/stylesheets/lcms/engine/vendors/react-tagsinput.css +48 -0
  106. data/app/controllers/concerns/lcms/engine/reimportable.rb +1 -1
  107. data/app/controllers/lcms/engine/admin/access_codes_controller.rb +8 -3
  108. data/app/controllers/lcms/engine/admin/admin_controller.rb +5 -39
  109. data/app/controllers/lcms/engine/admin/association_picker_controller.rb +4 -1
  110. data/app/controllers/lcms/engine/admin/batch_reimports_controller.rb +2 -2
  111. data/app/controllers/lcms/engine/admin/curriculums_controller.rb +21 -2
  112. data/app/controllers/lcms/engine/admin/documents_controller.rb +26 -14
  113. data/app/controllers/lcms/engine/admin/materials_controller.rb +23 -13
  114. data/app/controllers/lcms/engine/admin/resource_bulk_edits_controller.rb +2 -2
  115. data/app/controllers/lcms/engine/admin/resources_controller.rb +9 -7
  116. data/app/controllers/lcms/engine/admin/settings_controller.rb +1 -1
  117. data/app/controllers/lcms/engine/admin/standards_controller.rb +2 -2
  118. data/app/controllers/lcms/engine/admin/users_controller.rb +10 -7
  119. data/app/controllers/lcms/engine/application_controller.rb +1 -1
  120. data/app/controllers/lcms/engine/resources_controller.rb +5 -5
  121. data/app/controllers/lcms/engine/welcome_controller.rb +11 -0
  122. data/app/entities/lcms/engine/hierarchical_position.rb +1 -2
  123. data/app/entities/lcms/engine/media_embed.rb +1 -1
  124. data/app/entities/lcms/engine/pagination.rb +14 -10
  125. data/app/entities/lcms/engine/roman_numerals.rb +1 -1
  126. data/app/exceptions/lcms/engine/document_error.rb +8 -0
  127. data/app/exceptions/lcms/engine/material_error.rb +8 -0
  128. data/app/helpers/admin/components_helper.rb +1 -1
  129. data/app/helpers/lcms/engine/path_helper.rb +32 -0
  130. data/app/helpers/lcms/engine/resource_helper.rb +1 -1
  131. data/app/helpers/lcms/engine/view_helper.rb +0 -8
  132. data/app/interactors/lcms/engine/explore_curriculum_interactor.rb +1 -1
  133. data/app/javascript/components/admin/ImportStatus.jsx +88 -58
  134. data/app/javascript/components/admin/Initializer.jsx +33 -35
  135. data/app/javascript/components/admin/MultiSelectedOperation.jsx +43 -19
  136. data/app/javascript/components/admin/association-picker/AssociationPicker.jsx +68 -48
  137. data/app/javascript/components/admin/association-picker/AssociationPickerItem.jsx +18 -7
  138. data/app/javascript/components/admin/association-picker/AssociationPickerResults.jsx +42 -18
  139. data/app/javascript/components/admin/association-picker/AssociationPickerWindow.jsx +47 -28
  140. data/app/javascript/components/admin/curriculum/CurriculumEditor.jsx +54 -33
  141. data/app/javascript/components/admin/curriculum/DirectoryPicker.jsx +80 -53
  142. data/app/javascript/components/admin/picker/PickerButton.jsx +16 -11
  143. data/app/javascript/components/admin/picker/pickerModal.jsx +6 -6
  144. data/app/javascript/components/admin/picker/pickerWindowWrapper.jsx +61 -40
  145. data/app/javascript/components/admin/resource-picker/ResourcePicker.jsx +54 -40
  146. data/app/javascript/components/admin/resource-picker/ResourcePickerResource.jsx +14 -3
  147. data/app/javascript/components/admin/resource-picker/ResourcePickerWindow.jsx +50 -21
  148. data/app/javascript/components/paginate/PageView.jsx +20 -8
  149. data/app/javascript/components/paginate/PaginationBoxView.jsx +78 -66
  150. data/app/javascript/components/paginate/PaginationListView.jsx +59 -45
  151. data/app/javascript/packs/lcms_engine_admin.js +15 -0
  152. data/app/javascript/packs/{application.js → lcms_engine_application.js} +5 -4
  153. data/app/javascript/packs/server_rendering.js +1 -0
  154. data/app/javascript/vendor/jstree/jstree.min.js +6 -0
  155. data/app/javascript/vendor/jstree/themes/default/32px.png +0 -0
  156. data/app/javascript/vendor/jstree/themes/default/40px.png +0 -0
  157. data/app/javascript/vendor/jstree/themes/default/style.css +1106 -0
  158. data/app/javascript/vendor/jstree/themes/default/style.min.css +1 -0
  159. data/app/javascript/vendor/jstree/themes/default/throbber.gif +0 -0
  160. data/app/javascript/vendor/jstree/themes/default-dark/32px.png +0 -0
  161. data/app/javascript/vendor/jstree/themes/default-dark/40px.png +0 -0
  162. data/app/javascript/vendor/jstree/themes/default-dark/style.css +1150 -0
  163. data/app/javascript/vendor/jstree/themes/default-dark/style.min.css +1 -0
  164. data/app/javascript/vendor/jstree/themes/default-dark/throbber.gif +0 -0
  165. data/app/jobs/lcms/engine/document_generate_job.rb +1 -1
  166. data/app/jobs/lcms/engine/document_generate_pdf_job.rb +5 -5
  167. data/app/jobs/lcms/engine/material_generate_pdf_job.rb +4 -4
  168. data/app/models/concerns/lcms/engine/navigable.rb +6 -10
  169. data/app/models/concerns/lcms/engine/searchable.rb +7 -0
  170. data/app/models/lcms/engine/document.rb +1 -1
  171. data/app/models/lcms/engine/resource.rb +1 -1
  172. data/app/models/lcms/engine/search/repository.rb +1 -1
  173. data/app/presenters/lcms/engine/content_presenter.rb +1 -1
  174. data/app/presenters/lcms/engine/curriculum_presenter.rb +21 -18
  175. data/app/presenters/lcms/engine/document_presenter.rb +3 -1
  176. data/app/presenters/lcms/engine/resource_presenter.rb +6 -3
  177. data/app/queries/lcms/engine/admin_documents_query.rb +1 -1
  178. data/app/queries/lcms/engine/admin_materials_query.rb +11 -2
  179. data/app/queries/lcms/engine/base_query.rb +1 -1
  180. data/app/services/lcms/engine/document_build_service.rb +2 -0
  181. data/app/services/lcms/engine/document_generator.rb +2 -2
  182. data/app/services/lcms/engine/google/drive_service.rb +7 -15
  183. data/app/services/lcms/engine/google/script_service.rb +7 -3
  184. data/app/services/lcms/engine/html_sanitizer.rb +1 -1
  185. data/app/services/lcms/engine/lti_exporter.rb +1 -1
  186. data/app/services/lcms/engine/material_preview_generator.rb +1 -1
  187. data/app/services/lcms/engine/s3_service.rb +14 -2
  188. data/app/tasks/resource_tasks.rb +2 -2
  189. data/app/views/layouts/lcms/engine/admin.html.erb +3 -3
  190. data/app/views/layouts/lcms/engine/application.html.erb +2 -2
  191. data/app/views/layouts/lcms/engine/lti.html.erb +1 -1
  192. data/app/views/lcms/engine/admin/access_codes/_form.html.erb +1 -1
  193. data/app/views/lcms/engine/admin/access_codes/index.html.erb +3 -3
  194. data/app/views/lcms/engine/admin/batch_reimports/_search_form.html.erb +1 -1
  195. data/app/views/lcms/engine/admin/curriculums/edit.html.erb +4 -2
  196. data/app/views/lcms/engine/admin/documents/_reimport.html.erb +1 -1
  197. data/app/views/lcms/engine/admin/documents/_search_form.html.erb +1 -1
  198. data/app/views/lcms/engine/admin/documents/import.html.erb +1 -1
  199. data/app/views/lcms/engine/admin/documents/index.html.erb +5 -3
  200. data/app/views/lcms/engine/admin/documents/new.html.erb +6 -2
  201. data/app/views/lcms/engine/admin/materials/_reimport.html.erb +1 -1
  202. data/app/views/lcms/engine/admin/materials/_search_form.html.erb +1 -1
  203. data/app/views/lcms/engine/admin/materials/import.html.erb +1 -1
  204. data/app/views/lcms/engine/admin/materials/index.html.erb +22 -18
  205. data/app/views/lcms/engine/admin/materials/new.html.erb +5 -1
  206. data/app/views/lcms/engine/admin/resource_bulk_edits/new.html.erb +1 -1
  207. data/app/views/lcms/engine/admin/resources/_fields.html.erb +4 -3
  208. data/app/views/lcms/engine/admin/resources/_form.html.erb +1 -1
  209. data/app/views/lcms/engine/admin/resources/_search_form.html.erb +1 -1
  210. data/app/views/lcms/engine/admin/resources/index.html.erb +7 -5
  211. data/app/views/lcms/engine/admin/shared/_header.html.erb +12 -12
  212. data/app/views/lcms/engine/admin/standards/_form.html.erb +3 -1
  213. data/app/views/lcms/engine/admin/standards/_search_form.html.erb +1 -1
  214. data/app/views/lcms/engine/admin/users/_form.html.erb +1 -1
  215. data/app/views/lcms/engine/admin/users/_search_form.html.erb +1 -1
  216. data/app/views/lcms/engine/admin/users/index.html.erb +6 -6
  217. data/app/views/lcms/engine/pages/not_found.html.erb +5 -0
  218. data/app/views/lcms/engine/resources/generic.html.erb +0 -4
  219. data/app/views/lcms/engine/resources/media.html.erb +0 -4
  220. data/app/views/lcms/engine/resources/show.html.erb +0 -2
  221. data/config/initializers/airbrake.rb +62 -10
  222. data/config/initializers/bitly.rb +1 -1
  223. data/config/initializers/carrier_wave.rb +6 -4
  224. data/config/initializers/ckeditor.rb +6 -0
  225. data/config/initializers/elasticsearch.rb +1 -1
  226. data/config/initializers/resque.rb +2 -2
  227. data/config/locales/admin/en.yml +0 -1
  228. data/config/locales/ui/en.yml +1 -0
  229. data/config/routes.rb +5 -2
  230. data/db/migrate/.keep +0 -0
  231. data/db/schema.rb +279 -311
  232. data/db/seeds.rb +0 -1
  233. data/docker-compose.ror4.yml +32 -0
  234. data/docker-compose.yml +6 -3
  235. data/docs/env-variables.md +40 -40
  236. data/docs/google-cloud-platform-setup.md +45 -17
  237. data/docs/how-to-build-and-publish.md +1 -0
  238. data/lcms-engine.gemspec +21 -15
  239. data/lib/doc_template/document.rb +3 -4
  240. data/lib/doc_template/document_toc.rb +2 -2
  241. data/lib/doc_template/objects/activity_metadata.rb +1 -1
  242. data/lib/doc_template/objects/toc_helpers.rb +4 -4
  243. data/lib/doc_template/objects/toc_metadata.rb +4 -6
  244. data/lib/doc_template/tags/answer_space_tag.rb +1 -1
  245. data/lib/doc_template/tags/base_tag.rb +2 -2
  246. data/lib/doc_template/tags/block_tag.rb +1 -1
  247. data/lib/doc_template/tags/table_tag.rb +1 -1
  248. data/lib/doc_template/template.rb +1 -1
  249. data/lib/doc_template.rb +9 -9
  250. data/lib/document_exporter/gdoc/base.rb +5 -2
  251. data/lib/document_exporter/pdf/base.rb +1 -1
  252. data/lib/document_exporter/pdf/document.rb +2 -2
  253. data/lib/document_exporter/pdf/material.rb +2 -2
  254. data/lib/document_exporter/pdf/student_material.rb +2 -2
  255. data/lib/document_exporter/pdf/teacher_material.rb +2 -2
  256. data/lib/document_renderer/part.rb +1 -3
  257. data/lib/lcms/engine/engine.rb +10 -9
  258. data/lib/lcms/engine/version.rb +1 -1
  259. data/lib/lcms/engine.rb +0 -1
  260. data/lib/lt/lcms/metadata/context.rb +56 -52
  261. data/lib/lt/lcms/metadata/service.rb +3 -2
  262. data/lib/tasks/cloud66.rake +2 -2
  263. data/lib/tasks/document.rake +4 -4
  264. data/lib/tasks/google.rake +29 -14
  265. data/lib/tasks/lcms/engine_tasks.rake +1 -1
  266. data/package.json +31 -10
  267. data/postcss.config.js +12 -0
  268. data/spec/controllers/admin/curriculums_controller_spec.rb +23 -0
  269. data/spec/controllers/admin/documents_controller_spec.rb +22 -2
  270. data/spec/controllers/admin/materials_controller_spec.rb +16 -3
  271. data/spec/controllers/admin/resource_bulk_edit_controller_spec.rb +1 -1
  272. data/spec/controllers/admin/resources_controller_spec.rb +1 -1
  273. data/spec/controllers/admin/settings_controller_spec.rb +1 -1
  274. data/spec/controllers/admin/standards_controller_spec.rb +1 -1
  275. data/spec/controllers/admin/welcome_controller_spec.rb +12 -10
  276. data/spec/controllers/resources_controller_spec.rb +3 -3
  277. data/spec/controllers/welcome_controller_spec.rb +38 -0
  278. data/spec/dummy/.traceroute.yaml +0 -2
  279. data/spec/dummy/bin/webpack +18 -0
  280. data/spec/dummy/bin/webpack-dev-server +18 -0
  281. data/spec/dummy/config/application.rb +1 -1
  282. data/spec/dummy/config/environments/test.rb +1 -1
  283. data/spec/dummy/config/initializers/assets.rb +6 -0
  284. data/spec/dummy/config/lcms-admin.yml +3 -7
  285. data/spec/dummy/config/routes.rb +6 -0
  286. data/spec/dummy/db/schema.rb +5 -5
  287. data/spec/factories/documents.rb +1 -0
  288. data/spec/factories/downloads.rb +1 -1
  289. data/spec/factories/resources.rb +2 -2
  290. data/spec/features/admin/materials/add_material_spec.rb +2 -0
  291. data/spec/features/admin/users_spec.rb +2 -2
  292. data/spec/{controllers/admin/admin_controller_spec.rb → helpers/path_helper_spec.rb} +6 -6
  293. data/spec/lib/doc_template/objects/activity_metadata_spec.rb +1 -1
  294. data/spec/lib/doc_template/objects/agenda_metadata_spec.rb +2 -0
  295. data/spec/lib/doc_template/objects/toc_metadata_spec.rb +1 -1
  296. data/spec/lib/doc_template/tags/page_break_tag_spec.rb +1 -1
  297. data/spec/lib/doc_template/tags/pd_tag_spec.rb +1 -1
  298. data/spec/models/document_spec.rb +1 -1
  299. data/spec/models/standard_spec.rb +2 -0
  300. data/spec/queries/lcms/engine/admin_materials_query_spec.rb +34 -0
  301. data/spec/rails_helper.rb +6 -17
  302. data/spec/services/document_build_service_spec.rb +4 -11
  303. data/spec/services/s3_service_spec.rb +31 -0
  304. data/spec/support/concerns/navigable.rb +2 -0
  305. data/spec/support/routes.rb +4 -0
  306. data/spec/support/shared_examples/content_tag.rb +4 -4
  307. data/templates/routes.rb +0 -1
  308. data/yarn.lock +3412 -2933
  309. metadata +146 -288
  310. data/app/assets/stylesheets/lcms/engine/application.scss +0 -36
  311. data/app/assets/stylesheets/lcms/engine/vendors/jquery.tagsinput.css +0 -1
  312. data/app/exceptions/components_api_error.rb +0 -4
  313. data/app/exceptions/document_error.rb +0 -4
  314. data/app/exceptions/material_error.rb +0 -4
  315. data/app/javascript/packs/admin.js +0 -14
  316. data/app/models/lcms/engine/component.rb +0 -88
  317. data/app/presenters/lcms/engine/social_media_presenter.rb +0 -83
  318. data/app/views/lcms/engine/shared/_social_sharing.html.erb +0 -22
  319. data/db/migrate/20200217160930_change_document_parts_to_polymorphic.rb +0 -36
  320. data/db/migrate/20200218144849_drop_material_parts_table.rb +0 -7
  321. data/db/migrate/20200422130652_add_reimported_at_to_documents.rb +0 -7
  322. data/db/migrate/20200429130353_drop_pages.rb +0 -13
  323. data/db/seeds/pages.seeds.rb +0 -26
  324. data/lib/document_exporter.rb +0 -6
  325. data/lib/lcms/engine/migration.rb +0 -16
  326. data/spec/models/component_spec.rb +0 -60
  327. data/vendor/assets/javascripts/jquery.tagsinput.js +0 -1
data/Gemfile.lock CHANGED
@@ -13,10 +13,10 @@ PATH
13
13
  lcms-engine (0.3.1)
14
14
  active_model_serializers (~> 0.10.10)
15
15
  activejob-retry (~> 0.6.3)
16
- acts-as-taggable-on (~> 6.5)
16
+ acts-as-taggable-on (~> 7.0)
17
17
  acts_as_list (~> 1.0)
18
18
  addressable (~> 2.7)
19
- airbrake (~> 10.0)
19
+ airbrake (~> 13.0)
20
20
  autoprefixer-rails (~> 9.7)
21
21
  aws-sdk-rails (~> 3.1)
22
22
  aws-sdk-s3 (~> 1)
@@ -24,7 +24,7 @@ PATH
24
24
  bootstrap-sass (~> 3.4)
25
25
  bullet (~> 6.1, >= 6.1.0)
26
26
  carrierwave (~> 2.1)
27
- ckeditor (~> 4.3)
27
+ ckeditor (~> 5.1)
28
28
  closure_tree (~> 7.1)
29
29
  combine_pdf (~> 1.0)
30
30
  daemons (~> 1.3, >= 1.3.1)
@@ -42,31 +42,32 @@ PATH
42
42
  jbuilder (~> 2.10)
43
43
  jquery-rails (~> 4.3, >= 4.3.5)
44
44
  js-routes (~> 1.4, >= 1.4.9)
45
- lt-google-api (~> 0.2, >= 0.2.2)
46
- lt-lcms (~> 0.4, >= 0.4.1)
45
+ lt-google-api (~> 0.2, >= 0.2.3)
46
+ lt-lcms (~> 0.4, >= 0.4.4)
47
47
  migration_data (~> 0.6)
48
48
  mini_magick (~> 4.10, >= 4.10.1)
49
49
  nested_form (~> 0.3.2)
50
50
  nikkou (~> 0.0.5)
51
- nokogiri (~> 1.10, >= 1.10.8)
51
+ nokogiri (~> 1.11, >= 1.11.4)
52
52
  oj (~> 3.10, >= 3.10.2)
53
53
  oj_mimic_json (~> 1.0, >= 1.0.1)
54
54
  pandoc-ruby (~> 2.0, >= 2.0.2)
55
55
  pdfjs_viewer-rails (~> 0.3.1)
56
56
  pg (~> 1.2, >= 1.2.2)
57
57
  pg_search (~> 2.3, >= 2.3.2)
58
- rack-mini-profiler (~> 1.1, >= 1.1.6)
59
- rails (~> 5.2, >= 5.2.4)
58
+ rack-mini-profiler (~> 2.3, >= 2.3.3)
59
+ rails (~> 6.1.6, >= 6.1.6.1)
60
60
  ransack (~> 2.3, >= 2.3.2)
61
61
  react-rails (~> 2.6, >= 2.6.1)
62
62
  redis (~> 4.1, >= 4.1.3)
63
63
  resque (~> 2.0, >= 2.0.0)
64
64
  resque-scheduler (~> 4.4, >= 4.4.0)
65
65
  rest-client (~> 2.1, >= 2.1.0)
66
+ retriable (~> 3.1)
66
67
  ruby-progressbar (~> 1.10, >= 1.10.1)
67
68
  rubyzip (~> 2)
68
69
  sanitize (>= 5.1, < 5.3)
69
- sass-rails (~> 5.1, >= 5.1.0)
70
+ sass-rails (~> 6)
70
71
  simple_form (~> 5.0, >= 5.0.2)
71
72
  staccato (~> 0.5.3)
72
73
  truncate_html (~> 0.9.3)
@@ -75,109 +76,127 @@ PATH
75
76
  virtus (~> 1.0, >= 1.0.5)
76
77
  will_paginate (~> 3.2, >= 3.2.1)
77
78
  will_paginate-bootstrap (~> 1.0, >= 1.0.2)
79
+ with_advisory_lock (~> 4.6)
78
80
 
79
81
  GEM
80
82
  remote: https://rubygems.org/
81
83
  specs:
82
- actioncable (5.2.4.5)
83
- actionpack (= 5.2.4.5)
84
+ actioncable (6.1.7)
85
+ actionpack (= 6.1.7)
86
+ activesupport (= 6.1.7)
84
87
  nio4r (~> 2.0)
85
88
  websocket-driver (>= 0.6.1)
86
- actionmailer (5.2.4.5)
87
- actionpack (= 5.2.4.5)
88
- actionview (= 5.2.4.5)
89
- activejob (= 5.2.4.5)
89
+ actionmailbox (6.1.7)
90
+ actionpack (= 6.1.7)
91
+ activejob (= 6.1.7)
92
+ activerecord (= 6.1.7)
93
+ activestorage (= 6.1.7)
94
+ activesupport (= 6.1.7)
95
+ mail (>= 2.7.1)
96
+ actionmailer (6.1.7)
97
+ actionpack (= 6.1.7)
98
+ actionview (= 6.1.7)
99
+ activejob (= 6.1.7)
100
+ activesupport (= 6.1.7)
90
101
  mail (~> 2.5, >= 2.5.4)
91
102
  rails-dom-testing (~> 2.0)
92
- actionpack (5.2.4.5)
93
- actionview (= 5.2.4.5)
94
- activesupport (= 5.2.4.5)
95
- rack (~> 2.0, >= 2.0.8)
103
+ actionpack (6.1.7)
104
+ actionview (= 6.1.7)
105
+ activesupport (= 6.1.7)
106
+ rack (~> 2.0, >= 2.0.9)
96
107
  rack-test (>= 0.6.3)
97
108
  rails-dom-testing (~> 2.0)
98
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
99
- actionview (5.2.4.5)
100
- activesupport (= 5.2.4.5)
109
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
110
+ actiontext (6.1.7)
111
+ actionpack (= 6.1.7)
112
+ activerecord (= 6.1.7)
113
+ activestorage (= 6.1.7)
114
+ activesupport (= 6.1.7)
115
+ nokogiri (>= 1.8.5)
116
+ actionview (6.1.7)
117
+ activesupport (= 6.1.7)
101
118
  builder (~> 3.1)
102
119
  erubi (~> 1.4)
103
120
  rails-dom-testing (~> 2.0)
104
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
105
- active_model_serializers (0.10.12)
106
- actionpack (>= 4.1, < 6.2)
107
- activemodel (>= 4.1, < 6.2)
121
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
122
+ active_model_serializers (0.10.13)
123
+ actionpack (>= 4.1, < 7.1)
124
+ activemodel (>= 4.1, < 7.1)
108
125
  case_transform (>= 0.2)
109
126
  jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
110
- activejob (5.2.4.5)
111
- activesupport (= 5.2.4.5)
127
+ activejob (6.1.7)
128
+ activesupport (= 6.1.7)
112
129
  globalid (>= 0.3.6)
113
130
  activejob-retry (0.6.3)
114
131
  activejob (>= 4.2)
115
132
  activesupport (>= 4.2)
116
- activemodel (5.2.4.5)
117
- activesupport (= 5.2.4.5)
118
- activerecord (5.2.4.5)
119
- activemodel (= 5.2.4.5)
120
- activesupport (= 5.2.4.5)
121
- arel (>= 9.0)
122
- activestorage (5.2.4.5)
123
- actionpack (= 5.2.4.5)
124
- activerecord (= 5.2.4.5)
125
- marcel (~> 0.3.1)
126
- activesupport (5.2.4.5)
133
+ activemodel (6.1.7)
134
+ activesupport (= 6.1.7)
135
+ activerecord (6.1.7)
136
+ activemodel (= 6.1.7)
137
+ activesupport (= 6.1.7)
138
+ activestorage (6.1.7)
139
+ actionpack (= 6.1.7)
140
+ activejob (= 6.1.7)
141
+ activerecord (= 6.1.7)
142
+ activesupport (= 6.1.7)
143
+ marcel (~> 1.0)
144
+ mini_mime (>= 1.1.0)
145
+ activesupport (6.1.7)
127
146
  concurrent-ruby (~> 1.0, >= 1.0.2)
128
- i18n (>= 0.7, < 2)
129
- minitest (~> 5.1)
130
- tzinfo (~> 1.1)
131
- acts-as-taggable-on (6.5.0)
132
- activerecord (>= 5.0, < 6.1)
133
- acts_as_list (1.0.3)
147
+ i18n (>= 1.6, < 2)
148
+ minitest (>= 5.1)
149
+ tzinfo (~> 2.0)
150
+ zeitwerk (~> 2.3)
151
+ acts-as-taggable-on (7.0.0)
152
+ activerecord (>= 5.0, < 6.2)
153
+ acts_as_list (1.0.4)
134
154
  activerecord (>= 4.2)
135
- addressable (2.7.0)
136
- public_suffix (>= 2.0.2, < 5.0)
137
- airbrake (10.0.6)
138
- airbrake-ruby (~> 4.13)
139
- airbrake-ruby (4.15.0)
155
+ addressable (2.8.1)
156
+ public_suffix (>= 2.0.2, < 6.0)
157
+ airbrake (13.0.3)
158
+ airbrake-ruby (~> 6.0)
159
+ airbrake-ruby (6.2.0)
140
160
  rbtree3 (~> 0.5)
141
- arel (9.0.0)
142
161
  ast (2.4.2)
143
162
  autoprefixer-rails (9.8.6.5)
144
163
  execjs
145
- aws-eventstream (1.1.0)
146
- aws-partitions (1.426.0)
147
- aws-record (2.5.0)
164
+ aws-eventstream (1.2.0)
165
+ aws-partitions (1.638.0)
166
+ aws-record (2.7.0)
148
167
  aws-sdk-dynamodb (~> 1.18)
149
- aws-sdk-core (3.112.0)
168
+ aws-sdk-core (3.156.0)
150
169
  aws-eventstream (~> 1, >= 1.0.2)
151
- aws-partitions (~> 1, >= 1.239.0)
170
+ aws-partitions (~> 1, >= 1.525.0)
152
171
  aws-sigv4 (~> 1.1)
153
- jmespath (~> 1.0)
154
- aws-sdk-dynamodb (1.59.0)
155
- aws-sdk-core (~> 3, >= 3.112.0)
172
+ jmespath (~> 1, >= 1.6.1)
173
+ aws-sdk-dynamodb (1.77.0)
174
+ aws-sdk-core (~> 3, >= 3.127.0)
156
175
  aws-sigv4 (~> 1.1)
157
- aws-sdk-kms (1.42.0)
158
- aws-sdk-core (~> 3, >= 3.112.0)
176
+ aws-sdk-kms (1.58.0)
177
+ aws-sdk-core (~> 3, >= 3.127.0)
159
178
  aws-sigv4 (~> 1.1)
160
- aws-sdk-rails (3.6.0)
179
+ aws-sdk-rails (3.6.3)
161
180
  aws-record (~> 2)
162
181
  aws-sdk-ses (~> 1)
163
182
  aws-sdk-sqs (~> 1)
164
183
  aws-sessionstore-dynamodb (~> 2)
165
184
  concurrent-ruby (~> 1)
166
185
  railties (>= 5.2.0)
167
- aws-sdk-s3 (1.88.0)
168
- aws-sdk-core (~> 3, >= 3.112.0)
186
+ aws-sdk-s3 (1.114.0)
187
+ aws-sdk-core (~> 3, >= 3.127.0)
169
188
  aws-sdk-kms (~> 1)
189
+ aws-sigv4 (~> 1.4)
190
+ aws-sdk-ses (1.47.0)
191
+ aws-sdk-core (~> 3, >= 3.127.0)
170
192
  aws-sigv4 (~> 1.1)
171
- aws-sdk-ses (1.37.0)
172
- aws-sdk-core (~> 3, >= 3.112.0)
173
- aws-sigv4 (~> 1.1)
174
- aws-sdk-sqs (1.36.0)
175
- aws-sdk-core (~> 3, >= 3.112.0)
193
+ aws-sdk-sqs (1.51.1)
194
+ aws-sdk-core (~> 3, >= 3.127.0)
176
195
  aws-sigv4 (~> 1.1)
177
196
  aws-sessionstore-dynamodb (2.0.1)
178
197
  aws-sdk-dynamodb (~> 1)
179
198
  rack (~> 2)
180
- aws-sigv4 (1.2.2)
199
+ aws-sigv4 (1.5.1)
181
200
  aws-eventstream (~> 1, >= 1.0.2)
182
201
  axiom-types (0.1.1)
183
202
  descendants_tracker (~> 0.0.4)
@@ -187,7 +206,7 @@ GEM
187
206
  babel-transpiler (0.7.0)
188
207
  babel-source (>= 4.0, < 6)
189
208
  execjs (~> 2.0)
190
- bcrypt (3.1.16)
209
+ bcrypt (3.1.18)
191
210
  bitly (1.1.2)
192
211
  httparty (>= 0.7.6)
193
212
  multi_json (~> 1.3)
@@ -196,84 +215,84 @@ GEM
196
215
  autoprefixer-rails (>= 5.2.1)
197
216
  sassc (>= 2.0.0)
198
217
  builder (3.2.4)
199
- bullet (6.1.3)
218
+ bullet (6.1.5)
200
219
  activesupport (>= 3.0.0)
201
220
  uniform_notifier (~> 1.11)
202
221
  byebug (11.1.3)
203
- capybara (3.35.3)
222
+ capybara (3.37.1)
204
223
  addressable
224
+ matrix
205
225
  mini_mime (>= 0.1.3)
206
226
  nokogiri (~> 1.8)
207
227
  rack (>= 1.6.0)
208
228
  rack-test (>= 0.6.3)
209
229
  regexp_parser (>= 1.5, < 3.0)
210
230
  xpath (~> 3.2)
211
- carrierwave (2.1.1)
231
+ carrierwave (2.2.2)
212
232
  activemodel (>= 5.0.0)
213
233
  activesupport (>= 5.0.0)
214
234
  addressable (~> 2.6)
215
235
  image_processing (~> 1.1)
216
- mimemagic (>= 0.3.0)
236
+ marcel (~> 1.0.0)
217
237
  mini_mime (>= 0.1.3)
218
238
  ssrf_filter (~> 1.0)
219
239
  case_transform (0.2)
220
240
  activesupport
221
241
  childprocess (3.0.0)
222
- ckeditor (4.3.0)
242
+ ckeditor (5.1.1)
223
243
  orm_adapter (~> 0.5.0)
224
- terrapin
225
- climate_control (0.2.0)
226
- closure_tree (7.2.0)
244
+ closure_tree (7.4.0)
227
245
  activerecord (>= 4.2.10)
228
246
  with_advisory_lock (>= 4.0.0)
229
247
  coderay (1.1.3)
230
248
  coercible (1.0.0)
231
249
  descendants_tracker (~> 0.0.1)
232
- combine_pdf (1.0.21)
250
+ combine_pdf (1.0.22)
251
+ matrix
233
252
  ruby-rc4 (>= 0.1.5)
234
- concurrent-ruby (1.1.8)
235
- connection_pool (2.2.3)
253
+ concurrent-ruby (1.1.10)
254
+ connection_pool (2.3.0)
236
255
  crass (1.0.6)
237
- daemons (1.3.1)
256
+ daemons (1.4.1)
238
257
  database_cleaner (1.99.0)
239
258
  database_cleaner-active_record (1.99.0)
240
259
  activerecord
241
260
  database_cleaner (~> 1.99.0)
242
261
  declarative (0.0.20)
243
- declarative-option (0.1.0)
244
262
  descendants_tracker (0.0.4)
245
263
  thread_safe (~> 0.3, >= 0.3.1)
246
- devise (4.7.3)
264
+ devise (4.8.1)
247
265
  bcrypt (~> 3.0)
248
266
  orm_adapter (~> 0.1)
249
267
  railties (>= 4.1.0)
250
268
  responders
251
269
  warden (~> 1.2.3)
252
- diff-lcs (1.4.4)
270
+ diff-lcs (1.5.0)
271
+ docile (1.4.0)
253
272
  domain_name (0.5.20190701)
254
273
  unf (>= 0.0.5, < 1.0.0)
255
- dotenv (2.7.6)
256
- dotenv-rails (2.7.6)
257
- dotenv (= 2.7.6)
274
+ dotenv (2.8.1)
275
+ dotenv-rails (2.8.1)
276
+ dotenv (= 2.8.1)
258
277
  railties (>= 3.2)
259
- elasticsearch (7.11.1)
260
- elasticsearch-api (= 7.11.1)
261
- elasticsearch-transport (= 7.11.1)
262
- elasticsearch-api (7.11.1)
278
+ elasticsearch (7.17.1)
279
+ elasticsearch-api (= 7.17.1)
280
+ elasticsearch-transport (= 7.17.1)
281
+ elasticsearch-api (7.17.1)
263
282
  multi_json
264
- elasticsearch-dsl (0.1.9)
265
- elasticsearch-model (7.1.1)
283
+ elasticsearch-dsl (0.1.10)
284
+ elasticsearch-model (7.2.1)
266
285
  activesupport (> 3)
267
- elasticsearch (> 1)
286
+ elasticsearch (~> 7)
268
287
  hashie
269
- elasticsearch-persistence (7.1.1)
288
+ elasticsearch-persistence (7.2.1)
270
289
  activemodel (> 4)
271
290
  activesupport (> 4)
272
291
  elasticsearch (~> 7)
273
- elasticsearch-model (= 7.1.1)
292
+ elasticsearch-model (= 7.2.1)
274
293
  hashie
275
- elasticsearch-rails (7.1.1)
276
- elasticsearch-transport (7.11.1)
294
+ elasticsearch-rails (7.2.1)
295
+ elasticsearch-transport (7.17.1)
277
296
  faraday (~> 1)
278
297
  multi_json
279
298
  email_spec (2.2.0)
@@ -281,142 +300,156 @@ GEM
281
300
  launchy (~> 2.1)
282
301
  mail (~> 2.7)
283
302
  equalizer (0.0.11)
284
- erubi (1.10.0)
285
- et-orbi (1.2.4)
303
+ erubi (1.11.0)
304
+ et-orbi (1.2.7)
286
305
  tzinfo
287
- excon (0.79.0)
288
- execjs (2.7.0)
306
+ excon (0.92.5)
307
+ execjs (2.8.1)
289
308
  factory_bot (5.2.0)
290
309
  activesupport (>= 4.2.0)
291
- faker (2.16.0)
292
- i18n (>= 1.6, < 2)
293
- faraday (1.3.0)
310
+ faker (2.23.0)
311
+ i18n (>= 1.8.11, < 2)
312
+ faraday (1.10.2)
313
+ faraday-em_http (~> 1.0)
314
+ faraday-em_synchrony (~> 1.0)
315
+ faraday-excon (~> 1.1)
316
+ faraday-httpclient (~> 1.0)
317
+ faraday-multipart (~> 1.0)
294
318
  faraday-net_http (~> 1.0)
295
- multipart-post (>= 1.2, < 3)
296
- ruby2_keywords
319
+ faraday-net_http_persistent (~> 1.0)
320
+ faraday-patron (~> 1.0)
321
+ faraday-rack (~> 1.0)
322
+ faraday-retry (~> 1.0)
323
+ ruby2_keywords (>= 0.0.4)
324
+ faraday-em_http (1.0.0)
325
+ faraday-em_synchrony (1.0.0)
326
+ faraday-excon (1.1.0)
327
+ faraday-httpclient (1.0.1)
328
+ faraday-multipart (1.0.4)
329
+ multipart-post (~> 2)
297
330
  faraday-net_http (1.0.1)
298
- ffi (1.14.2)
299
- fog-aws (3.8.0)
331
+ faraday-net_http_persistent (1.2.0)
332
+ faraday-patron (1.0.0)
333
+ faraday-rack (1.0.0)
334
+ faraday-retry (1.0.3)
335
+ ffi (1.15.5)
336
+ fog-aws (3.15.0)
300
337
  fog-core (~> 2.1)
301
338
  fog-json (~> 1.1)
302
339
  fog-xml (~> 0.1)
303
- ipaddress (~> 0.8)
304
- fog-core (2.2.3)
340
+ fog-core (2.3.0)
305
341
  builder
306
342
  excon (~> 0.71)
307
- formatador (~> 0.2)
343
+ formatador (>= 0.2, < 2.0)
308
344
  mime-types
309
345
  fog-json (1.2.0)
310
346
  fog-core
311
347
  multi_json (~> 1.10)
312
- fog-xml (0.1.3)
348
+ fog-xml (0.1.4)
313
349
  fog-core
314
350
  nokogiri (>= 1.5.11, < 2.0.0)
315
351
  font-awesome-sass (5.15.1)
316
352
  sassc (>= 1.11)
317
- formatador (0.2.5)
353
+ formatador (1.1.0)
318
354
  foundation-rails (6.6.2.0)
319
355
  railties (>= 3.1.0)
320
356
  sass (>= 3.3.0)
321
357
  sprockets-es6 (>= 0.9.0)
322
- fugit (1.4.2)
323
- et-orbi (~> 1.1, >= 1.1.8)
358
+ fugit (1.7.1)
359
+ et-orbi (~> 1, >= 1.2.7)
324
360
  raabro (~> 1.4)
325
361
  gems (1.2.0)
326
- globalid (0.4.2)
327
- activesupport (>= 4.2.0)
362
+ globalid (1.0.0)
363
+ activesupport (>= 5.0)
328
364
  google-api-client (0.53.0)
329
365
  google-apis-core (~> 0.1)
330
366
  google-apis-generator (~> 0.1)
331
- google-apis-core (0.2.1)
367
+ google-apis-core (0.9.0)
332
368
  addressable (~> 2.5, >= 2.5.1)
333
- googleauth (~> 0.14)
334
- httpclient (>= 2.8.1, < 3.0)
369
+ googleauth (>= 0.16.2, < 2.a)
370
+ httpclient (>= 2.8.1, < 3.a)
335
371
  mini_mime (~> 1.0)
336
372
  representable (~> 3.0)
337
- retriable (>= 2.0, < 4.0)
373
+ retriable (>= 2.0, < 4.a)
338
374
  rexml
339
- signet (~> 0.14)
340
375
  webrick
341
- google-apis-discovery_v1 (0.1.0)
342
- google-apis-core (~> 0.1)
343
- google-apis-generator (0.1.2)
376
+ google-apis-discovery_v1 (0.12.0)
377
+ google-apis-core (>= 0.9.0, < 2.a)
378
+ google-apis-generator (0.10.0)
344
379
  activesupport (>= 5.0)
345
380
  gems (~> 1.2)
346
- google-apis-core (~> 0.1)
347
- google-apis-discovery_v1 (~> 0.0)
381
+ google-apis-core (>= 0.9.0, < 2.a)
382
+ google-apis-discovery_v1 (~> 0.5)
348
383
  thor (>= 0.20, < 2.a)
349
- googleauth (0.15.1)
384
+ googleauth (0.17.1)
350
385
  faraday (>= 0.17.3, < 2.0)
351
386
  jwt (>= 1.4, < 3.0)
352
387
  memoist (~> 0.16)
353
388
  multi_json (~> 1.11)
354
389
  os (>= 0.9, < 2.0)
355
- signet (~> 0.14)
356
- hashie (4.1.0)
390
+ signet (~> 0.15)
391
+ hashie (5.0.0)
357
392
  hiredis (0.6.3)
358
393
  htmlentities (4.3.4)
359
394
  http-accept (1.7.0)
360
- http-cookie (1.0.3)
395
+ http-cookie (1.0.5)
361
396
  domain_name (~> 0.5)
362
- httparty (0.18.1)
397
+ httparty (0.20.0)
363
398
  mime-types (~> 3.0)
364
399
  multi_xml (>= 0.5.2)
365
400
  httpclient (2.8.3)
366
- i18n (1.8.8)
401
+ i18n (1.12.0)
367
402
  concurrent-ruby (~> 1.0)
368
403
  ice_nine (0.11.2)
369
- image_processing (1.12.1)
404
+ image_processing (1.12.2)
370
405
  mini_magick (>= 4.9.5, < 5)
371
406
  ruby-vips (>= 2.0.17, < 3)
372
407
  iniparse (1.5.0)
373
- ipaddress (0.8.3)
374
- jbuilder (2.11.2)
408
+ jbuilder (2.11.5)
409
+ actionview (>= 5.0.0)
375
410
  activesupport (>= 5.0.0)
376
- jmespath (1.4.0)
377
- jquery-rails (4.4.0)
411
+ jmespath (1.6.1)
412
+ jquery-rails (4.5.0)
378
413
  rails-dom-testing (>= 1, < 3)
379
414
  railties (>= 4.2.0)
380
415
  thor (>= 0.14, < 2.0)
381
416
  js-routes (1.4.14)
382
417
  railties (>= 4)
383
- json (2.5.1)
418
+ json (2.6.2)
384
419
  jsonapi-renderer (0.2.2)
385
- jwt (2.2.2)
420
+ jwt (2.5.0)
386
421
  launchy (2.5.0)
387
422
  addressable (~> 2.7)
388
- loofah (2.9.0)
423
+ loofah (2.19.0)
389
424
  crass (~> 1.0.2)
390
425
  nokogiri (>= 1.5.9)
391
- lt-google-api (0.2.2)
426
+ lt-google-api (0.2.4)
392
427
  google-api-client (~> 0.46)
393
428
  googleauth (~> 0.14)
394
- lt-lcms (0.4.1)
429
+ lt-lcms (0.4.4)
395
430
  google-api-client (~> 0.38)
396
431
  httparty (~> 0.18)
397
- lt-google-api (~> 0.2, >= 0.2.1)
432
+ lt-google-api (~> 0.2, >= 0.2.4)
398
433
  nokogiri (~> 1.10, >= 1.10.8)
399
434
  rubyzip (~> 2)
400
435
  mail (2.7.1)
401
436
  mini_mime (>= 0.1.1)
402
- marcel (0.3.3)
403
- mimemagic (~> 0.3.2)
437
+ marcel (1.0.2)
438
+ matrix (0.4.2)
404
439
  memoist (0.16.2)
405
440
  method_source (1.0.0)
406
441
  migration_data (0.6.0)
407
- mime-types (3.3.1)
442
+ mime-types (3.4.1)
408
443
  mime-types-data (~> 3.2015)
409
- mime-types-data (3.2020.1104)
410
- mimemagic (0.3.5)
444
+ mime-types-data (3.2022.0105)
411
445
  mini_magick (4.11.0)
412
- mini_mime (1.0.2)
413
- mini_portile2 (2.5.0)
414
- minitest (5.14.3)
415
- mono_logger (1.1.0)
446
+ mini_mime (1.1.2)
447
+ minitest (5.16.3)
448
+ mono_logger (1.1.1)
416
449
  multi_json (1.15.0)
417
450
  multi_xml (0.6.0)
418
- multipart-post (2.1.1)
419
- mustermann (1.1.1)
451
+ multipart-post (2.2.3)
452
+ mustermann (3.0.0)
420
453
  ruby2_keywords (~> 0.0.1)
421
454
  nested_form (0.3.2)
422
455
  netrc (0.11.0)
@@ -424,162 +457,167 @@ GEM
424
457
  activesupport
425
458
  nokogiri
426
459
  tzinfo
427
- nio4r (2.5.5)
428
- nokogiri (1.11.1)
429
- mini_portile2 (~> 2.5.0)
460
+ nio4r (2.5.8)
461
+ nokogiri (1.13.8-x86_64-linux)
430
462
  racc (~> 1.4)
431
- nokogumbo (2.0.4)
463
+ nokogumbo (2.0.5)
432
464
  nokogiri (~> 1.8, >= 1.8.4)
433
- oauth2 (1.4.4)
434
- faraday (>= 0.8, < 2.0)
465
+ oauth2 (1.4.11)
466
+ faraday (>= 0.17.3, < 3.0)
435
467
  jwt (>= 1.0, < 3.0)
436
468
  multi_json (~> 1.3)
437
469
  multi_xml (~> 0.5)
438
- rack (>= 1.2, < 3)
439
- oj (3.11.2)
470
+ rack (>= 1.2, < 4)
471
+ oj (3.13.21)
440
472
  oj_mimic_json (1.0.1)
441
473
  orm_adapter (0.5.0)
442
- os (1.1.1)
443
- overcommit (0.57.0)
474
+ os (1.1.4)
475
+ overcommit (0.59.1)
444
476
  childprocess (>= 0.6.3, < 5)
445
477
  iniparse (~> 1.4)
446
- pandoc-ruby (2.1.4)
447
- parallel (1.20.1)
448
- parser (3.0.0.0)
478
+ rexml (~> 3.2)
479
+ pandoc-ruby (2.1.6)
480
+ parallel (1.22.1)
481
+ parser (3.1.2.1)
449
482
  ast (~> 2.4.1)
450
- pdfjs_viewer-rails (0.3.1)
483
+ pdfjs_viewer-rails (0.3.2)
451
484
  json (> 1.8.4)
452
485
  rails (> 4.2.0)
453
- sass-rails (~> 5.0)
454
- pg (1.2.3)
455
- pg_search (2.3.5)
486
+ sassc-rails (>= 2.1)
487
+ pg (1.4.3)
488
+ pg_search (2.3.6)
456
489
  activerecord (>= 5.2)
457
490
  activesupport (>= 5.2)
458
- pry (0.13.1)
491
+ pry (0.14.1)
459
492
  coderay (~> 1.1)
460
493
  method_source (~> 1.0)
461
- pry-byebug (3.9.0)
494
+ pry-byebug (3.10.1)
462
495
  byebug (~> 11.0)
463
- pry (~> 0.13.0)
496
+ pry (>= 0.13, < 0.15)
464
497
  pry-rails (0.3.9)
465
498
  pry (>= 0.10.4)
466
- public_suffix (4.0.6)
499
+ psych (4.0.6)
500
+ stringio
501
+ public_suffix (5.0.0)
467
502
  raabro (1.4.0)
468
- racc (1.5.2)
469
- rack (2.2.3)
470
- rack-mini-profiler (1.1.6)
503
+ racc (1.6.0)
504
+ rack (2.2.4)
505
+ rack-mini-profiler (2.3.4)
471
506
  rack (>= 1.2.0)
472
- rack-protection (2.1.0)
507
+ rack-protection (3.0.1)
473
508
  rack
474
- rack-proxy (0.6.5)
509
+ rack-proxy (0.7.4)
475
510
  rack
476
- rack-test (1.1.0)
477
- rack (>= 1.0, < 3)
478
- rails (5.2.4.5)
479
- actioncable (= 5.2.4.5)
480
- actionmailer (= 5.2.4.5)
481
- actionpack (= 5.2.4.5)
482
- actionview (= 5.2.4.5)
483
- activejob (= 5.2.4.5)
484
- activemodel (= 5.2.4.5)
485
- activerecord (= 5.2.4.5)
486
- activestorage (= 5.2.4.5)
487
- activesupport (= 5.2.4.5)
488
- bundler (>= 1.3.0)
489
- railties (= 5.2.4.5)
511
+ rack-test (2.0.2)
512
+ rack (>= 1.3)
513
+ rails (6.1.7)
514
+ actioncable (= 6.1.7)
515
+ actionmailbox (= 6.1.7)
516
+ actionmailer (= 6.1.7)
517
+ actionpack (= 6.1.7)
518
+ actiontext (= 6.1.7)
519
+ actionview (= 6.1.7)
520
+ activejob (= 6.1.7)
521
+ activemodel (= 6.1.7)
522
+ activerecord (= 6.1.7)
523
+ activestorage (= 6.1.7)
524
+ activesupport (= 6.1.7)
525
+ bundler (>= 1.15.0)
526
+ railties (= 6.1.7)
490
527
  sprockets-rails (>= 2.0.0)
491
528
  rails-dom-testing (2.0.3)
492
529
  activesupport (>= 4.2.0)
493
530
  nokogiri (>= 1.6)
494
- rails-html-sanitizer (1.3.0)
531
+ rails-html-sanitizer (1.4.3)
495
532
  loofah (~> 2.3)
496
- railties (5.2.4.5)
497
- actionpack (= 5.2.4.5)
498
- activesupport (= 5.2.4.5)
533
+ railties (6.1.7)
534
+ actionpack (= 6.1.7)
535
+ activesupport (= 6.1.7)
499
536
  method_source
500
- rake (>= 0.8.7)
501
- thor (>= 0.19.0, < 2.0)
502
- rainbow (3.0.0)
503
- rake (13.0.3)
504
- ransack (2.4.2)
505
- activerecord (>= 5.2.4)
506
- activesupport (>= 5.2.4)
537
+ rake (>= 12.2)
538
+ thor (~> 1.0)
539
+ rainbow (3.1.1)
540
+ rake (13.0.6)
541
+ ransack (2.6.0)
542
+ activerecord (>= 6.0.4)
543
+ activesupport (>= 6.0.4)
507
544
  i18n
508
- rb-fsevent (0.10.4)
545
+ rb-fsevent (0.11.2)
509
546
  rb-inotify (0.10.1)
510
547
  ffi (~> 1.0)
511
- rbtree3 (0.6.0)
512
- rdoc (6.3.0)
513
- react-rails (2.6.1)
548
+ rbtree3 (0.7.0)
549
+ rdoc (6.4.0)
550
+ psych (>= 4.0.0)
551
+ react-rails (2.6.2)
514
552
  babel-transpiler (>= 0.7.0)
515
553
  connection_pool
516
554
  execjs
517
555
  railties (>= 3.2)
518
556
  tilt
519
- redis (4.2.5)
520
- redis-namespace (1.8.1)
521
- redis (>= 3.0.4)
522
- regexp_parser (2.0.3)
523
- representable (3.0.4)
557
+ redis (4.8.0)
558
+ redis-namespace (1.9.0)
559
+ redis (>= 4)
560
+ regexp_parser (2.6.0)
561
+ representable (3.2.0)
524
562
  declarative (< 0.1.0)
525
- declarative-option (< 0.2.0)
563
+ trailblazer-option (>= 0.1.1, < 0.2.0)
526
564
  uber (< 0.2.0)
527
565
  responders (3.0.1)
528
566
  actionpack (>= 5.0)
529
567
  railties (>= 5.0)
530
- resque (2.0.0)
568
+ resque (2.4.0)
531
569
  mono_logger (~> 1.0)
532
570
  multi_json (~> 1.0)
533
571
  redis-namespace (~> 1.6)
534
572
  sinatra (>= 0.9.2)
535
- vegas (~> 0.1.2)
536
- resque-scheduler (4.4.0)
573
+ resque-scheduler (4.6.0)
537
574
  mono_logger (~> 1.0)
538
575
  redis (>= 3.3)
539
- resque (>= 1.26)
540
- rufus-scheduler (~> 3.2)
576
+ resque (>= 1.27)
577
+ rufus-scheduler (~> 3.2, != 3.3)
541
578
  rest-client (2.1.0)
542
579
  http-accept (>= 1.7.0, < 2.0)
543
580
  http-cookie (>= 1.0.2, < 2.0)
544
581
  mime-types (>= 1.16, < 4.0)
545
582
  netrc (~> 0.8)
546
583
  retriable (3.1.2)
547
- rexml (3.2.4)
548
- rspec-core (3.9.3)
549
- rspec-support (~> 3.9.3)
550
- rspec-expectations (3.9.4)
584
+ rexml (3.2.5)
585
+ rspec-core (3.11.0)
586
+ rspec-support (~> 3.11.0)
587
+ rspec-expectations (3.11.1)
551
588
  diff-lcs (>= 1.2.0, < 2.0)
552
- rspec-support (~> 3.9.0)
553
- rspec-mocks (3.9.1)
589
+ rspec-support (~> 3.11.0)
590
+ rspec-mocks (3.11.1)
554
591
  diff-lcs (>= 1.2.0, < 2.0)
555
- rspec-support (~> 3.9.0)
556
- rspec-rails (3.9.1)
557
- actionpack (>= 3.0)
558
- activesupport (>= 3.0)
559
- railties (>= 3.0)
560
- rspec-core (~> 3.9.0)
561
- rspec-expectations (~> 3.9.0)
562
- rspec-mocks (~> 3.9.0)
563
- rspec-support (~> 3.9.0)
564
- rspec-support (3.9.4)
565
- rubocop (0.93.1)
592
+ rspec-support (~> 3.11.0)
593
+ rspec-rails (4.0.2)
594
+ actionpack (>= 4.2)
595
+ activesupport (>= 4.2)
596
+ railties (>= 4.2)
597
+ rspec-core (~> 3.10)
598
+ rspec-expectations (~> 3.10)
599
+ rspec-mocks (~> 3.10)
600
+ rspec-support (~> 3.10)
601
+ rspec-support (3.11.1)
602
+ rubocop (1.36.0)
603
+ json (~> 2.3)
566
604
  parallel (~> 1.10)
567
- parser (>= 2.7.1.5)
605
+ parser (>= 3.1.2.1)
568
606
  rainbow (>= 2.2.2, < 4.0)
569
- regexp_parser (>= 1.8)
570
- rexml
571
- rubocop-ast (>= 0.6.0)
607
+ regexp_parser (>= 1.8, < 3.0)
608
+ rexml (>= 3.2.5, < 4.0)
609
+ rubocop-ast (>= 1.20.1, < 2.0)
572
610
  ruby-progressbar (~> 1.7)
573
- unicode-display_width (>= 1.4.0, < 2.0)
574
- rubocop-ast (1.4.1)
575
- parser (>= 2.7.1.5)
611
+ unicode-display_width (>= 1.4.0, < 3.0)
612
+ rubocop-ast (1.21.0)
613
+ parser (>= 3.1.1.0)
576
614
  ruby-progressbar (1.11.0)
577
615
  ruby-rc4 (0.1.5)
578
- ruby-vips (2.0.17)
579
- ffi (~> 1.9)
580
- ruby2_keywords (0.0.4)
581
- rubyzip (2.3.0)
582
- rufus-scheduler (3.7.0)
616
+ ruby-vips (2.1.4)
617
+ ffi (~> 1.12)
618
+ ruby2_keywords (0.0.5)
619
+ rubyzip (2.3.2)
620
+ rufus-scheduler (3.8.2)
583
621
  fugit (~> 1.1, >= 1.1.6)
584
622
  safe_attributes (1.0.10)
585
623
  activerecord (>= 3.0.0)
@@ -592,76 +630,82 @@ GEM
592
630
  sass-listen (4.0.0)
593
631
  rb-fsevent (~> 0.9, >= 0.9.4)
594
632
  rb-inotify (~> 0.9, >= 0.9.7)
595
- sass-rails (5.1.0)
596
- railties (>= 5.2.0)
597
- sass (~> 3.1)
598
- sprockets (>= 2.8, < 4.0)
599
- sprockets-rails (>= 2.0, < 4.0)
600
- tilt (>= 1.1, < 3)
633
+ sass-rails (6.0.0)
634
+ sassc-rails (~> 2.1, >= 2.1.1)
601
635
  sassc (2.4.0)
602
636
  ffi (~> 1.9)
603
- sdoc (2.0.3)
637
+ sassc-rails (2.1.2)
638
+ railties (>= 4.0.0)
639
+ sassc (>= 2.0)
640
+ sprockets (> 3.0)
641
+ sprockets-rails
642
+ tilt
643
+ sdoc (2.4.0)
604
644
  rdoc (>= 5.0)
605
645
  seedbank (0.5.0)
606
646
  rake (>= 10.0)
607
647
  selenium-webdriver (3.142.7)
608
648
  childprocess (>= 0.5, < 4.0)
609
649
  rubyzip (>= 1.2.2)
650
+ semantic_range (3.0.0)
610
651
  shoulda-matchers (4.5.1)
611
652
  activesupport (>= 4.2.0)
612
- signet (0.14.1)
613
- addressable (~> 2.3)
614
- faraday (>= 0.17.3, < 2.0)
653
+ signet (0.17.0)
654
+ addressable (~> 2.8)
655
+ faraday (>= 0.17.5, < 3.a)
615
656
  jwt (>= 1.5, < 3.0)
616
657
  multi_json (~> 1.10)
617
658
  simple_form (5.1.0)
618
659
  actionpack (>= 5.2)
619
660
  activemodel (>= 5.2)
620
- sinatra (2.1.0)
621
- mustermann (~> 1.0)
622
- rack (~> 2.2)
623
- rack-protection (= 2.1.0)
661
+ simplecov (0.17.1)
662
+ docile (~> 1.1)
663
+ json (>= 1.8, < 3)
664
+ simplecov-html (~> 0.10.0)
665
+ simplecov-html (0.10.2)
666
+ sinatra (3.0.1)
667
+ mustermann (~> 3.0)
668
+ rack (~> 2.2, >= 2.2.4)
669
+ rack-protection (= 3.0.1)
624
670
  tilt (~> 2.0)
625
671
  spring (2.1.1)
626
672
  spring-commands-rspec (1.0.4)
627
673
  spring (>= 0.9.1)
628
- sprockets (3.7.2)
674
+ sprockets (4.1.1)
629
675
  concurrent-ruby (~> 1.0)
630
676
  rack (> 1, < 3)
631
677
  sprockets-es6 (0.9.2)
632
678
  babel-source (>= 5.8.11)
633
679
  babel-transpiler
634
680
  sprockets (>= 3.0.0)
635
- sprockets-rails (3.2.2)
636
- actionpack (>= 4.0)
637
- activesupport (>= 4.0)
681
+ sprockets-rails (3.4.2)
682
+ actionpack (>= 5.2)
683
+ activesupport (>= 5.2)
638
684
  sprockets (>= 3.0.0)
639
- ssrf_filter (1.0.7)
685
+ ssrf_filter (1.1.1)
640
686
  staccato (0.5.3)
641
- terrapin (0.6.0)
642
- climate_control (>= 0.0.3, < 1.0)
643
- thor (1.1.0)
687
+ stringio (3.0.2)
688
+ thor (1.2.1)
644
689
  thread_safe (0.3.6)
645
- tilt (2.0.10)
690
+ tilt (2.0.11)
646
691
  traceroute (0.8.1)
647
692
  rails (>= 3.0.0)
693
+ trailblazer-option (0.1.2)
648
694
  truncate_html (0.9.3)
649
695
  turbolinks (5.2.1)
650
696
  turbolinks-source (~> 5.2)
651
697
  turbolinks-source (5.2.0)
652
- tzinfo (1.2.9)
653
- thread_safe (~> 0.1)
698
+ tzinfo (2.0.5)
699
+ concurrent-ruby (~> 1.0)
654
700
  uber (0.1.0)
655
701
  unf (0.1.4)
656
702
  unf_ext
657
- unf_ext (0.0.7.7)
658
- unicode-display_width (1.7.0)
659
- uniform_notifier (1.13.2)
660
- validate_url (1.0.13)
703
+ unf_ext (0.0.8.2)
704
+ unicode-display_width (2.3.0)
705
+ uniform_notifier (1.16.0)
706
+ validate_url (1.0.15)
661
707
  activemodel (>= 3.0.0)
662
708
  public_suffix
663
- vegas (0.1.11)
664
- rack (>= 1.0.0)
665
709
  virtus (1.0.5)
666
710
  axiom-types (~> 0.1)
667
711
  coercible (~> 1.0)
@@ -669,53 +713,56 @@ GEM
669
713
  equalizer (~> 0.0, >= 0.0.9)
670
714
  warden (1.2.9)
671
715
  rack (>= 2.0.9)
672
- webdrivers (4.5.0)
716
+ webdrivers (4.7.0)
673
717
  nokogiri (~> 1.6)
674
718
  rubyzip (>= 1.3.0)
675
- selenium-webdriver (>= 3.0, < 4.0)
676
- webpacker (4.3.0)
677
- activesupport (>= 4.2)
719
+ selenium-webdriver (> 3.141, < 5.0)
720
+ webpacker (5.4.3)
721
+ activesupport (>= 5.2)
678
722
  rack-proxy (>= 0.6.1)
679
- railties (>= 4.2)
723
+ railties (>= 5.2)
724
+ semantic_range (>= 2.3.0)
680
725
  webrick (1.7.0)
681
- websocket-driver (0.7.3)
726
+ websocket-driver (0.7.5)
682
727
  websocket-extensions (>= 0.1.0)
683
728
  websocket-extensions (0.1.5)
684
- will_paginate (3.3.0)
729
+ will_paginate (3.3.1)
685
730
  will_paginate-bootstrap (1.0.2)
686
731
  will_paginate (>= 3.0.3)
687
732
  with_advisory_lock (4.6.0)
688
733
  activerecord (>= 4.2)
689
734
  xpath (3.2.0)
690
735
  nokogiri (~> 1.8)
736
+ zeitwerk (2.6.0)
691
737
 
692
738
  PLATFORMS
693
- ruby
739
+ x86_64-linux
694
740
 
695
741
  DEPENDENCIES
696
742
  capybara (~> 3.31)
697
743
  database_cleaner-active_record (~> 1.8)
698
744
  dotenv-rails (~> 2.2)
699
- email_spec (~> 2.1)
745
+ email_spec (= 2.2.0)
700
746
  factory_bot (~> 5)
701
747
  faker (~> 2.1)
702
748
  lcms-engine!
703
749
  overcommit (~> 0.57)
704
750
  pry-byebug (~> 3.7)
705
751
  pry-rails (~> 0.3.5)
706
- rspec-rails (~> 3.8)
707
- rubocop (~> 0.93.1)
752
+ rspec-rails (~> 4.0.2)
753
+ rubocop (~> 1.17)
708
754
  safe_attributes (~> 1.0.10)
709
755
  sdoc (~> 2)
710
756
  seedbank (~> 0.3)
711
757
  selenium-webdriver (~> 3.142, >= 3.142.7)
712
758
  shoulda-matchers (~> 4.1)
759
+ simplecov (< 0.18)
713
760
  spring (~> 2.1)
714
761
  spring-commands-rspec (~> 1.0)
715
762
  traceroute (~> 0.8)
716
763
  webdrivers (~> 4.0)
717
- webpacker (~> 4.0)
764
+ webpacker (~> 5.0)
718
765
  wicked_pdf!
719
766
 
720
767
  BUNDLED WITH
721
- 1.17.3
768
+ 2.3.7