Sha256: f1b0447ab2dca4077582fb781e1f9d88d40e87245d27e0bbb951d3410f2a9af3

Contents?: true

Size: 697 Bytes

Versions: 2

Compression:

Stored size: 697 Bytes

Contents

##
# JSON docs that can be included into specs
module JsonDocs
  ##
  # A basic incomplete, non-compliant GeoBlacklight-Schema json document
  def basic_geoblacklight
    File.read(File.join(File.dirname(__FILE__), './docs/basic_geoblacklight.json'))
  end

  ##
  # A fully compliant GeoBlacklight-Schema json document
  def full_geoblacklight
    File.read(File.join(File.dirname(__FILE__), './docs/full_geoblacklight.json'))
  end

  ##
  # A sample Esri OpenData metadata record
  def esri_opendata_metadata
    File.read(File.join(File.dirname(__FILE__), './docs/esri_open_data.json'))
  end

  def ckan_metadata
    File.read(File.join(File.dirname(__FILE__), './docs/ckan.json'))
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geo_combine-0.3.1 spec/fixtures/json_docs.rb
geo_combine-0.3.0 spec/fixtures/json_docs.rb