Sha256: 3a5ba5cf973c99e41dcb3056ce515137f20d520c4327bee814c07a344450855a

Contents?: true

Size: 773 Bytes

Versions: 18

Compression:

Stored size: 773 Bytes

Contents

module GeoConcerns
  # Attributes and methods for basic geospatial metadata used by Works
  module BasicGeoMetadata
    extend ActiveSupport::Concern

    included do
      apply_schema ::GeoConcerns::BasicGeoMetadataRequired,
                   ActiveFedora::SchemaIndexingStrategy.new(
                     ActiveFedora::Indexers::GlobalIndexer.new(
                       [:stored_searchable, :facetable, :symbol]
                     )
                   )
      apply_schema ::GeoConcerns::BasicGeoMetadataOptional,
                   ActiveFedora::SchemaIndexingStrategy.new(
                     ActiveFedora::Indexers::GlobalIndexer.new(
                       [:stored_searchable, :facetable, :symbol]
                     )
                   )
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
geo_concerns-0.3.4 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.3.3 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.3.2 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.3.1 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.3.0 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.2.0 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.1.1 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.1.0 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.10 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.9 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.8 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.7 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.6 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.5 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.4 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.3 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.2 app/models/concerns/geo_concerns/basic_geo_metadata.rb
geo_concerns-0.0.1 app/models/concerns/geo_concerns/basic_geo_metadata.rb