blacklight-spotlight 0.3.1 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (823) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +33 -48
  3. data/Rakefile +43 -2
  4. data/app/assets/images/spotlight/blocks/browse-on.png +0 -0
  5. data/app/assets/images/spotlight/blocks/browse.png +0 -0
  6. data/app/assets/images/spotlight/blocks/features-on.png +0 -0
  7. data/app/assets/images/spotlight/blocks/features.png +0 -0
  8. data/app/assets/images/spotlight/blocks/item-carousel-on.png +0 -0
  9. data/app/assets/images/spotlight/blocks/item-carousel.png +0 -0
  10. data/app/assets/images/spotlight/blocks/item-embed-on.png +0 -0
  11. data/app/assets/images/spotlight/blocks/item-embed.png +0 -0
  12. data/app/assets/images/spotlight/blocks/item-grid-on.png +0 -0
  13. data/app/assets/images/spotlight/blocks/item-grid.png +0 -0
  14. data/app/assets/images/spotlight/blocks/item-row-on.png +0 -0
  15. data/app/assets/images/spotlight/blocks/item-row.png +0 -0
  16. data/app/assets/images/spotlight/blocks/item-slideshow-on.png +0 -0
  17. data/app/assets/images/spotlight/blocks/item-slideshow.png +0 -0
  18. data/app/assets/images/spotlight/blocks/results-on.png +0 -0
  19. data/app/assets/images/spotlight/blocks/results.png +0 -0
  20. data/app/assets/images/spotlight/blocks/rule-on.png +0 -0
  21. data/app/assets/images/spotlight/blocks/rule.png +0 -0
  22. data/app/assets/images/spotlight/blocks/text-on.png +0 -0
  23. data/app/assets/images/spotlight/blocks/text.png +0 -0
  24. data/app/assets/javascripts/spotlight/application.js +1 -0
  25. data/app/assets/javascripts/spotlight/blacklight_configuration.js +0 -32
  26. data/app/assets/javascripts/spotlight/block_mixins/autocompleteable.js +65 -0
  27. data/app/assets/javascripts/spotlight/block_mixins/formable.js +72 -0
  28. data/app/assets/javascripts/spotlight/block_mixins/previewable.js +103 -0
  29. data/app/assets/javascripts/spotlight/block_mixins/textable.js +57 -0
  30. data/app/assets/javascripts/spotlight/block_mixins/titleable.js +12 -0
  31. data/app/assets/javascripts/spotlight/blocks/block.js +8 -121
  32. data/app/assets/javascripts/spotlight/blocks/browse_block.js +21 -0
  33. data/app/assets/javascripts/spotlight/blocks/iframe_block.js +34 -0
  34. data/app/assets/javascripts/spotlight/blocks/oembed_block.js +12 -28
  35. data/app/assets/javascripts/spotlight/blocks/pages_block.js +14 -0
  36. data/app/assets/javascripts/spotlight/blocks/resources_block.js +136 -0
  37. data/app/assets/javascripts/spotlight/blocks/rule_block.js +9 -3
  38. data/app/assets/javascripts/spotlight/blocks/search_result_block.js +40 -133
  39. data/app/assets/javascripts/spotlight/blocks/solr_documents_block.js +69 -0
  40. data/app/assets/javascripts/spotlight/blocks/solr_documents_carousel_block.js +103 -0
  41. data/app/assets/javascripts/spotlight/blocks/solr_documents_embed_block.js +17 -0
  42. data/app/assets/javascripts/spotlight/blocks/solr_documents_features_block.js +41 -0
  43. data/app/assets/javascripts/spotlight/blocks/solr_documents_grid_block.js +14 -0
  44. data/app/assets/javascripts/spotlight/croppable.js +23 -1
  45. data/app/assets/javascripts/spotlight/edit_in_place.js +47 -0
  46. data/app/assets/javascripts/spotlight/multi_image_selector.js +11 -8
  47. data/app/assets/javascripts/spotlight/pages.js +3 -104
  48. data/app/assets/javascripts/spotlight/search_typeahead.js +53 -60
  49. data/app/assets/javascripts/spotlight/select_related_input.js +15 -2
  50. data/app/assets/javascripts/spotlight/sir-trevor.js +7 -0
  51. data/app/assets/javascripts/spotlight/sir-trevor/block_limits.js +42 -0
  52. data/app/assets/javascripts/spotlight/sir-trevor/grouped_block_controls.js +33 -0
  53. data/app/assets/javascripts/spotlight/sir-trevor/locales.js +101 -0
  54. data/app/assets/javascripts/spotlight/spotlight_nestable.js +3 -2
  55. data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +0 -4
  56. data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +20 -0
  57. data/app/assets/stylesheets/spotlight/_browse.scss +91 -3
  58. data/app/assets/stylesheets/spotlight/_catalog.scss +28 -18
  59. data/app/assets/stylesheets/spotlight/_croppable.scss +16 -0
  60. data/app/assets/stylesheets/spotlight/_curation.scss +13 -7
  61. data/app/assets/stylesheets/spotlight/_header.scss +64 -5
  62. data/app/assets/stylesheets/spotlight/_pages.scss +65 -149
  63. data/app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss +182 -1
  64. data/app/assets/stylesheets/spotlight/_slideshow_block.scss +63 -65
  65. data/app/assets/stylesheets/spotlight/_spotlight.scss +1 -0
  66. data/app/assets/stylesheets/spotlight/_variables.scss +2 -0
  67. data/app/assets/stylesheets/spotlight/typeahead.css +1 -0
  68. data/app/controllers/spotlight/appearances_controller.rb +7 -2
  69. data/app/controllers/spotlight/blacklight_configurations_controller.rb +3 -3
  70. data/app/controllers/spotlight/browse_controller.rb +8 -0
  71. data/app/controllers/spotlight/catalog_controller.rb +24 -18
  72. data/app/controllers/spotlight/custom_fields_controller.rb +2 -1
  73. data/app/controllers/spotlight/dashboards_controller.rb +6 -5
  74. data/app/controllers/spotlight/exhibits_controller.rb +7 -9
  75. data/app/controllers/spotlight/home_pages_controller.rb +1 -1
  76. data/app/controllers/spotlight/pages_controller.rb +15 -3
  77. data/app/controllers/spotlight/resources/upload_controller.rb +8 -1
  78. data/app/controllers/spotlight/searches_controller.rb +21 -5
  79. data/app/controllers/spotlight/solr_controller.rb +19 -0
  80. data/app/forms/spotlight/appearance.rb +18 -4
  81. data/app/helpers/spotlight/application_helper.rb +10 -2
  82. data/app/helpers/spotlight/jcrop_helper.rb +14 -1
  83. data/app/helpers/spotlight/main_app_helpers.rb +1 -0
  84. data/app/helpers/spotlight/navbar_helper.rb +7 -0
  85. data/app/helpers/spotlight/pages_helper.rb +8 -40
  86. data/app/jobs/spotlight/add_uploads_from_csv.rb +10 -1
  87. data/app/jobs/spotlight/rename_sidecar_field_job.rb +16 -0
  88. data/app/jobs/spotlight/set_default_thumbnail_job.rb +16 -0
  89. data/app/models/concerns/spotlight/solr_document.rb +7 -4
  90. data/app/models/concerns/spotlight/solr_document/finder.rb +5 -19
  91. data/app/models/concerns/spotlight/solr_document/spotlight_images.rb +12 -1
  92. data/app/models/concerns/spotlight/solr_document/uploaded_resource.rb +10 -0
  93. data/app/models/sir_trevor_rails/blocks/browse_block.rb +39 -0
  94. data/app/models/sir_trevor_rails/blocks/featured_pages_block.rb +25 -0
  95. data/app/models/sir_trevor_rails/blocks/oembed_block.rb +1 -4
  96. data/app/models/sir_trevor_rails/blocks/search_results_block.rb +20 -6
  97. data/app/models/sir_trevor_rails/blocks/solr_documents_block.rb +56 -0
  98. data/app/models/sir_trevor_rails/blocks/solr_documents_carousel_block.rb +16 -0
  99. data/app/models/sir_trevor_rails/blocks/solr_documents_embed_block.rb +4 -0
  100. data/app/models/sir_trevor_rails/blocks/solr_documents_features_block.rb +4 -0
  101. data/app/models/sir_trevor_rails/blocks/solr_documents_grid_block.rb +4 -0
  102. data/app/models/sir_trevor_rails/blocks/textable.rb +26 -0
  103. data/app/models/spotlight/blacklight_configuration.rb +44 -6
  104. data/app/models/spotlight/contact.rb +5 -1
  105. data/app/models/spotlight/custom_field.rb +40 -5
  106. data/app/models/spotlight/exhibit.rb +8 -5
  107. data/app/models/spotlight/feature_page.rb +7 -0
  108. data/app/models/spotlight/featured_image.rb +38 -0
  109. data/app/models/spotlight/home_page.rb +0 -13
  110. data/app/models/spotlight/main_navigation.rb +1 -0
  111. data/app/models/spotlight/masthead.rb +14 -12
  112. data/app/models/spotlight/page.rb +10 -2
  113. data/app/models/spotlight/resource.rb +10 -7
  114. data/app/models/spotlight/resources/csv.rb +3 -3
  115. data/app/models/spotlight/resources/upload.rb +29 -33
  116. data/app/models/spotlight/search.rb +35 -27
  117. data/app/models/spotlight/solr_document_sidecar.rb +21 -2
  118. data/app/uploaders/spotlight/attachment_uploader.rb +1 -3
  119. data/app/uploaders/spotlight/avatar_uploader.rb +1 -1
  120. data/app/uploaders/spotlight/csv_uploader.rb +1 -3
  121. data/app/uploaders/spotlight/featured_image_uploader.rb +10 -1
  122. data/app/uploaders/spotlight/item_uploader.rb +1 -1
  123. data/app/uploaders/spotlight/masthead_uploader.rb +2 -2
  124. data/app/views/_user_util_links.html.erb +21 -8
  125. data/app/views/shared/_breadcrumbs.html.erb +3 -0
  126. data/app/views/shared/_exhibit_masthead.html.erb +15 -8
  127. data/app/views/shared/_exhibit_navbar.html.erb +6 -6
  128. data/app/views/shared/_header_navbar.html.erb +7 -3
  129. data/app/views/spotlight/about_pages/_empty.html.erb +26 -0
  130. data/app/views/spotlight/about_pages/_page_options.html.erb +1 -1
  131. data/app/views/spotlight/appearances/edit.html.erb +36 -37
  132. data/app/views/spotlight/blacklight_configurations/_metadata_field.html.erb +16 -0
  133. data/app/views/spotlight/blacklight_configurations/edit_facet_fields.html.erb +2 -2
  134. data/app/views/spotlight/blacklight_configurations/edit_metadata_fields.html.erb +2 -17
  135. data/app/views/spotlight/blacklight_configurations/edit_sort_fields.html.erb +54 -53
  136. data/app/views/spotlight/browse/_search.html.erb +12 -16
  137. data/app/views/spotlight/browse/_search_title.html.erb +2 -0
  138. data/app/views/spotlight/browse/index.html.erb +4 -2
  139. data/app/views/spotlight/browse/show.html.erb +16 -10
  140. data/app/views/spotlight/catalog/_admin_header.html.erb +5 -2
  141. data/app/views/spotlight/catalog/_admin_index_header_default.html.erb +19 -7
  142. data/app/views/spotlight/catalog/_edit_default.html.erb +20 -8
  143. data/app/views/spotlight/catalog/_index_compact_default.html.erb +18 -18
  144. data/app/views/spotlight/contacts/_form.html.erb +1 -1
  145. data/app/views/spotlight/custom_fields/_form.html.erb +6 -0
  146. data/app/views/spotlight/dashboards/_solr_document_activity.html.erb +5 -1
  147. data/app/views/spotlight/exhibits/_delete.html.erb +9 -0
  148. data/app/views/spotlight/exhibits/_export.html.erb +8 -0
  149. data/app/views/spotlight/exhibits/_form.html.erb +0 -4
  150. data/app/views/spotlight/exhibits/_import.html.erb +15 -0
  151. data/app/views/spotlight/exhibits/edit.html.erb +28 -6
  152. data/app/views/spotlight/feature_pages/_empty.html.erb +26 -0
  153. data/app/views/spotlight/feature_pages/_page_options.html.erb +2 -2
  154. data/app/views/spotlight/featured_images/_form.html.erb +32 -0
  155. data/app/views/spotlight/home_pages/_empty.html.erb +35 -0
  156. data/app/views/spotlight/home_pages/_page_options.html.erb +2 -7
  157. data/{spec/internal/app/assets/stylesheets/blacklight_oembed.css.scss → app/views/spotlight/pages/_empty.html.erb} +0 -0
  158. data/app/views/spotlight/pages/_form.html.erb +51 -21
  159. data/app/views/spotlight/pages/_page.html.erb +1 -1
  160. data/app/views/spotlight/pages/show.html.erb +5 -1
  161. data/app/views/spotlight/resources/upload/new.html.erb +12 -12
  162. data/app/views/spotlight/searches/_form.html.erb +62 -0
  163. data/app/views/spotlight/searches/_search.html.erb +4 -4
  164. data/app/views/spotlight/searches/edit.html.erb +1 -20
  165. data/app/views/spotlight/shared/_admin_sidebar.html.erb +12 -15
  166. data/app/views/spotlight/sir_trevor/blocks/_browse_block.html.erb +23 -0
  167. data/app/views/spotlight/sir_trevor/blocks/_featured_pages_block.html.erb +17 -0
  168. data/app/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb +1 -0
  169. data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +7 -3
  170. data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +12 -1
  171. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +37 -0
  172. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +48 -0
  173. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +22 -0
  174. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +40 -0
  175. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +21 -0
  176. data/config/locales/spotlight.en.yml +58 -30
  177. data/config/routes.rb +2 -3
  178. data/db/migrate/20150304071512_add_spotlight_featured_images.rb +16 -0
  179. data/db/migrate/20150304111111_add_featured_image_to_spotlight_classes.rb +10 -0
  180. data/db/migrate/20150306202300_add_display_to_spotlight_main_navigations.rb +11 -0
  181. data/db/migrate/20150313175432_add_field_type_to_custom_fields.rb +11 -0
  182. data/lib/generators/spotlight/install_generator.rb +10 -1
  183. data/lib/generators/spotlight/templates/catalog_controller.rb +27 -0
  184. data/lib/generators/spotlight/templates/jetty.rake +13 -0
  185. data/lib/generators/spotlight/templates/solr_conf/conf/schema.xml +159 -0
  186. data/lib/generators/spotlight/templates/solr_conf/conf/solrconfig.xml +87 -0
  187. data/lib/spotlight/base.rb +2 -0
  188. data/lib/spotlight/catalog/access_controls_enforcement.rb +6 -2
  189. data/lib/spotlight/controller.rb +20 -1
  190. data/lib/spotlight/engine.rb +21 -10
  191. data/lib/spotlight/version.rb +1 -1
  192. data/lib/tasks/spotlight_tasks.rake +4 -4
  193. data/spec/controllers/spotlight/blacklight_configurations_controller_spec.rb +1 -1
  194. data/spec/controllers/spotlight/browse_controller_spec.rb +16 -0
  195. data/spec/controllers/spotlight/catalog_controller_spec.rb +41 -3
  196. data/spec/controllers/spotlight/dashboards_controller_spec.rb +6 -1
  197. data/spec/controllers/spotlight/exhibits_controller_spec.rb +0 -14
  198. data/spec/controllers/spotlight/resources/upload_controller_spec.rb +11 -0
  199. data/spec/controllers/spotlight/searches_controller_spec.rb +14 -9
  200. data/spec/controllers/spotlight/solr_controller_spec.rb +63 -0
  201. data/spec/factories/exhibits.rb +1 -0
  202. data/spec/factories/searches.rb +11 -1
  203. data/spec/features/add_custom_field_metadata_spec.rb +23 -0
  204. data/spec/features/browse_category_admin_spec.rb +42 -0
  205. data/spec/features/catalog_spec.rb +2 -2
  206. data/spec/features/create_exhibit_spec.rb +6 -16
  207. data/spec/features/exhibits/add_tags_spec.rb +4 -4
  208. data/spec/features/exhibits/custom_metadata_fields_spec.rb +21 -0
  209. data/spec/features/feature_page_spec.rb +0 -1
  210. data/spec/features/import_exhibit_spec.rb +22 -13
  211. data/spec/features/javascript/about_page_admin_spec.rb +0 -1
  212. data/spec/features/javascript/block_controls_spec.rb +1 -2
  213. data/spec/features/javascript/blocks/featured_browse_categories_block_spec.rb +37 -0
  214. data/spec/features/javascript/blocks/featured_pages_block_spec.rb +33 -0
  215. data/spec/features/javascript/blocks/search_result_block_spec.rb +41 -0
  216. data/spec/features/javascript/blocks/solr_documents_block_spec.rb +164 -0
  217. data/spec/features/javascript/edit_in_place_spec.rb +25 -2
  218. data/spec/features/javascript/facet_admin_spec.rb +0 -1
  219. data/spec/features/javascript/feature_page_admin_spec.rb +5 -22
  220. data/spec/features/javascript/home_page_edit_spec.rb +0 -1
  221. data/spec/features/javascript/multi_image_select_spec.rb +14 -19
  222. data/spec/features/javascript/preview_block_spec.rb +19 -30
  223. data/spec/features/javascript/rule_block_spec.rb +0 -1
  224. data/spec/features/javascript/search_context_spec.rb +40 -40
  225. data/spec/features/main_navigation_spec.rb +10 -0
  226. data/spec/features/{site_mastehead_spec.rb → site_masthead_spec.rb} +24 -13
  227. data/spec/features/upload_non_repository_item_spec.rb +41 -1
  228. data/spec/helpers/spotlight/application_helper_spec.rb +22 -3
  229. data/spec/helpers/spotlight/navbar_helper_spec.rb +23 -0
  230. data/spec/helpers/spotlight/pages_helper_spec.rb +4 -65
  231. data/spec/jobs/spotlight/rename_sidecar_field_job_spec.rb +27 -0
  232. data/spec/lib/spotlight/catalog/access_controls_enforcement_spec.rb +2 -2
  233. data/spec/lib/spotlight/controller_spec.rb +45 -0
  234. data/spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb +20 -0
  235. data/spec/models/solr_document_spec.rb +0 -1
  236. data/spec/models/spotlight/blacklight_configuration_spec.rb +70 -19
  237. data/spec/models/spotlight/custom_field_spec.rb +55 -6
  238. data/spec/models/spotlight/featured_image_spec.rb +20 -0
  239. data/spec/models/spotlight/home_page_spec.rb +0 -6
  240. data/spec/models/spotlight/masthead_spec.rb +2 -2
  241. data/spec/models/spotlight/page_spec.rb +15 -0
  242. data/spec/models/spotlight/resource_spec.rb +1 -6
  243. data/spec/models/spotlight/resources/csv_spec.rb +1 -1
  244. data/spec/models/spotlight/resources/open_graph_spec.rb +1 -1
  245. data/spec/models/spotlight/resources/upload_spec.rb +53 -46
  246. data/spec/models/spotlight/search_spec.rb +7 -22
  247. data/spec/models/spotlight/sir_trevor_blocks/textable_spec.rb +38 -0
  248. data/spec/models/spotlight/solr_document_uploaded_resource_spec.rb +1 -4
  249. data/spec/serializers/spotlight/exhibit_export_serializer_spec.rb +5 -2
  250. data/spec/spec_helper.rb +20 -1
  251. data/spec/support/features/test_features_helpers.rb +14 -6
  252. data/spec/test_app_templates/carrierwave.rb +6 -0
  253. data/spec/test_app_templates/catalog_controller.rb +0 -5
  254. data/spec/test_app_templates/lib/generators/test_app_generator.rb +6 -2
  255. data/spec/test_app_templates/spotlight_test.rake +2 -2
  256. data/spec/views/shared/_exhibit_masthead.html.erb_spec.rb +59 -11
  257. data/spec/views/shared/_exhibit_navbar.html.erb_spec.rb +20 -0
  258. data/spec/views/shared/_header_navbar.html.erb_spec.rb +36 -0
  259. data/spec/views/spotlight/about_pages/_empty.html.erb_spec.rb +23 -0
  260. data/spec/views/spotlight/blacklight_configuration/_metadata_field.html.erb_spec.rb +27 -0
  261. data/spec/views/spotlight/blacklight_configuration/edit_metadata_fields.html.erb_spec.rb +23 -0
  262. data/spec/views/spotlight/browse/_search.html.erb_spec.rb +2 -8
  263. data/spec/views/spotlight/browse/show.html.erb_spec.rb +8 -10
  264. data/spec/views/spotlight/exhibits/edit.html.erb_spec.rb +5 -2
  265. data/spec/views/spotlight/feature_pages/_empty.html.erb_spec.rb +25 -0
  266. data/spec/views/spotlight/home_pages/_empty.html.erb_spec.rb +21 -0
  267. data/spec/views/spotlight/pages/edit.html.erb_spec.rb +1 -0
  268. data/spec/views/spotlight/pages/new.html.erb_spec.rb +1 -1
  269. data/spec/views/spotlight/pages/show.html.erb_spec.rb +7 -0
  270. data/spec/views/spotlight/searches/_search.html.erb_spec.rb +3 -3
  271. data/spec/views/spotlight/searches/edit.html.erb_spec.rb +7 -1
  272. data/spec/views/spotlight/sir_trevor/blocks/_iframe_block.html.erb_spec.rb +21 -0
  273. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb +26 -0
  274. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb +31 -0
  275. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb +33 -0
  276. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb +27 -0
  277. data/vendor/assets/javascripts/jquery.serializejson.js +234 -0
  278. data/vendor/assets/javascripts/sir-trevor.js +4935 -3821
  279. data/vendor/assets/stylesheets/sir-trevor.css +18 -59
  280. metadata +144 -1067
  281. data/app/assets/images/spotlight/blocks/item-features.png +0 -0
  282. data/app/assets/images/spotlight/blocks/item-text.png +0 -0
  283. data/app/assets/images/spotlight/blocks/multi-up-item-grid.png +0 -0
  284. data/app/assets/javascripts/spotlight/blocks/featured_browse_categories_block.js +0 -170
  285. data/app/assets/javascripts/spotlight/blocks/item_carousel_block.js +0 -14
  286. data/app/assets/javascripts/spotlight/blocks/item_features_block.js +0 -33
  287. data/app/assets/javascripts/spotlight/blocks/item_grid_block.js +0 -56
  288. data/app/assets/javascripts/spotlight/blocks/item_text_block.js +0 -133
  289. data/app/assets/javascripts/spotlight/blocks/multi_up_item_grid.js +0 -223
  290. data/app/assets/javascripts/spotlight/blocks/slideshow_block.js +0 -196
  291. data/app/models/sir_trevor_rails/blocks/featured_browse_categories_block.rb +0 -65
  292. data/app/models/sir_trevor_rails/blocks/item_carousel_block.rb +0 -9
  293. data/app/models/sir_trevor_rails/blocks/item_features_block.rb +0 -5
  294. data/app/models/sir_trevor_rails/blocks/item_grid_block.rb +0 -9
  295. data/app/models/sir_trevor_rails/blocks/item_text_block.rb +0 -17
  296. data/app/models/sir_trevor_rails/blocks/multi_up_item_grid_block.rb +0 -5
  297. data/app/models/sir_trevor_rails/blocks/solr_document_block.rb +0 -45
  298. data/app/views/spotlight/catalog/_tags_default.html.erb +0 -5
  299. data/app/views/spotlight/exhibits/import.html.erb +0 -30
  300. data/app/views/spotlight/pages/_sort_and_per_page.html.erb +0 -7
  301. data/app/views/spotlight/sir_trevor/blocks/_featured_browse_categories_block.html.erb +0 -19
  302. data/app/views/spotlight/sir_trevor/blocks/_item_carousel_block.html.erb +0 -48
  303. data/app/views/spotlight/sir_trevor/blocks/_item_features_block.html.erb +0 -36
  304. data/app/views/spotlight/sir_trevor/blocks/_item_grid_block.html.erb +0 -24
  305. data/app/views/spotlight/sir_trevor/blocks/_item_text_block.html.erb +0 -24
  306. data/app/views/spotlight/sir_trevor/blocks/_multi_up_item_grid_block.html.erb +0 -29
  307. data/db/migrate/20150224071743_add_spotlight_mastheads.rb +0 -17
  308. data/spec/features/javascript/browse_category_admin_spec.rb +0 -19
  309. data/spec/features/javascript/featured_browse_categories_block_spec.rb +0 -36
  310. data/spec/features/javascript/item_feature_spec.rb +0 -56
  311. data/spec/features/javascript/item_grid_block_spec.rb +0 -46
  312. data/spec/features/javascript/item_text_block_spec.rb +0 -190
  313. data/spec/features/javascript/multi_up_item_grid_spec.rb +0 -120
  314. data/spec/features/javascript/search_result_block_spec.rb +0 -50
  315. data/spec/internal/Gemfile +0 -54
  316. data/spec/internal/Gemfile.lock +0 -370
  317. data/spec/internal/README.rdoc +0 -28
  318. data/spec/internal/Rakefile +0 -6
  319. data/spec/internal/app/assets/javascripts/application.js +0 -19
  320. data/spec/internal/app/assets/javascripts/blacklight_gallery.js +0 -1
  321. data/spec/internal/app/assets/javascripts/blacklight_oembed.js +0 -5
  322. data/spec/internal/app/assets/javascripts/spotlight.js +0 -1
  323. data/spec/internal/app/assets/stylesheets/application.css +0 -15
  324. data/spec/internal/app/assets/stylesheets/blacklight.css.scss +0 -5
  325. data/spec/internal/app/assets/stylesheets/blacklight_gallery.css.scss +0 -3
  326. data/spec/internal/app/assets/stylesheets/spotlight.scss +0 -11
  327. data/spec/internal/app/controllers/application_controller.rb +0 -14
  328. data/spec/internal/app/controllers/catalog_controller.rb +0 -107
  329. data/spec/internal/app/helpers/application_helper.rb +0 -2
  330. data/spec/internal/app/helpers/spotlight_helper.rb +0 -4
  331. data/spec/internal/app/models/solr_document.rb +0 -27
  332. data/spec/internal/app/models/user.rb +0 -17
  333. data/spec/internal/app/views/layouts/application.html.erb +0 -14
  334. data/spec/internal/bin/bundle +0 -3
  335. data/spec/internal/bin/rails +0 -4
  336. data/spec/internal/bin/rake +0 -4
  337. data/spec/internal/bin/setup +0 -29
  338. data/spec/internal/config.ru +0 -4
  339. data/spec/internal/config/application.rb +0 -27
  340. data/spec/internal/config/boot.rb +0 -3
  341. data/spec/internal/config/database.yml +0 -25
  342. data/spec/internal/config/environment.rb +0 -5
  343. data/spec/internal/config/environments/development.rb +0 -41
  344. data/spec/internal/config/environments/production.rb +0 -79
  345. data/spec/internal/config/environments/test.rb +0 -42
  346. data/spec/internal/config/initializers/assets.rb +0 -11
  347. data/spec/internal/config/initializers/backtrace_silencers.rb +0 -7
  348. data/spec/internal/config/initializers/blacklight_initializer.rb +0 -7
  349. data/spec/internal/config/initializers/cookies_serializer.rb +0 -3
  350. data/spec/internal/config/initializers/devise.rb +0 -259
  351. data/spec/internal/config/initializers/filter_parameter_logging.rb +0 -4
  352. data/spec/internal/config/initializers/friendly_id.rb +0 -88
  353. data/spec/internal/config/initializers/inflections.rb +0 -16
  354. data/spec/internal/config/initializers/mime_types.rb +0 -4
  355. data/spec/internal/config/initializers/oembed_providers.rb +0 -3
  356. data/spec/internal/config/initializers/session_store.rb +0 -3
  357. data/spec/internal/config/initializers/social_share_button.rb +0 -3
  358. data/spec/internal/config/initializers/wrap_parameters.rb +0 -14
  359. data/spec/internal/config/locales/blacklight.en.yml +0 -3
  360. data/spec/internal/config/locales/devise.en.yml +0 -60
  361. data/spec/internal/config/locales/en.yml +0 -23
  362. data/spec/internal/config/routes.rb +0 -62
  363. data/spec/internal/config/secrets.yml +0 -22
  364. data/spec/internal/config/solr.yml +0 -18
  365. data/spec/internal/db/development.sqlite3 +0 -0
  366. data/spec/internal/db/migrate/20150303163352_devise_create_users.rb +0 -42
  367. data/spec/internal/db/migrate/20150303163354_add_devise_guests_to_users.rb +0 -15
  368. data/spec/internal/db/migrate/20150303163356_create_searches.blacklight.rb +0 -19
  369. data/spec/internal/db/migrate/20150303163357_create_bookmarks.blacklight.rb +0 -18
  370. data/spec/internal/db/migrate/20150303163358_add_polymorphic_type_to_bookmarks.blacklight.rb +0 -9
  371. data/spec/internal/db/migrate/20150303163359_create_spotlight_pages.spotlight.rb +0 -24
  372. data/spec/internal/db/migrate/20150303163360_create_spotlight_attachments.spotlight.rb +0 -13
  373. data/spec/internal/db/migrate/20150303163361_create_exhibits.spotlight.rb +0 -16
  374. data/spec/internal/db/migrate/20150303163362_create_roles.spotlight.rb +0 -12
  375. data/spec/internal/db/migrate/20150303163363_create_spotlight_searches.spotlight.rb +0 -21
  376. data/spec/internal/db/migrate/20150303163364_create_spotlight_blacklight_configurations.spotlight.rb +0 -21
  377. data/spec/internal/db/migrate/20150303163365_acts_as_taggable_on_migration.spotlight.rb +0 -33
  378. data/spec/internal/db/migrate/20150303163366_add_missing_unique_indices.spotlight.rb +0 -23
  379. data/spec/internal/db/migrate/20150303163367_create_spotlight_custom_fields.spotlight.rb +0 -13
  380. data/spec/internal/db/migrate/20150303163368_create_spotlight_solr_document_sidecars.spotlight.rb +0 -13
  381. data/spec/internal/db/migrate/20150303163369_create_contacts.spotlight.rb +0 -19
  382. data/spec/internal/db/migrate/20150303163370_create_contact_emails.spotlight.rb +0 -17
  383. data/spec/internal/db/migrate/20150303163371_create_resources.spotlight.rb +0 -13
  384. data/spec/internal/db/migrate/20150303163372_change_featured_image_to_featured_image_id.spotlight.rb +0 -7
  385. data/spec/internal/db/migrate/20150303163373_create_spotlight_main_navigations.spotlight.rb +0 -13
  386. data/spec/internal/db/migrate/20150303163374_create_locks.spotlight.rb +0 -12
  387. data/spec/internal/db/migrate/20150303163375_change_contact_details.spotlight.rb +0 -41
  388. data/spec/internal/db/migrate/20150303163376_add_avatar_to_contacts.spotlight.rb +0 -10
  389. data/spec/internal/db/migrate/20150303163377_add_layout_options_to_exhibit.spotlight.rb +0 -7
  390. data/spec/internal/db/migrate/20150303163378_add_published_to_exhibit.spotlight.rb +0 -16
  391. data/spec/internal/db/migrate/20150303163379_add_featured_image_to_exhibit.spotlight.rb +0 -6
  392. data/spec/internal/db/migrate/20150303163380_add_polymorphic_document_to_sidecars.spotlight.rb +0 -27
  393. data/spec/internal/db/migrate/20150303163381_add_spotlight_mastheads.spotlight.rb +0 -18
  394. data/spec/internal/db/migrate/20150303163407_create_friendly_id_slugs.rb +0 -15
  395. data/spec/internal/db/migrate/20150303163409_create_versions.rb +0 -13
  396. data/spec/internal/db/schema.rb +0 -298
  397. data/spec/internal/db/seeds.rb +0 -7
  398. data/spec/internal/db/test.sqlite3 +0 -0
  399. data/spec/internal/lib/generators/test_app_generator.rb +0 -38
  400. data/spec/internal/lib/tasks/spotlight_test.rake +0 -12
  401. data/spec/internal/log/development.log +0 -5647
  402. data/spec/internal/public/404.html +0 -67
  403. data/spec/internal/public/422.html +0 -67
  404. data/spec/internal/public/500.html +0 -66
  405. data/spec/internal/public/favicon.ico +0 -0
  406. data/spec/internal/public/robots.txt +0 -5
  407. data/spec/internal/test/fixtures/users.yml +0 -11
  408. data/spec/internal/test/models/user_test.rb +0 -7
  409. data/spec/internal/test/test_helper.rb +0 -10
  410. data/spec/internal/tmp/cache/assets/development/sass/1625e311b3e574e60af442d0ee5b9d9d62b6c904/_gallery.scssc +0 -0
  411. data/spec/internal/tmp/cache/assets/development/sass/1625e311b3e574e60af442d0ee5b9d9d62b6c904/_masonry.scssc +0 -0
  412. data/spec/internal/tmp/cache/assets/development/sass/1625e311b3e574e60af442d0ee5b9d9d62b6c904/_osd_viewer.scssc +0 -0
  413. data/spec/internal/tmp/cache/assets/development/sass/1625e311b3e574e60af442d0ee5b9d9d62b6c904/_slideshow.scssc +0 -0
  414. data/spec/internal/tmp/cache/assets/development/sass/1625e311b3e574e60af442d0ee5b9d9d62b6c904/default.scssc +0 -0
  415. data/spec/internal/tmp/cache/assets/development/sass/3529a60026aa2dde5b2c6b7d71062694add268d6/social-share-button.scssc +0 -0
  416. data/spec/internal/tmp/cache/assets/development/sass/43158eb9cca1c3f80d7a5a14285196369a1a1942/sir-trevor-icons.cssc +0 -0
  417. data/spec/internal/tmp/cache/assets/development/sass/43158eb9cca1c3f80d7a5a14285196369a1a1942/sir-trevor.cssc +0 -0
  418. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_alerts.scssc +0 -0
  419. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_background-variant.scssc +0 -0
  420. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_border-radius.scssc +0 -0
  421. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_buttons.scssc +0 -0
  422. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_center-block.scssc +0 -0
  423. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_clearfix.scssc +0 -0
  424. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_forms.scssc +0 -0
  425. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_gradients.scssc +0 -0
  426. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_grid-framework.scssc +0 -0
  427. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_grid.scssc +0 -0
  428. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_hide-text.scssc +0 -0
  429. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_image.scssc +0 -0
  430. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_labels.scssc +0 -0
  431. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_list-group.scssc +0 -0
  432. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_nav-divider.scssc +0 -0
  433. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_nav-vertical-align.scssc +0 -0
  434. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_opacity.scssc +0 -0
  435. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_pagination.scssc +0 -0
  436. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_panels.scssc +0 -0
  437. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_progress-bar.scssc +0 -0
  438. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_reset-filter.scssc +0 -0
  439. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_resize.scssc +0 -0
  440. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_responsive-visibility.scssc +0 -0
  441. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_size.scssc +0 -0
  442. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_tab-focus.scssc +0 -0
  443. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_table-row.scssc +0 -0
  444. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_text-emphasis.scssc +0 -0
  445. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_text-overflow.scssc +0 -0
  446. data/spec/internal/tmp/cache/assets/development/sass/54af2da95440b92822408b49a00d588e22d47f59/_vendor-prefixes.scssc +0 -0
  447. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_attachments.cssc +0 -0
  448. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_blacklight_configuration.scssc +0 -0
  449. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_bootstrap_overrides.scssc +0 -0
  450. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_browse.scssc +0 -0
  451. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_catalog.scssc +0 -0
  452. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_curation.scssc +0 -0
  453. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_edit_in_place.scssc +0 -0
  454. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_exhibit_admin.scssc +0 -0
  455. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_featured_browse_categories_block.scssc +0 -0
  456. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_footer.scssc +0 -0
  457. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_header.scssc +0 -0
  458. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_item_text_block.scssc +0 -0
  459. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_mixins.scssc +0 -0
  460. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_multi_image_selector.scssc +0 -0
  461. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_multi_up_item_grid.scssc +0 -0
  462. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_nestable.scssc +0 -0
  463. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_pages.scssc +0 -0
  464. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_report_a_problem.scssc +0 -0
  465. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_sir-trevor_overrides.scssc +0 -0
  466. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_slideshow_block.scssc +0 -0
  467. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_spotlight.scssc +0 -0
  468. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_upload.scssc +0 -0
  469. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_variables.scssc +0 -0
  470. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/_variables_bootstrap.scssc +0 -0
  471. data/spec/internal/tmp/cache/assets/development/sass/6ed822959e676d3d5757149889716c9b4de6ad94/typeahead.cssc +0 -0
  472. data/spec/internal/tmp/cache/assets/development/sass/762cf9572d72fe147547233d28cf68415559f44d/_bootstrap-sprockets.scssc +0 -0
  473. data/spec/internal/tmp/cache/assets/development/sass/762cf9572d72fe147547233d28cf68415559f44d/_bootstrap.scssc +0 -0
  474. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_alerts.scssc +0 -0
  475. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_badges.scssc +0 -0
  476. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_breadcrumbs.scssc +0 -0
  477. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_button-groups.scssc +0 -0
  478. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_buttons.scssc +0 -0
  479. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_carousel.scssc +0 -0
  480. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_close.scssc +0 -0
  481. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_code.scssc +0 -0
  482. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_component-animations.scssc +0 -0
  483. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_dropdowns.scssc +0 -0
  484. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_forms.scssc +0 -0
  485. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_glyphicons.scssc +0 -0
  486. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_grid.scssc +0 -0
  487. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_input-groups.scssc +0 -0
  488. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_jumbotron.scssc +0 -0
  489. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_labels.scssc +0 -0
  490. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_list-group.scssc +0 -0
  491. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_media.scssc +0 -0
  492. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_mixins.scssc +0 -0
  493. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_modals.scssc +0 -0
  494. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_navbar.scssc +0 -0
  495. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_navs.scssc +0 -0
  496. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_normalize.scssc +0 -0
  497. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_pager.scssc +0 -0
  498. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_pagination.scssc +0 -0
  499. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_panels.scssc +0 -0
  500. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_popovers.scssc +0 -0
  501. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_print.scssc +0 -0
  502. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_progress-bars.scssc +0 -0
  503. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_responsive-embed.scssc +0 -0
  504. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_responsive-utilities.scssc +0 -0
  505. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_scaffolding.scssc +0 -0
  506. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_tables.scssc +0 -0
  507. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_thumbnails.scssc +0 -0
  508. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_tooltip.scssc +0 -0
  509. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_type.scssc +0 -0
  510. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_utilities.scssc +0 -0
  511. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_variables.scssc +0 -0
  512. data/spec/internal/tmp/cache/assets/development/sass/8173e89911935e5caa395fdf8bbeed2500d02570/_wells.scssc +0 -0
  513. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_blacklight_base.scssc +0 -0
  514. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_bookmark.scssc +0 -0
  515. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_catalog.scssc +0 -0
  516. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_facets.scssc +0 -0
  517. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_group.scssc +0 -0
  518. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_header.scssc +0 -0
  519. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_layout.scssc +0 -0
  520. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_modal.scssc +0 -0
  521. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/_search_history.scssc +0 -0
  522. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/blacklight.scssc +0 -0
  523. data/spec/internal/tmp/cache/assets/development/sass/d9a00d48bb7557ed6d9b0f19d12174743e8de5c5/blacklight_defaults.scssc +0 -0
  524. data/spec/internal/tmp/cache/assets/development/sass/eb3afda7341cda1ccb7aa8373347fcb2351a74f9/blacklight.css.scssc +0 -0
  525. data/spec/internal/tmp/cache/assets/development/sass/eb3afda7341cda1ccb7aa8373347fcb2351a74f9/blacklight_gallery.css.scssc +0 -0
  526. data/spec/internal/tmp/cache/assets/development/sass/eb3afda7341cda1ccb7aa8373347fcb2351a74f9/blacklight_oembed.css.scssc +0 -0
  527. data/spec/internal/tmp/cache/assets/development/sass/eb3afda7341cda1ccb7aa8373347fcb2351a74f9/spotlight.scssc +0 -0
  528. data/spec/internal/tmp/cache/assets/development/sprockets/0000f05b17805469cfa9c53d63199a75 +0 -0
  529. data/spec/internal/tmp/cache/assets/development/sprockets/0094da53ef77f5672235764a2ad96d5a +0 -0
  530. data/spec/internal/tmp/cache/assets/development/sprockets/016465b8271cedcb7125dceb1eefcf40 +0 -0
  531. data/spec/internal/tmp/cache/assets/development/sprockets/01c2a3f52562f7edd2c4f97e74648940 +0 -0
  532. data/spec/internal/tmp/cache/assets/development/sprockets/029cab146b7dc59206200af11a6e0fea +0 -0
  533. data/spec/internal/tmp/cache/assets/development/sprockets/04acbe9d9b73677391afa00b3f51ccd3 +0 -0
  534. data/spec/internal/tmp/cache/assets/development/sprockets/04c7b02c5bf1dcd5ef745131737bba23 +0 -0
  535. data/spec/internal/tmp/cache/assets/development/sprockets/068b93b01defdd05b83bd6e85d294042 +0 -0
  536. data/spec/internal/tmp/cache/assets/development/sprockets/06bc7a1924a2d34427cb9394eb96cd26 +0 -0
  537. data/spec/internal/tmp/cache/assets/development/sprockets/07df7e5a813563f9136daac474ff9c1b +0 -0
  538. data/spec/internal/tmp/cache/assets/development/sprockets/094a5efb92e462fe3c31890f66bf540c +0 -0
  539. data/spec/internal/tmp/cache/assets/development/sprockets/0962b612819d514f3eccdcbe6583c525 +0 -0
  540. data/spec/internal/tmp/cache/assets/development/sprockets/0d9506cd8f78eab965ae16d8ed369027 +0 -0
  541. data/spec/internal/tmp/cache/assets/development/sprockets/0e90f2f4c5922c8d27e06bb4bad84f65 +0 -0
  542. data/spec/internal/tmp/cache/assets/development/sprockets/0eaf296b010509ffae2774901189bf85 +0 -0
  543. data/spec/internal/tmp/cache/assets/development/sprockets/0fc0dc453efeacf2f9c3eb2c2acbc842 +0 -0
  544. data/spec/internal/tmp/cache/assets/development/sprockets/0fc2f84889ae8b98ea4f58caa692cfa7 +0 -0
  545. data/spec/internal/tmp/cache/assets/development/sprockets/123a051478050745f07e1b922a82ab28 +0 -0
  546. data/spec/internal/tmp/cache/assets/development/sprockets/12621220bba2924044a947da816d2dc3 +0 -0
  547. data/spec/internal/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  548. data/spec/internal/tmp/cache/assets/development/sprockets/147028e9cdd292ec1e0505fd8ea542b6 +0 -0
  549. data/spec/internal/tmp/cache/assets/development/sprockets/1517292da79ac90df1fa2684232b2d65 +0 -0
  550. data/spec/internal/tmp/cache/assets/development/sprockets/158bef2327faa0f54cddd976936e0993 +0 -0
  551. data/spec/internal/tmp/cache/assets/development/sprockets/15f1ab77f00ac4919c657309c2fbee2d +0 -0
  552. data/spec/internal/tmp/cache/assets/development/sprockets/167610cea7134f6813c4eb945019732c +0 -0
  553. data/spec/internal/tmp/cache/assets/development/sprockets/16f34a9fd35811156ec4fffc97f40187 +0 -0
  554. data/spec/internal/tmp/cache/assets/development/sprockets/1764ba229384f42b983f2c63ce088d3a +0 -0
  555. data/spec/internal/tmp/cache/assets/development/sprockets/1895f35e28378b4706970ef777b1ab0d +0 -0
  556. data/spec/internal/tmp/cache/assets/development/sprockets/18ff03fb85ea5c4077248fbf55a6cfc7 +0 -0
  557. data/spec/internal/tmp/cache/assets/development/sprockets/1abfd4aad6602b582b8e1fe791f5c667 +0 -0
  558. data/spec/internal/tmp/cache/assets/development/sprockets/1b2aa683a66601e8766d0b18f527c30f +0 -0
  559. data/spec/internal/tmp/cache/assets/development/sprockets/1c25833d79aca82fca8a4e47584a2705 +0 -0
  560. data/spec/internal/tmp/cache/assets/development/sprockets/1d250c80f0795f49e1b4835b0a2d0907 +0 -0
  561. data/spec/internal/tmp/cache/assets/development/sprockets/1dd662795508e53ee8c729e1db43f549 +0 -0
  562. data/spec/internal/tmp/cache/assets/development/sprockets/1e2c8bb222c29a9c3da65b2fd20c726b +0 -0
  563. data/spec/internal/tmp/cache/assets/development/sprockets/1f63574a29edbe84d9d5b9dc07a02937 +0 -0
  564. data/spec/internal/tmp/cache/assets/development/sprockets/2055d3314dea0aacfb9a7f80c5b9737a +0 -0
  565. data/spec/internal/tmp/cache/assets/development/sprockets/21dec311633007a565871064ff20b46d +0 -0
  566. data/spec/internal/tmp/cache/assets/development/sprockets/22b438ca239821be8c2ee64714cf950a +0 -0
  567. data/spec/internal/tmp/cache/assets/development/sprockets/26d7989e05275d611cddd16311b9a914 +0 -0
  568. data/spec/internal/tmp/cache/assets/development/sprockets/27e2ab47233f1afa0a7898a58b707119 +0 -0
  569. data/spec/internal/tmp/cache/assets/development/sprockets/27e2ddfb2da21c713e09de9a69bd693a +0 -0
  570. data/spec/internal/tmp/cache/assets/development/sprockets/28ed1c974057cd9b181f855ab7878909 +0 -0
  571. data/spec/internal/tmp/cache/assets/development/sprockets/29975367f0e0349ad9a0e27d5344fcc9 +0 -0
  572. data/spec/internal/tmp/cache/assets/development/sprockets/29acde6f7ccf5ca5c6bd9832eb66357e +0 -0
  573. data/spec/internal/tmp/cache/assets/development/sprockets/2a68011fea569f00cfb0491fabcedb89 +0 -0
  574. data/spec/internal/tmp/cache/assets/development/sprockets/2a75ccd35c2326a91542c9700e60593f +0 -0
  575. data/spec/internal/tmp/cache/assets/development/sprockets/2c8ba32cbbfe03bd9a12cdb5e9155b7f +0 -0
  576. data/spec/internal/tmp/cache/assets/development/sprockets/2e74f2f097a9d0ce88e4a7645002a771 +0 -0
  577. data/spec/internal/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  578. data/spec/internal/tmp/cache/assets/development/sprockets/2f54cfac105dc13703d47627dad90b40 +0 -0
  579. data/spec/internal/tmp/cache/assets/development/sprockets/300249d24b8a5030d753de00b3e5d516 +0 -0
  580. data/spec/internal/tmp/cache/assets/development/sprockets/3186cecc46c31ceeb34a5a58495ea595 +0 -0
  581. data/spec/internal/tmp/cache/assets/development/sprockets/31bd12514c70aa86f5f60f6551a3d5df +0 -0
  582. data/spec/internal/tmp/cache/assets/development/sprockets/328e16495fa5c251060d3c61f2424dea +0 -0
  583. data/spec/internal/tmp/cache/assets/development/sprockets/3391ff2ad4c4a91175cb634898074ea2 +0 -0
  584. data/spec/internal/tmp/cache/assets/development/sprockets/33ea05936f25761d037149453ec4fc9d +0 -0
  585. data/spec/internal/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  586. data/spec/internal/tmp/cache/assets/development/sprockets/378bf9a1f6712da520e8509bb73a1359 +0 -0
  587. data/spec/internal/tmp/cache/assets/development/sprockets/3847d56c1069eb5713742bc5af1b16cd +0 -0
  588. data/spec/internal/tmp/cache/assets/development/sprockets/39e74f54cf48b808814131b5674da061 +0 -0
  589. data/spec/internal/tmp/cache/assets/development/sprockets/3a56862c7368e32d31eb3797bdf0dd1a +0 -0
  590. data/spec/internal/tmp/cache/assets/development/sprockets/3b11160774b94bc734e797a00fb44909 +0 -0
  591. data/spec/internal/tmp/cache/assets/development/sprockets/3b43407a69b12db10b185055b6674784 +0 -0
  592. data/spec/internal/tmp/cache/assets/development/sprockets/3c85aa12448df8a4422eea944b8884a7 +0 -0
  593. data/spec/internal/tmp/cache/assets/development/sprockets/3d493c85ea5995f29687c8711bd64adc +0 -0
  594. data/spec/internal/tmp/cache/assets/development/sprockets/3f6f0650640715349ce0933350e33da2 +0 -0
  595. data/spec/internal/tmp/cache/assets/development/sprockets/410fa392dccb92b749a49559fa86ff8c +0 -0
  596. data/spec/internal/tmp/cache/assets/development/sprockets/41dfbffb6b2cdab33da9d85bb2763646 +0 -0
  597. data/spec/internal/tmp/cache/assets/development/sprockets/41e08d11cf290b312374f52f66646092 +0 -0
  598. data/spec/internal/tmp/cache/assets/development/sprockets/42aa296d7f6e3525e029fc1e59278012 +0 -0
  599. data/spec/internal/tmp/cache/assets/development/sprockets/43820e20c90643cf755735d0d6747662 +0 -0
  600. data/spec/internal/tmp/cache/assets/development/sprockets/44174c38552cc7d5ced165e1d0c3799f +0 -0
  601. data/spec/internal/tmp/cache/assets/development/sprockets/44808824cbd607d22270797a2d368a8d +0 -0
  602. data/spec/internal/tmp/cache/assets/development/sprockets/44b85da025c048e69be77ef23b9d0812 +0 -0
  603. data/spec/internal/tmp/cache/assets/development/sprockets/47b0b07eb2966676f7cafb883944b8ce +0 -0
  604. data/spec/internal/tmp/cache/assets/development/sprockets/47fde44f5cc949279070c66d11c299bc +0 -0
  605. data/spec/internal/tmp/cache/assets/development/sprockets/4830479bad768b73f66602e8597ba92f +0 -0
  606. data/spec/internal/tmp/cache/assets/development/sprockets/488922e5cf8a341f6aa2cfe039fe8203 +0 -0
  607. data/spec/internal/tmp/cache/assets/development/sprockets/48972c9f4330661254578c59c93c2198 +0 -0
  608. data/spec/internal/tmp/cache/assets/development/sprockets/48a76145f0ff893de99b3d4b147a8d0e +0 -0
  609. data/spec/internal/tmp/cache/assets/development/sprockets/48eab918a936d36cf3154f7cf16742dd +0 -0
  610. data/spec/internal/tmp/cache/assets/development/sprockets/49c105a8be35fc4290d59be5a1433911 +0 -0
  611. data/spec/internal/tmp/cache/assets/development/sprockets/4a77011960ed922d7b2feb8cb4c3a536 +0 -0
  612. data/spec/internal/tmp/cache/assets/development/sprockets/4aa239d5715945e0614c7c53727b4bb0 +0 -0
  613. data/spec/internal/tmp/cache/assets/development/sprockets/4b0f5e22f7da136a3a9bab43f65e275f +0 -0
  614. data/spec/internal/tmp/cache/assets/development/sprockets/4c09aa4c1f212b846b7bf452e7fd3c13 +0 -0
  615. data/spec/internal/tmp/cache/assets/development/sprockets/4c5c3e2c4998a25b08dbcad13d3fe5cb +0 -0
  616. data/spec/internal/tmp/cache/assets/development/sprockets/4d8faba557e30104496e0fc9ffbfcd84 +0 -0
  617. data/spec/internal/tmp/cache/assets/development/sprockets/4da01a28aa6b0c1b207c5b187cad3d01 +0 -0
  618. data/spec/internal/tmp/cache/assets/development/sprockets/4ddc7f7c1fbabcbba7dc27af04cd49bb +0 -0
  619. data/spec/internal/tmp/cache/assets/development/sprockets/4de1fedf2318096f3b698cb2191a3ee6 +0 -0
  620. data/spec/internal/tmp/cache/assets/development/sprockets/4dfadec407676d00200fb814b77a5f74 +0 -0
  621. data/spec/internal/tmp/cache/assets/development/sprockets/4e1aa225d51f87578e51fd8952a22f8f +0 -0
  622. data/spec/internal/tmp/cache/assets/development/sprockets/4f503262ac95ce046d09307dd5e3b3dc +0 -0
  623. data/spec/internal/tmp/cache/assets/development/sprockets/5122b19dcad534ac732fa0c423ce6025 +0 -0
  624. data/spec/internal/tmp/cache/assets/development/sprockets/513ee7b0676b026a04003eccf425e182 +0 -0
  625. data/spec/internal/tmp/cache/assets/development/sprockets/51c23e07a2d05145fd67545aee34cb7c +0 -0
  626. data/spec/internal/tmp/cache/assets/development/sprockets/53d5aad39facbecb1bc442aaf5347410 +0 -0
  627. data/spec/internal/tmp/cache/assets/development/sprockets/53f42c79069d00766940cf627ccb8fa1 +0 -0
  628. data/spec/internal/tmp/cache/assets/development/sprockets/56e398fba393e9ce38218c2f50891491 +0 -0
  629. data/spec/internal/tmp/cache/assets/development/sprockets/5762f5e65fb28301f6cb10f5a25c1f46 +0 -0
  630. data/spec/internal/tmp/cache/assets/development/sprockets/57fa4466f358fece6b37c12b28b3c54a +0 -0
  631. data/spec/internal/tmp/cache/assets/development/sprockets/58007042423d4d00d64b4783d4eb298f +0 -0
  632. data/spec/internal/tmp/cache/assets/development/sprockets/585ae9ce2c7aaeaef517e31fb5f5deab +0 -0
  633. data/spec/internal/tmp/cache/assets/development/sprockets/58d7eb11ce5bdb9feb18bcec0c40967e +0 -0
  634. data/spec/internal/tmp/cache/assets/development/sprockets/59074a780ceb9cddb029bbd0bbc87be5 +0 -0
  635. data/spec/internal/tmp/cache/assets/development/sprockets/59b693ecdc1bb0178d477f9eec98af71 +0 -0
  636. data/spec/internal/tmp/cache/assets/development/sprockets/5aad21aaee69b8d94b91c742cbdd4eed +0 -0
  637. data/spec/internal/tmp/cache/assets/development/sprockets/5c630c5021d61aa9c75198666cfe0c97 +0 -0
  638. data/spec/internal/tmp/cache/assets/development/sprockets/5d7c618214093d70287ec324bb0ebc79 +0 -0
  639. data/spec/internal/tmp/cache/assets/development/sprockets/5fed6af1bbf83ecbffc4e93c896ef251 +0 -0
  640. data/spec/internal/tmp/cache/assets/development/sprockets/5ff6853554a80626bffe276de5104435 +0 -0
  641. data/spec/internal/tmp/cache/assets/development/sprockets/62ca5a083548f524d4e1687b7093ba29 +0 -0
  642. data/spec/internal/tmp/cache/assets/development/sprockets/6396bf13e42704254c25d5d1d4971514 +0 -0
  643. data/spec/internal/tmp/cache/assets/development/sprockets/63982c992f5278c4b623231ef9ab0eef +0 -0
  644. data/spec/internal/tmp/cache/assets/development/sprockets/64a4f3ac595f36c281b2032e1b7859b7 +0 -0
  645. data/spec/internal/tmp/cache/assets/development/sprockets/64c891e8558ed68235f8e95fb3c4c46e +0 -0
  646. data/spec/internal/tmp/cache/assets/development/sprockets/65dbf1a1ca834a06156da31c3ebc3b72 +0 -0
  647. data/spec/internal/tmp/cache/assets/development/sprockets/6692f91d0a02728a48b216240b699340 +0 -0
  648. data/spec/internal/tmp/cache/assets/development/sprockets/66f8fc3b5bbf1829a95239083e9abdb9 +0 -0
  649. data/spec/internal/tmp/cache/assets/development/sprockets/6750b2dde04e8e3fe6b9bee3b65b61e0 +0 -0
  650. data/spec/internal/tmp/cache/assets/development/sprockets/69131c6d5efd662e3a881113aeaf1457 +0 -0
  651. data/spec/internal/tmp/cache/assets/development/sprockets/69cbb2e4b0d50d0c1c37c8236b9d8a19 +0 -0
  652. data/spec/internal/tmp/cache/assets/development/sprockets/6b339c204a99f2fc9cc7285a5cc724f8 +0 -0
  653. data/spec/internal/tmp/cache/assets/development/sprockets/6bd044fd99112623f7bbc0c0c72cfe5d +0 -0
  654. data/spec/internal/tmp/cache/assets/development/sprockets/6dcca103a05e7dec07d0109d76de5760 +0 -0
  655. data/spec/internal/tmp/cache/assets/development/sprockets/6fb17549bc82b73aec4f860e8900cc4f +0 -0
  656. data/spec/internal/tmp/cache/assets/development/sprockets/70224c23493d324eef970a2f561d8513 +0 -0
  657. data/spec/internal/tmp/cache/assets/development/sprockets/7046e45683f590170d97ca6746f51ac0 +0 -0
  658. data/spec/internal/tmp/cache/assets/development/sprockets/71a8f988cdccf1c0f3b7a7e0adb4f5fb +0 -0
  659. data/spec/internal/tmp/cache/assets/development/sprockets/72f1e4baf7acc7c7cdb19af990491436 +0 -0
  660. data/spec/internal/tmp/cache/assets/development/sprockets/74a0baf435dbaad6f7198d080f7b9cd7 +0 -0
  661. data/spec/internal/tmp/cache/assets/development/sprockets/7534f6b512681a563a114c9f019fae93 +0 -0
  662. data/spec/internal/tmp/cache/assets/development/sprockets/76c6820496f9a826b0dc8dd92124cf9d +0 -0
  663. data/spec/internal/tmp/cache/assets/development/sprockets/76e972672c2b2a321ca16d4a883bad21 +0 -0
  664. data/spec/internal/tmp/cache/assets/development/sprockets/787c4cc124873317a02bf12b37125da3 +0 -0
  665. data/spec/internal/tmp/cache/assets/development/sprockets/79aacc65f1d9b5ed87e940b077cec624 +0 -0
  666. data/spec/internal/tmp/cache/assets/development/sprockets/79b434e80de65d438ac15f5741cf500a +0 -0
  667. data/spec/internal/tmp/cache/assets/development/sprockets/79bea20297d19c854fd89bec41627417 +0 -0
  668. data/spec/internal/tmp/cache/assets/development/sprockets/79eb58feda9adc4c5d57d5835b8f6e96 +0 -0
  669. data/spec/internal/tmp/cache/assets/development/sprockets/7bab8e39aeb9ad4b34a39647cbaaedef +0 -0
  670. data/spec/internal/tmp/cache/assets/development/sprockets/7bacd667825c2fdb5478ac382b3ddbab +0 -0
  671. data/spec/internal/tmp/cache/assets/development/sprockets/7c0e1c70a7a7dd0afe1798eebc623088 +0 -0
  672. data/spec/internal/tmp/cache/assets/development/sprockets/7e66d411aab2da7332f88f3d3c85def7 +0 -0
  673. data/spec/internal/tmp/cache/assets/development/sprockets/7f723d2ffff142395f84669fb576f674 +0 -0
  674. data/spec/internal/tmp/cache/assets/development/sprockets/818787a5167c6f5679f4728e4ed346c9 +0 -0
  675. data/spec/internal/tmp/cache/assets/development/sprockets/823cd4b1bbb97443e3c2af20947a63bd +0 -0
  676. data/spec/internal/tmp/cache/assets/development/sprockets/82958330563e8740463f535c05e6e879 +0 -0
  677. data/spec/internal/tmp/cache/assets/development/sprockets/82fd05b9c34737718d0f27d0cbd6ecc6 +0 -0
  678. data/spec/internal/tmp/cache/assets/development/sprockets/82ffbbf5dc7c1019b55a196789747bcf +0 -0
  679. data/spec/internal/tmp/cache/assets/development/sprockets/844a8fb22232011e4615da972bab9a18 +0 -0
  680. data/spec/internal/tmp/cache/assets/development/sprockets/854d66a63e05a3368d8755d2e05e044d +0 -0
  681. data/spec/internal/tmp/cache/assets/development/sprockets/85e3df2cf9d984eccba96f5c5fcb1fb5 +0 -0
  682. data/spec/internal/tmp/cache/assets/development/sprockets/87207c4b2ac6febfa3e2346b3716ebef +0 -0
  683. data/spec/internal/tmp/cache/assets/development/sprockets/872b2a01f03690d0f86481b1e1a12d4f +0 -0
  684. data/spec/internal/tmp/cache/assets/development/sprockets/884e7ea5ccf5caefb8651860538b96e5 +0 -0
  685. data/spec/internal/tmp/cache/assets/development/sprockets/885f0c17e1cf2ab01eb9b94e7954fc28 +0 -0
  686. data/spec/internal/tmp/cache/assets/development/sprockets/88ac23cb21a6625ef98c905ebf3bae36 +0 -0
  687. data/spec/internal/tmp/cache/assets/development/sprockets/88e2a32b7803c5c4fe6767abf9be22fe +0 -0
  688. data/spec/internal/tmp/cache/assets/development/sprockets/896b6e4ab1e22764ea1204d6c45d14a7 +0 -0
  689. data/spec/internal/tmp/cache/assets/development/sprockets/8cbaa85a9ad4367edc004e66abea0764 +0 -0
  690. data/spec/internal/tmp/cache/assets/development/sprockets/8cff103307078a5fcbc08fd369e13ea6 +0 -0
  691. data/spec/internal/tmp/cache/assets/development/sprockets/8d0cfbe7a6c0ba55b4929a05813fb460 +0 -0
  692. data/spec/internal/tmp/cache/assets/development/sprockets/9107cdc4a4ab8e51362bfcc200838c59 +0 -0
  693. data/spec/internal/tmp/cache/assets/development/sprockets/9198f9e8e7b927f5a839343eb223627b +0 -0
  694. data/spec/internal/tmp/cache/assets/development/sprockets/91b396b480293aaeec2ff599af929465 +0 -0
  695. data/spec/internal/tmp/cache/assets/development/sprockets/9268d5e57c7585cf335c837ad37c1da3 +0 -0
  696. data/spec/internal/tmp/cache/assets/development/sprockets/93aaa9231a32901266b05632f3d35ecd +0 -0
  697. data/spec/internal/tmp/cache/assets/development/sprockets/9567d876f8d154b64f16ffb8639f5143 +0 -0
  698. data/spec/internal/tmp/cache/assets/development/sprockets/95a8054a57ae6193f702bb36c6b0877a +0 -0
  699. data/spec/internal/tmp/cache/assets/development/sprockets/96b569f9b043f01befb531a01b40f12b +0 -0
  700. data/spec/internal/tmp/cache/assets/development/sprockets/9787661b38895f00797936e29f5e165b +0 -0
  701. data/spec/internal/tmp/cache/assets/development/sprockets/998b13c1c5b5a1d8f6db31ede1a666c1 +0 -0
  702. data/spec/internal/tmp/cache/assets/development/sprockets/9a57dd816852da1ffe3324a0ce5a382e +0 -0
  703. data/spec/internal/tmp/cache/assets/development/sprockets/9a9d607bd282c86761f4c0522e98459c +0 -0
  704. data/spec/internal/tmp/cache/assets/development/sprockets/9c48e05da7c08d91d52b00fc3d012e76 +0 -0
  705. data/spec/internal/tmp/cache/assets/development/sprockets/9d3cc5d05005480d3924de075d049605 +0 -0
  706. data/spec/internal/tmp/cache/assets/development/sprockets/9d654f3385a46cd953a7ccb7e419361a +0 -0
  707. data/spec/internal/tmp/cache/assets/development/sprockets/9e10db4e4b7f36136227d3a3794ddeb6 +0 -0
  708. data/spec/internal/tmp/cache/assets/development/sprockets/9fa96555ddc92f08931c322212cbaaf7 +0 -0
  709. data/spec/internal/tmp/cache/assets/development/sprockets/9fb7b1122b855b6349caebd9560b1594 +0 -0
  710. data/spec/internal/tmp/cache/assets/development/sprockets/a0c35895c526b4a7bec46d5e2f5e90f9 +0 -0
  711. data/spec/internal/tmp/cache/assets/development/sprockets/a17880a08f4630b5460312f5f2fb0bd8 +0 -0
  712. data/spec/internal/tmp/cache/assets/development/sprockets/a19d3959f71213f505ed4e5c17b7fbfa +0 -0
  713. data/spec/internal/tmp/cache/assets/development/sprockets/a25dd57735707013f18f5a3c33e85b6b +0 -0
  714. data/spec/internal/tmp/cache/assets/development/sprockets/a426ead2559fd41fb25e93e5e508b68b +0 -0
  715. data/spec/internal/tmp/cache/assets/development/sprockets/a7c435b70cdea18fc37ef4232b7c242e +0 -0
  716. data/spec/internal/tmp/cache/assets/development/sprockets/a87fd6eb2a5fdf63faa8cf3967fc22a0 +0 -0
  717. data/spec/internal/tmp/cache/assets/development/sprockets/a8f5d3fdc2cd9ed876be4e3f7ee01158 +0 -0
  718. data/spec/internal/tmp/cache/assets/development/sprockets/a9266e16972058d0b24becb493e46e2c +0 -0
  719. data/spec/internal/tmp/cache/assets/development/sprockets/a9db6dfc37125977e8f1791206467ae5 +0 -0
  720. data/spec/internal/tmp/cache/assets/development/sprockets/ac7bd3e5d0a800cf2d4c8a16ab3353b6 +0 -0
  721. data/spec/internal/tmp/cache/assets/development/sprockets/ad4a54c43c2a4c3874bfde1c9f08c248 +0 -0
  722. data/spec/internal/tmp/cache/assets/development/sprockets/ad8670c368f9bd03ee30e10c08c3c515 +0 -0
  723. data/spec/internal/tmp/cache/assets/development/sprockets/ae6f4c46a30db791cc072a3ea4a0b728 +0 -0
  724. data/spec/internal/tmp/cache/assets/development/sprockets/aee3d21de73eff64a1d9a474b6f405f8 +0 -0
  725. data/spec/internal/tmp/cache/assets/development/sprockets/b00e3ec4959103e8d4c6c92155595a70 +0 -0
  726. data/spec/internal/tmp/cache/assets/development/sprockets/b03190a1a9d61e8337e69577410feab9 +0 -0
  727. data/spec/internal/tmp/cache/assets/development/sprockets/b09ca6acc36947638840365aca9a0937 +0 -0
  728. data/spec/internal/tmp/cache/assets/development/sprockets/b107afde229d969ef4aeba7c4975ed8a +0 -0
  729. data/spec/internal/tmp/cache/assets/development/sprockets/b35c1d0dd13ec54c27d18f416099bd1c +0 -0
  730. data/spec/internal/tmp/cache/assets/development/sprockets/b38ab7a08d6c7cc5844448045be30ef9 +0 -0
  731. data/spec/internal/tmp/cache/assets/development/sprockets/b53a1cb5b70050587ed90698a8d365c1 +0 -0
  732. data/spec/internal/tmp/cache/assets/development/sprockets/b559fb879d30b762405fec75c9d13b61 +0 -0
  733. data/spec/internal/tmp/cache/assets/development/sprockets/b56be4d5d41d872e930e3cb3c12a6a21 +0 -0
  734. data/spec/internal/tmp/cache/assets/development/sprockets/b6e9ada9452b3c8b5376de6b1fa18e48 +0 -0
  735. data/spec/internal/tmp/cache/assets/development/sprockets/b7162fef615f5627fc58d60b9505448f +0 -0
  736. data/spec/internal/tmp/cache/assets/development/sprockets/b833e8d24a512d9c662c2d5f6d0c3dc6 +0 -0
  737. data/spec/internal/tmp/cache/assets/development/sprockets/b89461ef450cbd9ee6c695fecb44fcc8 +0 -0
  738. data/spec/internal/tmp/cache/assets/development/sprockets/ba6c1dd16051d384e5a0f23b07b86d41 +0 -0
  739. data/spec/internal/tmp/cache/assets/development/sprockets/baca6a67fcb2c4c6372a5a862c61da3a +0 -0
  740. data/spec/internal/tmp/cache/assets/development/sprockets/bb2f13da626b86b42734cea8b8292eb7 +0 -0
  741. data/spec/internal/tmp/cache/assets/development/sprockets/bbe56b1188e940f75968817b6ee5f328 +0 -0
  742. data/spec/internal/tmp/cache/assets/development/sprockets/bc068a6e10ec2a22b5aef3628f3fb864 +0 -0
  743. data/spec/internal/tmp/cache/assets/development/sprockets/c1bb841270448425a11db861d5808ed5 +0 -0
  744. data/spec/internal/tmp/cache/assets/development/sprockets/c1f5ac82ea62d639c127d16f92480b0d +0 -0
  745. data/spec/internal/tmp/cache/assets/development/sprockets/c371171e4e21eb6302744a58ba4533e1 +0 -0
  746. data/spec/internal/tmp/cache/assets/development/sprockets/c3aede55093bd529d609fd98bfc20ec0 +0 -0
  747. data/spec/internal/tmp/cache/assets/development/sprockets/c51554e0c757cdcb9749b20480c2c49d +0 -0
  748. data/spec/internal/tmp/cache/assets/development/sprockets/c700a806b55d260257bc83b66058990a +0 -0
  749. data/spec/internal/tmp/cache/assets/development/sprockets/c7cc8dfa30e1520ae2c33f22c3bb68e7 +0 -0
  750. data/spec/internal/tmp/cache/assets/development/sprockets/c852c7ccdafbb5db57f870e09c564b8f +0 -0
  751. data/spec/internal/tmp/cache/assets/development/sprockets/cb07c834edcc7d384725e40311e35f1a +0 -0
  752. data/spec/internal/tmp/cache/assets/development/sprockets/cb1a438619304801c1c7f6f10ff03edc +0 -0
  753. data/spec/internal/tmp/cache/assets/development/sprockets/cb4e2b69e8bbee0043f5a96fbca086bd +0 -0
  754. data/spec/internal/tmp/cache/assets/development/sprockets/cc902d6f19cf79ba5213a9cd71fdec89 +0 -0
  755. data/spec/internal/tmp/cache/assets/development/sprockets/cc9b1242f0b2bd5d696f6a2f2349ae8a +0 -0
  756. data/spec/internal/tmp/cache/assets/development/sprockets/ccd38ad082f6af80055b53a657fb24f7 +0 -0
  757. data/spec/internal/tmp/cache/assets/development/sprockets/cd293158b6896cfb3175bdb8f0edd216 +0 -0
  758. data/spec/internal/tmp/cache/assets/development/sprockets/cf3c7598aa8759b0ae1484ba93c69220 +0 -0
  759. data/spec/internal/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  760. data/spec/internal/tmp/cache/assets/development/sprockets/d0358a6b91806c2bda2ec9cbd39355d3 +0 -0
  761. data/spec/internal/tmp/cache/assets/development/sprockets/d0bf34be191200493d602d0d1075abc4 +0 -0
  762. data/spec/internal/tmp/cache/assets/development/sprockets/d116bf4dc1987a43dae4fd01682a7e96 +0 -0
  763. data/spec/internal/tmp/cache/assets/development/sprockets/d147f38a1b4f6afa0f3d0eb82d2cc2fe +0 -0
  764. data/spec/internal/tmp/cache/assets/development/sprockets/d21daa2e93d652c874b796e557c67af5 +0 -0
  765. data/spec/internal/tmp/cache/assets/development/sprockets/d22565106c6934760a7b30030d4d6218 +0 -0
  766. data/spec/internal/tmp/cache/assets/development/sprockets/d242948449b16ccf4cea1d4e3d27fa17 +0 -0
  767. data/spec/internal/tmp/cache/assets/development/sprockets/d26c008d41750ad1d89b6064cf840e53 +0 -0
  768. data/spec/internal/tmp/cache/assets/development/sprockets/d27a487fde53c12475c487dfda522219 +0 -0
  769. data/spec/internal/tmp/cache/assets/development/sprockets/d3735efda0f39e7f62f6a94f881e0fe0 +0 -0
  770. data/spec/internal/tmp/cache/assets/development/sprockets/d3934384e24282abe45892dac1926d06 +0 -0
  771. data/spec/internal/tmp/cache/assets/development/sprockets/d39f4d7318c8582cc6be7aee47e4afad +0 -0
  772. data/spec/internal/tmp/cache/assets/development/sprockets/d4a27d929aa833b31bac70ae08cac879 +0 -0
  773. data/spec/internal/tmp/cache/assets/development/sprockets/d5b10d40d34be6d971584e9c30858cb9 +0 -0
  774. data/spec/internal/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  775. data/spec/internal/tmp/cache/assets/development/sprockets/d79f5c9d64b788ba459b1b3e97762bcf +0 -0
  776. data/spec/internal/tmp/cache/assets/development/sprockets/d857d1ce7245aff3c08085a90f318d1b +0 -0
  777. data/spec/internal/tmp/cache/assets/development/sprockets/d9c357f3a9839adc19baa7a2ed38f10b +0 -0
  778. data/spec/internal/tmp/cache/assets/development/sprockets/da80020da94ad40030812e6021256ed0 +0 -0
  779. data/spec/internal/tmp/cache/assets/development/sprockets/dbd348e834265fd900d1ad87ac526e0b +0 -0
  780. data/spec/internal/tmp/cache/assets/development/sprockets/ddb0f76b24ea475ad84191b4d16f1c39 +0 -0
  781. data/spec/internal/tmp/cache/assets/development/sprockets/debfd40e67c933ffddd3985195bed1ae +0 -0
  782. data/spec/internal/tmp/cache/assets/development/sprockets/dee4c316960c81ad77d05ae71276731d +0 -0
  783. data/spec/internal/tmp/cache/assets/development/sprockets/df0714c7ed93b6f849d260a087eae958 +0 -0
  784. data/spec/internal/tmp/cache/assets/development/sprockets/df90d79d6f00cb8a29af9368d23f1357 +0 -0
  785. data/spec/internal/tmp/cache/assets/development/sprockets/dfddc683acafc4ba0743bbbffe383ebf +0 -0
  786. data/spec/internal/tmp/cache/assets/development/sprockets/dfe09e37adb766551a29201928e85416 +0 -0
  787. data/spec/internal/tmp/cache/assets/development/sprockets/e00f44d805fa88365074a4950bda932d +0 -0
  788. data/spec/internal/tmp/cache/assets/development/sprockets/e04d4c8557f581a2a609dee951b093cf +0 -0
  789. data/spec/internal/tmp/cache/assets/development/sprockets/e147bd5ca7f7a8a7b87aef348c942738 +0 -0
  790. data/spec/internal/tmp/cache/assets/development/sprockets/e16312e2105b505177d87859413b2419 +0 -0
  791. data/spec/internal/tmp/cache/assets/development/sprockets/e2e2a0f694d3526de7ca6b75f1457398 +0 -0
  792. data/spec/internal/tmp/cache/assets/development/sprockets/e319bba5826aee94ff4471b80a50f52d +0 -0
  793. data/spec/internal/tmp/cache/assets/development/sprockets/e31ff11cd01012ad5087fdc29a5f65f3 +0 -0
  794. data/spec/internal/tmp/cache/assets/development/sprockets/e379e74f9415448434485f855e740904 +0 -0
  795. data/spec/internal/tmp/cache/assets/development/sprockets/e4b98bbf98e5ced801ffafe2f11ab631 +0 -0
  796. data/spec/internal/tmp/cache/assets/development/sprockets/e4dce3b503ed6597144913c16e049162 +0 -0
  797. data/spec/internal/tmp/cache/assets/development/sprockets/e53aded534313c85cf4398326926986b +0 -0
  798. data/spec/internal/tmp/cache/assets/development/sprockets/e777040938c8046fadb04b30e2bd3744 +0 -0
  799. data/spec/internal/tmp/cache/assets/development/sprockets/e7e24f9e9a94109161ca736960a76698 +0 -0
  800. data/spec/internal/tmp/cache/assets/development/sprockets/e8d5600e9fa8a57b06d87e08144cc0e2 +0 -0
  801. data/spec/internal/tmp/cache/assets/development/sprockets/e955e00016f25939765e2e0162be2de8 +0 -0
  802. data/spec/internal/tmp/cache/assets/development/sprockets/ea2e81d68271a1311a252e134e6a7420 +0 -0
  803. data/spec/internal/tmp/cache/assets/development/sprockets/ea7de405fbbd8e79e27ebce6a7460634 +0 -0
  804. data/spec/internal/tmp/cache/assets/development/sprockets/eb1d383518faa08f47c5bdf271ca1e10 +0 -0
  805. data/spec/internal/tmp/cache/assets/development/sprockets/ec038e01405200984a7723d5515901a1 +0 -0
  806. data/spec/internal/tmp/cache/assets/development/sprockets/efcba5a34ce0c1bb05f8e1040c0778c9 +0 -0
  807. data/spec/internal/tmp/cache/assets/development/sprockets/f01bbab1fb0d73421661c5551aea1ad6 +0 -0
  808. data/spec/internal/tmp/cache/assets/development/sprockets/f0e73327cfc345e14534746797a5fd1f +0 -0
  809. data/spec/internal/tmp/cache/assets/development/sprockets/f16fd066eb3bf5d287ab8a38419ca2b2 +0 -0
  810. data/spec/internal/tmp/cache/assets/development/sprockets/f1a626976e6c492bdb0d1af05ccebae1 +0 -0
  811. data/spec/internal/tmp/cache/assets/development/sprockets/f4dd57625cf983b1687aed3f8d5f4630 +0 -0
  812. data/spec/internal/tmp/cache/assets/development/sprockets/f5bd213bb96dfd950c8a8669fdd2fee1 +0 -0
  813. data/spec/internal/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  814. data/spec/internal/tmp/cache/assets/development/sprockets/f83c23cb55a34edadc8d7d92c1e8aafe +0 -0
  815. data/spec/internal/tmp/cache/assets/development/sprockets/f97be24c0fdd87ba3dbf0b1e04b9d5ab +0 -0
  816. data/spec/internal/tmp/cache/assets/development/sprockets/fb8b6a2034268f322ffbe80e724a474a +0 -0
  817. data/spec/internal/tmp/cache/assets/development/sprockets/fbd571e08be9ae33fd5bffa200c6e191 +0 -0
  818. data/spec/internal/tmp/cache/assets/development/sprockets/fd13c098303e9ae828e4af16762f7491 +0 -0
  819. data/spec/internal/tmp/cache/assets/development/sprockets/fed43bc1912cdb19dfa4ab32cf796814 +0 -0
  820. data/spec/internal/tmp/cache/assets/development/sprockets/fef61adda3a2e0ecc385e7ad990e64c5 +0 -0
  821. data/spec/views/spotlight/sir_trevor/blocks/_item_carousel_block.html.erb_spec.rb +0 -36
  822. data/spec/views/spotlight/sir_trevor/blocks/_item_features_block.html.erb_spec.rb +0 -32
  823. data/spec/views/spotlight/sir_trevor/blocks/_item_grid_block.html.erb_spec.rb +0 -30
@@ -0,0 +1,87 @@
1
+ <?xml version="1.0" encoding="UTF-8" ?>
2
+ <config>
3
+ <!-- NOTE: various comments and unused configuration possibilities have been purged
4
+ from this file. Please refer to http://wiki.apache.org/solr/SolrConfigXml,
5
+ as well as the default solrconfig file included with Solr -->
6
+
7
+ <abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
8
+
9
+ <luceneMatchVersion>4.10.3</luceneMatchVersion>
10
+
11
+ <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
12
+
13
+ <updateHandler class="solr.DirectUpdateHandler2">
14
+ <updateLog>
15
+ <str name="dir">${solr.core0.data.dir:}</str>
16
+ </updateLog>
17
+ </updateHandler>
18
+
19
+ <!-- solr lib dirs -->
20
+ <lib dir="../lib/contrib/analysis-extras/lib" />
21
+ <lib dir="../lib/contrib/analysis-extras/lucene-libs" />
22
+
23
+ <dataDir>${solr.data.dir:}</dataDir>
24
+
25
+ <requestHandler name="search" class="solr.SearchHandler" default="true">
26
+ <lst name="defaults">
27
+ <str name="defType">edismax</str>
28
+ <str name="echoParams">explicit</str>
29
+ <str name="q.alt">*:*</str>
30
+ <str name="mm">2&lt;-1 5&lt;-2 6&lt;90%</str>
31
+ <int name="qs">1</int>
32
+ <int name="ps">2</int>
33
+ <float name="tie">0.01</float>
34
+ <str name="qf">
35
+ id^1000
36
+ full_title_tesim^100
37
+ spotlight_upload_description_tesim^50
38
+ all_text_timv
39
+ </str>
40
+ <str name="pf">
41
+ full_title_tesim^100
42
+ all_text_timv^10
43
+ </str>
44
+
45
+ <str name="fl">
46
+ *, score
47
+ </str>
48
+
49
+ <str name="facet">true</str>
50
+ <str name="facet.mincount">1</str>
51
+ <str name="facet.limit">10</str>
52
+ </lst>
53
+ </requestHandler>
54
+
55
+ <requestHandler name="/get" class="solr.RealTimeGetHandler">
56
+ <lst name="defaults">
57
+ <str name="omitHeader">true</str>
58
+ <str name="wt">json</str>
59
+ <str name="indent">true</str>
60
+ </lst>
61
+ </requestHandler>
62
+
63
+ <requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
64
+
65
+ <requestDispatcher handleSelect="true" >
66
+ <requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
67
+ </requestDispatcher>
68
+
69
+ <requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" />
70
+ <requestHandler name="/update" class="solr.UpdateRequestHandler" />
71
+ <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
72
+
73
+ <requestHandler name="/admin/ping" class="solr.PingRequestHandler">
74
+ <lst name="invariants">
75
+ <str name="q">solrpingquery</str>
76
+ </lst>
77
+ <lst name="defaults">
78
+ <str name="echoParams">all</str>
79
+ </lst>
80
+ </requestHandler>
81
+
82
+ <!-- config for the admin interface -->
83
+ <admin>
84
+ <defaultQuery>search</defaultQuery>
85
+ </admin>
86
+
87
+ </config>
@@ -17,7 +17,9 @@ module Spotlight
17
17
  title: CGI.unescapeHTML(view_context.presenter(doc).document_heading.to_str),
18
18
  thumbnail: doc.first(blacklight_config.index.thumbnail_field),
19
19
  thumbnails: doc.spotlight_image_versions.try(:thumb) || doc[blacklight_config.index.thumbnail_field],
20
+ full_image_url: doc.spotlight_image_versions.try(:full).try(:first),
20
21
  full_images: doc.spotlight_image_versions.try(:full),
22
+ image_versions: doc.spotlight_image_versions.image_versions(:thumb, :full),
21
23
  description: doc.id,
22
24
  url: exhibit_catalog_path(current_exhibit, doc),
23
25
  private: doc.private?(current_exhibit),
@@ -2,7 +2,7 @@ module Spotlight::Catalog::AccessControlsEnforcement
2
2
  extend ActiveSupport::Concern
3
3
 
4
4
  included do
5
- self.solr_search_params_logic += [:apply_permissive_visibility_filter]
5
+ self.search_params_logic += [:apply_permissive_visibility_filter]
6
6
  end
7
7
 
8
8
  protected
@@ -15,7 +15,11 @@ module Spotlight::Catalog::AccessControlsEnforcement
15
15
  end
16
16
 
17
17
  if Spotlight::Engine.config.filter_resources_by_exhibit
18
- add_facet_fq_to_solr solr_params, f: current_exhibit.solr_data
18
+ current_exhibit.solr_data.each do |facet_field, values|
19
+ Array(values).each do |value|
20
+ solr_params.append_filter_query search_builder.send(:facet_value_to_fq_string, facet_field, value)
21
+ end
22
+ end
19
23
  end
20
24
  end
21
25
  end
@@ -5,13 +5,32 @@ module Spotlight
5
5
  include Spotlight::Config
6
6
 
7
7
  included do
8
- helper_method :current_exhibit
8
+ helper_method :current_exhibit, :current_masthead, :exhibit_masthead?
9
9
  end
10
10
 
11
11
  def current_exhibit
12
12
  @exhibit
13
13
  end
14
14
 
15
+ def current_masthead
16
+ @masthead ||= begin
17
+ current_exhibit.masthead if current_exhibit and current_exhibit.masthead and current_exhibit.masthead.display?
18
+ end
19
+ end
20
+
21
+ def current_masthead= masthead
22
+ @masthead = masthead
23
+ end
24
+
25
+ def default_masthead?
26
+ current_exhibit.nil? || current_masthead.nil?
27
+ end
28
+
29
+ def exhibit_masthead?
30
+ default_masthead? || current_masthead == current_exhibit.masthead
31
+ end
32
+
33
+
15
34
  # overwrites Blacklight::Controller#blacklight_config
16
35
  def blacklight_config
17
36
  if current_exhibit
@@ -30,6 +30,8 @@ module Spotlight
30
30
  require 'bootstrap_form'
31
31
  require 'acts-as-taggable-on'
32
32
  require 'oembed'
33
+
34
+ Mime::Type.register "application/solr+json", :solr_json
33
35
  end
34
36
 
35
37
  initializer "oembed.initialize" do
@@ -37,7 +39,7 @@ module Spotlight
37
39
  end
38
40
 
39
41
  def self.catalog_controller
40
- @catalog_controller ||= Spotlight::Engine.config.catalog_controller_class.constantize
42
+ Spotlight::Engine.config.catalog_controller_class.constantize
41
43
  end
42
44
 
43
45
  def self.blacklight_config
@@ -51,7 +53,9 @@ module Spotlight
51
53
 
52
54
  Spotlight::Engine.config.resource_providers = []
53
55
  Spotlight::Engine.config.new_resource_partials = [] # e.g. "spotlight/resources/bookmarklet"
54
- Spotlight::Engine.config.filter_resources_by_exhibit = false
56
+ Spotlight::Engine.config.uploaded_resource_partials = ['spotlight/resources/upload/single_item_form', 'spotlight/resources/upload/multi_item_form']
57
+ # Filter resources by exhibit by default
58
+ Spotlight::Engine.config.filter_resources_by_exhibit = true
55
59
  # The allowed file extensions for uploading non-repository items.
56
60
  Spotlight::Engine.config.allowed_upload_extensions = %w(jpg jpeg png)
57
61
 
@@ -67,19 +71,22 @@ module Spotlight
67
71
  Spotlight::Engine.config.thumbnail_field = :thumbnail_url_ssm
68
72
  Spotlight::Engine.config.square_image_field = :thumbnail_square_url_ssm
69
73
 
70
- Spotlight::Engine.config.uploaded_description_field = :spotlight_upload_description_tesim
71
- Spotlight::Engine.config.uploaded_attribution_field = :spotlight_upload_attribution_tesim
72
- Spotlight::Engine.config.uploaded_date_field = :spotlight_upload_date_tesim
73
-
74
74
  # Defaults to the blacklight_config.index.title_field:
75
75
  Spotlight::Engine.config.upload_title_field = nil # OpenStruct.new(...)
76
76
 
77
77
  Spotlight::Engine.config.upload_fields = [
78
- OpenStruct.new(field_name: Spotlight::Engine.config.uploaded_description_field, form_field_type: :text_area),
79
- OpenStruct.new(field_name: Spotlight::Engine.config.uploaded_attribution_field),
80
- OpenStruct.new(field_name: Spotlight::Engine.config.uploaded_date_field)
78
+ OpenStruct.new(field_name: :spotlight_upload_description_tesim, label: "Description", form_field_type: :text_area),
79
+ OpenStruct.new(field_name: :spotlight_upload_attribution_tesim, label: "Attribution"),
80
+ OpenStruct.new(field_name: :spotlight_upload_date_tesim, label: "Date")
81
81
  ]
82
82
 
83
+ # Configure the CarrierWave file storage mechanism
84
+ Spotlight::Engine.config.uploader_storage = :file
85
+
86
+ initializer "spotlight-assets.initialize" do
87
+ Rails.application.config.assets.precompile += %w( Jcrop.gif )
88
+ end
89
+
83
90
  # To present curators with analytics reports on the exhibit dashboard, you need to configure
84
91
  # an Analytics provider. Google Analytics support is provided out-of-the-box.
85
92
  Spotlight::Engine.config.analytics_provider = nil
@@ -107,11 +114,15 @@ module Spotlight
107
114
  Blacklight::Engine.config.inject_blacklight_helpers = false
108
115
 
109
116
  # Query parameters for autocomplete requests
110
- Blacklight::Configuration.default_values[:default_autocomplete_solr_params] = {qf: 'id^1000 full_title_tesim^100 id_ng full_title_ng'}
117
+ Spotlight::Engine.config.autocomplete_search_field = "autocomplete"
118
+ Spotlight::Engine.config.default_autocomplete_params = {qf: 'id^1000 full_title_tesim^100 id_ng full_title_ng'}
111
119
 
112
120
  # Field containing the last modified date for a Solr document
113
121
  Blacklight::Configuration.default_values[:index].timestamp_field ||= 'timestamp'
114
122
 
123
+ # Field containing the last modified date for a Solr document
124
+ Blacklight::Configuration.default_values[:browse] ||= Blacklight::OpenStructWithHashAccess.new(document_actions: [])
125
+
115
126
  # make blacklight configuration play nice with bootstrap_form
116
127
  Blacklight::OpenStructWithHashAccess.send(:extend, ActiveModel::Translation)
117
128
  end
@@ -1,3 +1,3 @@
1
1
  module Spotlight
2
- VERSION = "0.3.1"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -76,15 +76,15 @@ namespace :spotlight do
76
76
  errors = 0
77
77
  verbose = ENV.fetch('VERBOSE', false).present?
78
78
 
79
- puts "[#{Blacklight.solr.uri}]"
79
+ puts "[#{Blacklight.default_index.connection.uri}]"
80
80
 
81
81
  print " - atomic updates:"
82
82
  begin
83
83
  id = 'test123'
84
84
  field = "test_#{Spotlight::Engine.config.solr_fields.string_suffix}"
85
- Blacklight.solr.add blacklight_config.solr_document_model.unique_key.to_sym => id, field => 'some-string'
86
- Blacklight.solr.update data: [{blacklight_config.solr_document_model.unique_key => id, field => { set: 'a-new-string' }}].to_json, headers: { 'Content-Type' => 'application/json' }
87
- Blacklight.solr.delete_by_id id
85
+ Blacklight.default_index.connection.add Spotlight::Engine.blacklight_config.document_model.unique_key.to_sym => id, field => 'some-string'
86
+ Blacklight.default_index.connection.update data: [{Spotlight::Engine.blacklight_config.document_model.unique_key => id, field => { set: 'a-new-string' }}].to_json, headers: { 'Content-Type' => 'application/json' }
87
+ Blacklight.default_index.connection.delete_by_id id
88
88
  print " OK\n"
89
89
  rescue Exception => e
90
90
  errors += 1
@@ -69,7 +69,7 @@ describe Spotlight::BlacklightConfigurationsController, :type => :controller do
69
69
  expect(controller).to receive(:add_breadcrumb).with("Home", exhibit)
70
70
  expect(controller).to receive(:add_breadcrumb).with("Curation", exhibit_dashboard_path(exhibit))
71
71
  expect(controller).to receive(:add_breadcrumb).with("Search facets", exhibit_edit_facets_path(exhibit))
72
- allow(controller).to receive_message_chain(:blacklight_solr, :get).and_return({})
72
+ allow(controller).to receive_message_chain(:repository, :send_and_receive).and_return({})
73
73
  get :edit_facet_fields, exhibit_id: exhibit
74
74
  expect(response).to be_successful
75
75
  end
@@ -57,6 +57,22 @@ describe Spotlight::BrowseController, :type => :controller do
57
57
  expect(response).to render_template "spotlight/browse/show"
58
58
  end
59
59
 
60
+ it "should remove all the document actions" do
61
+ get :show, id: search, exhibit_id: exhibit
62
+ expect(controller.blacklight_config.index.document_actions).to be_blank
63
+ end
64
+
65
+ it "should use the blacklight.browse configuration for the document actions" do
66
+ config = Blacklight::Configuration.new do |config|
67
+ config.browse.document_actions = [:a, :b, :c]
68
+ end
69
+
70
+ allow(controller). to receive(:blacklight_config).and_return(config)
71
+
72
+ get :show, id: search, exhibit_id: exhibit
73
+ expect(controller.blacklight_config.index.document_actions).to match_array [:a, :b, :c]
74
+ end
75
+
60
76
  end
61
77
  end
62
78
 
@@ -16,7 +16,7 @@ describe Spotlight::CatalogController, :type => :controller do
16
16
  expect(response).to redirect_to main_app.new_user_session_path
17
17
  end
18
18
  end
19
-
19
+
20
20
  describe "GET edit" do
21
21
  it "should not be allowed" do
22
22
  get :edit, exhibit_id: exhibit, id: 'dq287tq6352'
@@ -70,8 +70,12 @@ describe Spotlight::CatalogController, :type => :controller do
70
70
  get :show, exhibit_id: exhibit, id: 'dq287tq6352'
71
71
  expect(controller.blacklight_config.show.partials.first).to eq "curation_mode_toggle"
72
72
  end
73
- end
74
73
 
74
+ it "should not have a solr_json serialization" do
75
+ get :show, exhibit_id: exhibit, id: 'dq287tq6352', format: :solr_json
76
+ expect(response).not_to be_successful
77
+ end
78
+ end
75
79
 
76
80
  describe "GET index" do
77
81
  it "should show the index when there are parameters" do
@@ -119,7 +123,7 @@ describe Spotlight::CatalogController, :type => :controller do
119
123
 
120
124
  describe "GET index" do
121
125
  it "should apply gated discovery access controls" do
122
- expect(controller.solr_search_params_logic).to include :apply_permissive_visibility_filter
126
+ expect(controller.search_params_logic).to include :apply_permissive_visibility_filter
123
127
  end
124
128
  end
125
129
 
@@ -178,6 +182,25 @@ describe Spotlight::CatalogController, :type => :controller do
178
182
  expect(assigns[:document_list]).to be_a Array
179
183
  expect(assigns[:exhibit]).to eq exhibit
180
184
  expect(response).to render_template "spotlight/catalog/admin"
185
+ expect(controller.blacklight_config.view.admin_table.document_actions).to be_empty
186
+ end
187
+
188
+ it "should use the admin table view and hide the document actions" do
189
+ get :admin, exhibit_id: exhibit
190
+
191
+ expect(controller.blacklight_config.view.to_h.keys).to match_array [:admin_table]
192
+ expect(controller.blacklight_config.view.admin_table.document_actions).to be_empty
193
+ end
194
+
195
+ describe "GET new" do
196
+ it "should be successful" do
197
+ expect(controller).to receive(:add_breadcrumb).with("Home", exhibit_path(exhibit, q: ''))
198
+ expect(controller).to receive(:add_breadcrumb).with("Curation", exhibit_dashboard_path(exhibit))
199
+ expect(controller).to receive(:add_breadcrumb).with("Items", admin_exhibit_catalog_index_path(exhibit))
200
+ expect(controller).to receive(:add_breadcrumb).with("Import items", new_exhibit_catalog_path(exhibit))
201
+ get :new, exhibit_id: exhibit
202
+ expect(response).to be_successful
203
+ end
181
204
  end
182
205
 
183
206
  describe "GET edit" do
@@ -227,4 +250,19 @@ describe Spotlight::CatalogController, :type => :controller do
227
250
  end
228
251
  end
229
252
  end
253
+
254
+ describe "when the user is a site admin" do
255
+ before { sign_in FactoryGirl.create(:site_admin, exhibit: exhibit) }
256
+
257
+ describe "show" do
258
+ it "should have a solr_json serialization" do
259
+ get :show, exhibit_id: exhibit, id: 'dq287tq6352', format: :solr_json
260
+ expect(response).to be_successful
261
+ data = JSON.parse(response.body).with_indifferent_access
262
+ expect(data).to include id: 'dq287tq6352'
263
+ expect(data).to include exhibit.solr_data
264
+ expect(data).to include Spotlight::SolrDocument.solr_field_for_tagger(exhibit)
265
+ end
266
+ end
267
+ end
230
268
  end
@@ -3,6 +3,11 @@ require 'spec_helper'
3
3
  describe Spotlight::DashboardsController, :type => :controller do
4
4
  routes { Spotlight::Engine.routes }
5
5
  let(:exhibit) { FactoryGirl.create(:exhibit) }
6
+ let(:repository) { double }
7
+
8
+ before do
9
+ allow(controller).to receive(:repository).and_return(repository)
10
+ end
6
11
 
7
12
  describe "when logged in" do
8
13
  let(:curator) { FactoryGirl.create(:exhibit_curator, exhibit: exhibit) }
@@ -11,7 +16,7 @@ describe Spotlight::DashboardsController, :type => :controller do
11
16
  it "should load the exhibit" do
12
17
  exhibit.blacklight_configuration.index = {timestamp_field: "timestamp_field"}
13
18
  exhibit.save!
14
- expect(controller).to receive(:query_solr).with({}, hash_including(sort: "timestamp_field desc")).and_return(double(docs: [{id: 1}]))
19
+ expect(controller).to receive(:get_search_results).with(sort: "timestamp_field desc").and_return([double(:response), [{id: 1}]])
15
20
  expect(controller).to receive(:add_breadcrumb).with("Home", exhibit)
16
21
  expect(controller).to receive(:add_breadcrumb).with("Dashboard", exhibit_dashboard_path(exhibit))
17
22
  get :show, exhibit_id: exhibit.id
@@ -40,13 +40,6 @@ describe Spotlight::ExhibitsController, :type => :controller do
40
40
  end
41
41
  end
42
42
 
43
- describe "#import" do
44
- it "should not be allowed" do
45
- get :import, id: exhibit
46
- expect(response).to redirect_to main_app.new_user_session_path
47
- end
48
- end
49
-
50
43
  describe "#process_import" do
51
44
  it "should not be allowed" do
52
45
  patch :process_import, id: exhibit
@@ -86,13 +79,6 @@ describe Spotlight::ExhibitsController, :type => :controller do
86
79
  end
87
80
  end
88
81
 
89
- describe "#import" do
90
- it "should be successful" do
91
- get :import, id: exhibit
92
- expect(response).to be_successful
93
- end
94
- end
95
-
96
82
  describe "#process_import" do
97
83
  it "should be successful" do
98
84
  f = Tempfile.new("foo")
@@ -18,6 +18,17 @@ describe Spotlight::Resources::UploadController, :type => :controller do
18
18
  describe "when signed in as a curator" do
19
19
  let(:user) { FactoryGirl.create(:exhibit_curator, exhibit: exhibit) }
20
20
  before {sign_in user }
21
+
22
+ describe "GET new" do
23
+ it "should be successful" do
24
+ expect(controller).to receive(:add_breadcrumb).with("Home", exhibit_path(exhibit))
25
+ expect(controller).to receive(:add_breadcrumb).with("Curation", exhibit_dashboard_path(exhibit))
26
+ expect(controller).to receive(:add_breadcrumb).with("Items", admin_exhibit_catalog_index_path(exhibit))
27
+ expect(controller).to receive(:add_breadcrumb).with("Add non-repository items", new_exhibit_resources_upload_path(exhibit))
28
+ get :new, exhibit_id: exhibit
29
+ expect(response).to be_successful
30
+ end
31
+ end
21
32
 
22
33
  describe 'POST csv_upload' do
23
34
  let(:csv) { fixture_file_upload(File.expand_path(File.join('..', 'fixtures', 'csv-upload-fixture.csv'), Rails.root), 'text/csv') }
@@ -50,18 +50,23 @@ describe Spotlight::SearchesController, :type => :controller do
50
50
  expect(assigns[:searches]).to include search
51
51
  end
52
52
 
53
- it "should have a JSON response" do
53
+ it "should have a JSON response with published resources" do
54
+ search.on_landing_page = true
55
+ search.save!
56
+
54
57
  get :index, exhibit_id: exhibit, format: 'json'
55
58
  expect(response).to be_successful
56
59
  json = JSON.parse(response.body)
57
- expect(json.size).to eq 2
60
+ expect(json.size).to eq 1
58
61
  expect(json.last).to include({'id' => search.id, "title"=>"Search1"})
59
62
  end
60
63
  end
61
64
 
62
65
  describe "GET autocomplete" do
63
- let!(:search) { FactoryGirl.create(:search, exhibit: exhibit, title: "New Mexico Maps", query_params: {q: "New Mexico"} ) }
66
+ let(:search) { FactoryGirl.create(:search, exhibit: exhibit, title: "New Mexico Maps", query_params: {q: "New Mexico"} ) }
67
+ let(:search_fq) { FactoryGirl.create(:search, exhibit: exhibit, title: "New Mexico Maps", query_params: {f: { subject_geographic_ssim: ["Pacific Ocean"]}} ) }
64
68
  it "should show all the items returned search's query_params" do
69
+ pending("A search defined by a query doesn't work with autocomplete correctly.")
65
70
  get :autocomplete, exhibit_id: exhibit, id: search, format: 'json'
66
71
  expect(response).to be_successful
67
72
  docs = JSON.parse(response.body)['docs']
@@ -71,13 +76,13 @@ describe Spotlight::SearchesController, :type => :controller do
71
76
  expect(doc_ids).to include "rz818vx8201"
72
77
  end
73
78
  it "should search within the items returned in the query_params" do
74
- get :autocomplete, exhibit_id: exhibit, id: search, q: "Noorder deel",format: 'json'
79
+ get :autocomplete, exhibit_id: exhibit, id: search_fq, q: "California",format: 'json'
75
80
  expect(response).to be_successful
76
81
  docs = JSON.parse(response.body)['docs']
77
82
  expect(docs.length).to eq 1
78
- expect(docs.first["id"]).to eq "rz818vx8201"
79
- expect(docs.first["description"]).to eq "rz818vx8201"
80
- expect(docs.first["title"]).to eq "'t Noorder deel van WEST-INDIEN"
83
+ expect(docs.first["id"]).to eq "sn161bw2027"
84
+ expect(docs.first["description"]).to eq "sn161bw2027"
85
+ expect(docs.first["title"]).to match /Pas-caart van Zuyd-Zee/
81
86
  expect(docs.first).to have_key("thumbnail")
82
87
  expect(docs.first).to have_key("url")
83
88
  end
@@ -94,14 +99,14 @@ describe Spotlight::SearchesController, :type => :controller do
94
99
 
95
100
  describe "PATCH update" do
96
101
  it "should show edit page" do
97
- patch :update, id: search, exhibit_id: search.exhibit, search: {title: 'Hey man', short_description: 'short', long_description: 'long', featured_image: 'http://lorempixel.com/64/64/'}
102
+ patch :update, id: search, exhibit_id: search.exhibit, search: {title: 'Hey man', long_description: 'long', featured_image: 'http://lorempixel.com/64/64/'}
98
103
  expect(assigns[:search].title).to eq 'Hey man'
99
104
  expect(response).to redirect_to exhibit_searches_path(search.exhibit)
100
105
  end
101
106
 
102
107
  it "should render edit if there's an error" do
103
108
  expect_any_instance_of(Spotlight::Search).to receive(:update).and_return(false)
104
- patch :update, id: search, exhibit_id: search.exhibit, search: {title: 'Hey man', short_description: 'short', long_description: 'long', featured_image: 'http://lorempixel.com/64/64/'}
109
+ patch :update, id: search, exhibit_id: search.exhibit, search: {title: 'Hey man', long_description: 'long', featured_image: 'http://lorempixel.com/64/64/'}
105
110
  expect(response).to be_successful
106
111
  expect(response).to render_template 'edit'
107
112
  end