Sha256: 9cdcb55ccd04bb365957423c4a3e68f27b45583f9a041d7635cc243ad9838a96

Contents?: true

Size: 601 Bytes

Versions: 2

Compression:

Stored size: 601 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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geo_combine-0.2.0 spec/fixtures/json_docs.rb
geo_combine-0.1.0 spec/fixtures/json_docs.rb