geoblacklight_sidecar_images 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -0
- data/Gemfile +4 -4
- data/README.md +56 -7
- data/Rakefile +2 -5
- data/app/assets/stylesheets/geoblacklight_sidecar_images/modules/_results.scss +1 -0
- data/app/models/solr_document_sidecar.rb +7 -9
- data/app/services/geoblacklight_sidecar_images/image_service.rb +6 -3
- data/geoblacklight_sidecar_images.gemspec +7 -5
- data/lib/generators/geoblacklight_sidecar_images/templates/views/catalog/_index_split_default.html.erb +1 -1
- data/lib/geoblacklight_sidecar_images/version.rb +1 -1
- data/lib/tasks/geoblacklight_sidecar_images_tasks.rake +1 -1
- data/spec/fixtures/files/b1g_thumbnail.json +42 -0
- data/spec/models/solr_document_sidecar_spec.rb +1 -1
- data/spec/services/image_service_spec.rb +6 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +1 -1
- metadata +45 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fef925ce1a979f49bc5367e37df753875e9ef4342b818a902ec8e43e5e92e83d
|
4
|
+
data.tar.gz: 40d07638860d73938360e4c4328b17cbaca770e2bba3ae2b0fab1b2497663814
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36a95037c48e9914211e3376f8c33ea5e81dcf5e067cc31b11d92433c382bd6076727a1ab6ecab339dd74c67fa768b96557d40e696d523242410171aa2960649
|
7
|
+
data.tar.gz: '09a55bddc96a1268b7725e4f1cbd4369e9297789a4aed5af037e83854c3094bec3c2958e7c7543f8540dc9428b915ce24324110241a3cab93e882aaca167ea12'
|
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
@@ -16,7 +16,7 @@ group :development, :test do
|
|
16
16
|
# Peg simplecov to < 0.8 until this is resolved:
|
17
17
|
# https://github.com/colszowka/simplecov/issues/281
|
18
18
|
gem 'coveralls', require: false
|
19
|
-
gem 'rubocop', '
|
19
|
+
gem 'rubocop', '~> 1.9', require: false
|
20
20
|
end
|
21
21
|
|
22
22
|
# To use a debugger
|
@@ -37,11 +37,11 @@ if File.exist?(file)
|
|
37
37
|
end
|
38
38
|
else
|
39
39
|
Bundler.ui.warn "[EngineCart] Unable to find test application dependencies in #{file}, using placeholder dependencies"
|
40
|
-
gem 'geoblacklight', '
|
40
|
+
gem 'geoblacklight', '>= 2.0'
|
41
41
|
gem 'mini_magick', '~> 4.9.4'
|
42
42
|
gem 'image_processing', '~> 1.6'
|
43
43
|
gem 'mimemagic', '~> 0.3'
|
44
|
-
gem 'statesman', '
|
45
|
-
gem 'rails', '
|
44
|
+
gem 'statesman', '>= 3.4'
|
45
|
+
gem 'rails', '>= 5.2', '< 6.2'
|
46
46
|
end
|
47
47
|
# END ENGINE_CART BLOCK
|
data/README.md
CHANGED
@@ -7,6 +7,12 @@
|
|
7
7
|
|
8
8
|
Store local copies of remote imagery in GeoBlacklight.
|
9
9
|
|
10
|
+
* [Requirements](#requirements)
|
11
|
+
* [Installation](#installation)
|
12
|
+
* [Rake Tasks](#rake-tasks)
|
13
|
+
* [View Customization](#view-customization)
|
14
|
+
* [Development](#development)
|
15
|
+
|
10
16
|
## Description
|
11
17
|
This GeoBlacklight plugin captures remote images from geographic web services and saves them locally. It borrows the concept of a [SolrDocumentSidecar](https://github.com/projectblacklight/spotlight/blob/master/app/models/spotlight/solr_document_sidecar.rb) from [Spotlight](https://github.com/projectblacklight/spotlight), to have an ActiveRecord-based "sidecar" to match each non-AR SolrDocument. This allows us to use [ActiveStorage](https://github.com/rails/rails/tree/master/activestorage) to attach images to our solr documents.
|
12
18
|
|
@@ -15,11 +21,11 @@ This GeoBlacklight plugin captures remote images from geographic web services an
|
|
15
21
|
|
16
22
|
## Requirements
|
17
23
|
|
18
|
-
* [Ruby on Rails 5.2](https://weblog.rubyonrails.org/releases/)
|
19
|
-
* [GeoBlacklight](https://github.com/geoblacklight/geoblacklight)
|
24
|
+
* [Ruby on Rails >= 5.2](https://weblog.rubyonrails.org/releases/)
|
25
|
+
* [GeoBlacklight >= 2.0](https://github.com/geoblacklight/geoblacklight)
|
20
26
|
* [ImageMagick](https://github.com/ImageMagick/ImageMagick)
|
21
27
|
|
22
|
-
|
28
|
+
### Suggested
|
23
29
|
|
24
30
|
* Background Job Processor
|
25
31
|
|
@@ -47,6 +53,23 @@ Run the database migration.
|
|
47
53
|
$ bin/rails db:migrate
|
48
54
|
```
|
49
55
|
|
56
|
+
Complete any necessary [Active Storage setup](https://edgeguides.rubyonrails.org/active_storage_overview.html#setup) steps, for example:
|
57
|
+
|
58
|
+
1. Add a config/storage.yml file
|
59
|
+
|
60
|
+
```
|
61
|
+
local:
|
62
|
+
service: Disk
|
63
|
+
root: <%= Rails.root.join("storage") %>
|
64
|
+
```
|
65
|
+
|
66
|
+
2. Add config/environments declarations, development.rb for example:
|
67
|
+
|
68
|
+
```
|
69
|
+
# Store uploaded files on the local file system (see config/storage.yml for options)
|
70
|
+
config.active_storage.service = :local
|
71
|
+
```
|
72
|
+
|
50
73
|
### New GeoBlacklight Instance
|
51
74
|
|
52
75
|
Create a new GeoBlacklight instance with the GBLSI code
|
@@ -182,7 +205,9 @@ Then you can edit your GeoBlacklight settings.yml file to point at that solr fie
|
|
182
205
|
|
183
206
|
## View customization
|
184
207
|
|
185
|
-
|
208
|
+
Use basic Active Storage patterns to display imagery in your application.
|
209
|
+
|
210
|
+
### Example Methods
|
186
211
|
|
187
212
|
```ruby
|
188
213
|
# Is there an image?
|
@@ -196,7 +221,30 @@ document.sidecar.image.variable?
|
|
196
221
|
|
197
222
|
```
|
198
223
|
|
199
|
-
|
224
|
+
### Search results
|
225
|
+
|
226
|
+
This GBL plugin includes a custom [catalog/_index_split_default.html.erb file](https://github.com/geoblacklight/geoblacklight_sidecar_images/blob/develop/lib/generators/geoblacklight_sidecar_images/templates/views/catalog/_index_split_default.html.erb). Look there for examples on calling the image method.
|
227
|
+
|
228
|
+
### Show pages
|
229
|
+
|
230
|
+
Example for adding a thumbnail to the show page sidebar.
|
231
|
+
|
232
|
+
*catalog/_show_sidebar.html.erb*
|
233
|
+
|
234
|
+
```ruby
|
235
|
+
# Add to end of file
|
236
|
+
<% if @document.sidecar.image.attached? %>
|
237
|
+
<% if @document.sidecar.image.variable? %>
|
238
|
+
<div class="card">
|
239
|
+
<div class="card-header">Thumbnail</div>
|
240
|
+
<div class="card-body">
|
241
|
+
<%= image_tag @document.sidecar.image.variant(resize: "200"), {class: 'mr-3'} %>
|
242
|
+
</div>
|
243
|
+
</div>
|
244
|
+
<% end %>
|
245
|
+
<% end %>
|
246
|
+
|
247
|
+
```
|
200
248
|
|
201
249
|
## Development
|
202
250
|
|
@@ -229,5 +277,6 @@ tail -f log/image_service_development.log
|
|
229
277
|
* ~~0.2.0 - Forgo attaching placeholder imagery~~
|
230
278
|
* ~~0.3.0 - Add Statesman (state machine library)~~
|
231
279
|
* ~~0.4.0 - Rails 5.2 branch / Switch to ActionStorage~~
|
232
|
-
* 0.
|
233
|
-
*
|
280
|
+
* ~~0.7.0 - Rails 5.2+ and 6+ / GeoBlacklight 2+ and 3+ support~~
|
281
|
+
* 0.7.0 to 0.9.0 - Feedback; Improve test coverage; Collect additional real-world issues
|
282
|
+
* 1.0.0 - Final release
|
data/Rakefile
CHANGED
@@ -16,17 +16,14 @@ RSpec::Core::RakeTask.new(:spec)
|
|
16
16
|
require 'rubocop/rake_task'
|
17
17
|
RuboCop::RakeTask.new(:rubocop)
|
18
18
|
|
19
|
+
require 'solr_wrapper/rake_task'
|
19
20
|
require 'engine_cart/rake_task'
|
20
21
|
require 'geoblacklight_sidecar_images/version'
|
21
22
|
|
22
23
|
task ci: ['engine_cart:generate'] do
|
23
24
|
ENV['environment'] = 'test'
|
24
|
-
|
25
|
-
SolrWrapper.wrap(port: '8983') do |solr|
|
25
|
+
SolrWrapper.wrap do |solr|
|
26
26
|
solr.with_collection(name: 'blacklight-core', dir: File.join(__dir__, 'solr', 'conf')) do
|
27
|
-
# Fixtures here
|
28
|
-
# Rake::Task['spotlight:fixtures'].invoke
|
29
|
-
|
30
27
|
# run the tests
|
31
28
|
Rake::Task['spec'].invoke
|
32
29
|
end
|
@@ -3,15 +3,15 @@
|
|
3
3
|
##
|
4
4
|
# Metadata for indexed documents
|
5
5
|
class SolrDocumentSidecar < ApplicationRecord
|
6
|
-
include Statesman::Adapters::ActiveRecordQueries
|
6
|
+
include Statesman::Adapters::ActiveRecordQueries[
|
7
|
+
transition_class: SidecarImageTransition,
|
8
|
+
initial_state: :initialized
|
9
|
+
]
|
7
10
|
|
8
11
|
belongs_to :document, optional: false, polymorphic: true
|
9
12
|
has_many :sidecar_image_transitions, autosave: false, dependent: :destroy
|
10
13
|
has_one_attached :image
|
11
14
|
|
12
|
-
# If the sidecar solr document is updated, re-fetch thumbnail image
|
13
|
-
after_update :reimage, if: :saved_change_to_version?
|
14
|
-
|
15
15
|
def document
|
16
16
|
document_type.new document_type.unique_key => document_id
|
17
17
|
end
|
@@ -39,12 +39,10 @@ class SolrDocumentSidecar < ApplicationRecord
|
|
39
39
|
Rails.application.routes.url_helpers.rails_blob_path(image, only_path: true)
|
40
40
|
end
|
41
41
|
|
42
|
-
|
43
|
-
|
44
|
-
private
|
45
|
-
|
46
|
-
def reimage
|
42
|
+
def reimage!
|
47
43
|
image.purge if image.attached?
|
48
44
|
GeoblacklightSidecarImages::StoreImageJob.perform_later(document.id)
|
49
45
|
end
|
46
|
+
|
47
|
+
private_class_method :initial_state
|
50
48
|
end
|
@@ -41,8 +41,8 @@ module GeoblacklightSidecarImages
|
|
41
41
|
end
|
42
42
|
|
43
43
|
log_output
|
44
|
-
rescue Exception =>
|
45
|
-
@metadata['exception'] =
|
44
|
+
rescue Exception => e
|
45
|
+
@metadata['exception'] = e.inspect
|
46
46
|
@document.sidecar.image_state.transition_to!(:failed, @metadata)
|
47
47
|
|
48
48
|
log_output
|
@@ -53,7 +53,6 @@ module GeoblacklightSidecarImages
|
|
53
53
|
def image_tempfile(document_id)
|
54
54
|
@metadata['viewer_protocol'] = @document.viewer_protocol
|
55
55
|
@metadata['image_url'] = image_url
|
56
|
-
@metadata['service_url'] = service_url
|
57
56
|
@metadata['gblsi_thumbnail_uri'] = gblsi_thumbnail_uri
|
58
57
|
|
59
58
|
return nil unless image_data && @metadata['placeheld'] == false
|
@@ -180,11 +179,15 @@ module GeoblacklightSidecarImages
|
|
180
179
|
# from the viewer protocol, and if it's loaded, the image_url
|
181
180
|
# method is called.
|
182
181
|
def service_url
|
182
|
+
# Follow image_url instead
|
183
|
+
return nil if gblsi_thumbnail_uri
|
184
|
+
|
183
185
|
@service_url ||=
|
184
186
|
begin
|
185
187
|
return unless @document.available?
|
186
188
|
|
187
189
|
protocol = @document.viewer_protocol
|
190
|
+
|
188
191
|
if protocol == 'map' || protocol.nil?
|
189
192
|
@metadata['error'] = 'Unsupported viewer protocol'
|
190
193
|
@metadata['placeheld'] = true
|
@@ -18,12 +18,12 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
19
|
s.require_paths = ['lib']
|
20
20
|
|
21
|
-
s.add_dependency 'geoblacklight', '
|
21
|
+
s.add_dependency 'geoblacklight', '>= 2.0'
|
22
22
|
s.add_dependency 'mini_magick', '~> 4.9.4'
|
23
23
|
s.add_dependency 'image_processing', '~> 1.6'
|
24
|
-
s.add_dependency 'statesman', '
|
24
|
+
s.add_dependency 'statesman', '>= 3.4'
|
25
25
|
s.add_dependency 'mimemagic', '~> 0.3'
|
26
|
-
s.add_dependency 'rails', '>= 5.2', '< 6'
|
26
|
+
s.add_dependency 'rails', '>= 5.2', '< 6.2'
|
27
27
|
|
28
28
|
s.add_development_dependency 'byebug'
|
29
29
|
s.add_development_dependency 'capybara'
|
@@ -31,8 +31,10 @@ Gem::Specification.new do |s|
|
|
31
31
|
s.add_development_dependency 'database_cleaner', '~> 1.3'
|
32
32
|
s.add_development_dependency 'engine_cart', '~> 2.2'
|
33
33
|
s.add_development_dependency 'rspec-rails', '~> 3.0'
|
34
|
-
s.add_development_dependency 'rubocop', '~>
|
34
|
+
s.add_development_dependency 'rubocop', '~> 1.9'
|
35
35
|
s.add_development_dependency 'rubocop-rspec', '~> 1.30.0'
|
36
|
+
s.add_development_dependency 'rubocop-rails', '~> 2.9'
|
36
37
|
s.add_development_dependency 'selenium-webdriver'
|
37
|
-
s.add_development_dependency 'solr_wrapper'
|
38
|
+
s.add_development_dependency 'solr_wrapper', '~> 2.2'
|
39
|
+
s.add_development_dependency 'sprockets', '< 4'
|
38
40
|
end
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<div class='media'>
|
16
16
|
<% if document.sidecar.image.attached? %>
|
17
17
|
<% if document.sidecar.image.variable? %>
|
18
|
-
<%= image_tag document.sidecar.image.variant(resize: "
|
18
|
+
<%= image_tag document.sidecar.image.variant(resize: "200"), {class: 'mr-3'} %>
|
19
19
|
<% else %>
|
20
20
|
<%= image_tag document.sidecar.image, {class: 'mr-3'} %>
|
21
21
|
<% end %>
|
@@ -20,7 +20,7 @@ namespace :gblsci do
|
|
20
20
|
namespace :images do
|
21
21
|
desc 'Harvest image for specific document'
|
22
22
|
task :harvest_doc_id, [:doc_id] => [:environment] do |_t, args|
|
23
|
-
StoreImageJob.perform_later(args[:doc_id])
|
23
|
+
GeoblacklightSidecarImages::StoreImageJob.perform_later(args[:doc_id])
|
24
24
|
end
|
25
25
|
|
26
26
|
desc 'Harvest all images'
|
@@ -0,0 +1,42 @@
|
|
1
|
+
{
|
2
|
+
"geoblacklight_version": "1.0",
|
3
|
+
"dc_description_s": "The Illinois Environmental Protection Agency's collection of geospatial resources on their Open Data Geoportal include vehicle emissions testing locations and waste disposal sites.",
|
4
|
+
"layer_modified_dt": "2019-08-29T16:54:48Z",
|
5
|
+
"solr_geom": "ENVELOPE(-91.51308, -87.49520, 42.50848, 36.97030)",
|
6
|
+
"dct_references_s": "{\"http://schema.org/url\":\"https://illinoisepaopendata-illinois-epa.opendata.arcgis.com\"}",
|
7
|
+
"dc_rights_s": "Public",
|
8
|
+
"b1g_centroid_ss": "39.73939,-89.50414",
|
9
|
+
"layer_geom_type_s": "Table",
|
10
|
+
"b1g_status_s": "Active",
|
11
|
+
"dct_provenance_s": "Illinois",
|
12
|
+
"dc_subject_sm": [
|
13
|
+
"State agencies geospatial data"
|
14
|
+
],
|
15
|
+
"dct_temporal_sm": [
|
16
|
+
"2015-2018"
|
17
|
+
],
|
18
|
+
"b1g_code_s": "02a-02",
|
19
|
+
"b1g_genre_sm": [
|
20
|
+
"Geospatial data"
|
21
|
+
],
|
22
|
+
"b1g_keyword_sm": [
|
23
|
+
"Environment,Health,Transportation,Location"
|
24
|
+
],
|
25
|
+
"dc_creator_sm": [
|
26
|
+
"Illinois Environmental Protection Agency"
|
27
|
+
],
|
28
|
+
"dc_identifier_s": "02a-02",
|
29
|
+
"solr_year_i": 2015,
|
30
|
+
"thumbnail_path_ss": "https://www2.illinois.gov/epa/Style%20Library/SOISierra/Images/SiteLogo.png",
|
31
|
+
"dct_spatial_sm": [
|
32
|
+
"Illinois"
|
33
|
+
],
|
34
|
+
"dc_publisher_sm": [
|
35
|
+
"State of Illinois"
|
36
|
+
],
|
37
|
+
"dc_type_sm": [
|
38
|
+
"Collection"
|
39
|
+
],
|
40
|
+
"dc_title_s": "Illinois EPA Open Data",
|
41
|
+
"layer_slug_s": "02a-02"
|
42
|
+
}
|
@@ -9,6 +9,8 @@ describe GeoblacklightSidecarImages::ImageService do
|
|
9
9
|
let(:wms_imgsvc) { described_class.new(wms_document) }
|
10
10
|
let(:thumb_document) { SolrDocument.new(json_data('umn_solr_thumb')) }
|
11
11
|
let(:thumb_imgsvc) { described_class.new(thumb_document) }
|
12
|
+
let(:map_document) { SolrDocument.new(json_data('b1g_thumbnail')) }
|
13
|
+
let(:map_imgsvc) { described_class.new(map_document) }
|
12
14
|
|
13
15
|
# @TODO: bdcbcd3e-f6db-4ee4-b7b7-d75fe35f1d92 - Michigan State - thumbnail_path_ss
|
14
16
|
|
@@ -32,6 +34,10 @@ describe GeoblacklightSidecarImages::ImageService do
|
|
32
34
|
it 'returns references without a settings thumbnail field value' do
|
33
35
|
expect(wms_imgsvc.send(:image_url)).to include 'wms'
|
34
36
|
end
|
37
|
+
|
38
|
+
it 'returns no service_url when settings thumbnail field' do
|
39
|
+
expect(map_imgsvc.send(:service_url)).to be_falsey
|
40
|
+
end
|
35
41
|
end
|
36
42
|
|
37
43
|
context 'when #iiif' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: geoblacklight_sidecar_images
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Larson
|
@@ -9,20 +9,20 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-02-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: geoblacklight
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '2.0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '2.0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
@@ -57,14 +57,14 @@ dependencies:
|
|
57
57
|
name: statesman
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '3.4'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - "
|
67
|
+
- - ">="
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '3.4'
|
70
70
|
- !ruby/object:Gem::Dependency
|
@@ -90,7 +90,7 @@ dependencies:
|
|
90
90
|
version: '5.2'
|
91
91
|
- - "<"
|
92
92
|
- !ruby/object:Gem::Version
|
93
|
-
version: '6'
|
93
|
+
version: '6.2'
|
94
94
|
type: :runtime
|
95
95
|
prerelease: false
|
96
96
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -100,7 +100,7 @@ dependencies:
|
|
100
100
|
version: '5.2'
|
101
101
|
- - "<"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '6'
|
103
|
+
version: '6.2'
|
104
104
|
- !ruby/object:Gem::Dependency
|
105
105
|
name: byebug
|
106
106
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,14 +191,14 @@ dependencies:
|
|
191
191
|
requirements:
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
194
|
+
version: '1.9'
|
195
195
|
type: :development
|
196
196
|
prerelease: false
|
197
197
|
version_requirements: !ruby/object:Gem::Requirement
|
198
198
|
requirements:
|
199
199
|
- - "~>"
|
200
200
|
- !ruby/object:Gem::Version
|
201
|
-
version:
|
201
|
+
version: '1.9'
|
202
202
|
- !ruby/object:Gem::Dependency
|
203
203
|
name: rubocop-rspec
|
204
204
|
requirement: !ruby/object:Gem::Requirement
|
@@ -213,6 +213,20 @@ dependencies:
|
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: 1.30.0
|
216
|
+
- !ruby/object:Gem::Dependency
|
217
|
+
name: rubocop-rails
|
218
|
+
requirement: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '2.9'
|
223
|
+
type: :development
|
224
|
+
prerelease: false
|
225
|
+
version_requirements: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: '2.9'
|
216
230
|
- !ruby/object:Gem::Dependency
|
217
231
|
name: selenium-webdriver
|
218
232
|
requirement: !ruby/object:Gem::Requirement
|
@@ -231,16 +245,30 @@ dependencies:
|
|
231
245
|
name: solr_wrapper
|
232
246
|
requirement: !ruby/object:Gem::Requirement
|
233
247
|
requirements:
|
234
|
-
- - "
|
248
|
+
- - "~>"
|
235
249
|
- !ruby/object:Gem::Version
|
236
|
-
version: '
|
250
|
+
version: '2.2'
|
237
251
|
type: :development
|
238
252
|
prerelease: false
|
239
253
|
version_requirements: !ruby/object:Gem::Requirement
|
240
254
|
requirements:
|
241
|
-
- - "
|
255
|
+
- - "~>"
|
242
256
|
- !ruby/object:Gem::Version
|
243
|
-
version: '
|
257
|
+
version: '2.2'
|
258
|
+
- !ruby/object:Gem::Dependency
|
259
|
+
name: sprockets
|
260
|
+
requirement: !ruby/object:Gem::Requirement
|
261
|
+
requirements:
|
262
|
+
- - "<"
|
263
|
+
- !ruby/object:Gem::Version
|
264
|
+
version: '4'
|
265
|
+
type: :development
|
266
|
+
prerelease: false
|
267
|
+
version_requirements: !ruby/object:Gem::Requirement
|
268
|
+
requirements:
|
269
|
+
- - "<"
|
270
|
+
- !ruby/object:Gem::Version
|
271
|
+
version: '4'
|
244
272
|
description:
|
245
273
|
email:
|
246
274
|
- ewlarson@umn.edu
|
@@ -316,6 +344,7 @@ files:
|
|
316
344
|
- spec/fixtures/files/actual-point1.json
|
317
345
|
- spec/fixtures/files/actual-polygon1.json
|
318
346
|
- spec/fixtures/files/actual-raster1.json
|
347
|
+
- spec/fixtures/files/b1g_thumbnail.json
|
319
348
|
- spec/fixtures/files/baruch_ancestor1.json
|
320
349
|
- spec/fixtures/files/baruch_ancestor2.json
|
321
350
|
- spec/fixtures/files/baruch_documentation_download.json
|
@@ -378,8 +407,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
378
407
|
- !ruby/object:Gem::Version
|
379
408
|
version: '0'
|
380
409
|
requirements: []
|
381
|
-
|
382
|
-
rubygems_version: 2.7.6
|
410
|
+
rubygems_version: 3.1.4
|
383
411
|
signing_key:
|
384
412
|
specification_version: 4
|
385
413
|
summary: Store local copies of remote imagery in GeoBlacklight
|
@@ -389,6 +417,7 @@ test_files:
|
|
389
417
|
- spec/fixtures/files/actual-point1.json
|
390
418
|
- spec/fixtures/files/actual-polygon1.json
|
391
419
|
- spec/fixtures/files/actual-raster1.json
|
420
|
+
- spec/fixtures/files/b1g_thumbnail.json
|
392
421
|
- spec/fixtures/files/baruch_ancestor1.json
|
393
422
|
- spec/fixtures/files/baruch_ancestor2.json
|
394
423
|
- spec/fixtures/files/baruch_documentation_download.json
|