geo_works 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.codeclimate.yml +34 -0
- data/.csslintrc +2 -0
- data/.engine_cart.yml +1 -0
- data/.eslintignore +1 -0
- data/.eslintrc +8 -0
- data/.fcrepo_wrapper +3 -0
- data/.gitignore +14 -0
- data/.rubocop.yml +105 -0
- data/.solr_wrapper +7 -0
- data/.travis.yml +33 -0
- data/CONTRIBUTING.md +159 -0
- data/Gemfile +48 -0
- data/LICENSE +202 -0
- data/README.md +143 -0
- data/Rakefile +25 -0
- data/app/assets/images/geo_works/.keep +0 -0
- data/app/assets/images/geo_works/images/geocoder.png +0 -0
- data/app/assets/images/geo_works/images/move-handle.png +0 -0
- data/app/assets/images/geo_works/images/resize-handle.png +0 -0
- data/app/assets/images/geo_works/images/throbber.gif +0 -0
- data/app/assets/javascripts/geo_works/Control.Geocoder.js +1056 -0
- data/app/assets/javascripts/geo_works/application.js +4 -0
- data/app/assets/javascripts/geo_works/bounding_box_selector.js +107 -0
- data/app/assets/javascripts/geo_works/es6-modules.js +7 -0
- data/app/assets/javascripts/geo_works/geo_works_boot.es6 +8 -0
- data/app/assets/javascripts/geo_works/leaflet-boundingbox.js +467 -0
- data/app/assets/javascripts/geo_works/relationships.js +3 -0
- data/app/assets/javascripts/geo_works/relationships/child_works.es6 +20 -0
- data/app/assets/javascripts/geo_works/relationships/parent_works.es6 +20 -0
- data/app/assets/javascripts/geo_works/relationships/related_works.es6 +187 -0
- data/app/assets/stylesheets/geo_works/Control.Geocoder.scss +104 -0
- data/app/assets/stylesheets/geo_works/application.css +18 -0
- data/app/assets/stylesheets/geo_works/bounding_box.scss +15 -0
- data/app/assets/stylesheets/geo_works/leaflet-boundingbox.scss +17 -0
- data/app/assets/stylesheets/geo_works/related_works.scss +29 -0
- data/app/assets/stylesheets/geo_works/thumbnails.scss +13 -0
- data/app/controllers/concerns/geo_works/events_behavior.rb +29 -0
- data/app/controllers/concerns/geo_works/file_sets_controller_behavior.rb +31 -0
- data/app/controllers/concerns/geo_works/geoblacklight_controller_behavior.rb +29 -0
- data/app/controllers/concerns/geo_works/image_works_controller_behavior.rb +9 -0
- data/app/controllers/concerns/geo_works/raster_works_controller_behavior.rb +9 -0
- data/app/controllers/concerns/geo_works/vector_works_controller_behavior.rb +9 -0
- data/app/forms/geo_works/basic_geo_metadata_form.rb +9 -0
- data/app/forms/geo_works/external_metadata_file_form.rb +8 -0
- data/app/forms/geo_works/georeferenced_form.rb +9 -0
- data/app/forms/hyrax/image_work_form.rb +7 -0
- data/app/forms/hyrax/raster_work_form.rb +8 -0
- data/app/forms/hyrax/vector_work_form.rb +8 -0
- data/app/helpers/geo_works/application_helper.rb +4 -0
- data/app/helpers/geo_works/bounding_box_helper.rb +73 -0
- data/app/helpers/geo_works/file_set_actions_helper.rb +31 -0
- data/app/helpers/geo_works/geo_works_helper.rb +22 -0
- data/app/helpers/geo_works/populate_metadata_helper.rb +7 -0
- data/app/jobs/geoblacklight_job.rb +10 -0
- data/app/jobs/geoserver_delivery_job.rb +36 -0
- data/app/models/concerns/geo_works/ability.rb +12 -0
- data/app/models/concerns/geo_works/basic_geo_metadata.rb +21 -0
- data/app/models/concerns/geo_works/external_metadata_file_behavior.rb +31 -0
- data/app/models/concerns/geo_works/extractors/fgdc_helper.rb +9 -0
- data/app/models/concerns/geo_works/extractors/fgdc_metadata_extractor.rb +114 -0
- data/app/models/concerns/geo_works/extractors/iso19139_helper.rb +50 -0
- data/app/models/concerns/geo_works/extractors/mods_helper.rb +15 -0
- data/app/models/concerns/geo_works/file_set_metadata.rb +15 -0
- data/app/models/concerns/geo_works/file_set_presenter_behavior.rb +7 -0
- data/app/models/concerns/geo_works/geo_file_format_behavior.rb +37 -0
- data/app/models/concerns/geo_works/geo_file_set_behavior.rb +11 -0
- data/app/models/concerns/geo_works/georeferenced_behavior.rb +18 -0
- data/app/models/concerns/geo_works/image_file_behavior.rb +14 -0
- data/app/models/concerns/geo_works/image_work_behavior.rb +69 -0
- data/app/models/concerns/geo_works/metadata_extraction_helper.rb +27 -0
- data/app/models/concerns/geo_works/raster_file_behavior.rb +14 -0
- data/app/models/concerns/geo_works/raster_work_behavior.rb +82 -0
- data/app/models/concerns/geo_works/solr_document_behavior.rb +46 -0
- data/app/models/concerns/geo_works/vector_file_behavior.rb +14 -0
- data/app/models/concerns/geo_works/vector_work_behavior.rb +78 -0
- data/app/presenters/geo_works/geo_works_show_presenter.rb +48 -0
- data/app/presenters/geo_works/image_work_show_presenter.rb +5 -0
- data/app/presenters/geo_works/raster_work_show_presenter.rb +5 -0
- data/app/presenters/geo_works/vector_work_show_presenter.rb +5 -0
- data/app/processors/geo_works/geoblacklight_event_processor.rb +29 -0
- data/app/processors/geo_works/geoblacklight_event_processor/delete_processor.rb +13 -0
- data/app/processors/geo_works/geoblacklight_event_processor/processor.rb +28 -0
- data/app/processors/geo_works/geoblacklight_event_processor/unknown_event.rb +15 -0
- data/app/processors/geo_works/geoblacklight_event_processor/update_processor.rb +15 -0
- data/app/processors/geo_works/processors/base_geo_processor.rb +81 -0
- data/app/processors/geo_works/processors/gdal.rb +49 -0
- data/app/processors/geo_works/processors/image.rb +66 -0
- data/app/processors/geo_works/processors/ogr.rb +19 -0
- data/app/processors/geo_works/processors/raster.rb +26 -0
- data/app/processors/geo_works/processors/raster/aig.rb +40 -0
- data/app/processors/geo_works/processors/raster/base.rb +41 -0
- data/app/processors/geo_works/processors/raster/dem.rb +29 -0
- data/app/processors/geo_works/processors/raster/info.rb +52 -0
- data/app/processors/geo_works/processors/rendering.rb +79 -0
- data/app/processors/geo_works/processors/vector.rb +24 -0
- data/app/processors/geo_works/processors/vector/base.rb +44 -0
- data/app/processors/geo_works/processors/vector/info.rb +84 -0
- data/app/processors/geo_works/processors/vector/shapefile.rb +20 -0
- data/app/processors/geo_works/processors/zip.rb +29 -0
- data/app/renderers/geo_works/coverage_renderer.rb +39 -0
- data/app/runners/geo_works/runners/raster_derivatives.rb +9 -0
- data/app/runners/geo_works/runners/vector_derivatives.rb +9 -0
- data/app/schemas/geo_works/basic_geo_metadata_optional.rb +40 -0
- data/app/schemas/geo_works/basic_geo_metadata_required.rb +25 -0
- data/app/schemas/geo_works/file_set_metadata_required.rb +5 -0
- data/app/services/geo_works/authority_service.rb +29 -0
- data/app/services/geo_works/delivery/geoserver.rb +118 -0
- data/app/services/geo_works/delivery_service.rb +11 -0
- data/app/services/geo_works/discovery.rb +4 -0
- data/app/services/geo_works/discovery/abstract_document.rb +37 -0
- data/app/services/geo_works/discovery/document_builder.rb +46 -0
- data/app/services/geo_works/discovery/document_builder/basic_metadata_builder.rb +71 -0
- data/app/services/geo_works/discovery/document_builder/composite_builder.rb +21 -0
- data/app/services/geo_works/discovery/document_builder/date_builder.rb +53 -0
- data/app/services/geo_works/discovery/document_builder/document_helper.rb +10 -0
- data/app/services/geo_works/discovery/document_builder/document_path.rb +91 -0
- data/app/services/geo_works/discovery/document_builder/layer_info_builder.rb +65 -0
- data/app/services/geo_works/discovery/document_builder/references_builder.rb +101 -0
- data/app/services/geo_works/discovery/document_builder/slug_builder.rb +24 -0
- data/app/services/geo_works/discovery/document_builder/spatial_builder.rb +37 -0
- data/app/services/geo_works/discovery/document_builder/wxs.rb +76 -0
- data/app/services/geo_works/discovery/geoblacklight_document.rb +152 -0
- data/app/services/geo_works/events_generator.rb +24 -0
- data/app/services/geo_works/events_generator/composite_generator.rb +18 -0
- data/app/services/geo_works/events_generator/geoblacklight_event_generator.rb +53 -0
- data/app/services/geo_works/events_generator/geoserver_event_generator.rb +33 -0
- data/app/services/geo_works/file_set_derivatives_service.rb +67 -0
- data/app/services/geo_works/image_format_service.rb +6 -0
- data/app/services/geo_works/metadata_format_service.rb +6 -0
- data/app/services/geo_works/raster_format_service.rb +6 -0
- data/app/services/geo_works/vector_format_service.rb +6 -0
- data/app/services/hyrax/curation_concern.rb +18 -0
- data/app/values/geo_works/coverage.rb +36 -0
- data/app/values/geo_works/time_period.rb +30 -0
- data/app/views/geo_works/_attribute_rows.html.erb +4 -0
- data/app/views/geo_works/_form_progress.html.erb +50 -0
- data/app/views/geo_works/_guts4form.html.erb +47 -0
- data/app/views/geo_works/_member.html.erb +11 -0
- data/app/views/geo_works/_metadata.html.erb +13 -0
- data/app/views/geo_works/_relationships.html.erb +12 -0
- data/app/views/geo_works/_representative_media.html.erb +5 -0
- data/app/views/geo_works/file_sets/_form.html.erb +48 -0
- data/app/views/geo_works/file_sets/actions/_default_actions.html.erb +16 -0
- data/app/views/geo_works/file_sets/actions/_image_actions.html.erb +22 -0
- data/app/views/geo_works/file_sets/actions/_metadata_actions.html.erb +16 -0
- data/app/views/geo_works/file_sets/actions/_raster_actions.html.erb +25 -0
- data/app/views/geo_works/file_sets/actions/_vector_actions.html.erb +25 -0
- data/app/views/geo_works/file_sets/media_display/_geo.html.erb +16 -0
- data/app/views/geo_works/file_sets/new.html.erb +12 -0
- data/app/views/geo_works/related/_child_member.html.erb +13 -0
- data/app/views/geo_works/related/_child_works.html.erb +24 -0
- data/app/views/geo_works/related/_external_metadata_file_member.html.erb +11 -0
- data/app/views/geo_works/related/_external_metadata_files.html.erb +24 -0
- data/app/views/geo_works/related/_geo_files.html.erb +24 -0
- data/app/views/geo_works/related/_new_child_member.html.erb +22 -0
- data/app/views/geo_works/related/_new_parent_member.html.erb +13 -0
- data/app/views/geo_works/related/_parent_member.html.erb +13 -0
- data/app/views/geo_works/related/_parent_works.html.erb +22 -0
- data/app/views/hyrax/image_works/_file_actions.html.erb +8 -0
- data/app/views/hyrax/image_works/_form.html.erb +16 -0
- data/app/views/hyrax/image_works/_image_actions.html.erb +11 -0
- data/app/views/hyrax/image_works/_image_work.html.erb +2 -0
- data/app/views/hyrax/image_works/_show_actions.html.erb +22 -0
- data/app/views/hyrax/image_works/show.html.erb +31 -0
- data/app/views/hyrax/raster_works/_file_actions.html.erb +8 -0
- data/app/views/hyrax/raster_works/_form.html.erb +16 -0
- data/app/views/hyrax/raster_works/_raster_actions.html.erb +11 -0
- data/app/views/hyrax/raster_works/_raster_work.html.erb +2 -0
- data/app/views/hyrax/raster_works/_show_actions.html.erb +22 -0
- data/app/views/hyrax/raster_works/show.html.erb +31 -0
- data/app/views/hyrax/vector_works/_file_actions.html.erb +8 -0
- data/app/views/hyrax/vector_works/_form.html.erb +16 -0
- data/app/views/hyrax/vector_works/_show_actions.html.erb +22 -0
- data/app/views/hyrax/vector_works/_vector_actions.html.erb +11 -0
- data/app/views/hyrax/vector_works/_vector_work.html.erb +2 -0
- data/app/views/hyrax/vector_works/show.html.erb +31 -0
- data/app/views/records/edit_fields/_coverage.html.erb +3 -0
- data/app/views/records/edit_fields/_should_populate_metadata.html.erb +10 -0
- data/app/vocabs/geo_works/geo_terms.rb +12 -0
- data/config/discovery/geoblacklight-schema.json +214 -0
- data/config/fcrepo_wrapper_test.yml +3 -0
- data/config/geoblacklight.yml +12 -0
- data/config/geoserver.yml +27 -0
- data/config/initializers/geo_server.rb +17 -0
- data/config/initializers/geoblacklight_config.rb +18 -0
- data/config/initializers/simpler_tiles.rb +65 -0
- data/config/locales/image_work.en.yml +8 -0
- data/config/locales/raster_work.en.yml +8 -0
- data/config/locales/vector_work.en.yml +8 -0
- data/config/routes.rb +24 -0
- data/config/simpler_tiles.yml +24 -0
- data/config/solr_wrapper_test.yml +7 -0
- data/docker-compose-full.yml +30 -0
- data/docker-compose.yml +9 -0
- data/geo_works.gemspec +44 -0
- data/lib/generators/geo_works/install_generator.rb +152 -0
- data/lib/generators/geo_works/templates/actors/hyrax/actors/image_work_actor.rb +6 -0
- data/lib/generators/geo_works/templates/actors/hyrax/actors/raster_work_actor.rb +6 -0
- data/lib/generators/geo_works/templates/actors/hyrax/actors/vector_work_actor.rb +6 -0
- data/lib/generators/geo_works/templates/config/authorities/image_formats.yml +7 -0
- data/lib/generators/geo_works/templates/config/authorities/metadata_formats.yml +7 -0
- data/lib/generators/geo_works/templates/config/authorities/raster_formats.yml +13 -0
- data/lib/generators/geo_works/templates/config/authorities/vector_formats.yml +7 -0
- data/lib/generators/geo_works/templates/config/initializers/hyrax_derivative_path_monkey_patch.rb +18 -0
- data/lib/generators/geo_works/templates/controllers/hyrax/file_sets_controller.rb +7 -0
- data/lib/generators/geo_works/templates/controllers/hyrax/image_works_controller.rb +7 -0
- data/lib/generators/geo_works/templates/controllers/hyrax/raster_works_controller.rb +8 -0
- data/lib/generators/geo_works/templates/controllers/hyrax/vector_works_controller.rb +8 -0
- data/lib/generators/geo_works/templates/geo_works.js +1 -0
- data/lib/generators/geo_works/templates/geo_works.scss +3 -0
- data/lib/generators/geo_works/templates/models/file_set.rb +4 -0
- data/lib/generators/geo_works/templates/models/image_work.rb +7 -0
- data/lib/generators/geo_works/templates/models/raster_work.rb +8 -0
- data/lib/generators/geo_works/templates/models/vector_work.rb +8 -0
- data/lib/generators/geo_works/templates/presenters/file_set_presenter.rb +3 -0
- data/lib/generators/geo_works/templates/spec/actor_spec.rb.erb +9 -0
- data/lib/generators/geo_works/templates/spec/controller_spec.rb.erb +9 -0
- data/lib/generators/geo_works/templates/spec/model_spec.rb.erb +9 -0
- data/lib/geo_works.rb +9 -0
- data/lib/geo_works/engine.rb +4 -0
- data/lib/geo_works/version.rb +3 -0
- data/lib/tasks/geo_works_tasks.rake +4 -0
- data/run-docker.sh +16 -0
- data/solr/config/_rest_managed.json +3 -0
- data/solr/config/admin-extra.html +31 -0
- data/solr/config/elevate.xml +36 -0
- data/solr/config/mapping-ISOLatin1Accent.txt +246 -0
- data/solr/config/protwords.txt +21 -0
- data/solr/config/schema.xml +372 -0
- data/solr/config/scripts.conf +24 -0
- data/solr/config/solrconfig.xml +321 -0
- data/solr/config/spellings.txt +2 -0
- data/solr/config/stopwords.txt +58 -0
- data/solr/config/stopwords_en.txt +58 -0
- data/solr/config/synonyms.txt +31 -0
- data/solr/config/xslt/example.xsl +132 -0
- data/solr/config/xslt/example_atom.xsl +67 -0
- data/solr/config/xslt/example_rss.xsl +66 -0
- data/solr/config/xslt/luke.xsl +337 -0
- data/spec/controllers/file_sets_controller_spec.rb +70 -0
- data/spec/controllers/image_works_controller_spec.rb +40 -0
- data/spec/controllers/raster_works_controller_spec.rb +36 -0
- data/spec/controllers/vector_works_controller_spec.rb +69 -0
- data/spec/factories/collections.rb +17 -0
- data/spec/factories/external_metadata_files.rb +20 -0
- data/spec/factories/image_files.rb +32 -0
- data/spec/factories/image_works.rb +69 -0
- data/spec/factories/permission_templates.rb +41 -0
- data/spec/factories/raster_files.rb +35 -0
- data/spec/factories/raster_works.rb +88 -0
- data/spec/factories/sipity_entities.rb +7 -0
- data/spec/factories/users.rb +26 -0
- data/spec/factories/vector_files.rb +31 -0
- data/spec/factories/vector_works.rb +84 -0
- data/spec/factories/workflow_states.rb +6 -0
- data/spec/factories/workflows.rb +6 -0
- data/spec/features/create_image_work_spec.rb +34 -0
- data/spec/features/create_raster_work_spec.rb +35 -0
- data/spec/features/create_vector_work_spec.rb +34 -0
- data/spec/features/image_work_show_spec.rb +62 -0
- data/spec/features/raster_work_show_spec.rb +62 -0
- data/spec/features/vector_work_show_spec.rb +61 -0
- data/spec/forms/geo_works/basic_geo_metadata_form_spec.rb +31 -0
- data/spec/forms/geo_works/external_metadata_file_form_spec.rb +30 -0
- data/spec/forms/geo_works/georeferenced_form_spec.rb +33 -0
- data/spec/forms/hyrax/image_work_form_spec.rb +11 -0
- data/spec/forms/hyrax/raster_work_form_spec.rb +17 -0
- data/spec/forms/hyrax/vector_work_form_spec.rb +17 -0
- data/spec/helpers/bounding_box_helper_spec.rb +39 -0
- data/spec/helpers/geo_works/file_set_actions_helper_spec.rb +70 -0
- data/spec/helpers/geo_works/populate_metadata_helper_spec.rb +31 -0
- data/spec/helpers/geo_works_helper_spec.rb +30 -0
- data/spec/jobs/geoblacklight_job_spec.rb +18 -0
- data/spec/jobs/geoserver_delivery_job_spec.rb +45 -0
- data/spec/models/concerns/basic_geo_metadata_spec.rb +21 -0
- data/spec/models/concerns/geo_works/file_set/derivatives_spec.rb +102 -0
- data/spec/models/concerns/geo_works/file_set/geo_file_format_behavior_spec.rb +56 -0
- data/spec/models/external_metadata_file_spec.rb +118 -0
- data/spec/models/file_set_spec.rb +9 -0
- data/spec/models/image_file_spec.rb +48 -0
- data/spec/models/image_work_spec.rb +71 -0
- data/spec/models/raster_file_spec.rb +48 -0
- data/spec/models/raster_work_spec.rb +122 -0
- data/spec/models/solr_document_spec.rb +41 -0
- data/spec/models/vector_file_spec.rb +48 -0
- data/spec/models/vector_work_spec.rb +109 -0
- data/spec/presenters/file_set_presenter_spec.rb +13 -0
- data/spec/presenters/geo_works_show_presenter_spec.rb +46 -0
- data/spec/presenters/image_work_show_presenter_spec.rb +51 -0
- data/spec/presenters/raster_work_show_presenter_spec.rb +74 -0
- data/spec/presenters/vector_work_show_presenter_spec.rb +41 -0
- data/spec/processors/geo_works/geoblacklight_event_processor_spec.rb +80 -0
- data/spec/processors/geo_works/processors/base_geo_processor_spec.rb +115 -0
- data/spec/processors/geo_works/processors/gdal_spec.rb +59 -0
- data/spec/processors/geo_works/processors/image_spec.rb +64 -0
- data/spec/processors/geo_works/processors/ogr_spec.rb +36 -0
- data/spec/processors/geo_works/processors/raster/aig_spec.rb +35 -0
- data/spec/processors/geo_works/processors/raster/base_spec.rb +54 -0
- data/spec/processors/geo_works/processors/raster/dem_spec.rb +30 -0
- data/spec/processors/geo_works/processors/raster/info_spec.rb +35 -0
- data/spec/processors/geo_works/processors/raster/processor_spec.rb +39 -0
- data/spec/processors/geo_works/processors/rendering_spec.rb +64 -0
- data/spec/processors/geo_works/processors/vector/base_spec.rb +54 -0
- data/spec/processors/geo_works/processors/vector/info_spec.rb +50 -0
- data/spec/processors/geo_works/processors/vector/processor_spec.rb +28 -0
- data/spec/processors/geo_works/processors/vector/shapefile_spec.rb +17 -0
- data/spec/processors/geo_works/processors/zip_spec.rb +39 -0
- data/spec/renderers/geo_works/coverage_renderer_spec.rb +21 -0
- data/spec/services/geo_works/delivery/geoserver_spec.rb +117 -0
- data/spec/services/geo_works/delivery_service_spec.rb +24 -0
- data/spec/services/geo_works/discovery/abstract_document_spec.rb +23 -0
- data/spec/services/geo_works/discovery/document_builder/basic_metadata_builder_spec.rb +35 -0
- data/spec/services/geo_works/discovery/document_builder/wxs_spec.rb +71 -0
- data/spec/services/geo_works/discovery/document_builder_spec.rb +220 -0
- data/spec/services/geo_works/discovery/geoblacklight_document_spec.rb +20 -0
- data/spec/services/geo_works/event_generator_spec.rb +18 -0
- data/spec/services/geo_works/events_generator/geoblacklight_event_generator_spec.rb +84 -0
- data/spec/services/geo_works/events_generator/geoserver_event_generator_spec.rb +22 -0
- data/spec/services/geo_works/raster_format_service_spec.rb +13 -0
- data/spec/services/hyrax/derivative_path_spec.rb +26 -0
- data/spec/spec_helper.rb +77 -0
- data/spec/support/backport_test.rb +14 -0
- data/spec/support/controllers/engine_helpers.rb +7 -0
- data/spec/support/database_cleaner.rb +18 -0
- data/spec/support/factory_girl.rb +3 -0
- data/spec/support/features.rb +14 -0
- data/spec/support/features/session_helpers.rb +40 -0
- data/spec/support/fixture_reader.rb +7 -0
- data/spec/support/helpers/controller_level_helpers.rb +27 -0
- data/spec/support/views/test_view_helpers.rb +10 -0
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +24 -0
- data/spec/values/coverage_spec.rb +40 -0
- data/tasks/geo_works.rake +39 -0
- data/template.rb +10 -0
- metadata +789 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
RSpec.describe GeoWorks::EventsGenerator::GeoserverEventGenerator do
|
4
|
+
subject { described_class.new }
|
5
|
+
let(:id) { 'geo-work-1' }
|
6
|
+
let(:file_set) { instance_double(FileSet, id: id, geo_file_format?: true) }
|
7
|
+
|
8
|
+
before do
|
9
|
+
allow(GeoserverDeliveryJob).to receive(:perform_later)
|
10
|
+
end
|
11
|
+
|
12
|
+
describe "#derivatives_created" do
|
13
|
+
it "publishes a persistent JSON message" do
|
14
|
+
expected_result = {
|
15
|
+
"id" => id,
|
16
|
+
"event" => "CREATED"
|
17
|
+
}
|
18
|
+
subject.derivatives_created(file_set)
|
19
|
+
expect(GeoserverDeliveryJob).to have_received(:perform_later).with(expected_result)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe GeoWorks::RasterFormatService do
|
4
|
+
subject { described_class }
|
5
|
+
|
6
|
+
it 'has select_options' do
|
7
|
+
expect(subject.select_options).to eq([['GeoTIFF', 'image/tiff; gdal-format=GTiff'], ['Arc/Info ASCII Grid', 'text/plain; gdal-format=AAIGrid'], ['Arc/Info Binary Grid', 'application/octet-stream; gdal-format=AIG'], ['USGS ASCII DEM', 'text/plain; gdal-format=USGSDEM']])
|
8
|
+
end
|
9
|
+
|
10
|
+
it 'looks up a label for a term' do
|
11
|
+
expect(subject.label('image/tiff; gdal-format=GTiff')).to eq('GeoTIFF')
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Hyrax::DerivativePath do
|
4
|
+
subject { described_class.derivative_path_for_reference('12', destination_name) }
|
5
|
+
describe '#extension' do
|
6
|
+
context 'with thumbnail destination' do
|
7
|
+
let(:destination_name) { 'thumbnail' }
|
8
|
+
it { is_expected.to include('.jpeg') }
|
9
|
+
end
|
10
|
+
|
11
|
+
context 'with display_raster destination' do
|
12
|
+
let(:destination_name) { 'display_raster' }
|
13
|
+
it { is_expected.to include('.tif') }
|
14
|
+
end
|
15
|
+
|
16
|
+
context 'with display_vector destination' do
|
17
|
+
let(:destination_name) { 'display_vector' }
|
18
|
+
it { is_expected.to include('.zip') }
|
19
|
+
end
|
20
|
+
|
21
|
+
context 'with simplified destination' do
|
22
|
+
let(:destination_name) { 'simplified' }
|
23
|
+
it { is_expected.to include('.simplified') }
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
require 'simplecov'
|
2
|
+
|
3
|
+
if ENV['CI']
|
4
|
+
require 'coveralls'
|
5
|
+
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
6
|
+
end
|
7
|
+
|
8
|
+
if ENV['COVERAGE'] || ENV['CI']
|
9
|
+
SimpleCov.start('rails') do
|
10
|
+
add_filter '/spec'
|
11
|
+
add_filter '/.internal_test_app'
|
12
|
+
add_filter '/lib/generators'
|
13
|
+
add_filter '/lib/geo_works/version.rb'
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
require 'engine_cart'
|
18
|
+
require 'pry'
|
19
|
+
|
20
|
+
ENV['RAILS_ENV'] ||= 'test'
|
21
|
+
EngineCart.load_application!
|
22
|
+
Dir['./spec/support/**/*.rb'].sort.each { |f| require f }
|
23
|
+
require 'rspec/rails'
|
24
|
+
|
25
|
+
Capybara.default_driver = :rack_test
|
26
|
+
Capybara.javascript_driver = :poltergeist
|
27
|
+
Capybara.default_max_wait_time = ENV['TRAVIS'] ? 30 : 15
|
28
|
+
# Adding the below to deal with random Capybara-related timeouts in CI.
|
29
|
+
# Found in this thread: https://github.com/teampoltergeist/poltergeist/issues/375
|
30
|
+
poltergeist_options = {
|
31
|
+
js_errors: true,
|
32
|
+
timeout: 30,
|
33
|
+
logger: nil,
|
34
|
+
phantomjs_logger: StringIO.new,
|
35
|
+
phantomjs_options: [
|
36
|
+
'--load-images=no',
|
37
|
+
'--ignore-ssl-errors=yes'
|
38
|
+
]
|
39
|
+
}
|
40
|
+
Capybara.register_driver(:poltergeist) do |app|
|
41
|
+
Capybara::Poltergeist::Driver.new(app, poltergeist_options)
|
42
|
+
end
|
43
|
+
|
44
|
+
ActiveJob::Base.queue_adapter = :inline
|
45
|
+
|
46
|
+
RSpec.configure do |config|
|
47
|
+
config.expect_with :rspec do |expectations|
|
48
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
49
|
+
end
|
50
|
+
|
51
|
+
config.mock_with :rspec do |mocks|
|
52
|
+
mocks.verify_partial_doubles = true
|
53
|
+
end
|
54
|
+
config.fixture_path = File.expand_path("../fixtures", __FILE__)
|
55
|
+
|
56
|
+
config.include FactoryGirl::Syntax::Methods
|
57
|
+
if defined? Devise::Test::ControllerHelpers
|
58
|
+
config.include Devise::Test::ControllerHelpers, type: :controller
|
59
|
+
config.include Devise::Test::ControllerHelpers, type: :view
|
60
|
+
else
|
61
|
+
config.include Devise::TestHelpers, type: :controller
|
62
|
+
config.include Devise::TestHelpers, type: :view
|
63
|
+
end
|
64
|
+
|
65
|
+
config.include TestViewHelpers, type: :view
|
66
|
+
|
67
|
+
config.include(ControllerLevelHelpers, type: :helper)
|
68
|
+
config.before(:each, type: :helper) { initialize_controller_helpers(helper) }
|
69
|
+
|
70
|
+
config.include(ControllerLevelHelpers, type: :view)
|
71
|
+
config.before(:each, type: :view) { initialize_controller_helpers(view) }
|
72
|
+
|
73
|
+
config.include BackportTest, type: :controller unless Rails.version > '5'
|
74
|
+
config.include Controllers::EngineHelpers, type: :controller
|
75
|
+
config.include Controllers::EngineHelpers, type: :helper
|
76
|
+
config.include ::Rails.application.routes.url_helpers
|
77
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Backport the Rails 5 controller test methods to Rails 4
|
2
|
+
module BackportTest
|
3
|
+
[:delete, :get, :post, :put, :patch].each do |http_action|
|
4
|
+
define_method(http_action) do |*args|
|
5
|
+
(action, rest) = *args
|
6
|
+
rest ||= {}
|
7
|
+
if rest[:xhr]
|
8
|
+
@request.env['HTTP_X_REQUESTED_WITH'] = 'XMLHttpRequest'
|
9
|
+
@request.env['HTTP_ACCEPT'] ||= [Mime::JS, Mime::HTML, Mime::XML, 'text/xml', Mime::ALL].join(', ')
|
10
|
+
end
|
11
|
+
super(action, rest[:params])
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require 'database_cleaner'
|
2
|
+
require 'active_fedora/cleaner'
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.before :each do
|
5
|
+
DatabaseCleaner.strategy = :transaction
|
6
|
+
DatabaseCleaner.start
|
7
|
+
end
|
8
|
+
|
9
|
+
config.after do
|
10
|
+
DatabaseCleaner.clean
|
11
|
+
end
|
12
|
+
|
13
|
+
config.before :each do |example|
|
14
|
+
unless example.metadata[:type] == :view || example.metadata[:no_clean]
|
15
|
+
ActiveFedora::Cleaner.clean!
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path('../features/session_helpers', __FILE__)
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.include Warden::Test::Helpers, type: :feature
|
5
|
+
config.include Features::SessionHelpers, type: :feature
|
6
|
+
|
7
|
+
config.before(:each, type: :feature) do
|
8
|
+
Warden.test_mode!
|
9
|
+
end
|
10
|
+
|
11
|
+
config.after(:each, type: :feature) do
|
12
|
+
Warden.test_reset!
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
module Features
|
2
|
+
module SessionHelpers
|
3
|
+
# Regular login
|
4
|
+
def login_as(user)
|
5
|
+
user.reload # because the user isn't re-queried via Warden
|
6
|
+
super(user, scope: :user, run_callbacks: false)
|
7
|
+
end
|
8
|
+
|
9
|
+
# Regular logout
|
10
|
+
def logout(user = :user)
|
11
|
+
super(user)
|
12
|
+
end
|
13
|
+
|
14
|
+
# Poltergeist-friendly sign-up
|
15
|
+
# Use this in feature tests
|
16
|
+
def sign_up_with(email, password)
|
17
|
+
Capybara.exact = true
|
18
|
+
visit new_user_registration_path
|
19
|
+
fill_in 'Email', with: email
|
20
|
+
fill_in 'Password', with: password
|
21
|
+
fill_in 'Password confirmation', with: password
|
22
|
+
click_button 'Sign up'
|
23
|
+
end
|
24
|
+
|
25
|
+
# Poltergeist-friendly sign-in
|
26
|
+
# Use this in feature tests
|
27
|
+
def sign_in(who = :user)
|
28
|
+
user = if who.instance_of?(User)
|
29
|
+
who
|
30
|
+
else
|
31
|
+
FactoryGirl.build(:user).tap(&:save!)
|
32
|
+
end
|
33
|
+
visit new_user_session_path
|
34
|
+
fill_in 'Email', with: user.email
|
35
|
+
fill_in 'Password', with: user.password
|
36
|
+
click_button 'Log in'
|
37
|
+
expect(page).not_to have_text 'Invalid email or password.'
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,27 @@
|
|
1
|
+
module ControllerLevelHelpers
|
2
|
+
extend ActiveSupport::Concern
|
3
|
+
# def search_state
|
4
|
+
# @search_state ||= Blacklight::SearchState.new(params, blacklight_config)
|
5
|
+
# end
|
6
|
+
|
7
|
+
# def blacklight_configuration_context
|
8
|
+
# @blacklight_configuration_context ||= Blacklight::Configuration::Context.new(controller)
|
9
|
+
# end
|
10
|
+
#
|
11
|
+
included do
|
12
|
+
# fix for anonymous controllers (https://github.com/rspec/rspec-rails/issues/1321#issuecomment-239157093)
|
13
|
+
before { allow(controller).to receive(:_routes).and_return(Rails.application.routes) }
|
14
|
+
end
|
15
|
+
|
16
|
+
def initialize_controller_helpers(helper)
|
17
|
+
helper.extend ControllerLevelHelpers
|
18
|
+
initialize_routing_helpers(helper)
|
19
|
+
end
|
20
|
+
|
21
|
+
def initialize_routing_helpers(helper)
|
22
|
+
return unless Rails::VERSION::MAJOR >= 5
|
23
|
+
|
24
|
+
helper.class.include ::Rails.application.routes.url_helpers
|
25
|
+
helper.class.include ::Rails.application.routes.mounted_helpers if ::Rails.application.routes.respond_to?(:mounted_helpers)
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
require 'rails/generators'
|
2
|
+
|
3
|
+
class TestAppGenerator < Rails::Generators::Base
|
4
|
+
source_root "./spec/test_app_templates"
|
5
|
+
|
6
|
+
# if you need to generate any additional configuration
|
7
|
+
# into the test app, this generator will be run immediately
|
8
|
+
# after setting up the application
|
9
|
+
def install_hyrax
|
10
|
+
generate 'hyrax:install', '-f'
|
11
|
+
end
|
12
|
+
|
13
|
+
def install_engine
|
14
|
+
generate 'geo_works:install'
|
15
|
+
end
|
16
|
+
|
17
|
+
def run_migrations
|
18
|
+
rake 'db:migrate'
|
19
|
+
end
|
20
|
+
|
21
|
+
def load_workflow
|
22
|
+
rails_command 'hyrax:workflow:load'
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe GeoWorks::Coverage do
|
4
|
+
let(:cov_string) { 'northlimit=43.039; eastlimit=-69.856; southlimit=42.943; '\
|
5
|
+
'westlimit=-71.032; units=degrees; projection=EPSG:4326'
|
6
|
+
}
|
7
|
+
|
8
|
+
subject { described_class.new(43.039, -69.856, 42.943, -71.032) }
|
9
|
+
|
10
|
+
describe '#parse' do
|
11
|
+
context 'with a valid coverage string' do
|
12
|
+
it 'returns a coverage instance' do
|
13
|
+
coverage = described_class.parse(cov_string)
|
14
|
+
expect(coverage).to be_an_instance_of(described_class)
|
15
|
+
expect(coverage.n).to eq(43.039)
|
16
|
+
expect(coverage.e).to eq(-69.856)
|
17
|
+
expect(coverage.s).to eq(42.943)
|
18
|
+
expect(coverage.w).to eq(-71.032)
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
context 'with an invalid coverage string' do
|
23
|
+
it 'returns nil' do
|
24
|
+
expect(described_class.parse('invalid')).to be_nil
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'parse_coordinate' do
|
30
|
+
it 'parses a coordinate' do
|
31
|
+
expect(described_class.parse_coordinate(cov_string, /northlimit=([\.\d\-]+);/)).to eq 43.039
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
describe '#to_s' do
|
36
|
+
it 'converts coordinates to a coverage string' do
|
37
|
+
expect(subject.to_s).to eq cov_string
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'solr_wrapper'
|
2
|
+
require 'fcrepo_wrapper'
|
3
|
+
|
4
|
+
namespace :geo_works do
|
5
|
+
desc 'Run style checker'
|
6
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
7
|
+
task.requires << 'rubocop-rspec'
|
8
|
+
task.fail_on_error = true
|
9
|
+
end
|
10
|
+
|
11
|
+
RSpec::Core::RakeTask.new(:rspec)
|
12
|
+
|
13
|
+
desc 'Run test suite'
|
14
|
+
task :spec do
|
15
|
+
with_server 'test' do
|
16
|
+
Rake::Task['geo_works:rspec'].invoke
|
17
|
+
end
|
18
|
+
end
|
19
|
+
desc "Run development servers for Geo Works"
|
20
|
+
task :dev_servers do
|
21
|
+
with_server 'development' do
|
22
|
+
begin
|
23
|
+
Rake::Task['engine_cart:server'].invoke
|
24
|
+
rescue Interrupt
|
25
|
+
puts "Shutting down..."
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
desc "Run test servers for Geo Works"
|
30
|
+
task :test_servers do
|
31
|
+
with_server 'test' do
|
32
|
+
begin
|
33
|
+
sleep
|
34
|
+
rescue Interrupt
|
35
|
+
puts "Shutting down..."
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
data/template.rb
ADDED
metadata
ADDED
@@ -0,0 +1,789 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: geo_works
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James Griffin
|
8
|
+
- Darren Hardy
|
9
|
+
- John Huck
|
10
|
+
- Eric James
|
11
|
+
- Eliot Jordan
|
12
|
+
autorequire:
|
13
|
+
bindir: bin
|
14
|
+
cert_chain: []
|
15
|
+
date: 2017-06-07 00:00:00.000000000 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
18
|
+
name: hyrax
|
19
|
+
requirement: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 1.0.1
|
24
|
+
- - "<"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
type: :runtime
|
28
|
+
prerelease: false
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.0.1
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '2.0'
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: leaflet-rails
|
39
|
+
requirement: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.7'
|
44
|
+
type: :runtime
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - "~>"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '0.7'
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: json-schema
|
53
|
+
requirement: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 2.6.2
|
58
|
+
type: :runtime
|
59
|
+
prerelease: false
|
60
|
+
version_requirements: !ruby/object:Gem::Requirement
|
61
|
+
requirements:
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 2.6.2
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: rgeoserver
|
67
|
+
requirement: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: 0.10.0
|
72
|
+
type: :runtime
|
73
|
+
prerelease: false
|
74
|
+
version_requirements: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 0.10.0
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: simpler-tiles
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
type: :runtime
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - ">="
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0'
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: jquery-ui-rails
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: 5.0.5
|
100
|
+
type: :runtime
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - "~>"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 5.0.5
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
name: bundler
|
109
|
+
requirement: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "~>"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '1.13'
|
114
|
+
type: :development
|
115
|
+
prerelease: false
|
116
|
+
version_requirements: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - "~>"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '1.13'
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: sqlite3
|
123
|
+
requirement: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '0'
|
128
|
+
type: :development
|
129
|
+
prerelease: false
|
130
|
+
version_requirements: !ruby/object:Gem::Requirement
|
131
|
+
requirements:
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: '0'
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: devise
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - ">="
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '3.0'
|
142
|
+
- - "<"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '5'
|
145
|
+
type: :development
|
146
|
+
prerelease: false
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - ">="
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '3.0'
|
152
|
+
- - "<"
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '5'
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: rspec-rails
|
157
|
+
requirement: !ruby/object:Gem::Requirement
|
158
|
+
requirements:
|
159
|
+
- - ">="
|
160
|
+
- !ruby/object:Gem::Version
|
161
|
+
version: 3.5.2
|
162
|
+
type: :development
|
163
|
+
prerelease: false
|
164
|
+
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: 3.5.2
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
name: engine_cart
|
171
|
+
requirement: !ruby/object:Gem::Requirement
|
172
|
+
requirements:
|
173
|
+
- - "~>"
|
174
|
+
- !ruby/object:Gem::Version
|
175
|
+
version: '1.0'
|
176
|
+
- - ">="
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: 1.0.1
|
179
|
+
type: :development
|
180
|
+
prerelease: false
|
181
|
+
version_requirements: !ruby/object:Gem::Requirement
|
182
|
+
requirements:
|
183
|
+
- - "~>"
|
184
|
+
- !ruby/object:Gem::Version
|
185
|
+
version: '1.0'
|
186
|
+
- - ">="
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: 1.0.1
|
189
|
+
- !ruby/object:Gem::Dependency
|
190
|
+
name: solr_wrapper
|
191
|
+
requirement: !ruby/object:Gem::Requirement
|
192
|
+
requirements:
|
193
|
+
- - "~>"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '0.18'
|
196
|
+
- - ">="
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: 0.18.0
|
199
|
+
type: :development
|
200
|
+
prerelease: false
|
201
|
+
version_requirements: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - "~>"
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0.18'
|
206
|
+
- - ">="
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 0.18.0
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: fcrepo_wrapper
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0.6'
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: 0.6.0
|
219
|
+
type: :development
|
220
|
+
prerelease: false
|
221
|
+
version_requirements: !ruby/object:Gem::Requirement
|
222
|
+
requirements:
|
223
|
+
- - "~>"
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
version: '0.6'
|
226
|
+
- - ">="
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 0.6.0
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: pry-byebug
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - ">="
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: '0'
|
236
|
+
type: :development
|
237
|
+
prerelease: false
|
238
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - ">="
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: '0'
|
243
|
+
- !ruby/object:Gem::Dependency
|
244
|
+
name: database_cleaner
|
245
|
+
requirement: !ruby/object:Gem::Requirement
|
246
|
+
requirements:
|
247
|
+
- - "<"
|
248
|
+
- !ruby/object:Gem::Version
|
249
|
+
version: 1.1.0
|
250
|
+
type: :development
|
251
|
+
prerelease: false
|
252
|
+
version_requirements: !ruby/object:Gem::Requirement
|
253
|
+
requirements:
|
254
|
+
- - "<"
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
version: 1.1.0
|
257
|
+
- !ruby/object:Gem::Dependency
|
258
|
+
name: rubocop
|
259
|
+
requirement: !ruby/object:Gem::Requirement
|
260
|
+
requirements:
|
261
|
+
- - "~>"
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: '0.39'
|
264
|
+
type: :development
|
265
|
+
prerelease: false
|
266
|
+
version_requirements: !ruby/object:Gem::Requirement
|
267
|
+
requirements:
|
268
|
+
- - "~>"
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
version: '0.39'
|
271
|
+
- !ruby/object:Gem::Dependency
|
272
|
+
name: rubocop-rspec
|
273
|
+
requirement: !ruby/object:Gem::Requirement
|
274
|
+
requirements:
|
275
|
+
- - "~>"
|
276
|
+
- !ruby/object:Gem::Version
|
277
|
+
version: 1.4.1
|
278
|
+
type: :development
|
279
|
+
prerelease: false
|
280
|
+
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
requirements:
|
282
|
+
- - "~>"
|
283
|
+
- !ruby/object:Gem::Version
|
284
|
+
version: 1.4.1
|
285
|
+
- !ruby/object:Gem::Dependency
|
286
|
+
name: factory_girl
|
287
|
+
requirement: !ruby/object:Gem::Requirement
|
288
|
+
requirements:
|
289
|
+
- - ">="
|
290
|
+
- !ruby/object:Gem::Version
|
291
|
+
version: '0'
|
292
|
+
type: :development
|
293
|
+
prerelease: false
|
294
|
+
version_requirements: !ruby/object:Gem::Requirement
|
295
|
+
requirements:
|
296
|
+
- - ">="
|
297
|
+
- !ruby/object:Gem::Version
|
298
|
+
version: '0'
|
299
|
+
- !ruby/object:Gem::Dependency
|
300
|
+
name: capybara
|
301
|
+
requirement: !ruby/object:Gem::Requirement
|
302
|
+
requirements:
|
303
|
+
- - "~>"
|
304
|
+
- !ruby/object:Gem::Version
|
305
|
+
version: '2.7'
|
306
|
+
type: :development
|
307
|
+
prerelease: false
|
308
|
+
version_requirements: !ruby/object:Gem::Requirement
|
309
|
+
requirements:
|
310
|
+
- - "~>"
|
311
|
+
- !ruby/object:Gem::Version
|
312
|
+
version: '2.7'
|
313
|
+
- !ruby/object:Gem::Dependency
|
314
|
+
name: poltergeist
|
315
|
+
requirement: !ruby/object:Gem::Requirement
|
316
|
+
requirements:
|
317
|
+
- - "~>"
|
318
|
+
- !ruby/object:Gem::Version
|
319
|
+
version: '1.5'
|
320
|
+
type: :development
|
321
|
+
prerelease: false
|
322
|
+
version_requirements: !ruby/object:Gem::Requirement
|
323
|
+
requirements:
|
324
|
+
- - "~>"
|
325
|
+
- !ruby/object:Gem::Version
|
326
|
+
version: '1.5'
|
327
|
+
description: 'Rails engine for Hydra Geo models. Built around Curation Concerns engine. '
|
328
|
+
email:
|
329
|
+
- jrgriffiniii@gmail.com
|
330
|
+
- drh@stanford.edu
|
331
|
+
- jhuck@ualberta.ca
|
332
|
+
- eric.james@yale.edu
|
333
|
+
- eliotj@princeton.edu
|
334
|
+
executables: []
|
335
|
+
extensions: []
|
336
|
+
extra_rdoc_files: []
|
337
|
+
files:
|
338
|
+
- ".codeclimate.yml"
|
339
|
+
- ".csslintrc"
|
340
|
+
- ".engine_cart.yml"
|
341
|
+
- ".eslintignore"
|
342
|
+
- ".eslintrc"
|
343
|
+
- ".fcrepo_wrapper"
|
344
|
+
- ".gitignore"
|
345
|
+
- ".rubocop.yml"
|
346
|
+
- ".solr_wrapper"
|
347
|
+
- ".travis.yml"
|
348
|
+
- CONTRIBUTING.md
|
349
|
+
- Gemfile
|
350
|
+
- LICENSE
|
351
|
+
- README.md
|
352
|
+
- Rakefile
|
353
|
+
- app/assets/images/geo_works/.keep
|
354
|
+
- app/assets/images/geo_works/images/geocoder.png
|
355
|
+
- app/assets/images/geo_works/images/move-handle.png
|
356
|
+
- app/assets/images/geo_works/images/resize-handle.png
|
357
|
+
- app/assets/images/geo_works/images/throbber.gif
|
358
|
+
- app/assets/javascripts/geo_works/Control.Geocoder.js
|
359
|
+
- app/assets/javascripts/geo_works/application.js
|
360
|
+
- app/assets/javascripts/geo_works/bounding_box_selector.js
|
361
|
+
- app/assets/javascripts/geo_works/es6-modules.js
|
362
|
+
- app/assets/javascripts/geo_works/geo_works_boot.es6
|
363
|
+
- app/assets/javascripts/geo_works/leaflet-boundingbox.js
|
364
|
+
- app/assets/javascripts/geo_works/relationships.js
|
365
|
+
- app/assets/javascripts/geo_works/relationships/child_works.es6
|
366
|
+
- app/assets/javascripts/geo_works/relationships/parent_works.es6
|
367
|
+
- app/assets/javascripts/geo_works/relationships/related_works.es6
|
368
|
+
- app/assets/stylesheets/geo_works/Control.Geocoder.scss
|
369
|
+
- app/assets/stylesheets/geo_works/application.css
|
370
|
+
- app/assets/stylesheets/geo_works/bounding_box.scss
|
371
|
+
- app/assets/stylesheets/geo_works/leaflet-boundingbox.scss
|
372
|
+
- app/assets/stylesheets/geo_works/related_works.scss
|
373
|
+
- app/assets/stylesheets/geo_works/thumbnails.scss
|
374
|
+
- app/controllers/concerns/geo_works/events_behavior.rb
|
375
|
+
- app/controllers/concerns/geo_works/file_sets_controller_behavior.rb
|
376
|
+
- app/controllers/concerns/geo_works/geoblacklight_controller_behavior.rb
|
377
|
+
- app/controllers/concerns/geo_works/image_works_controller_behavior.rb
|
378
|
+
- app/controllers/concerns/geo_works/raster_works_controller_behavior.rb
|
379
|
+
- app/controllers/concerns/geo_works/vector_works_controller_behavior.rb
|
380
|
+
- app/forms/geo_works/basic_geo_metadata_form.rb
|
381
|
+
- app/forms/geo_works/external_metadata_file_form.rb
|
382
|
+
- app/forms/geo_works/georeferenced_form.rb
|
383
|
+
- app/forms/hyrax/image_work_form.rb
|
384
|
+
- app/forms/hyrax/raster_work_form.rb
|
385
|
+
- app/forms/hyrax/vector_work_form.rb
|
386
|
+
- app/helpers/geo_works/application_helper.rb
|
387
|
+
- app/helpers/geo_works/bounding_box_helper.rb
|
388
|
+
- app/helpers/geo_works/file_set_actions_helper.rb
|
389
|
+
- app/helpers/geo_works/geo_works_helper.rb
|
390
|
+
- app/helpers/geo_works/populate_metadata_helper.rb
|
391
|
+
- app/jobs/geoblacklight_job.rb
|
392
|
+
- app/jobs/geoserver_delivery_job.rb
|
393
|
+
- app/models/concerns/geo_works/ability.rb
|
394
|
+
- app/models/concerns/geo_works/basic_geo_metadata.rb
|
395
|
+
- app/models/concerns/geo_works/external_metadata_file_behavior.rb
|
396
|
+
- app/models/concerns/geo_works/extractors/fgdc_helper.rb
|
397
|
+
- app/models/concerns/geo_works/extractors/fgdc_metadata_extractor.rb
|
398
|
+
- app/models/concerns/geo_works/extractors/iso19139_helper.rb
|
399
|
+
- app/models/concerns/geo_works/extractors/mods_helper.rb
|
400
|
+
- app/models/concerns/geo_works/file_set_metadata.rb
|
401
|
+
- app/models/concerns/geo_works/file_set_presenter_behavior.rb
|
402
|
+
- app/models/concerns/geo_works/geo_file_format_behavior.rb
|
403
|
+
- app/models/concerns/geo_works/geo_file_set_behavior.rb
|
404
|
+
- app/models/concerns/geo_works/georeferenced_behavior.rb
|
405
|
+
- app/models/concerns/geo_works/image_file_behavior.rb
|
406
|
+
- app/models/concerns/geo_works/image_work_behavior.rb
|
407
|
+
- app/models/concerns/geo_works/metadata_extraction_helper.rb
|
408
|
+
- app/models/concerns/geo_works/raster_file_behavior.rb
|
409
|
+
- app/models/concerns/geo_works/raster_work_behavior.rb
|
410
|
+
- app/models/concerns/geo_works/solr_document_behavior.rb
|
411
|
+
- app/models/concerns/geo_works/vector_file_behavior.rb
|
412
|
+
- app/models/concerns/geo_works/vector_work_behavior.rb
|
413
|
+
- app/presenters/geo_works/geo_works_show_presenter.rb
|
414
|
+
- app/presenters/geo_works/image_work_show_presenter.rb
|
415
|
+
- app/presenters/geo_works/raster_work_show_presenter.rb
|
416
|
+
- app/presenters/geo_works/vector_work_show_presenter.rb
|
417
|
+
- app/processors/geo_works/geoblacklight_event_processor.rb
|
418
|
+
- app/processors/geo_works/geoblacklight_event_processor/delete_processor.rb
|
419
|
+
- app/processors/geo_works/geoblacklight_event_processor/processor.rb
|
420
|
+
- app/processors/geo_works/geoblacklight_event_processor/unknown_event.rb
|
421
|
+
- app/processors/geo_works/geoblacklight_event_processor/update_processor.rb
|
422
|
+
- app/processors/geo_works/processors/base_geo_processor.rb
|
423
|
+
- app/processors/geo_works/processors/gdal.rb
|
424
|
+
- app/processors/geo_works/processors/image.rb
|
425
|
+
- app/processors/geo_works/processors/ogr.rb
|
426
|
+
- app/processors/geo_works/processors/raster.rb
|
427
|
+
- app/processors/geo_works/processors/raster/aig.rb
|
428
|
+
- app/processors/geo_works/processors/raster/base.rb
|
429
|
+
- app/processors/geo_works/processors/raster/dem.rb
|
430
|
+
- app/processors/geo_works/processors/raster/info.rb
|
431
|
+
- app/processors/geo_works/processors/rendering.rb
|
432
|
+
- app/processors/geo_works/processors/vector.rb
|
433
|
+
- app/processors/geo_works/processors/vector/base.rb
|
434
|
+
- app/processors/geo_works/processors/vector/info.rb
|
435
|
+
- app/processors/geo_works/processors/vector/shapefile.rb
|
436
|
+
- app/processors/geo_works/processors/zip.rb
|
437
|
+
- app/renderers/geo_works/coverage_renderer.rb
|
438
|
+
- app/runners/geo_works/runners/raster_derivatives.rb
|
439
|
+
- app/runners/geo_works/runners/vector_derivatives.rb
|
440
|
+
- app/schemas/geo_works/basic_geo_metadata_optional.rb
|
441
|
+
- app/schemas/geo_works/basic_geo_metadata_required.rb
|
442
|
+
- app/schemas/geo_works/file_set_metadata_required.rb
|
443
|
+
- app/services/geo_works/authority_service.rb
|
444
|
+
- app/services/geo_works/delivery/geoserver.rb
|
445
|
+
- app/services/geo_works/delivery_service.rb
|
446
|
+
- app/services/geo_works/discovery.rb
|
447
|
+
- app/services/geo_works/discovery/abstract_document.rb
|
448
|
+
- app/services/geo_works/discovery/document_builder.rb
|
449
|
+
- app/services/geo_works/discovery/document_builder/basic_metadata_builder.rb
|
450
|
+
- app/services/geo_works/discovery/document_builder/composite_builder.rb
|
451
|
+
- app/services/geo_works/discovery/document_builder/date_builder.rb
|
452
|
+
- app/services/geo_works/discovery/document_builder/document_helper.rb
|
453
|
+
- app/services/geo_works/discovery/document_builder/document_path.rb
|
454
|
+
- app/services/geo_works/discovery/document_builder/layer_info_builder.rb
|
455
|
+
- app/services/geo_works/discovery/document_builder/references_builder.rb
|
456
|
+
- app/services/geo_works/discovery/document_builder/slug_builder.rb
|
457
|
+
- app/services/geo_works/discovery/document_builder/spatial_builder.rb
|
458
|
+
- app/services/geo_works/discovery/document_builder/wxs.rb
|
459
|
+
- app/services/geo_works/discovery/geoblacklight_document.rb
|
460
|
+
- app/services/geo_works/events_generator.rb
|
461
|
+
- app/services/geo_works/events_generator/composite_generator.rb
|
462
|
+
- app/services/geo_works/events_generator/geoblacklight_event_generator.rb
|
463
|
+
- app/services/geo_works/events_generator/geoserver_event_generator.rb
|
464
|
+
- app/services/geo_works/file_set_derivatives_service.rb
|
465
|
+
- app/services/geo_works/image_format_service.rb
|
466
|
+
- app/services/geo_works/metadata_format_service.rb
|
467
|
+
- app/services/geo_works/raster_format_service.rb
|
468
|
+
- app/services/geo_works/vector_format_service.rb
|
469
|
+
- app/services/hyrax/curation_concern.rb
|
470
|
+
- app/values/geo_works/coverage.rb
|
471
|
+
- app/values/geo_works/time_period.rb
|
472
|
+
- app/views/geo_works/_attribute_rows.html.erb
|
473
|
+
- app/views/geo_works/_form_progress.html.erb
|
474
|
+
- app/views/geo_works/_guts4form.html.erb
|
475
|
+
- app/views/geo_works/_member.html.erb
|
476
|
+
- app/views/geo_works/_metadata.html.erb
|
477
|
+
- app/views/geo_works/_relationships.html.erb
|
478
|
+
- app/views/geo_works/_representative_media.html.erb
|
479
|
+
- app/views/geo_works/file_sets/_form.html.erb
|
480
|
+
- app/views/geo_works/file_sets/actions/_default_actions.html.erb
|
481
|
+
- app/views/geo_works/file_sets/actions/_image_actions.html.erb
|
482
|
+
- app/views/geo_works/file_sets/actions/_metadata_actions.html.erb
|
483
|
+
- app/views/geo_works/file_sets/actions/_raster_actions.html.erb
|
484
|
+
- app/views/geo_works/file_sets/actions/_vector_actions.html.erb
|
485
|
+
- app/views/geo_works/file_sets/media_display/_geo.html.erb
|
486
|
+
- app/views/geo_works/file_sets/new.html.erb
|
487
|
+
- app/views/geo_works/related/_child_member.html.erb
|
488
|
+
- app/views/geo_works/related/_child_works.html.erb
|
489
|
+
- app/views/geo_works/related/_external_metadata_file_member.html.erb
|
490
|
+
- app/views/geo_works/related/_external_metadata_files.html.erb
|
491
|
+
- app/views/geo_works/related/_geo_files.html.erb
|
492
|
+
- app/views/geo_works/related/_new_child_member.html.erb
|
493
|
+
- app/views/geo_works/related/_new_parent_member.html.erb
|
494
|
+
- app/views/geo_works/related/_parent_member.html.erb
|
495
|
+
- app/views/geo_works/related/_parent_works.html.erb
|
496
|
+
- app/views/hyrax/image_works/_file_actions.html.erb
|
497
|
+
- app/views/hyrax/image_works/_form.html.erb
|
498
|
+
- app/views/hyrax/image_works/_image_actions.html.erb
|
499
|
+
- app/views/hyrax/image_works/_image_work.html.erb
|
500
|
+
- app/views/hyrax/image_works/_show_actions.html.erb
|
501
|
+
- app/views/hyrax/image_works/show.html.erb
|
502
|
+
- app/views/hyrax/raster_works/_file_actions.html.erb
|
503
|
+
- app/views/hyrax/raster_works/_form.html.erb
|
504
|
+
- app/views/hyrax/raster_works/_raster_actions.html.erb
|
505
|
+
- app/views/hyrax/raster_works/_raster_work.html.erb
|
506
|
+
- app/views/hyrax/raster_works/_show_actions.html.erb
|
507
|
+
- app/views/hyrax/raster_works/show.html.erb
|
508
|
+
- app/views/hyrax/vector_works/_file_actions.html.erb
|
509
|
+
- app/views/hyrax/vector_works/_form.html.erb
|
510
|
+
- app/views/hyrax/vector_works/_show_actions.html.erb
|
511
|
+
- app/views/hyrax/vector_works/_vector_actions.html.erb
|
512
|
+
- app/views/hyrax/vector_works/_vector_work.html.erb
|
513
|
+
- app/views/hyrax/vector_works/show.html.erb
|
514
|
+
- app/views/records/edit_fields/_coverage.html.erb
|
515
|
+
- app/views/records/edit_fields/_should_populate_metadata.html.erb
|
516
|
+
- app/vocabs/geo_works/geo_terms.rb
|
517
|
+
- config/discovery/geoblacklight-schema.json
|
518
|
+
- config/fcrepo_wrapper_test.yml
|
519
|
+
- config/geoblacklight.yml
|
520
|
+
- config/geoserver.yml
|
521
|
+
- config/initializers/geo_server.rb
|
522
|
+
- config/initializers/geoblacklight_config.rb
|
523
|
+
- config/initializers/simpler_tiles.rb
|
524
|
+
- config/locales/image_work.en.yml
|
525
|
+
- config/locales/raster_work.en.yml
|
526
|
+
- config/locales/vector_work.en.yml
|
527
|
+
- config/routes.rb
|
528
|
+
- config/simpler_tiles.yml
|
529
|
+
- config/solr_wrapper_test.yml
|
530
|
+
- docker-compose-full.yml
|
531
|
+
- docker-compose.yml
|
532
|
+
- geo_works.gemspec
|
533
|
+
- lib/generators/geo_works/install_generator.rb
|
534
|
+
- lib/generators/geo_works/templates/actors/hyrax/actors/image_work_actor.rb
|
535
|
+
- lib/generators/geo_works/templates/actors/hyrax/actors/raster_work_actor.rb
|
536
|
+
- lib/generators/geo_works/templates/actors/hyrax/actors/vector_work_actor.rb
|
537
|
+
- lib/generators/geo_works/templates/config/authorities/image_formats.yml
|
538
|
+
- lib/generators/geo_works/templates/config/authorities/metadata_formats.yml
|
539
|
+
- lib/generators/geo_works/templates/config/authorities/raster_formats.yml
|
540
|
+
- lib/generators/geo_works/templates/config/authorities/vector_formats.yml
|
541
|
+
- lib/generators/geo_works/templates/config/initializers/hyrax_derivative_path_monkey_patch.rb
|
542
|
+
- lib/generators/geo_works/templates/controllers/hyrax/file_sets_controller.rb
|
543
|
+
- lib/generators/geo_works/templates/controllers/hyrax/image_works_controller.rb
|
544
|
+
- lib/generators/geo_works/templates/controllers/hyrax/raster_works_controller.rb
|
545
|
+
- lib/generators/geo_works/templates/controllers/hyrax/vector_works_controller.rb
|
546
|
+
- lib/generators/geo_works/templates/geo_works.js
|
547
|
+
- lib/generators/geo_works/templates/geo_works.scss
|
548
|
+
- lib/generators/geo_works/templates/models/file_set.rb
|
549
|
+
- lib/generators/geo_works/templates/models/image_work.rb
|
550
|
+
- lib/generators/geo_works/templates/models/raster_work.rb
|
551
|
+
- lib/generators/geo_works/templates/models/vector_work.rb
|
552
|
+
- lib/generators/geo_works/templates/presenters/file_set_presenter.rb
|
553
|
+
- lib/generators/geo_works/templates/spec/actor_spec.rb.erb
|
554
|
+
- lib/generators/geo_works/templates/spec/controller_spec.rb.erb
|
555
|
+
- lib/generators/geo_works/templates/spec/model_spec.rb.erb
|
556
|
+
- lib/geo_works.rb
|
557
|
+
- lib/geo_works/engine.rb
|
558
|
+
- lib/geo_works/version.rb
|
559
|
+
- lib/tasks/geo_works_tasks.rake
|
560
|
+
- run-docker.sh
|
561
|
+
- solr/config/_rest_managed.json
|
562
|
+
- solr/config/admin-extra.html
|
563
|
+
- solr/config/elevate.xml
|
564
|
+
- solr/config/mapping-ISOLatin1Accent.txt
|
565
|
+
- solr/config/protwords.txt
|
566
|
+
- solr/config/schema.xml
|
567
|
+
- solr/config/scripts.conf
|
568
|
+
- solr/config/solrconfig.xml
|
569
|
+
- solr/config/spellings.txt
|
570
|
+
- solr/config/stopwords.txt
|
571
|
+
- solr/config/stopwords_en.txt
|
572
|
+
- solr/config/synonyms.txt
|
573
|
+
- solr/config/xslt/example.xsl
|
574
|
+
- solr/config/xslt/example_atom.xsl
|
575
|
+
- solr/config/xslt/example_rss.xsl
|
576
|
+
- solr/config/xslt/luke.xsl
|
577
|
+
- spec/controllers/file_sets_controller_spec.rb
|
578
|
+
- spec/controllers/image_works_controller_spec.rb
|
579
|
+
- spec/controllers/raster_works_controller_spec.rb
|
580
|
+
- spec/controllers/vector_works_controller_spec.rb
|
581
|
+
- spec/factories/collections.rb
|
582
|
+
- spec/factories/external_metadata_files.rb
|
583
|
+
- spec/factories/image_files.rb
|
584
|
+
- spec/factories/image_works.rb
|
585
|
+
- spec/factories/permission_templates.rb
|
586
|
+
- spec/factories/raster_files.rb
|
587
|
+
- spec/factories/raster_works.rb
|
588
|
+
- spec/factories/sipity_entities.rb
|
589
|
+
- spec/factories/users.rb
|
590
|
+
- spec/factories/vector_files.rb
|
591
|
+
- spec/factories/vector_works.rb
|
592
|
+
- spec/factories/workflow_states.rb
|
593
|
+
- spec/factories/workflows.rb
|
594
|
+
- spec/features/create_image_work_spec.rb
|
595
|
+
- spec/features/create_raster_work_spec.rb
|
596
|
+
- spec/features/create_vector_work_spec.rb
|
597
|
+
- spec/features/image_work_show_spec.rb
|
598
|
+
- spec/features/raster_work_show_spec.rb
|
599
|
+
- spec/features/vector_work_show_spec.rb
|
600
|
+
- spec/forms/geo_works/basic_geo_metadata_form_spec.rb
|
601
|
+
- spec/forms/geo_works/external_metadata_file_form_spec.rb
|
602
|
+
- spec/forms/geo_works/georeferenced_form_spec.rb
|
603
|
+
- spec/forms/hyrax/image_work_form_spec.rb
|
604
|
+
- spec/forms/hyrax/raster_work_form_spec.rb
|
605
|
+
- spec/forms/hyrax/vector_work_form_spec.rb
|
606
|
+
- spec/helpers/bounding_box_helper_spec.rb
|
607
|
+
- spec/helpers/geo_works/file_set_actions_helper_spec.rb
|
608
|
+
- spec/helpers/geo_works/populate_metadata_helper_spec.rb
|
609
|
+
- spec/helpers/geo_works_helper_spec.rb
|
610
|
+
- spec/jobs/geoblacklight_job_spec.rb
|
611
|
+
- spec/jobs/geoserver_delivery_job_spec.rb
|
612
|
+
- spec/models/concerns/basic_geo_metadata_spec.rb
|
613
|
+
- spec/models/concerns/geo_works/file_set/derivatives_spec.rb
|
614
|
+
- spec/models/concerns/geo_works/file_set/geo_file_format_behavior_spec.rb
|
615
|
+
- spec/models/external_metadata_file_spec.rb
|
616
|
+
- spec/models/file_set_spec.rb
|
617
|
+
- spec/models/image_file_spec.rb
|
618
|
+
- spec/models/image_work_spec.rb
|
619
|
+
- spec/models/raster_file_spec.rb
|
620
|
+
- spec/models/raster_work_spec.rb
|
621
|
+
- spec/models/solr_document_spec.rb
|
622
|
+
- spec/models/vector_file_spec.rb
|
623
|
+
- spec/models/vector_work_spec.rb
|
624
|
+
- spec/presenters/file_set_presenter_spec.rb
|
625
|
+
- spec/presenters/geo_works_show_presenter_spec.rb
|
626
|
+
- spec/presenters/image_work_show_presenter_spec.rb
|
627
|
+
- spec/presenters/raster_work_show_presenter_spec.rb
|
628
|
+
- spec/presenters/vector_work_show_presenter_spec.rb
|
629
|
+
- spec/processors/geo_works/geoblacklight_event_processor_spec.rb
|
630
|
+
- spec/processors/geo_works/processors/base_geo_processor_spec.rb
|
631
|
+
- spec/processors/geo_works/processors/gdal_spec.rb
|
632
|
+
- spec/processors/geo_works/processors/image_spec.rb
|
633
|
+
- spec/processors/geo_works/processors/ogr_spec.rb
|
634
|
+
- spec/processors/geo_works/processors/raster/aig_spec.rb
|
635
|
+
- spec/processors/geo_works/processors/raster/base_spec.rb
|
636
|
+
- spec/processors/geo_works/processors/raster/dem_spec.rb
|
637
|
+
- spec/processors/geo_works/processors/raster/info_spec.rb
|
638
|
+
- spec/processors/geo_works/processors/raster/processor_spec.rb
|
639
|
+
- spec/processors/geo_works/processors/rendering_spec.rb
|
640
|
+
- spec/processors/geo_works/processors/vector/base_spec.rb
|
641
|
+
- spec/processors/geo_works/processors/vector/info_spec.rb
|
642
|
+
- spec/processors/geo_works/processors/vector/processor_spec.rb
|
643
|
+
- spec/processors/geo_works/processors/vector/shapefile_spec.rb
|
644
|
+
- spec/processors/geo_works/processors/zip_spec.rb
|
645
|
+
- spec/renderers/geo_works/coverage_renderer_spec.rb
|
646
|
+
- spec/services/geo_works/delivery/geoserver_spec.rb
|
647
|
+
- spec/services/geo_works/delivery_service_spec.rb
|
648
|
+
- spec/services/geo_works/discovery/abstract_document_spec.rb
|
649
|
+
- spec/services/geo_works/discovery/document_builder/basic_metadata_builder_spec.rb
|
650
|
+
- spec/services/geo_works/discovery/document_builder/wxs_spec.rb
|
651
|
+
- spec/services/geo_works/discovery/document_builder_spec.rb
|
652
|
+
- spec/services/geo_works/discovery/geoblacklight_document_spec.rb
|
653
|
+
- spec/services/geo_works/event_generator_spec.rb
|
654
|
+
- spec/services/geo_works/events_generator/geoblacklight_event_generator_spec.rb
|
655
|
+
- spec/services/geo_works/events_generator/geoserver_event_generator_spec.rb
|
656
|
+
- spec/services/geo_works/raster_format_service_spec.rb
|
657
|
+
- spec/services/hyrax/derivative_path_spec.rb
|
658
|
+
- spec/spec_helper.rb
|
659
|
+
- spec/support/backport_test.rb
|
660
|
+
- spec/support/controllers/engine_helpers.rb
|
661
|
+
- spec/support/database_cleaner.rb
|
662
|
+
- spec/support/factory_girl.rb
|
663
|
+
- spec/support/features.rb
|
664
|
+
- spec/support/features/session_helpers.rb
|
665
|
+
- spec/support/fixture_reader.rb
|
666
|
+
- spec/support/helpers/controller_level_helpers.rb
|
667
|
+
- spec/support/views/test_view_helpers.rb
|
668
|
+
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
669
|
+
- spec/values/coverage_spec.rb
|
670
|
+
- tasks/geo_works.rake
|
671
|
+
- template.rb
|
672
|
+
homepage: https://github.com/projecthydra-labs/geo_works
|
673
|
+
licenses:
|
674
|
+
- APACHE2
|
675
|
+
metadata: {}
|
676
|
+
post_install_message:
|
677
|
+
rdoc_options: []
|
678
|
+
require_paths:
|
679
|
+
- lib
|
680
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
681
|
+
requirements:
|
682
|
+
- - ">="
|
683
|
+
- !ruby/object:Gem::Version
|
684
|
+
version: 2.2.2
|
685
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
686
|
+
requirements:
|
687
|
+
- - ">="
|
688
|
+
- !ruby/object:Gem::Version
|
689
|
+
version: '0'
|
690
|
+
requirements: []
|
691
|
+
rubyforge_project:
|
692
|
+
rubygems_version: 2.6.10
|
693
|
+
signing_key:
|
694
|
+
specification_version: 4
|
695
|
+
summary: Rails engine for Hydra Geo models. Built around Curation Concerns engine.
|
696
|
+
test_files:
|
697
|
+
- spec/controllers/file_sets_controller_spec.rb
|
698
|
+
- spec/controllers/image_works_controller_spec.rb
|
699
|
+
- spec/controllers/raster_works_controller_spec.rb
|
700
|
+
- spec/controllers/vector_works_controller_spec.rb
|
701
|
+
- spec/factories/collections.rb
|
702
|
+
- spec/factories/external_metadata_files.rb
|
703
|
+
- spec/factories/image_files.rb
|
704
|
+
- spec/factories/image_works.rb
|
705
|
+
- spec/factories/permission_templates.rb
|
706
|
+
- spec/factories/raster_files.rb
|
707
|
+
- spec/factories/raster_works.rb
|
708
|
+
- spec/factories/sipity_entities.rb
|
709
|
+
- spec/factories/users.rb
|
710
|
+
- spec/factories/vector_files.rb
|
711
|
+
- spec/factories/vector_works.rb
|
712
|
+
- spec/factories/workflow_states.rb
|
713
|
+
- spec/factories/workflows.rb
|
714
|
+
- spec/features/create_image_work_spec.rb
|
715
|
+
- spec/features/create_raster_work_spec.rb
|
716
|
+
- spec/features/create_vector_work_spec.rb
|
717
|
+
- spec/features/image_work_show_spec.rb
|
718
|
+
- spec/features/raster_work_show_spec.rb
|
719
|
+
- spec/features/vector_work_show_spec.rb
|
720
|
+
- spec/forms/geo_works/basic_geo_metadata_form_spec.rb
|
721
|
+
- spec/forms/geo_works/external_metadata_file_form_spec.rb
|
722
|
+
- spec/forms/geo_works/georeferenced_form_spec.rb
|
723
|
+
- spec/forms/hyrax/image_work_form_spec.rb
|
724
|
+
- spec/forms/hyrax/raster_work_form_spec.rb
|
725
|
+
- spec/forms/hyrax/vector_work_form_spec.rb
|
726
|
+
- spec/helpers/bounding_box_helper_spec.rb
|
727
|
+
- spec/helpers/geo_works/file_set_actions_helper_spec.rb
|
728
|
+
- spec/helpers/geo_works/populate_metadata_helper_spec.rb
|
729
|
+
- spec/helpers/geo_works_helper_spec.rb
|
730
|
+
- spec/jobs/geoblacklight_job_spec.rb
|
731
|
+
- spec/jobs/geoserver_delivery_job_spec.rb
|
732
|
+
- spec/models/concerns/basic_geo_metadata_spec.rb
|
733
|
+
- spec/models/concerns/geo_works/file_set/derivatives_spec.rb
|
734
|
+
- spec/models/concerns/geo_works/file_set/geo_file_format_behavior_spec.rb
|
735
|
+
- spec/models/external_metadata_file_spec.rb
|
736
|
+
- spec/models/file_set_spec.rb
|
737
|
+
- spec/models/image_file_spec.rb
|
738
|
+
- spec/models/image_work_spec.rb
|
739
|
+
- spec/models/raster_file_spec.rb
|
740
|
+
- spec/models/raster_work_spec.rb
|
741
|
+
- spec/models/solr_document_spec.rb
|
742
|
+
- spec/models/vector_file_spec.rb
|
743
|
+
- spec/models/vector_work_spec.rb
|
744
|
+
- spec/presenters/file_set_presenter_spec.rb
|
745
|
+
- spec/presenters/geo_works_show_presenter_spec.rb
|
746
|
+
- spec/presenters/image_work_show_presenter_spec.rb
|
747
|
+
- spec/presenters/raster_work_show_presenter_spec.rb
|
748
|
+
- spec/presenters/vector_work_show_presenter_spec.rb
|
749
|
+
- spec/processors/geo_works/geoblacklight_event_processor_spec.rb
|
750
|
+
- spec/processors/geo_works/processors/base_geo_processor_spec.rb
|
751
|
+
- spec/processors/geo_works/processors/gdal_spec.rb
|
752
|
+
- spec/processors/geo_works/processors/image_spec.rb
|
753
|
+
- spec/processors/geo_works/processors/ogr_spec.rb
|
754
|
+
- spec/processors/geo_works/processors/raster/aig_spec.rb
|
755
|
+
- spec/processors/geo_works/processors/raster/base_spec.rb
|
756
|
+
- spec/processors/geo_works/processors/raster/dem_spec.rb
|
757
|
+
- spec/processors/geo_works/processors/raster/info_spec.rb
|
758
|
+
- spec/processors/geo_works/processors/raster/processor_spec.rb
|
759
|
+
- spec/processors/geo_works/processors/rendering_spec.rb
|
760
|
+
- spec/processors/geo_works/processors/vector/base_spec.rb
|
761
|
+
- spec/processors/geo_works/processors/vector/info_spec.rb
|
762
|
+
- spec/processors/geo_works/processors/vector/processor_spec.rb
|
763
|
+
- spec/processors/geo_works/processors/vector/shapefile_spec.rb
|
764
|
+
- spec/processors/geo_works/processors/zip_spec.rb
|
765
|
+
- spec/renderers/geo_works/coverage_renderer_spec.rb
|
766
|
+
- spec/services/geo_works/delivery/geoserver_spec.rb
|
767
|
+
- spec/services/geo_works/delivery_service_spec.rb
|
768
|
+
- spec/services/geo_works/discovery/abstract_document_spec.rb
|
769
|
+
- spec/services/geo_works/discovery/document_builder/basic_metadata_builder_spec.rb
|
770
|
+
- spec/services/geo_works/discovery/document_builder/wxs_spec.rb
|
771
|
+
- spec/services/geo_works/discovery/document_builder_spec.rb
|
772
|
+
- spec/services/geo_works/discovery/geoblacklight_document_spec.rb
|
773
|
+
- spec/services/geo_works/event_generator_spec.rb
|
774
|
+
- spec/services/geo_works/events_generator/geoblacklight_event_generator_spec.rb
|
775
|
+
- spec/services/geo_works/events_generator/geoserver_event_generator_spec.rb
|
776
|
+
- spec/services/geo_works/raster_format_service_spec.rb
|
777
|
+
- spec/services/hyrax/derivative_path_spec.rb
|
778
|
+
- spec/spec_helper.rb
|
779
|
+
- spec/support/backport_test.rb
|
780
|
+
- spec/support/controllers/engine_helpers.rb
|
781
|
+
- spec/support/database_cleaner.rb
|
782
|
+
- spec/support/factory_girl.rb
|
783
|
+
- spec/support/features.rb
|
784
|
+
- spec/support/features/session_helpers.rb
|
785
|
+
- spec/support/fixture_reader.rb
|
786
|
+
- spec/support/helpers/controller_level_helpers.rb
|
787
|
+
- spec/support/views/test_view_helpers.rb
|
788
|
+
- spec/test_app_templates/lib/generators/test_app_generator.rb
|
789
|
+
- spec/values/coverage_spec.rb
|