geoblacklight 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.solr_wrapper +6 -0
- data/.travis.yml +18 -4
- data/README.md +2 -4
- data/Rakefile +58 -35
- data/app/assets/javascripts/geoblacklight/geoblacklight.js +1 -1
- data/app/assets/stylesheets/geoblacklight/modules/icon-customization.scss +5 -1
- data/app/assets/stylesheets/geoblacklight/modules/toolbar.scss +6 -0
- data/app/helpers/carto_helper.rb +36 -0
- data/app/helpers/geoblacklight_helper.rb +10 -9
- data/app/models/concerns/geoblacklight/solr_document.rb +1 -1
- data/app/models/concerns/geoblacklight/solr_document/carto.rb +28 -0
- data/app/views/catalog/_exports.html.erb +3 -3
- data/config/initializers/rails_config.rb +1 -1
- data/config/locales/geoblacklight.en.yml +1 -0
- data/geoblacklight.gemspec +9 -8
- data/lib/generators/geoblacklight/install_generator.rb +8 -14
- data/lib/generators/geoblacklight/templates/settings.yml +2 -2
- data/lib/geoblacklight/engine.rb +2 -1
- data/lib/geoblacklight/version.rb +1 -1
- data/lib/geoblacklight/view_helper_override.rb +1 -0
- data/lib/geoblacklight/wms_layer.rb +1 -1
- data/lib/tasks/geoblacklight.rake +19 -1
- data/schema/geoblacklight-schema.json +21 -23
- data/schema/geoblacklight-schema.md +10 -8
- data/solr/conf/_rest_managed.json +3 -0
- data/solr/conf/admin-extra.html +31 -0
- data/solr/conf/elevate.xml +36 -0
- data/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
- data/{schema/solr → solr}/conf/protwords.txt +0 -0
- data/{schema/solr → solr}/conf/schema.xml +2 -4
- data/solr/conf/scripts.conf +24 -0
- data/{schema/solr → solr}/conf/solrconfig.xml +17 -6
- data/solr/conf/spellings.txt +2 -0
- data/solr/conf/stopwords.txt +58 -0
- data/solr/conf/stopwords_en.txt +58 -0
- data/{schema/solr → solr}/conf/synonyms.txt +31 -29
- data/solr/conf/xslt/example.xsl +132 -0
- data/solr/conf/xslt/example_atom.xsl +67 -0
- data/solr/conf/xslt/example_rss.xsl +66 -0
- data/solr/conf/xslt/luke.xsl +337 -0
- data/spec/controllers/catalog_controller_spec.rb +1 -1
- data/spec/controllers/download_controller_spec.rb +14 -8
- data/spec/features/configurable_basemap_spec.rb +0 -1
- data/spec/features/exports_spec.rb +4 -4
- data/spec/fixtures/solr_documents/esri-image-map-layer.json +2 -2
- data/spec/helpers/carto_helper_spec.rb +11 -0
- data/spec/helpers/geoblacklight_helpers_spec.rb +0 -8
- data/spec/models/concerns/geoblacklight/solr_document/{carto_db_spec.rb → carto_spec.rb} +6 -6
- data/spec/spec_helper.rb +8 -1
- data/spec/support/backport_test_helpers.rb +45 -0
- data/spec/test_app_templates/solr_documents +1 -0
- data/template.rb +1 -1
- metadata +88 -52
- data/app/models/concerns/geoblacklight/solr_document/carto_db.rb +0 -15
- data/config/jetty.yml +0 -6
- data/lib/generators/geoblacklight/templates/config/jetty.yml +0 -10
- data/lib/tasks/configure_solr.rake +0 -14
- data/schema/solr/conf/stopwords_en.txt +0 -34
@@ -19,7 +19,6 @@ feature 'Configurable basemap', js: true do
|
|
19
19
|
CatalogController.blacklight_config.basemap_provider = 'darkMatter'
|
20
20
|
end
|
21
21
|
scenario 'has darkMatter map' do
|
22
|
-
puts CatalogController.blacklight_config.basemap_provider
|
23
22
|
visit root_path
|
24
23
|
expect(page).to have_css "img[src*='dark_all']"
|
25
24
|
end
|
@@ -2,18 +2,18 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
feature 'Export features' do
|
4
4
|
feature 'when item is public and wfs is available' do
|
5
|
-
feature 'Open in
|
5
|
+
feature 'Open in Carto' do
|
6
6
|
scenario 'shows up in tools' do
|
7
7
|
visit solr_document_path 'tufts-cambridgegrid100-04'
|
8
|
-
expect(page).to have_css 'li.exports a', text: 'Open in
|
9
|
-
click_link 'Open in
|
8
|
+
expect(page).to have_css 'li.exports a', text: 'Open in Carto'
|
9
|
+
click_link 'Open in Carto'
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
13
13
|
feature 'when restricted or no wfs' do
|
14
14
|
scenario 'is not in tools' do
|
15
15
|
visit solr_document_path 'princeton-02870w62c'
|
16
|
-
expect(page).not_to have_css 'li.exports a', text: 'Open in
|
16
|
+
expect(page).not_to have_css 'li.exports a', text: 'Open in Carto'
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"layer_slug_s": "princeton-test-oregon-naip-2011",
|
16
16
|
"layer_id_s": "oregon-naip-2011",
|
17
17
|
"layer_geom_type_s": "Raster",
|
18
|
-
"layer_modified_dt": "2015-
|
18
|
+
"layer_modified_dt": "2015-07-15T00:41:49Z",
|
19
19
|
"solr_geom": "ENVELOPE(-124.88, -116.41, 46.34, 41.91)",
|
20
20
|
"solr_year_i": 2008
|
21
|
-
}
|
21
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe CartoHelper, type: :helper do
|
4
|
+
describe '#carto_link' do
|
5
|
+
let(:application_name) { 'My GeoBlacklight Deployment' }
|
6
|
+
|
7
|
+
it 'removes spaces from application_name to produce valid Carto request URL' do
|
8
|
+
expect(carto_link('http://demo.org/wfs/layer.json')).to eq 'http://oneclick.cartodb.com/?file=http%3A%2F%2Fdemo.org%2Fwfs%2Flayer.json&provider=MyGeoBlacklightDeployment&logo=http%3A%2F%2Fgeoblacklight.org%2Fimages%2Fgeoblacklight-logo.png'
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
@@ -111,14 +111,6 @@ describe GeoblacklightHelper, type: :helper do
|
|
111
111
|
end
|
112
112
|
end
|
113
113
|
|
114
|
-
describe '#cartodb_link' do
|
115
|
-
let(:application_name) { 'My GeoBlacklight Deployment' }
|
116
|
-
|
117
|
-
it 'removes spaces from application_name to produce valid CartoDB request URL' do
|
118
|
-
expect(cartodb_link('http://demo.org/wfs/layer.json')).to eq 'http://oneclick.cartodb.com/?file=http%3A%2F%2Fdemo.org%2Fwfs%2Flayer.json&provider=MyGeoBlacklightDeployment&logo=http%3A%2F%2Fgeoblacklight.org%2Fimages%2Fgeoblacklight-logo.png'
|
119
|
-
end
|
120
|
-
end
|
121
|
-
|
122
114
|
describe '#render_web_services' do
|
123
115
|
let(:reference) { double(type: 'wms') }
|
124
116
|
it 'with a reference to a defined partial' do
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe Geoblacklight::SolrDocument::
|
3
|
+
describe Geoblacklight::SolrDocument::Carto do
|
4
4
|
let(:subject) { SolrDocument.new }
|
5
5
|
let(:geojson_download) { instance_double(Geoblacklight::GeojsonDownload) }
|
6
6
|
|
@@ -8,20 +8,20 @@ describe Geoblacklight::SolrDocument::CartoDb do
|
|
8
8
|
allow(Geoblacklight::GeojsonDownload).to receive(:new).and_return(geojson_download)
|
9
9
|
end
|
10
10
|
|
11
|
-
describe '#
|
11
|
+
describe '#carto_reference' do
|
12
12
|
it 'returns nil for restricted documents' do
|
13
13
|
expect(subject).to receive(:public?).and_return(false)
|
14
|
-
expect(subject.
|
14
|
+
expect(subject.carto_reference).to be_nil
|
15
15
|
end
|
16
16
|
it 'returns nil for no download_types' do
|
17
17
|
expect(subject).to receive(:public?).and_return(true)
|
18
18
|
expect(subject).to receive(:download_types).and_return(nil)
|
19
|
-
expect(subject.
|
19
|
+
expect(subject.carto_reference).to be_nil
|
20
20
|
end
|
21
21
|
it 'returns nil with no :geojson download type' do
|
22
22
|
expect(subject).to receive(:public?).and_return(true)
|
23
23
|
expect(subject).to receive(:download_types).and_return(geotiff: 'geotiff')
|
24
|
-
expect(subject.
|
24
|
+
expect(subject.carto_reference).to be_nil
|
25
25
|
end
|
26
26
|
it 'Creates and returns a GeojsonDownload url' do
|
27
27
|
expect(subject).to receive(:public?).and_return(true)
|
@@ -30,7 +30,7 @@ describe Geoblacklight::SolrDocument::CartoDb do
|
|
30
30
|
expect(geojson_download)
|
31
31
|
.to receive(:url_with_params)
|
32
32
|
.and_return('http://www.example.com/geojsonDownload')
|
33
|
-
expect(subject.
|
33
|
+
expect(subject.carto_reference).to eq 'http://www.example.com/geojsonDownload'
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -7,6 +7,7 @@ require 'coveralls'
|
|
7
7
|
Coveralls.wear!('rails')
|
8
8
|
EngineCart.load_application!
|
9
9
|
|
10
|
+
require 'rails-controller-testing' if Rails::VERSION::MAJOR >= 5
|
10
11
|
require 'rspec/rails'
|
11
12
|
require 'capybara/rspec'
|
12
13
|
require 'capybara/poltergeist'
|
@@ -15,7 +16,7 @@ Capybara.javascript_driver = :poltergeist
|
|
15
16
|
Capybara.register_driver :poltergeist do |app|
|
16
17
|
options = {}
|
17
18
|
|
18
|
-
options[:timeout] =
|
19
|
+
options[:timeout] = RUBY_PLATFORM == 'java' ? 120 : 15
|
19
20
|
|
20
21
|
Capybara::Poltergeist::Driver.new(app, options)
|
21
22
|
end
|
@@ -52,6 +53,12 @@ RSpec.configure do |config|
|
|
52
53
|
config.after do
|
53
54
|
DatabaseCleaner.clean
|
54
55
|
end
|
56
|
+
if Rails::VERSION::MAJOR >= 5
|
57
|
+
config.include ::Rails.application.routes.url_helpers
|
58
|
+
config.include ::Rails.application.routes.mounted_helpers
|
59
|
+
else
|
60
|
+
config.include BackportTestHelpers, type: :controller
|
61
|
+
end
|
55
62
|
|
56
63
|
config.include Devise::Test::ControllerHelpers, type: :controller
|
57
64
|
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Backport the Rails 5 controller test methods to Rails 4
|
2
|
+
module BackportTestHelpers
|
3
|
+
def delete(*args)
|
4
|
+
(action, rest) = *args
|
5
|
+
rest ||= {}
|
6
|
+
|
7
|
+
@request.env['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest' if rest[:xhr]
|
8
|
+
|
9
|
+
super(action, rest[:params])
|
10
|
+
end
|
11
|
+
|
12
|
+
def get(*args)
|
13
|
+
(action, rest) = *args
|
14
|
+
rest ||= {}
|
15
|
+
@request.env['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest' if rest[:xhr]
|
16
|
+
super(action, rest[:params])
|
17
|
+
end
|
18
|
+
|
19
|
+
def post(*args)
|
20
|
+
(action, rest) = *args
|
21
|
+
rest ||= {}
|
22
|
+
body = rest[:body]
|
23
|
+
@request.env['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest' if rest[:xhr]
|
24
|
+
|
25
|
+
if body
|
26
|
+
super(action, body, rest.except(:params).merge(rest[:params]))
|
27
|
+
else
|
28
|
+
super(action, rest[:params])
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
def put(*args)
|
33
|
+
(action, rest) = *args
|
34
|
+
rest ||= {}
|
35
|
+
@request.env['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest' if rest[:xhr]
|
36
|
+
super(action, rest[:params])
|
37
|
+
end
|
38
|
+
|
39
|
+
def patch(*args)
|
40
|
+
(action, rest) = *args
|
41
|
+
rest ||= {}
|
42
|
+
@request.env['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest' if rest[:xhr]
|
43
|
+
super(action, rest[:params])
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
../fixtures/solr_documents
|
data/template.rb
CHANGED
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
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Graves
|
@@ -11,8 +11,28 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2016-08-
|
14
|
+
date: 2016-08-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rails
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.2.0
|
23
|
+
- - "<"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '6'
|
26
|
+
type: :runtime
|
27
|
+
prerelease: false
|
28
|
+
version_requirements: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - ">="
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 4.2.0
|
33
|
+
- - "<"
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '6'
|
16
36
|
- !ruby/object:Gem::Dependency
|
17
37
|
name: blacklight
|
18
38
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,19 +76,19 @@ dependencies:
|
|
56
76
|
- !ruby/object:Gem::Version
|
57
77
|
version: '0'
|
58
78
|
- !ruby/object:Gem::Dependency
|
59
|
-
name:
|
79
|
+
name: config
|
60
80
|
requirement: !ruby/object:Gem::Requirement
|
61
81
|
requirements:
|
62
|
-
- - "
|
82
|
+
- - ">="
|
63
83
|
- !ruby/object:Gem::Version
|
64
|
-
version: 0
|
84
|
+
version: '0'
|
65
85
|
type: :runtime
|
66
86
|
prerelease: false
|
67
87
|
version_requirements: !ruby/object:Gem::Requirement
|
68
88
|
requirements:
|
69
|
-
- - "
|
89
|
+
- - ">="
|
70
90
|
- !ruby/object:Gem::Version
|
71
|
-
version: 0
|
91
|
+
version: '0'
|
72
92
|
- !ruby/object:Gem::Dependency
|
73
93
|
name: faraday
|
74
94
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,61 +132,61 @@ dependencies:
|
|
112
132
|
- !ruby/object:Gem::Version
|
113
133
|
version: '0.2'
|
114
134
|
- !ruby/object:Gem::Dependency
|
115
|
-
name:
|
135
|
+
name: deprecation
|
116
136
|
requirement: !ruby/object:Gem::Requirement
|
117
137
|
requirements:
|
118
|
-
- - "
|
138
|
+
- - ">="
|
119
139
|
- !ruby/object:Gem::Version
|
120
|
-
version: '
|
121
|
-
type: :
|
140
|
+
version: '0'
|
141
|
+
type: :runtime
|
122
142
|
prerelease: false
|
123
143
|
version_requirements: !ruby/object:Gem::Requirement
|
124
144
|
requirements:
|
125
|
-
- - "
|
145
|
+
- - ">="
|
126
146
|
- !ruby/object:Gem::Version
|
127
|
-
version: '
|
147
|
+
version: '0'
|
128
148
|
- !ruby/object:Gem::Dependency
|
129
|
-
name:
|
149
|
+
name: solr_wrapper
|
130
150
|
requirement: !ruby/object:Gem::Requirement
|
131
151
|
requirements:
|
132
|
-
- - "
|
152
|
+
- - ">="
|
133
153
|
- !ruby/object:Gem::Version
|
134
|
-
version:
|
154
|
+
version: '0'
|
135
155
|
type: :development
|
136
156
|
prerelease: false
|
137
157
|
version_requirements: !ruby/object:Gem::Requirement
|
138
158
|
requirements:
|
139
|
-
- - "
|
159
|
+
- - ">="
|
140
160
|
- !ruby/object:Gem::Version
|
141
|
-
version:
|
161
|
+
version: '0'
|
142
162
|
- !ruby/object:Gem::Dependency
|
143
|
-
name:
|
163
|
+
name: rails-controller-testing
|
144
164
|
requirement: !ruby/object:Gem::Requirement
|
145
165
|
requirements:
|
146
|
-
- - "
|
166
|
+
- - ">="
|
147
167
|
- !ruby/object:Gem::Version
|
148
|
-
version:
|
168
|
+
version: '0'
|
149
169
|
type: :development
|
150
170
|
prerelease: false
|
151
171
|
version_requirements: !ruby/object:Gem::Requirement
|
152
172
|
requirements:
|
153
|
-
- - "
|
173
|
+
- - ">="
|
154
174
|
- !ruby/object:Gem::Version
|
155
|
-
version:
|
175
|
+
version: '0'
|
156
176
|
- !ruby/object:Gem::Dependency
|
157
|
-
name:
|
177
|
+
name: rspec-rails
|
158
178
|
requirement: !ruby/object:Gem::Requirement
|
159
179
|
requirements:
|
160
|
-
- - "
|
180
|
+
- - "~>"
|
161
181
|
- !ruby/object:Gem::Version
|
162
|
-
version: '
|
182
|
+
version: '3.1'
|
163
183
|
type: :development
|
164
184
|
prerelease: false
|
165
185
|
version_requirements: !ruby/object:Gem::Requirement
|
166
186
|
requirements:
|
167
|
-
- - "
|
187
|
+
- - "~>"
|
168
188
|
- !ruby/object:Gem::Version
|
169
|
-
version: '
|
189
|
+
version: '3.1'
|
170
190
|
- !ruby/object:Gem::Dependency
|
171
191
|
name: engine_cart
|
172
192
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,30 +205,30 @@ dependencies:
|
|
185
205
|
name: capybara
|
186
206
|
requirement: !ruby/object:Gem::Requirement
|
187
207
|
requirements:
|
188
|
-
- - "
|
208
|
+
- - ">="
|
189
209
|
- !ruby/object:Gem::Version
|
190
|
-
version: 2.
|
210
|
+
version: 2.5.0
|
191
211
|
type: :development
|
192
212
|
prerelease: false
|
193
213
|
version_requirements: !ruby/object:Gem::Requirement
|
194
214
|
requirements:
|
195
|
-
- - "
|
215
|
+
- - ">="
|
196
216
|
- !ruby/object:Gem::Version
|
197
|
-
version: 2.
|
217
|
+
version: 2.5.0
|
198
218
|
- !ruby/object:Gem::Dependency
|
199
219
|
name: poltergeist
|
200
220
|
requirement: !ruby/object:Gem::Requirement
|
201
221
|
requirements:
|
202
|
-
- - "
|
222
|
+
- - ">="
|
203
223
|
- !ruby/object:Gem::Version
|
204
|
-
version: '
|
224
|
+
version: '0'
|
205
225
|
type: :development
|
206
226
|
prerelease: false
|
207
227
|
version_requirements: !ruby/object:Gem::Requirement
|
208
228
|
requirements:
|
209
|
-
- - "
|
229
|
+
- - ">="
|
210
230
|
- !ruby/object:Gem::Version
|
211
|
-
version: '
|
231
|
+
version: '0'
|
212
232
|
- !ruby/object:Gem::Dependency
|
213
233
|
name: factory_girl_rails
|
214
234
|
requirement: !ruby/object:Gem::Requirement
|
@@ -227,16 +247,16 @@ dependencies:
|
|
227
247
|
name: database_cleaner
|
228
248
|
requirement: !ruby/object:Gem::Requirement
|
229
249
|
requirements:
|
230
|
-
- - "
|
250
|
+
- - "~>"
|
231
251
|
- !ruby/object:Gem::Version
|
232
|
-
version: '
|
252
|
+
version: '1.3'
|
233
253
|
type: :development
|
234
254
|
prerelease: false
|
235
255
|
version_requirements: !ruby/object:Gem::Requirement
|
236
256
|
requirements:
|
237
|
-
- - "
|
257
|
+
- - "~>"
|
238
258
|
- !ruby/object:Gem::Version
|
239
|
-
version: '
|
259
|
+
version: '1.3'
|
240
260
|
description: GeoBlacklight provides a world-class discovery platform for geospatial
|
241
261
|
(GIS) holdings. It is an open collaborative project aiming to build off of the successes
|
242
262
|
of the Blacklight Solr-powered discovery interface and the multi-institutional OpenGeoportal
|
@@ -257,6 +277,7 @@ files:
|
|
257
277
|
- ".jshintignore"
|
258
278
|
- ".jshintrc"
|
259
279
|
- ".rubocop.yml"
|
280
|
+
- ".solr_wrapper"
|
260
281
|
- ".travis.yml"
|
261
282
|
- CONTRIBUTING.md
|
262
283
|
- Gemfile
|
@@ -310,9 +331,10 @@ files:
|
|
310
331
|
- app/controllers/download_controller.rb
|
311
332
|
- app/controllers/wms_controller.rb
|
312
333
|
- app/helpers/blacklight_helper.rb
|
334
|
+
- app/helpers/carto_helper.rb
|
313
335
|
- app/helpers/geoblacklight_helper.rb
|
314
336
|
- app/models/concerns/geoblacklight/solr_document.rb
|
315
|
-
- app/models/concerns/geoblacklight/solr_document/
|
337
|
+
- app/models/concerns/geoblacklight/solr_document/carto.rb
|
316
338
|
- app/models/concerns/geoblacklight/solr_document/finder.rb
|
317
339
|
- app/models/concerns/geoblacklight/solr_document/inspection.rb
|
318
340
|
- app/models/concerns/geoblacklight/spatial_search_behavior.rb
|
@@ -349,12 +371,10 @@ files:
|
|
349
371
|
- app/views/download/hgl.html.erb
|
350
372
|
- app/views/shared/_header_navbar.html.erb
|
351
373
|
- config/initializers/rails_config.rb
|
352
|
-
- config/jetty.yml
|
353
374
|
- config/locales/geoblacklight.en.yml
|
354
375
|
- geoblacklight.gemspec
|
355
376
|
- lib/generators/geoblacklight/install_generator.rb
|
356
377
|
- lib/generators/geoblacklight/templates/catalog_controller.rb
|
357
|
-
- lib/generators/geoblacklight/templates/config/jetty.yml
|
358
378
|
- lib/generators/geoblacklight/templates/geoblacklight.js
|
359
379
|
- lib/generators/geoblacklight/templates/geoblacklight.scss
|
360
380
|
- lib/generators/geoblacklight/templates/settings.yml
|
@@ -384,15 +404,25 @@ files:
|
|
384
404
|
- lib/geoblacklight/view_helper_override.rb
|
385
405
|
- lib/geoblacklight/wms_layer.rb
|
386
406
|
- lib/geoblacklight/wms_layer/feature_info_response.rb
|
387
|
-
- lib/tasks/configure_solr.rake
|
388
407
|
- lib/tasks/geoblacklight.rake
|
389
408
|
- schema/geoblacklight-schema.json
|
390
409
|
- schema/geoblacklight-schema.md
|
391
|
-
-
|
392
|
-
-
|
393
|
-
-
|
394
|
-
-
|
395
|
-
-
|
410
|
+
- solr/conf/_rest_managed.json
|
411
|
+
- solr/conf/admin-extra.html
|
412
|
+
- solr/conf/elevate.xml
|
413
|
+
- solr/conf/mapping-ISOLatin1Accent.txt
|
414
|
+
- solr/conf/protwords.txt
|
415
|
+
- solr/conf/schema.xml
|
416
|
+
- solr/conf/scripts.conf
|
417
|
+
- solr/conf/solrconfig.xml
|
418
|
+
- solr/conf/spellings.txt
|
419
|
+
- solr/conf/stopwords.txt
|
420
|
+
- solr/conf/stopwords_en.txt
|
421
|
+
- solr/conf/synonyms.txt
|
422
|
+
- solr/conf/xslt/example.xsl
|
423
|
+
- solr/conf/xslt/example_atom.xsl
|
424
|
+
- solr/conf/xslt/example_rss.xsl
|
425
|
+
- solr/conf/xslt/luke.xsl
|
396
426
|
- spec/controllers/catalog_controller_spec.rb
|
397
427
|
- spec/controllers/download_controller_spec.rb
|
398
428
|
- spec/factories/user.rb
|
@@ -431,6 +461,7 @@ files:
|
|
431
461
|
- spec/fixtures/solr_documents/public_iiif_princeton.json
|
432
462
|
- spec/fixtures/solr_documents/public_polygon_mit.json
|
433
463
|
- spec/fixtures/solr_documents/restricted-line.json
|
464
|
+
- spec/helpers/carto_helper_spec.rb
|
434
465
|
- spec/helpers/geoblacklight_helpers_spec.rb
|
435
466
|
- spec/javascripts/geoblacklight_spec.js
|
436
467
|
- spec/javascripts/spec_helper.js
|
@@ -452,16 +483,18 @@ files:
|
|
452
483
|
- spec/lib/geoblacklight/view_helper_override_spec.rb
|
453
484
|
- spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb
|
454
485
|
- spec/lib/geoblacklight/wms_layer_spec.rb
|
455
|
-
- spec/models/concerns/geoblacklight/solr_document/
|
486
|
+
- spec/models/concerns/geoblacklight/solr_document/carto_spec.rb
|
456
487
|
- spec/models/concerns/geoblacklight/solr_document/finder_spec.rb
|
457
488
|
- spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb
|
458
489
|
- spec/models/concerns/geoblacklight/solr_document_spec.rb
|
459
490
|
- spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb
|
460
491
|
- spec/spec_helper.rb
|
492
|
+
- spec/support/backport_test_helpers.rb
|
461
493
|
- spec/support/features.rb
|
462
494
|
- spec/support/features/session_helpers.rb
|
463
495
|
- spec/teaspoon_env.rb
|
464
496
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
497
|
+
- spec/test_app_templates/solr_documents
|
465
498
|
- spec/views/catalog/_document_split.html.erb_spec.rb
|
466
499
|
- spec/views/catalog/_downloads.html.erb_spec.rb
|
467
500
|
- spec/views/catalog/_index_split.html.erb_spec.rb
|
@@ -490,7 +523,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
490
523
|
version: '0'
|
491
524
|
requirements: []
|
492
525
|
rubyforge_project:
|
493
|
-
rubygems_version: 2.
|
526
|
+
rubygems_version: 2.5.1
|
494
527
|
signing_key:
|
495
528
|
specification_version: 4
|
496
529
|
summary: A discovery platform for geospatial holdings
|
@@ -533,6 +566,7 @@ test_files:
|
|
533
566
|
- spec/fixtures/solr_documents/public_iiif_princeton.json
|
534
567
|
- spec/fixtures/solr_documents/public_polygon_mit.json
|
535
568
|
- spec/fixtures/solr_documents/restricted-line.json
|
569
|
+
- spec/helpers/carto_helper_spec.rb
|
536
570
|
- spec/helpers/geoblacklight_helpers_spec.rb
|
537
571
|
- spec/javascripts/geoblacklight_spec.js
|
538
572
|
- spec/javascripts/spec_helper.js
|
@@ -554,16 +588,18 @@ test_files:
|
|
554
588
|
- spec/lib/geoblacklight/view_helper_override_spec.rb
|
555
589
|
- spec/lib/geoblacklight/wms_layer/feature_info_response_spec.rb
|
556
590
|
- spec/lib/geoblacklight/wms_layer_spec.rb
|
557
|
-
- spec/models/concerns/geoblacklight/solr_document/
|
591
|
+
- spec/models/concerns/geoblacklight/solr_document/carto_spec.rb
|
558
592
|
- spec/models/concerns/geoblacklight/solr_document/finder_spec.rb
|
559
593
|
- spec/models/concerns/geoblacklight/solr_document/inspection_spec.rb
|
560
594
|
- spec/models/concerns/geoblacklight/solr_document_spec.rb
|
561
595
|
- spec/models/concerns/geoblacklight/spatial_search_behavior_spec.rb
|
562
596
|
- spec/spec_helper.rb
|
597
|
+
- spec/support/backport_test_helpers.rb
|
563
598
|
- spec/support/features.rb
|
564
599
|
- spec/support/features/session_helpers.rb
|
565
600
|
- spec/teaspoon_env.rb
|
566
601
|
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
602
|
+
- spec/test_app_templates/solr_documents
|
567
603
|
- spec/views/catalog/_document_split.html.erb_spec.rb
|
568
604
|
- spec/views/catalog/_downloads.html.erb_spec.rb
|
569
605
|
- spec/views/catalog/_index_split.html.erb_spec.rb
|