Sha256: 86518b863cea6aba8c309e7fc815e5813560ceb9d049874f2984017ff689fe11

Contents?: true

Size: 1.99 KB

Versions: 17

Compression:

Stored size: 1.99 KB

Contents

# frozen_string_literal: true

require 'blacklight'

module Warclight
  ##
  # This is the defining class for the Warclight Rails Engine
  class Engine < ::Rails::Engine
    Warclight::Engine.config.catalog_controller_field_accessors = %i[
      access_terms
      author
      category
      collection
      collection_name
      collection_number
      collections
      comments
      content
      content_encoding
      content_ffb
      content_first_bytes
      content_language
      content_length
      content_metadata
      content_metadata_ss
      content_text_length
      content_type
      content_type_droid
      content_type_ext
      content_type_full
      content_type_norm
      content_type_served
      content_type_tika
      content_type_version
      crawl_date
      crawl_dates
      crawl_year
      crawl_year_month
      crawl_year_month_day
      crawl_years
      description
      domain
      elements_used
      generator
      hash
      hashes
      host
      host_surt
      id_long
      image_colours
      image_dominant_colour
      image_faces
      image_faces_count
      image_height
      image_size
      image_width
      institution
      keywords
      last_modified
      last_modified_year
      license_url
      links
      links_domains
      links_hosts
      links_hosts_surts
      links_norm
      links_public_suffixes
      locations
      parse_error
      pdf_pdfa_errors
      pdf_pdfa_is_valid
      postcode
      postcode_district
      public_suffix
      publication_date
      publication_year
      record_type
      referrer_url
      resourcename
      sentiment
      sentiment_score
      server
      source_file
      source_file_offset
      status_code
      subject
      text
      title
      type
      url
      url_norm
      url_path
      url_type
      wayback_date
      wct_agency
      wct_collections
      wct_description
      wct_instance_id
      wct_subjects
      wct_target_id
      wct_title
      xml_root_ns
    ]
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
warclight-0.9.0 lib/warclight/engine.rb
warclight-0.8.3 lib/warclight/engine.rb
warclight-0.8.2 lib/warclight/engine.rb
warclight-0.8.1 lib/warclight/engine.rb
warclight-0.8.0 lib/warclight/engine.rb
warclight-0.7.1 lib/warclight/engine.rb
warclight-0.7.0 lib/warclight/engine.rb
warclight-0.6.3 lib/warclight/engine.rb
warclight-0.6.2 lib/warclight/engine.rb
warclight-0.6.1 lib/warclight/engine.rb
warclight-0.6.0 lib/warclight/engine.rb
warclight-0.5.0 lib/warclight/engine.rb
warclight-0.4.0 lib/warclight/engine.rb
warclight-0.3.0 lib/warclight/engine.rb
warclight-0.2.0 lib/warclight/engine.rb
warclight-0.1.1 lib/warclight/engine.rb
warclight-0.1.0 lib/warclight/engine.rb