geoblacklight 2.2.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +212 -112
  3. data/.rubocop.yml +16 -14
  4. data/.rubocop_todo.yml +28 -151
  5. data/Gemfile +3 -8
  6. data/README.md +1 -1
  7. data/Rakefile +1 -0
  8. data/app/assets/images/blacklight/arrow-circle-down.svg +1 -2
  9. data/app/assets/images/blacklight/baruch-cuny.svg +1 -4
  10. data/app/assets/images/blacklight/berkeley.svg +1 -4
  11. data/app/assets/images/blacklight/book.svg +1 -4
  12. data/app/assets/images/blacklight/bookmark.svg +1 -4
  13. data/app/assets/images/blacklight/cd-rom.svg +1 -4
  14. data/app/assets/images/blacklight/chicago.svg +1 -4
  15. data/app/assets/images/blacklight/citation.svg +3 -0
  16. data/app/assets/images/blacklight/collection.svg +3 -0
  17. data/app/assets/images/blacklight/columbia.svg +1 -4
  18. data/app/assets/images/blacklight/cornell.svg +1 -4
  19. data/app/assets/images/blacklight/dvd-rom.svg +1 -4
  20. data/app/assets/images/blacklight/email.svg +1 -4
  21. data/app/assets/images/blacklight/esri-globe.svg +1 -4
  22. data/app/assets/images/blacklight/globe.svg +1 -2
  23. data/app/assets/images/blacklight/harvard.svg +1 -4
  24. data/app/assets/images/blacklight/home.svg +1 -2
  25. data/app/assets/images/blacklight/illinois.svg +1 -4
  26. data/app/assets/images/blacklight/image.svg +1 -4
  27. data/app/assets/images/blacklight/indiana.svg +1 -4
  28. data/app/assets/images/blacklight/iowa.svg +1 -4
  29. data/app/assets/images/blacklight/leaf.svg +1 -4
  30. data/app/assets/images/blacklight/lewis-clark.svg +1 -4
  31. data/app/assets/images/blacklight/line.svg +1 -4
  32. data/app/assets/images/blacklight/map-marker.svg +1 -4
  33. data/app/assets/images/blacklight/map.svg +1 -4
  34. data/app/assets/images/blacklight/maryland.svg +1 -4
  35. data/app/assets/images/blacklight/massgis.svg +1 -4
  36. data/app/assets/images/blacklight/metadata.svg +1 -4
  37. data/app/assets/images/blacklight/michigan-state.svg +1 -4
  38. data/app/assets/images/blacklight/michigan.svg +1 -4
  39. data/app/assets/images/blacklight/minnesota.svg +1 -4
  40. data/app/assets/images/blacklight/mit.svg +1 -4
  41. data/app/assets/images/blacklight/mixed.svg +1 -4
  42. data/app/assets/images/blacklight/multilinestring.svg +1 -4
  43. data/app/assets/images/blacklight/multipoint.svg +1 -4
  44. data/app/assets/images/blacklight/multipolygon.svg +1 -4
  45. data/app/assets/images/blacklight/nyu.svg +1 -4
  46. data/app/assets/images/blacklight/ohio-state.svg +1 -4
  47. data/app/assets/images/blacklight/pagelines-brands.svg +1 -4
  48. data/app/assets/images/blacklight/paper-map.svg +1 -4
  49. data/app/assets/images/blacklight/penn-state.svg +1 -4
  50. data/app/assets/images/blacklight/point.svg +1 -4
  51. data/app/assets/images/blacklight/polygon.svg +1 -4
  52. data/app/assets/images/blacklight/polyline.svg +1 -4
  53. data/app/assets/images/blacklight/princeton.svg +1 -4
  54. data/app/assets/images/blacklight/public.svg +1 -4
  55. data/app/assets/images/blacklight/purdue.svg +1 -4
  56. data/app/assets/images/blacklight/raster.svg +1 -4
  57. data/app/assets/images/blacklight/restricted.svg +1 -4
  58. data/app/assets/images/blacklight/sms.svg +1 -4
  59. data/app/assets/images/blacklight/stanford.svg +1 -4
  60. data/app/assets/images/blacklight/table.svg +1 -4
  61. data/app/assets/images/blacklight/tags.svg +1 -2
  62. data/app/assets/images/blacklight/texas.svg +1 -4
  63. data/app/assets/images/blacklight/tufts.svg +1 -4
  64. data/app/assets/images/blacklight/ucla.svg +1 -4
  65. data/app/assets/images/blacklight/uva.svg +1 -4
  66. data/app/assets/images/blacklight/web_services.svg +1 -4
  67. data/app/assets/images/blacklight/wisconsin.svg +1 -4
  68. data/app/assets/javascripts/geoblacklight/basemaps.js +18 -0
  69. data/app/assets/javascripts/geoblacklight/downloaders/downloader.js +1 -1
  70. data/app/assets/javascripts/geoblacklight/modules/geosearch.js +1 -1
  71. data/app/assets/javascripts/geoblacklight/modules/home.js +1 -1
  72. data/app/assets/javascripts/geoblacklight/modules/item.js +20 -1
  73. data/app/assets/javascripts/geoblacklight/modules/results.js +4 -2
  74. data/app/assets/javascripts/geoblacklight/modules/svg_tooltips.js +31 -0
  75. data/app/assets/javascripts/geoblacklight/viewers/esri.js +2 -2
  76. data/app/assets/javascripts/geoblacklight/viewers/esri/tiled_map_layer.js +1 -1
  77. data/app/assets/javascripts/geoblacklight/viewers/wms.js +2 -2
  78. data/app/assets/stylesheets/geoblacklight/geoblacklight.scss +2 -0
  79. data/app/assets/stylesheets/geoblacklight/modules/_base.scss +33 -0
  80. data/app/assets/stylesheets/geoblacklight/{_blacklight_overrides.scss → modules/_blacklight_overrides.scss} +2 -11
  81. data/app/assets/stylesheets/geoblacklight/{_styles.scss → modules/_styles.scss} +1 -0
  82. data/app/assets/stylesheets/geoblacklight/modules/downloads.scss +37 -54
  83. data/app/assets/stylesheets/geoblacklight/modules/item.scss +13 -0
  84. data/app/assets/stylesheets/geoblacklight/modules/results.scss +26 -29
  85. data/app/assets/stylesheets/geoblacklight/modules/sidebar.scss +12 -42
  86. data/app/assets/stylesheets/geoblacklight/modules/toolbar.scss +17 -59
  87. data/app/controllers/download_controller.rb +12 -12
  88. data/app/controllers/relation_controller.rb +1 -0
  89. data/app/controllers/wms_controller.rb +1 -0
  90. data/app/helpers/arcgis_helper.rb +1 -0
  91. data/app/helpers/blacklight_helper.rb +1 -0
  92. data/app/helpers/carto_helper.rb +1 -0
  93. data/app/helpers/geoblacklight_helper.rb +33 -71
  94. data/app/models/concerns/geoblacklight/solr_document.rb +15 -9
  95. data/app/models/concerns/geoblacklight/solr_document/arcgis.rb +2 -1
  96. data/app/models/concerns/geoblacklight/solr_document/carto.rb +1 -13
  97. data/app/models/concerns/geoblacklight/solr_document/citation.rb +29 -0
  98. data/app/models/concerns/geoblacklight/solr_document/finder.rb +1 -0
  99. data/app/models/concerns/geoblacklight/solr_document/inspection.rb +2 -1
  100. data/app/models/concerns/geoblacklight/spatial_search_behavior.rb +3 -1
  101. data/app/presenters/geoblacklight/document_presenter.rb +2 -1
  102. data/app/views/catalog/_arcgis.html.erb +4 -0
  103. data/app/views/catalog/_carto.html.erb +4 -0
  104. data/app/views/catalog/_citation.html.erb +11 -0
  105. data/app/views/catalog/_data_dictionary.html.erb +1 -1
  106. data/app/views/catalog/_document_action.html.erb +1 -1
  107. data/app/views/catalog/_document_split.html.erb +1 -1
  108. data/app/views/catalog/_downloads_primary.html.erb +8 -1
  109. data/app/views/catalog/_header_icons.html.erb +3 -3
  110. data/app/views/catalog/_home_text.html.erb +4 -1
  111. data/app/views/catalog/_index_split_default.html.erb +22 -14
  112. data/app/views/catalog/_show_default_viewer_container.html.erb +1 -1
  113. data/app/views/catalog/_web_services_wfs.html.erb +3 -3
  114. data/app/views/catalog/_web_services_wms.html.erb +3 -3
  115. data/app/views/catalog/metadata.html.erb +3 -1
  116. data/app/views/catalog/web_services.html.erb +9 -7
  117. data/app/views/relation/_ancestors.html.erb +2 -5
  118. data/app/views/relation/_descendants.html.erb +3 -6
  119. data/app/views/relation/index.html.erb +20 -8
  120. data/app/views/relation/index.json.jbuilder +2 -1
  121. data/app/views/shared/_header_navbar.html.erb +1 -3
  122. data/bin/coverage.rb +36 -0
  123. data/config/initializers/rails_config.rb +1 -0
  124. data/config/locales/geoblacklight.en.yml +46 -61
  125. data/geoblacklight.gemspec +5 -8
  126. data/lib/generators/geoblacklight/assets_generator.rb +46 -0
  127. data/lib/generators/geoblacklight/install_generator.rb +8 -9
  128. data/lib/generators/geoblacklight/templates/assets/_blacklight.scss +1 -0
  129. data/lib/generators/geoblacklight/templates/assets/_customizations.scss +28 -0
  130. data/{app/assets/stylesheets/geoblacklight/application.scss → lib/generators/geoblacklight/templates/assets/_geoblacklight.scss} +0 -1
  131. data/lib/generators/geoblacklight/templates/assets/application.scss +7 -0
  132. data/lib/generators/geoblacklight/templates/{geoblacklight.js → assets/geoblacklight.js} +0 -1
  133. data/lib/generators/geoblacklight/templates/catalog_controller.rb +6 -2
  134. data/lib/generators/geoblacklight/templates/settings.yml +4 -6
  135. data/lib/generators/geoblacklight/webpacker_generator.rb +2 -1
  136. data/lib/geoblacklight.rb +1 -0
  137. data/lib/geoblacklight/bounding_box.rb +1 -0
  138. data/lib/geoblacklight/catalog_helper_override.rb +2 -1
  139. data/lib/geoblacklight/constants.rb +1 -0
  140. data/lib/geoblacklight/download.rb +6 -5
  141. data/lib/geoblacklight/download/geojson_download.rb +1 -0
  142. data/lib/geoblacklight/download/geotiff_download.rb +1 -0
  143. data/lib/geoblacklight/download/hgl_download.rb +1 -0
  144. data/lib/geoblacklight/download/kmz_download.rb +2 -1
  145. data/lib/geoblacklight/download/shapefile_download.rb +1 -0
  146. data/lib/geoblacklight/engine.rb +2 -2
  147. data/lib/geoblacklight/exceptions.rb +1 -0
  148. data/lib/geoblacklight/geoblacklight_helper_behavior.rb +1 -0
  149. data/lib/geoblacklight/item_viewer.rb +1 -0
  150. data/lib/geoblacklight/metadata.rb +1 -0
  151. data/lib/geoblacklight/metadata/base.rb +3 -2
  152. data/lib/geoblacklight/metadata/fgdc.rb +1 -0
  153. data/lib/geoblacklight/metadata/html.rb +2 -2
  154. data/lib/geoblacklight/metadata/iso19139.rb +1 -0
  155. data/lib/geoblacklight/metadata_transformer.rb +1 -0
  156. data/lib/geoblacklight/metadata_transformer/base.rb +1 -0
  157. data/lib/geoblacklight/metadata_transformer/fgdc.rb +1 -0
  158. data/lib/geoblacklight/metadata_transformer/iso19139.rb +1 -0
  159. data/lib/geoblacklight/reference.rb +1 -0
  160. data/lib/geoblacklight/references.rb +7 -3
  161. data/lib/geoblacklight/relation/ancestors.rb +2 -1
  162. data/lib/geoblacklight/relation/descendants.rb +2 -1
  163. data/lib/geoblacklight/relation/relation_response.rb +2 -1
  164. data/lib/geoblacklight/routes.rb +1 -0
  165. data/lib/geoblacklight/routes/downloadable.rb +1 -0
  166. data/lib/geoblacklight/routes/exportable.rb +1 -0
  167. data/lib/geoblacklight/routes/wms.rb +1 -0
  168. data/lib/geoblacklight/version.rb +2 -1
  169. data/lib/geoblacklight/view_helper_override.rb +2 -1
  170. data/lib/geoblacklight/wms_layer.rb +3 -2
  171. data/lib/geoblacklight/wms_layer/feature_info_response.rb +1 -0
  172. data/lib/tasks/geoblacklight.rake +33 -32
  173. data/solr/conf/schema.xml +5 -5
  174. data/spec/controllers/catalog_controller_spec.rb +1 -0
  175. data/spec/controllers/download_controller_spec.rb +2 -1
  176. data/spec/controllers/relation_controller_spec.rb +1 -0
  177. data/spec/controllers/wms_controller_spec.rb +2 -1
  178. data/spec/factories/user.rb +1 -0
  179. data/spec/features/bookmarks_spec.rb +1 -0
  180. data/spec/features/configurable_basemap_spec.rb +10 -0
  181. data/spec/features/data_dictionary_download_spec.rb +1 -0
  182. data/spec/features/download_layer_spec.rb +1 -0
  183. data/spec/features/empty_search_spec.rb +1 -0
  184. data/spec/features/esri_viewer_spec.rb +1 -6
  185. data/spec/features/exports_spec.rb +4 -12
  186. data/spec/features/help_text_spec.rb +1 -0
  187. data/spec/features/home_page_spec.rb +6 -0
  188. data/spec/features/iiif_viewer_spec.rb +1 -0
  189. data/spec/features/index_map_spec.rb +1 -0
  190. data/spec/features/layer_inspection_spec.rb +1 -0
  191. data/spec/features/layer_opacity_spec.rb +1 -0
  192. data/spec/features/layer_preview_spec.rb +1 -0
  193. data/spec/features/layer_with_no_references_spec.rb +1 -0
  194. data/spec/features/linkified_attribute_table_spec.rb +1 -0
  195. data/spec/features/metadata_panel_spec.rb +1 -0
  196. data/spec/features/missing_metadata_spec.rb +13 -0
  197. data/spec/features/multiple_downloads_spec.rb +15 -0
  198. data/spec/features/oembed_spec.rb +1 -0
  199. data/spec/features/relations_spec.rb +10 -28
  200. data/spec/features/saved_searches_spec.rb +1 -0
  201. data/spec/features/search_bar_spec.rb +1 -0
  202. data/spec/features/search_results_map_spec.rb +1 -6
  203. data/spec/features/search_results_overlap_ratio_spec.rb +4 -3
  204. data/spec/features/search_spec.rb +1 -0
  205. data/spec/features/show_page_metadata_spec.rb +1 -0
  206. data/spec/features/sms_spec.rb +1 -0
  207. data/spec/features/split_view.html.erb_spec.rb +4 -3
  208. data/spec/features/suppressed_records_spec.rb +1 -0
  209. data/spec/features/web_services_modal_spec.rb +1 -0
  210. data/spec/fixtures/solr_documents/metadata_no_dct_provenance_s.json +30 -0
  211. data/spec/fixtures/solr_documents/metadata_no_layer_geom_type_s.json +17 -0
  212. data/spec/fixtures/solr_documents/metadata_no_solr_geom.json +23 -0
  213. data/spec/fixtures/solr_documents/multiple-downloads.json +30 -0
  214. data/spec/helpers/arcgis_helper_spec.rb +1 -0
  215. data/spec/helpers/carto_helper_spec.rb +1 -0
  216. data/spec/helpers/geoblacklight_helper_spec.rb +51 -5
  217. data/spec/javascripts/geoblacklight/viewers/esri/tiled_map_layer_spec.js +12 -0
  218. data/spec/javascripts/geoblacklight_spec.js +0 -4
  219. data/spec/lib/geoblacklight/bounding_box_spec.rb +1 -0
  220. data/spec/lib/geoblacklight/controller_override_spec.rb +1 -0
  221. data/spec/lib/geoblacklight/document_presenter_spec.rb +3 -2
  222. data/spec/lib/geoblacklight/download/geojson_download_spec.rb +1 -0
  223. data/spec/lib/geoblacklight/download/geotiff_download_spec.rb +1 -0
  224. data/spec/lib/geoblacklight/download/hgl_download_spec.rb +1 -0
  225. data/spec/lib/geoblacklight/download/kmz_download_spec.rb +1 -0
  226. data/spec/lib/geoblacklight/download/shapefile_download_spec.rb +1 -0
  227. data/spec/lib/geoblacklight/download_spec.rb +4 -3
  228. data/spec/lib/geoblacklight/geoblacklight_helper_behavior_spec.rb +1 -0
  229. data/spec/lib/geoblacklight/item_viewer_spec.rb +1 -0
  230. data/spec/lib/geoblacklight/metadata/base_spec.rb +4 -3
  231. data/spec/lib/geoblacklight/metadata/html_spec.rb +1 -0
  232. data/spec/lib/geoblacklight/metadata_spec.rb +1 -0
  233. data/spec/lib/geoblacklight/metadata_transformer/base_spec.rb +3 -2
  234. data/spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb +3 -2
  235. data/spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb +3 -2
  236. data/spec/lib/geoblacklight/metadata_transformer_spec.rb +4 -3
  237. data/spec/lib/geoblacklight/reference_spec.rb +1 -0
  238. data/spec/lib/geoblacklight/references_spec.rb +2 -3
  239. data/spec/lib/geoblacklight/relation/ancestors_spec.rb +2 -1
  240. data/spec/lib/geoblacklight/relation/descendants_spec.rb +2 -1
  241. data/spec/lib/geoblacklight/relation/relation_response_spec.rb +1 -0
  242. data/spec/lib/geoblacklight/view_helper_override_spec.rb +1 -0
  243. data/spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb +5 -4
  244. data/spec/lib/geoblacklight/wms_layer_spec.rb +3 -2
  245. data/spec/models/concerns/geoblacklight/solr_document/carto_spec.rb +1 -20
  246. data/spec/models/concerns/geoblacklight/solr_document/citation_spec.rb +14 -0
  247. data/spec/models/concerns/geoblacklight/solr_document/finder_spec.rb +1 -0
  248. data/spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb +1 -0
  249. data/spec/models/concerns/geoblacklight/solr_document_spec.rb +27 -0
  250. data/spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb +15 -2
  251. data/spec/routing/catalog_routing_spec.rb +1 -0
  252. data/spec/spec_helper.rb +12 -9
  253. data/spec/support/backport_test_helpers.rb +1 -0
  254. data/spec/support/features.rb +1 -0
  255. data/spec/support/features/session_helpers.rb +1 -0
  256. data/spec/support/fixtures.rb +8 -0
  257. data/spec/tasks/geoblacklight_spec.rb +19 -0
  258. data/spec/teaspoon_env.rb +1 -0
  259. data/spec/test_app_templates/Gemfile.extra +1 -0
  260. data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -0
  261. data/spec/views/catalog/_document_split.html.erb_spec.rb +1 -0
  262. data/spec/views/catalog/_index_split.html.erb_spec.rb +1 -0
  263. data/spec/views/catalog/_results_pagination.html.erb_spec.rb +1 -0
  264. data/spec/views/catalog/_show_downloads.html.erb_spec.rb +1 -0
  265. data/spec/views/catalog/_show_tools.html.erb_spec.rb +2 -4
  266. data/template.rb +1 -0
  267. data/vendor/assets/stylesheets/leaflet.css +0 -1
  268. metadata +69 -79
  269. data/app/assets/images/blacklight/logo.png +0 -0
  270. data/app/assets/javascripts/geoblacklight/modules/collapse.js +0 -7
  271. data/app/assets/stylesheets/geoblacklight/_geoblacklight.scss +0 -36
  272. data/app/assets/stylesheets/geoblacklight/modules/relations.scss +0 -15
  273. data/app/views/catalog/_exports.html.erb +0 -3
  274. data/app/views/catalog/_show_tools.html.erb +0 -25
  275. data/lib/generators/geoblacklight/templates/geoblacklight.scss +0 -4
  276. data/vendor/assets/javascripts/readmore.js +0 -618
  277. data/vendor/assets/javascripts/readmore.js.map +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ab935fd48ab2b28973a24d5f5c4fccc9ef1d67174108270c02d3fa07e4aca57
4
- data.tar.gz: ef8b40ef25477de5c2ed4ef18dd9df95da1ad8fd2887190dc103462e39df00da
3
+ metadata.gz: 5f7188aa67f1fd402b335987b7c0d53bc1ee7b60a21c5334253aad774eb850f1
4
+ data.tar.gz: 413aae55a53d966894b419a8b55b90834fff753554d6cf1cef1141ab0a65a560
5
5
  SHA512:
6
- metadata.gz: f943750b581ee558dfc1ce54e3534790c731e962b2b6c2f3e9f990dff3b4e30a54f22a440464fbf33039fd820408c663c432a7626838e814868d63df861e7765
7
- data.tar.gz: '086a56ad83e6ab1e82b36943f4212adbac1899b12f4f464bce5a788a7df3f9f38f0279f675c4726e88ad5fe6a9bff19ce486e92b213b19ea3a6bb3fc4d1236f9'
6
+ metadata.gz: c27ca9af470f01f6b6c9bf71d9043a1e8c5a92423c3118780d064b241b6277d085d0a20a2d06e8e68b477f0255fb4868a45efbb1a6393a5ac4e90ff787bddf40
7
+ data.tar.gz: 7002c3644d74f9a53595a359723c0d3a91a5e7d3311e22ed2c8dbf005d10ae1c86653d9f2e810dd019aa097eec085ccf354e8ce245f81b54855e3c6fe5e10671
@@ -1,152 +1,252 @@
1
1
  ---
2
- version: 2
2
+ version: 2.1
3
+ commands:
4
+ restore_bundle_cache:
5
+ description: "Restore gems installed by bundler"
6
+ parameters:
7
+ # Use this parameter to bust the cache, if needed
8
+ cache_prefix:
9
+ type: string
10
+ default: "8-6-2020-A"
11
+ ruby_version:
12
+ type: string
13
+ default: '2.7.1'
14
+ rails_version:
15
+ type: string
16
+ default: '6.0.3.2'
17
+ steps:
18
+ - restore_cache:
19
+ keys:
20
+ - << parameters.cache_prefix >>-{{ checksum "geoblacklight.gemspec" }}-{{ checksum "Gemfile" }}-<< parameters.ruby_version >>-<< parameters.rails_version >>
21
+ paths:
22
+ - /home/circleci/geoblacklight/vendor/bundle
23
+ save_bundle_cache:
24
+ description: "Save gems installed by bundler"
25
+ parameters:
26
+ # Use this parameter to bust the cache, if needed
27
+ cache_prefix:
28
+ type: string
29
+ default: "8-6-2020-A"
30
+ ruby_version:
31
+ type: string
32
+ default: '2.7.1'
33
+ rails_version:
34
+ type: string
35
+ default: '6.0.3.2'
36
+ steps:
37
+ - save_cache:
38
+ key: << parameters.cache_prefix >>-{{ checksum "geoblacklight.gemspec" }}-{{ checksum "Gemfile" }}-<< parameters.ruby_version >>-<< parameters.rails_version >>
39
+ paths:
40
+ - /home/circleci/geoblacklight/vendor/bundle
3
41
  jobs:
4
- rails_5_2_3:
42
+ build:
5
43
  working_directory: ~/geoblacklight
44
+ parameters:
45
+ ruby_version:
46
+ type: string
47
+ default: '2.7.1'
48
+ solr_port:
49
+ type: string
50
+ default: '8983'
51
+ rails_version:
52
+ type: string
53
+ default: '6.0.3.2'
54
+ coverage:
55
+ type: boolean
56
+ default: false
6
57
  docker:
7
- - image: circleci/ruby:2.5.1-node-browsers
8
- environment:
9
- BUNDLE_JOBS: 3
10
- BUNDLE_RETRY: 3
11
- # We need both GEM_HOME and BUNDLE_PATH because of the test app
12
- GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
13
- BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
14
- CI: true
15
- RAILS_ENV: test
16
- RAILS_VERSION: 5.2.3
58
+ - image: circleci/ruby:<< parameters.ruby_version >>-node-browsers
17
59
  - image: solr:7-alpine
18
- command: bin/solr -cloud -noprompt -f -p 8983
60
+ command: bin/solr -cloud -noprompt -f -p <<parameters.solr_port>>
61
+ environment:
62
+ GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
63
+ BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
64
+ BUNDLE_JOBS: 4
65
+ BUNDLE_RETRY: 3
66
+ RAILS_ENV: test
67
+ RACK_ENV: test
68
+ RAILS_VERSION: <<parameters.rails_version>>
19
69
  steps:
20
70
  - checkout
21
- # Update chrome
22
- - run: wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
23
- - run: sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
24
- - run: sudo apt-get update
25
- - run: sudo apt-get -y install google-chrome-stable
26
- # Restore bundle cache
27
- - type: cache-restore
28
- name: Restore bundle cache
29
- key: geoblacklight-bundle-5-2-0-{{ checksum "geoblacklight.gemspec" }}-{{ checksum "Gemfile" }}-3f5eff
71
+ - restore_bundle_cache:
72
+ ruby_version: << parameters.ruby_version >>
73
+ rails_version: << parameters.rails_version >>
30
74
  # Install gems
31
75
  - run: bundle check || bundle install
32
- # Run the test suites
33
- - run: bundle exec rake engine_cart:generate
34
- - run:
35
- name: Wait for Solr
36
- command: dockerize -wait tcp://localhost:8983 -timeout 1m
37
- - run:
38
- name: Load config into solr
39
- command: |
40
- cd .internal_test_app/solr/conf
41
- zip -1 -r solr_config.zip ./*
42
- curl -H "Content-type:application/octet-stream" --data-binary @solr_config.zip "http://localhost:8983/solr/admin/configs?action=UPLOAD&name=solrconfig"
43
- curl -H 'Content-type: application/json' http://localhost:8983/api/collections/ -d '{create: {name: blacklight-core, config: solrconfig, numShards: 1}}'
44
- - run:
45
- name: Seed Solr
46
- command: |
47
- cd .internal_test_app
48
- bundle exec rake geoblacklight:index:seed
49
- bundle exec rake geoblacklight:downloads:mkdir
76
+ # Generate the internal test app
50
77
  - run:
51
- name: Compile the assets for Webpack
78
+ name: Generate test app
52
79
  command: |
53
- cd .internal_test_app
54
- rm config/webpacker.yml
55
- bundle exec rails webpacker:install
56
- bundle exec rails webpacker:compile
57
- - run:
58
- name: Run the RSpec test suites
59
- command: bundle exec rake geoblacklight:coverage
60
- - run:
61
- name: Run the Teaspoon test suites
62
- command: bundle exec rake teaspoon
63
- # Store bundle cache
64
- - type: cache-save
65
- name: Store bundle cache
66
- key: geoblacklight-bundle-5-2-0-{{ checksum "geoblacklight.gemspec" }}-{{ checksum "Gemfile" }}-3f5eff
67
- paths:
68
- - /home/circleci/geoblacklight/vendor/bundle
69
- rails_5_1_7:
70
- working_directory: ~/geoblacklight
71
- docker:
72
- - image: circleci/ruby:2.4.4-node-browsers
73
- environment:
74
- BUNDLE_JOBS: 3
75
- BUNDLE_RETRY: 3
76
- GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
77
- BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
78
- RAILS_ENV: test
79
- RAILS_VERSION: 5.1.7
80
- - image: solr:7-alpine
81
- command: bin/solr -cloud -noprompt -f -p 8983
82
- steps:
83
- - checkout
84
- # Restore bundle cache
85
- - type: cache-restore
86
- name: Restore bundle cache
87
- key: geoblacklight-bundle-5-1-7-{{ checksum "Gemfile" }}-{{ checksum "geoblacklight.gemspec" }}-3f5eff
88
- # Install gems and run specs
89
- - run: bundle check || bundle install
90
- # Run the test suites
91
- - run: bundle exec rake engine_cart:generate
80
+ [ -e ./.internal_test_app ] || bundle exec rake engine_cart:generate
81
+ - save_bundle_cache:
82
+ ruby_version: << parameters.ruby_version >>
83
+ rails_version: << parameters.rails_version >>
92
84
  - run:
93
85
  name: Wait for Solr
94
- command: dockerize -wait tcp://localhost:8983 -timeout 1m
86
+ command: dockerize -wait tcp://localhost:<<parameters.solr_port>> -timeout 1m
95
87
  - run:
96
88
  name: Load config into solr
97
89
  command: |
98
90
  cd .internal_test_app/solr/conf
99
91
  zip -1 -r solr_config.zip ./*
100
92
  curl -H "Content-type:application/octet-stream" --data-binary @solr_config.zip "http://localhost:8983/solr/admin/configs?action=UPLOAD&name=solrconfig"
101
- curl -H 'Content-type: application/json' http://localhost:8983/api/collections/ -d '{create: {name: blacklight-core, config: solrconfig, numShards: 1}}'
93
+ curl -H 'Content-type: application/json' http://localhost:<<parameters.solr_port>>/api/collections/ -d '{create: {name: blacklight-core, config: solrconfig, numShards: 1}}'
102
94
  - run:
103
95
  name: Seed Solr
104
96
  command: |
105
97
  cd .internal_test_app
98
+ bundle check || bundle install
106
99
  bundle exec rake geoblacklight:index:seed
107
100
  bundle exec rake geoblacklight:downloads:mkdir
108
- - run:
109
- name: Compile the assets for Webpack
110
- command: |
111
- cd .internal_test_app
112
- rm config/webpacker.yml
113
- bundle exec rails webpacker:install
114
- bundle exec rails webpacker:compile
115
- - run:
116
- name: Run the RSpec test suites
117
- command: bundle exec rake geoblacklight:coverage
101
+ - when:
102
+ condition: <<parameters.coverage>>
103
+ steps:
104
+ - run:
105
+ name: Ensure simplecov is installed
106
+ command: gem install simplecov
107
+ - run:
108
+ name: Run the RSpec test suites
109
+ command: bundle exec rspec
110
+ - run:
111
+ name: Stash Coverage Results
112
+ command: |
113
+ cp -R coverage/ coverage_results/
114
+ cp -R coverage/ /tmp/coverage_results/
115
+ - persist_to_workspace:
116
+ root: '~/geoblacklight'
117
+ paths: 'coverage_results'
118
+ - store_artifacts:
119
+ path: /tmp/coverage_results/
120
+ - unless:
121
+ condition: <<parameters.coverage>>
122
+ steps:
123
+ - run:
124
+ name: Run the RSpec test suites
125
+ command: bundle exec rspec
118
126
  - run:
119
127
  name: Run the Teaspoon test suites
120
128
  command: bundle exec rake teaspoon
121
- # Store bundle cache
122
- - type: cache-save
123
- name: Store bundle cache
124
- key: geoblacklight-bundle-5-1-7-{{ checksum "Gemfile" }}-{{ checksum "geoblacklight.gemspec" }}-3f5eff
125
- paths:
126
- - /home/circleci/geoblacklight/vendor/bundle
129
+
127
130
  rubocop:
128
131
  working_directory: ~/geoblacklight
132
+ parameters:
133
+ ruby_version:
134
+ type: string
135
+ default: '2.7.1'
136
+ rails_version:
137
+ type: string
138
+ default: '6.0.3.2'
129
139
  docker:
130
- - image: circleci/ruby:2.5.1-node-browsers
131
- environment:
132
- GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
133
- BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
134
- RAILS_ENV: test
140
+ - image: circleci/ruby:<< parameters.ruby_version >>-node-browsers
141
+ environment:
142
+ GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
143
+ BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
144
+ BUNDLE_JOBS: 4
145
+ BUNDLE_RETRY: 3
146
+ RAILS_ENV: test
147
+ RACK_ENV: test
148
+ RAILS_VERSION: <<parameters.rails_version>>
135
149
  steps:
136
150
  - checkout
137
- # Restore bundle cache
138
- - type: cache-restore
139
- name: Restore bundle cache
140
- key: geoblacklight-bundle-5-2-3-{{ checksum "geoblacklight.gemspec" }}-{{ checksum "Gemfile" }}-3f5eff
151
+ - restore_bundle_cache:
152
+ ruby_version: << parameters.ruby_version >>
153
+ rails_version: << parameters.rails_version >>
141
154
  # Install gems and run rubocop
142
155
  - run: bundle check || bundle install
143
156
  - run: bundle exec rake rubocop
157
+
158
+ coverage_report:
159
+ working_directory: ~/geoblacklight
160
+ parameters:
161
+ ruby_version:
162
+ type: string
163
+ default: '2.7.1'
164
+ rails_version:
165
+ type: string
166
+ default: '6.0.3.2'
167
+ docker:
168
+ - image: circleci/ruby:<< parameters.ruby_version >>-node-browsers
169
+ environment:
170
+ GEM_HOME: /home/circleci/geoblacklight/vendor/bundle
171
+ BUNDLE_PATH: /home/circleci/geoblacklight/vendor/bundle
172
+ BUNDLE_JOBS: 4
173
+ BUNDLE_RETRY: 3
174
+ RAILS_ENV: test
175
+ RACK_ENV: test
176
+ RAILS_VERSION: <<parameters.rails_version>>
177
+ steps:
178
+ - checkout
179
+ - attach_workspace:
180
+ at: '~/geoblacklight'
181
+ - restore_bundle_cache:
182
+ ruby_version: << parameters.ruby_version >>
183
+ rails_version: << parameters.rails_version >>
184
+ # Install gems and check coverage
185
+ - run: bundle check || bundle install
186
+ - run:
187
+ name: Merge and check coverage
188
+ command: |
189
+ RAILS_ENV=test bundle exec ruby ./bin/coverage.rb
190
+ - store_artifacts:
191
+ path: ~/geoblacklight/coverage
192
+ destination: coverage
193
+
144
194
  workflows:
145
- version: 2
146
- build_accept_deploy:
195
+ version: 2.1
196
+ build:
147
197
  jobs:
148
- - rails_5_2_3
149
- - rails_5_1_7
198
+ - build:
199
+ ruby_version: 2.7.1
200
+ rails_version: 6.0.3.2
201
+ coverage: true
202
+ name: "ruby2-7_rails6-0"
203
+ - build:
204
+ ruby_version: 2.6.6
205
+ rails_version: 6.0.3.2
206
+ name: "ruby2-6_rails6-0"
207
+ - build:
208
+ ruby_version: 2.7.1
209
+ rails_version: 5.2.4.3
210
+ name: "ruby2-7_rails5-2"
211
+ - build:
212
+ ruby_version: 2.6.6
213
+ rails_version: 5.2.4.3
214
+ name: "ruby2-6_rails5-2"
150
215
  - rubocop:
151
216
  requires:
152
- - rails_5_2_3
217
+ - ruby2-7_rails6-0
218
+ - coverage_report:
219
+ requires:
220
+ - ruby2-7_rails6-0
221
+ nightly:
222
+ triggers:
223
+ - schedule:
224
+ cron: "0 0 * * *"
225
+ filters:
226
+ branches:
227
+ only:
228
+ - master
229
+ jobs:
230
+ - build:
231
+ ruby_version: 2.7.1
232
+ rails_version: 6.0.3.2
233
+ coverage: true
234
+ name: "ruby2-7_rails6-0"
235
+ - build:
236
+ ruby_version: 2.6.6
237
+ rails_version: 6.0.3.2
238
+ name: "ruby2-6_rails6-0"
239
+ - build:
240
+ ruby_version: 2.7.1
241
+ rails_version: 5.2.4.3
242
+ name: "ruby2-7_rails5-2"
243
+ - build:
244
+ ruby_version: 2.6.6
245
+ rails_version: 5.2.4.3
246
+ name: "ruby2-6_rails5-2"
247
+ - rubocop:
248
+ requires:
249
+ - ruby2-7_rails6-0
250
+ - coverage_report:
251
+ requires:
252
+ - ruby2-7_rails6-0
@@ -9,17 +9,16 @@ Rails:
9
9
  Enabled: true
10
10
 
11
11
  AllCops:
12
- TargetRubyVersion: 2.3
12
+ TargetRubyVersion: 2.7
13
13
  DisplayCopNames: true
14
- Include:
15
- - '**/Rakefile'
16
14
  Exclude:
17
- - 'db/**/*'
18
- - 'vendor/**/*'
19
15
  - '.internal_test_app/**/*'
20
- - 'lib/generators/geoblacklight/templates/**/*'
16
+ - 'db/**/*'
21
17
  - 'geoblacklight.gemspec'
22
18
  - 'Gemfile'
19
+ - 'lib/generators/geoblacklight/templates/**/*'
20
+ - 'tmp/**/*'
21
+ - 'vendor/**/*'
23
22
 
24
23
  Layout/DotPosition:
25
24
  Description: Checks the position of the dot in multi-line method calls.
@@ -30,18 +29,21 @@ Layout/DotPosition:
30
29
  - leading
31
30
  - trailing
32
31
 
33
- Metrics/BlockLength:
34
- Exclude:
35
- - 'spec/helpers/geoblacklight_helper_spec.rb'
36
-
37
- Metrics/LineLength:
32
+ Layout/LineLength:
38
33
  Max: 115
39
34
  Exclude:
40
- - 'spec/**/*'
41
- - 'Rakefile'
35
+ - 'app/models/concerns/geoblacklight/spatial_search_behavior.rb'
36
+ - 'bin/coverage.rb'
42
37
  - 'lib/generators/geoblacklight/install_generator.rb'
43
38
  - 'lib/tasks/geoblacklight.rake'
44
- - 'app/models/concerns/geoblacklight/spatial_search_behavior.rb'
39
+ - 'Rakefile'
40
+ - 'spec/**/*'
41
+
42
+ Metrics/BlockLength:
43
+ Exclude:
44
+ - 'lib/tasks/geoblacklight.rake'
45
+ - 'Rakefile'
46
+ - 'spec/**/*'
45
47
 
46
48
  Metrics/MethodLength:
47
49
  Max: 16
@@ -1,58 +1,11 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2019-08-05 15:03:55 -0600 using RuboCop version 0.52.1.
3
+ # on 2020-08-07 13:49:06 -0500 using RuboCop version 0.85.1.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
- # Offense count: 16
10
- # Cop supports --auto-correct.
11
- # Configuration parameters: Width, IgnoredPatterns.
12
- Layout/IndentationWidth:
13
- Exclude:
14
- - 'app/controllers/download_controller.rb'
15
- - 'app/controllers/relation_controller.rb'
16
- - 'app/controllers/wms_controller.rb'
17
- - 'app/helpers/carto_helper.rb'
18
- - 'app/models/concerns/geoblacklight/solr_document.rb'
19
- - 'app/models/concerns/geoblacklight/solr_document/finder.rb'
20
- - 'lib/geoblacklight/bounding_box.rb'
21
- - 'lib/geoblacklight/download.rb'
22
- - 'lib/geoblacklight/metadata/base.rb'
23
- - 'lib/geoblacklight/metadata/fgdc.rb'
24
- - 'lib/geoblacklight/metadata/iso19139.rb'
25
- - 'lib/geoblacklight/metadata_transformer/base.rb'
26
- - 'lib/geoblacklight/reference.rb'
27
- - 'lib/geoblacklight/references.rb'
28
- - 'lib/tasks/geoblacklight.rake'
29
-
30
- # Offense count: 1
31
- # Cop supports --auto-correct.
32
- # Configuration parameters: AllowForAlignment.
33
- Layout/SpaceBeforeFirstArg:
34
- Exclude:
35
- - 'app/views/relation/index.json.jbuilder'
36
-
37
- # Offense count: 1
38
- # Cop supports --auto-correct.
39
- # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
40
- Lint/UnusedBlockArgument:
41
- Exclude:
42
- - 'lib/tasks/geoblacklight.rake'
43
-
44
- # Offense count: 47
45
- # Configuration parameters: CountComments, ExcludedMethods.
46
- Metrics/BlockLength:
47
- Max: 247
48
-
49
- # Offense count: 1
50
- # Cop supports --auto-correct.
51
- # Configuration parameters: AutoCorrect.
52
- Performance/HashEachMethods:
53
- Exclude:
54
- - 'app/presenters/geoblacklight/document_presenter.rb'
55
-
56
9
  # Offense count: 2
57
10
  # Configuration parameters: CustomIncludeMethods.
58
11
  RSpec/EmptyExampleGroup:
@@ -60,29 +13,14 @@ RSpec/EmptyExampleGroup:
60
13
  - 'spec/views/catalog/_document_split.html.erb_spec.rb'
61
14
  - 'spec/views/catalog/_index_split.html.erb_spec.rb'
62
15
 
63
- # Offense count: 1
64
- # Configuration parameters: EnforcedStyle.
65
- # SupportedStyles: implicit, each, example
66
- RSpec/HookArgument:
67
- Exclude:
68
- - 'spec/spec_helper.rb'
69
-
70
- # Offense count: 8
71
- RSpec/LeadingSubject:
72
- Exclude:
73
- - 'spec/lib/geoblacklight/document_presenter_spec.rb'
74
- - 'spec/lib/geoblacklight/metadata_transformer/base_spec.rb'
75
- - 'spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb'
76
- - 'spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb'
77
- - 'spec/lib/geoblacklight/metadata_transformer_spec.rb'
78
-
79
- # Offense count: 49
16
+ # Offense count: 48
80
17
  # Configuration parameters: .
81
18
  # SupportedStyles: have_received, receive
82
19
  RSpec/MessageSpies:
83
20
  EnforcedStyle: receive
84
21
 
85
- # Offense count: 28
22
+ # Offense count: 29
23
+ # Configuration parameters: IgnoreSharedExamples.
86
24
  RSpec/NamedSubject:
87
25
  Exclude:
88
26
  - 'spec/lib/geoblacklight/metadata/base_spec.rb'
@@ -93,65 +31,45 @@ RSpec/NamedSubject:
93
31
  - 'spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb'
94
32
  - 'spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb'
95
33
 
96
- # Offense count: 6
97
- RSpec/RepeatedDescription:
98
- Exclude:
99
- - 'spec/features/esri_viewer_spec.rb'
100
- - 'spec/features/search_results_map_spec.rb'
101
- - 'spec/lib/geoblacklight/references_spec.rb'
102
-
103
- # Offense count: 2
104
- RSpec/RepeatedExample:
105
- Exclude:
106
- - 'spec/features/esri_viewer_spec.rb'
107
-
108
- # Offense count: 2
34
+ # Offense count: 4
109
35
  RSpec/SubjectStub:
110
36
  Exclude:
37
+ - 'spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb'
111
38
  - 'spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb'
112
39
 
113
- # Offense count: 7
114
- Rails/FilePath:
115
- Exclude:
116
- - 'lib/geoblacklight/download.rb'
117
- - 'lib/tasks/geoblacklight.rake'
118
- - 'spec/lib/geoblacklight/download_spec.rb'
119
- - 'spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb'
120
- - 'spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb'
40
+ # Offense count: 9
41
+ # Configuration parameters: EnforcedStyle.
42
+ # SupportedStyles: slashes, arguments
43
+ # Rails/FilePath:
44
+ # Exclude:
45
+ # - 'lib/geoblacklight/download.rb'
46
+ # - 'lib/tasks/geoblacklight.rake'
47
+ # - 'spec/lib/geoblacklight/download_spec.rb'
48
+ # - 'spec/lib/geoblacklight/metadata_transformer/fgdc_spec.rb'
49
+ # - 'spec/lib/geoblacklight/metadata_transformer/iso19139_spec.rb'
50
+ # - 'spec/tasks/geoblacklight_spec.rb'
121
51
 
122
- # Offense count: 7
52
+ # Offense count: 6
123
53
  Rails/OutputSafety:
124
54
  Exclude:
125
55
  - 'app/controllers/download_controller.rb'
126
56
  - 'app/helpers/geoblacklight_helper.rb'
127
- - 'lib/geoblacklight/view_helper_override.rb'
128
57
 
129
- # Offense count: 1
58
+ # Offense count: 6
130
59
  # Cop supports --auto-correct.
131
- Style/ColonMethodCall:
60
+ # Configuration parameters: Include.
61
+ # Include: **/Rakefile, **/*.rake
62
+ Rails/RakeEnvironment:
132
63
  Exclude:
64
+ - 'lib/capistrano/tasks/**/*.rake'
65
+ - 'Rakefile'
133
66
  - 'lib/tasks/geoblacklight.rake'
134
67
 
135
68
  # Offense count: 1
136
- # Cop supports --auto-correct.
137
- # Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
138
- # SupportedStyles: assign_to_condition, assign_inside_condition
139
- Style/ConditionalAssignment:
140
- Exclude:
141
- - 'app/controllers/download_controller.rb'
142
-
143
- # Offense count: 2
144
- # Cop supports --auto-correct.
145
- Style/EmptyLiteral:
69
+ # Configuration parameters: MinBodyLength.
70
+ Style/GuardClause:
146
71
  Exclude:
147
- - 'spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb'
148
-
149
- # Offense count: 137
150
- # Cop supports --auto-correct.
151
- # Configuration parameters: EnforcedStyle.
152
- # SupportedStyles: when_needed, always, never
153
- Style/FrozenStringLiteralComment:
154
- Enabled: false
72
+ - 'lib/generators/geoblacklight/assets_generator.rb'
155
73
 
156
74
  # Offense count: 3
157
75
  # Cop supports --auto-correct.
@@ -162,48 +80,7 @@ Style/HashSyntax:
162
80
  - 'lib/tasks/geoblacklight.rake'
163
81
 
164
82
  # Offense count: 2
165
- Style/MethodMissing:
83
+ Style/MissingRespondToMissing:
166
84
  Exclude:
167
85
  - 'app/models/concerns/geoblacklight/solr_document.rb'
168
86
  - 'lib/geoblacklight/references.rb'
169
-
170
- # Offense count: 2
171
- # Cop supports --auto-correct.
172
- Style/MultilineIfModifier:
173
- Exclude:
174
- - 'app/helpers/geoblacklight_helper.rb'
175
- - 'lib/geoblacklight/references.rb'
176
-
177
- # Offense count: 2
178
- # Cop supports --auto-correct.
179
- # Configuration parameters: AutoCorrect, EnforcedStyle.
180
- # SupportedStyles: predicate, comparison
181
- Style/NumericPredicate:
182
- Exclude:
183
- - 'spec/**/*'
184
- - 'lib/geoblacklight/relation/relation_response.rb'
185
-
186
- # Offense count: 10
187
- # Cop supports --auto-correct.
188
- # Configuration parameters: PreferredDelimiters.
189
- Style/PercentLiteralDelimiters:
190
- Exclude:
191
- - 'app/models/concerns/geoblacklight/solr_document/inspection.rb'
192
- - 'spec/helpers/geoblacklight_helper_spec.rb'
193
- - 'spec/lib/geoblacklight/document_presenter_spec.rb'
194
- - 'spec/lib/geoblacklight/references_spec.rb'
195
- - 'spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb'
196
-
197
- # Offense count: 6
198
- # Cop supports --auto-correct.
199
- # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
200
- # SupportedStyles: single_quotes, double_quotes
201
- Style/StringLiterals:
202
- Exclude:
203
- - 'lib/tasks/geoblacklight.rake'
204
-
205
- # Offense count: 1
206
- # Cop supports --auto-correct.
207
- Style/UnneededInterpolation:
208
- Exclude:
209
- - 'lib/tasks/geoblacklight.rake'