geoblacklight 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1b5f2c417b7e8c11d65f0e3819b17bf6ac266fb3
4
- data.tar.gz: 555901edd70f1d935fb07a136054a55e6fd4eedf
3
+ metadata.gz: 48c9e2e90c4bfabbb4748eb794be90c69a5781cb
4
+ data.tar.gz: 6df94d214fb1e14663bc20397d8618ba11443736
5
5
  SHA512:
6
- metadata.gz: 2ac6496f588232c50468f0176a1bccb49b01b9aa40b3aaa7bb0c2bdddf254cca5362a79431fccf77e70512f53e00e2e981698c618a2d9482f9d0f60689a1f9b3
7
- data.tar.gz: 26d04d043092d03618625a3cfec1f79597123f0d0a2659820d1f7ab219c04a5b6c415e93286c1c055bdc1b2b47a882759cab2a0302533cd0593f7c8a22d712a2
6
+ metadata.gz: dd18bfc6823fba943918ff5814b4240f9b8d6d7da4e8c1b57a0ecb50a00c4ce8b26b4c2420a74b2f14efbba8a1a1450092c86a8527c940648026012873507476
7
+ data.tar.gz: de73cdc4fe06a93e1f93ef87b7b4e70a043196c8521e19db2b8ecade2e98e28e6748068bf31e51693bbaa30c95d5631a2af2c0f2124f7553e330a17efd65ccf6
@@ -20,7 +20,7 @@
20
20
 
21
21
  var GeoBlacklight = L.Class.extend({
22
22
  statics: {
23
- __version__: '1.0.2',
23
+ __version__: '1.0.3',
24
24
 
25
25
  debounce: function(fn, delay) {
26
26
  var timeout = null;
@@ -22,6 +22,10 @@
22
22
  @extend .fa, .fa-bookmark;
23
23
  }
24
24
 
25
+ .geoblacklight-data-dictionary {
26
+ @extend .fa, .fa-book;
27
+ }
28
+
25
29
  .geoblacklight-sms {
26
30
  @extend .fa, .fa-mobile;
27
31
  }
@@ -7,6 +7,11 @@
7
7
  text-align: center;
8
8
  width: 1.4em;
9
9
  }
10
+
11
+ .geoblacklight-data-dictionary {
12
+ text-align: center;
13
+ width: 1.4em;
14
+ }
10
15
 
11
16
  .geoblacklight-sms {
12
17
  text-align: center;
@@ -32,11 +32,11 @@ module Geoblacklight
32
32
  end
33
33
 
34
34
  def direct_download
35
- return references.download.to_hash unless references.download.blank?
35
+ references.download.to_hash unless references.download.blank?
36
36
  end
37
37
 
38
38
  def hgl_download
39
- return references.hgl.to_hash unless references.hgl.blank?
39
+ references.hgl.to_hash unless references.hgl.blank?
40
40
  end
41
41
 
42
42
  def same_institution?
@@ -44,7 +44,11 @@ module Geoblacklight
44
44
  end
45
45
 
46
46
  def iiif_download
47
- return references.iiif.to_hash unless references.iiif.blank?
47
+ references.iiif.to_hash unless references.iiif.blank?
48
+ end
49
+
50
+ def data_dictionary_download
51
+ references.data_dictionary.to_hash unless references.data_dictionary.blank?
48
52
  end
49
53
 
50
54
  def item_viewer
@@ -0,0 +1,5 @@
1
+ <% if document.data_dictionary_download.present? %>
2
+ <%= link_to document.data_dictionary_download[:data_dictionary] do %>
3
+ <span class='geoblacklight geoblacklight-data-dictionary'></span><%= t('geoblacklight.references.data_dictionary') %>
4
+ <% end %>
5
+ <% end %>
@@ -1,56 +1,11 @@
1
1
  <% document ||= @document %>
2
2
  <% if document_downloadable? %>
3
3
  <div class='btn-group' itemprop='distribution' itemscope='itemscope' itemtype='http://schema.org/DataDownload'>
4
- <% if document.direct_download.present? %>
5
- <%= link_to(download_text(document.file_format), document.direct_download[:download], class: 'btn btn-default', 'contentUrl' => document.direct_download[:download], data: { download: 'trigger', download_type: 'direct', download_id: document.id }) %>
6
- <% elsif document.hgl_download.present? %>
7
- <%= link_to(download_text(document.download_types.first[0]),
8
- download_hgl_path(id: document), data: {ajax_modal: 'trigger', download: 'trigger', download_type: 'harvard-hgl', download_id: document.id },
9
- class: 'btn btn-default') %>
10
- <% elsif document.iiif_download.present? %>
11
- <%= link_to "Download JPG", iiif_jpg_url, class: 'btn btn-default', download: 'trigger' %>
12
- <% else %>
13
- <%= link_to(download_text(document.download_types.first[0]), '', data: { download_path: "#{download_path(document.id, type: document.download_types.first[0])}", download: 'trigger', download_type: document.download_types.first[0], download_id: document.id }, class: 'btn btn-default') %>
14
- <% end %>
15
- <button type='button' class='btn btn-default dropdown-toggle download-dropdown-toggle' data-toggle='dropdown' aria-expanded='false'>
16
- <span class='caret'></span>
17
- <span class='sr-only'>Toggle Download Dropdown</span>
18
- </button>
19
- <ul class='dropdown-menu' role='menu'>
20
- <% if document.hgl_download.present? %>
21
- <li role="presentation" class="dropdown-header">Original</li>
22
- <li>
23
- <%= link_to(download_text(document.download_types.first[0]),
24
- download_hgl_path(id: document), data: {ajax_modal: 'trigger', download: 'trigger', download_type: 'harvard-hgl', download_id: document.id }) %>
25
- </li>
26
- <% else %>
27
- <% if document.direct_download.present? %>
28
- <li role="presentation" class="dropdown-header">Original</li>
29
- <li>
30
- <%= link_to(download_text(@document.file_format), document.direct_download[:download], 'contentUrl' => document.direct_download[:download], data: { download: 'trigger', download_type: 'direct', download_id: document.id }) %>
31
- </li>
32
- <% end %>
33
- <% if document.download_types.present? || document.iiif_download.present? %>
34
- <li role="presentation" class="dropdown-header">Generated</li>
35
- <% end %>
36
- <% if document.iiif_download.present? %>
37
- <li>
38
- <%= link_to "Download JPG", iiif_jpg_url, download: 'trigger' %>
39
- </li>
40
- <% end %>
41
-
42
- <% if document.download_types.present? %>
43
- <% document.download_types.each do |type| %>
44
- <%= content_tag(:li) do %>
45
- <% link_to(download_text(type[0]), '', data: { download_path: "#{download_path(document.id, type: type[0])}", download: 'trigger', download_type: type[0], download_id: document.id }) %>
46
- <% end %>
47
- <% end %>
48
- <% end %>
49
- <% end %>
50
- </ul>
4
+ <%= render 'downloads_primary' %>
5
+ <%= render 'downloads_secondary' %>
51
6
  </div>
52
7
  <% elsif document.restricted? && document.same_institution? %>
53
8
  <div class='panel-body'>
54
9
  <%= link_to t('geoblacklight.tools.login_to_view'), new_user_session_path(referrer: request.original_url) %>
55
10
  </div>
56
- <% end %>
11
+ <% end %>
@@ -0,0 +1,14 @@
1
+ <%# Renders the primary download that is shown first %>
2
+ <% document ||= @document %>
3
+
4
+ <% if document.direct_download.present? %>
5
+ <%= link_to(download_text(document.file_format), document.direct_download[:download], class: 'btn btn-default', 'contentUrl' => document.direct_download[:download], data: { download: 'trigger', download_type: 'direct', download_id: document.id }) %>
6
+ <% elsif document.hgl_download.present? %>
7
+ <%= link_to(download_text(document.download_types.first[0]),
8
+ download_hgl_path(id: document), data: {ajax_modal: 'trigger', download: 'trigger', download_type: 'harvard-hgl', download_id: document.id },
9
+ class: 'btn btn-default') %>
10
+ <% elsif document.iiif_download.present? %>
11
+ <%= link_to "Download JPG", iiif_jpg_url, class: 'btn btn-default', download: 'trigger' %>
12
+ <% else %>
13
+ <%= link_to(download_text(document.download_types.first[0]), '', data: { download_path: "#{download_path(document.id, type: document.download_types.first[0])}", download: 'trigger', download_type: document.download_types.first[0], download_id: document.id }, class: 'btn btn-default') %>
14
+ <% end %>
@@ -0,0 +1,39 @@
1
+ <%# Renders the secondary downloads displayed in the split dropdown %>
2
+ <% document ||= @document %>
3
+
4
+ <button type='button' class='btn btn-default dropdown-toggle download-dropdown-toggle' data-toggle='dropdown' aria-expanded='false'>
5
+ <span class='caret'></span>
6
+ <span class='sr-only'>Toggle Download Dropdown</span>
7
+ </button>
8
+ <ul class='dropdown-menu' role='menu'>
9
+ <% if document.hgl_download.present? %>
10
+ <li role="presentation" class="dropdown-header">Original</li>
11
+ <li>
12
+ <%= link_to(download_text(document.download_types.first[0]),
13
+ download_hgl_path(id: document), data: {ajax_modal: 'trigger', download: 'trigger', download_type: 'harvard-hgl', download_id: document.id }) %>
14
+ </li>
15
+ <% else %>
16
+ <% if document.direct_download.present? %>
17
+ <li role="presentation" class="dropdown-header">Original</li>
18
+ <li>
19
+ <%= link_to(download_text(@document.file_format), document.direct_download[:download], 'contentUrl' => document.direct_download[:download], data: { download: 'trigger', download_type: 'direct', download_id: document.id }) %>
20
+ </li>
21
+ <% end %>
22
+ <% if document.download_types.present? || document.iiif_download.present? %>
23
+ <li role="presentation" class="dropdown-header">Generated</li>
24
+ <% end %>
25
+ <% if document.iiif_download.present? %>
26
+ <li>
27
+ <%= link_to "Download JPG", iiif_jpg_url, download: 'trigger' %>
28
+ </li>
29
+ <% end %>
30
+
31
+ <% if document.download_types.present? %>
32
+ <% document.download_types.each do |type| %>
33
+ <%= content_tag(:li) do %>
34
+ <% link_to(download_text(type[0]), '', data: { download_path: "#{download_path(document.id, type: type[0])}", download: 'trigger', download_type: type[0], download_id: document.id }) %>
35
+ <% end %>
36
+ <% end %>
37
+ <% end %>
38
+ <% end %>
39
+ </ul>
@@ -30,3 +30,4 @@ en:
30
30
  tiled_map_layer: 'ArcGIS Tiled Map Layer'
31
31
  dynamic_map_layer: 'ArcGIS Dynamic Map Layer'
32
32
  image_map_layer: 'ArcGIS Image Map Layer'
33
+ data_dictionary: 'Documentation'
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
 
21
21
  spec.add_dependency 'blacklight', '~> 6.3'
22
22
  spec.add_dependency 'leaflet-rails', '~> 0.7.3'
23
- spec.add_dependency 'font-awesome-rails', '~> 4.1.0.0'
23
+ spec.add_dependency 'font-awesome-rails'
24
24
  spec.add_dependency 'rails_config', '~> 0.4.2'
25
25
  spec.add_dependency 'faraday'
26
26
  spec.add_dependency 'coderay'
@@ -212,6 +212,7 @@ class CatalogController < ApplicationController
212
212
  config.add_show_tools_partial :web_services, if: proc { |_context, _config, options| options[:document] && (Settings.WEBSERVICES_SHOWN & options[:document].references.refs.map(&:type).map(&:to_s)).any? }
213
213
  config.add_show_tools_partial :metadata, if: proc { |_context, _config, options| options[:document] && (Settings.METADATA_SHOWN & options[:document].references.refs.map(&:type).map(&:to_s)).any? }
214
214
  config.add_show_tools_partial :exports, partial: 'exports', if: proc { |_context, _config, options| options[:document] }
215
+ config.add_show_tools_partial :data_dictionary, partial: 'data_dictionary', if: proc { |_context, _config, options| options[:document] }
215
216
  config.add_show_tools_partial :downloads, partial: 'downloads', if: proc { |_context, _config, options| options[:document] }
216
217
 
217
218
  # Configure basemap provider for GeoBlacklight maps (uses https only basemap
@@ -18,7 +18,8 @@ module Geoblacklight
18
18
  feature_layer: 'urn:x-esri:serviceType:ArcGIS#FeatureLayer',
19
19
  tiled_map_layer: 'urn:x-esri:serviceType:ArcGIS#TiledMapLayer',
20
20
  dynamic_map_layer: 'urn:x-esri:serviceType:ArcGIS#DynamicMapLayer',
21
- image_map_layer: 'urn:x-esri:serviceType:ArcGIS#ImageMapLayer'
21
+ image_map_layer: 'urn:x-esri:serviceType:ArcGIS#ImageMapLayer',
22
+ data_dictionary: 'http://lccn.loc.gov/sh85035852'
22
23
  }.freeze
23
24
  end
24
25
  end
@@ -6,8 +6,8 @@ module Geoblacklight
6
6
  end
7
7
 
8
8
  def call(mapper, _options = {})
9
- mapper.get 'file'
10
- mapper.get 'hgl'
9
+ mapper.get 'file/:id', action: 'file', as: :file
10
+ mapper.get 'hgl/:id', action: 'hgl', as: :hgl
11
11
  end
12
12
  end
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Geoblacklight
2
- VERSION = '1.0.2'.freeze
2
+ VERSION = '1.0.3'.freeze
3
3
  end
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-04/schema#",
3
- "description": "Schema for GeoBlacklight as implemented for Solr 4.10+. See http://journal.code4lib.org/articles/9710 for more details. Note that the Solr schema uses dynamic typing based on the suffix of the field name. For example, _s denotes a string where _sm denotes a multi-valued string (array of strings).",
4
- "id": "http://geoblacklight.org/schema",
3
+ "description": "Schema for GeoBlacklight. See https://github.com/geoblacklight/geoblacklight/wiki/Schema for more details.",
4
+ "id": "http://geoblacklight.org/v1.0/schema",
5
5
  "title": "GeoBlacklight Schema",
6
6
  "required": [
7
7
  "dc_title_s",
@@ -0,0 +1,16 @@
1
+ require 'spec_helper'
2
+
3
+ feature 'Data dictionary download tool' do
4
+ feature 'when data_dictionary reference present' do
5
+ scenario 'shows up in tools' do
6
+ visit solr_document_path 'nyu_2451_34502'
7
+ expect(page).to have_css 'li.data_dictionary a', text: 'Documentation'
8
+ end
9
+ end
10
+ feature 'when data_dictionary reference absent' do
11
+ scenario 'download tool is not rendered' do
12
+ visit solr_document_path 'stanford-cg357zz0321'
13
+ expect(page).not_to have_css 'li.data_dictionary a', text: 'Documentation'
14
+ end
15
+ end
16
+ end
@@ -15,7 +15,10 @@ feature 'Download layer' do
15
15
  expect(shapefile_download).to receive(:get).and_return('mit-us-ma-e25zcta5dct-2000-shapefile.zip')
16
16
  visit solr_document_path('mit-us-ma-e25zcta5dct-2000')
17
17
  find('a', text: 'Download Shapefile').click
18
- expect(page).to have_css('a', text: 'Your file mit-us-ma-e25zcta5dct-2000-shapefile.zip is ready for download')
18
+ expect(page).to have_css(
19
+ 'a[href="/download/file/mit-us-ma-e25zcta5dct-2000-shapefile.zip"]',
20
+ text: 'Your file mit-us-ma-e25zcta5dct-2000-shapefile.zip is ready for download'
21
+ )
19
22
  end
20
23
  scenario 'failed download should return message with link to layer', js: true do
21
24
  expect(shapefile_download).to receive(:get).and_raise(Geoblacklight::Exceptions::ExternalDownloadFailed.new(message: 'Failed', url: 'http://www.example.com/failed'))
@@ -29,7 +32,10 @@ feature 'Download layer' do
29
32
  visit solr_document_path('mit-us-ma-e25zcta5dct-2000')
30
33
  find('button.download-dropdown-toggle').click
31
34
  find('a', text: 'Download KMZ').click
32
- expect(page).to have_css('a', text: 'Your file mit-us-ma-e25zcta5dct-2000-kmz.kmz is ready for download')
35
+ expect(page).to have_css(
36
+ 'a[href="/download/file/mit-us-ma-e25zcta5dct-2000-kmz.kmz"]',
37
+ text: 'Your file mit-us-ma-e25zcta5dct-2000-kmz.kmz is ready for download'
38
+ )
33
39
  end
34
40
  scenario 'jpg download option should be present under toggle' do
35
41
  visit solr_document_path('princeton-02870w62c')
@@ -0,0 +1,49 @@
1
+ {
2
+ "dc_identifier_s": "http://hdl.handle.net/2451/34502",
3
+ "dc_title_s": "2015 New York City Subway Complexes and Ridership",
4
+ "dc_description_s": "The subway complexes layer was created to represent ridership data for the NYC subway system (Metropolitan Transportation Authority, or MTA). This layer is a subset of the subway stations layer (nyu_2451_34503) that has been combined with MTA statistics on ridership; it was originally created in August 2012 and has been updated annually. Ridership data is not available for each individual subway station, as many stations are linked via common entrances and passageways where transfers are free, and because ridership data is not collected for the Staten Island Railway stations. This layer was created by choosing an individual station from nyu_2451_34503 to represent the entire complex, and modifying the station name and train fields appropriately. It should be used for mapping ridership data or for analysis that requires this data, and not for specifying actual station locations or measuring distances. There are 421 complexes, and the field station_ct indicates how many stations are part of a complex. Annual, average weekday, and average weekend ridership is provided for 2007 to 2014. The unique ID is complex_id, which was created by alphabetizing the complexes by borough and station name and assigning a sequential number to a borough prefix. This layer does not include the new 34th St - 11 Av station on the 7 line; it will be updated in summer 2016 once ridership data becomes available. This layer was created as part of the NYC Geodatabase (NYC GDB) project, a resource designed for basic geographic analysis and thematic mapping within the five boroughs of New York City.",
5
+ "dc_rights_s": "Public",
6
+ "dct_provenance_s": "Baruch CUNY",
7
+ "dct_references_s": "{\"http://schema.org/url\":\"http://hdl.handle.net/2451/34502\",\"http://schema.org/downloadUrl\":\"https://archive.nyu.edu/retrieve/74701/nyu_2451_34502.zip\",\"http://www.opengis.net/def/serviceType/ogc/wfs\":\"https://maps-public.geo.nyu.edu/geoserver/sdr/wfs\",\"http://www.opengis.net/def/serviceType/ogc/wms\":\"https://maps-public.geo.nyu.edu/geoserver/sdr/wms\",\"http://www.isotc211.org/schemas/2005/gmd/\":\"http://metadata.geo.nyu.edu/records/edu.nyu/handle/2451/34502/iso19139.xml\",\"http://lccn.loc.gov/sh85035852\":\"https://archive.nyu.edu/retrieve/74755/nyu_2451_34502_doc.zip\"}",
8
+ "layer_id_s": "sdr:nyu_2451_34502",
9
+ "layer_slug_s": "nyu_2451_34502",
10
+ "layer_geom_type_s": "Point",
11
+ "layer_modified_dt": "2016-5-2T18:21:5Z",
12
+ "dc_format_s": "Shapefile",
13
+ "dc_language_s": "English",
14
+ "dc_type_s": "Dataset",
15
+ "dc_publisher_s": [
16
+ "Newman Library (Bernard M. Baruch College)"
17
+ ],
18
+ "dc_creator_sm": "GIS Lab, Newman Library, Baruch CUNY",
19
+ "dc_subject_sm": [
20
+ "Subway stations",
21
+ "Transportation",
22
+ "Urban transportation",
23
+ "Local transit",
24
+ "Commuting"
25
+ ],
26
+ "dct_isPartOf_sm": "NYC Geodatabase (version jan2016)",
27
+ "dct_issued_s": "1/15/2016",
28
+ "dct_temporal_sm": [
29
+ "2015"
30
+ ],
31
+ "dct_spatial_sm": [
32
+ "New York, New York, United States",
33
+ "Bronx County, New York, United States",
34
+ "Kings County, New York, United States",
35
+ "New York County, New York, United States",
36
+ "Queens County, New York, United States",
37
+ "Borough of Bronx, New York, United States",
38
+ "Borough of Brooklyn, New York, United States",
39
+ "Borough of Manhattan, New York, United States",
40
+ "Borough of Queens, New York, United States"
41
+ ],
42
+ "solr_geom": "ENVELOPE(-74.030876, -73.755405, 40.9031249999998, 40.5761269999998)",
43
+ "solr_year_i": 2015,
44
+ "dc_source_sm": [
45
+ "nyu_2451_34635",
46
+ "nyu_2451_34636"
47
+ ],
48
+ "geoblacklight_version": "1.0"
49
+ }
@@ -144,6 +144,26 @@ describe Geoblacklight::SolrDocument do
144
144
  end
145
145
  end
146
146
  end
147
+ describe 'data_dictionary_download' do
148
+ describe 'with a data dictionary reference' do
149
+ let(:document_attributes) do
150
+ {
151
+ references_field => {
152
+ 'http://lccn.loc.gov/sh85035852' => 'https://example.edu/documentation/data_dictionary.zip'
153
+ }.to_json
154
+ }
155
+ end
156
+ it 'returns a data dictionary download hash' do
157
+ expect(document.data_dictionary_download[:data_dictionary]).to eq('https://example.edu/documentation/data_dictionary.zip')
158
+ end
159
+ end
160
+ describe 'without a data dictionary download' do
161
+ let(:document_attributes) { {} }
162
+ it 'returns nil' do
163
+ expect(document.data_dictionary_download).to be_nil
164
+ end
165
+ end
166
+ end
147
167
  describe 'item_viewer' do
148
168
  let(:document_attributes) { {} }
149
169
  it 'is a ItemViewer' do
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'catalog/_downloads.html.erb', type: :view do
4
+ context 'document is downloadable' do
5
+ it 'renders the button group with primary and secondary partials' do
6
+ expect(view).to receive(:document_downloadable?).and_return(true)
7
+ stub_template 'catalog/_downloads_primary.html.erb' => 'stubbed_primary_downloads'
8
+ stub_template 'catalog/_downloads_secondary.html.erb' => 'stubbed_secondary_downloads'
9
+ render
10
+ expect(rendered).to have_css '.btn-group'
11
+ expect(rendered).to have_content 'stubbed_primary_downloads'
12
+ expect(rendered).to have_content 'stubbed_secondary_downloads'
13
+ end
14
+ end
15
+ context 'document is not downloadable' do
16
+ let(:document) { double('document', restricted?: true, same_institution?: true) }
17
+ before(:each) do
18
+ expect(view).to receive(:document_downloadable?).and_return(false)
19
+ end
20
+
21
+ context 'when restricted & same institution' do
22
+ it 'renders login link' do
23
+ assign :document, document
24
+ render
25
+ expect(rendered).to have_css '.panel-body a'
26
+ end
27
+ end
28
+ end
29
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geoblacklight
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Graves
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-08-02 00:00:00.000000000 Z
14
+ date: 2016-08-04 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: blacklight
@@ -45,16 +45,16 @@ dependencies:
45
45
  name: font-awesome-rails
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - "~>"
48
+ - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 4.1.0.0
50
+ version: '0'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - "~>"
55
+ - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: 4.1.0.0
57
+ version: '0'
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rails_config
60
60
  requirement: !ruby/object:Gem::Requirement
@@ -317,9 +317,12 @@ files:
317
317
  - app/models/concerns/geoblacklight/solr_document/inspection.rb
318
318
  - app/models/concerns/geoblacklight/spatial_search_behavior.rb
319
319
  - app/presenters/geoblacklight/document_presenter.rb
320
+ - app/views/catalog/_data_dictionary.html.erb
320
321
  - app/views/catalog/_document_action.html.erb
321
322
  - app/views/catalog/_document_split.html.erb
322
323
  - app/views/catalog/_downloads.html.erb
324
+ - app/views/catalog/_downloads_primary.html.erb
325
+ - app/views/catalog/_downloads_secondary.html.erb
323
326
  - app/views/catalog/_exports.html.erb
324
327
  - app/views/catalog/_facet_tag_item.html.erb
325
328
  - app/views/catalog/_facet_tag_layout.html.erb
@@ -395,6 +398,7 @@ files:
395
398
  - spec/factories/user.rb
396
399
  - spec/features/bookmarks_spec.rb
397
400
  - spec/features/configurable_basemap_spec.rb
401
+ - spec/features/data_dictionary_download_spec.rb
398
402
  - spec/features/download_layer_spec.rb
399
403
  - spec/features/esri_viewer_spec.rb
400
404
  - spec/features/exports_spec.rb
@@ -415,6 +419,7 @@ files:
415
419
  - spec/fixtures/solr_documents/actual-point1.json
416
420
  - spec/fixtures/solr_documents/actual-polygon1.json
417
421
  - spec/fixtures/solr_documents/actual-raster1.json
422
+ - spec/fixtures/solr_documents/baruch_documentation_download.json
418
423
  - spec/fixtures/solr_documents/esri-dynamic-layer-all-layers.json
419
424
  - spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json
420
425
  - spec/fixtures/solr_documents/esri-feature-layer.json
@@ -458,6 +463,7 @@ files:
458
463
  - spec/teaspoon_env.rb
459
464
  - spec/test_app_templates/lib/generators/test_app_generator.rb
460
465
  - spec/views/catalog/_document_split.html.erb_spec.rb
466
+ - spec/views/catalog/_downloads.html.erb_spec.rb
461
467
  - spec/views/catalog/_index_split.html.erb_spec.rb
462
468
  - template.rb
463
469
  - vendor/assets/javascripts/esri-leaflet.js
@@ -494,6 +500,7 @@ test_files:
494
500
  - spec/factories/user.rb
495
501
  - spec/features/bookmarks_spec.rb
496
502
  - spec/features/configurable_basemap_spec.rb
503
+ - spec/features/data_dictionary_download_spec.rb
497
504
  - spec/features/download_layer_spec.rb
498
505
  - spec/features/esri_viewer_spec.rb
499
506
  - spec/features/exports_spec.rb
@@ -514,6 +521,7 @@ test_files:
514
521
  - spec/fixtures/solr_documents/actual-point1.json
515
522
  - spec/fixtures/solr_documents/actual-polygon1.json
516
523
  - spec/fixtures/solr_documents/actual-raster1.json
524
+ - spec/fixtures/solr_documents/baruch_documentation_download.json
517
525
  - spec/fixtures/solr_documents/esri-dynamic-layer-all-layers.json
518
526
  - spec/fixtures/solr_documents/esri-dynamic-layer-single-layer.json
519
527
  - spec/fixtures/solr_documents/esri-feature-layer.json
@@ -557,4 +565,5 @@ test_files:
557
565
  - spec/teaspoon_env.rb
558
566
  - spec/test_app_templates/lib/generators/test_app_generator.rb
559
567
  - spec/views/catalog/_document_split.html.erb_spec.rb
568
+ - spec/views/catalog/_downloads.html.erb_spec.rb
560
569
  - spec/views/catalog/_index_split.html.erb_spec.rb