lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_resourceInfo.rb in adiwg-mdtranslator-2.0.0rc2 vs lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_resourceInfo.rb in adiwg-mdtranslator-2.0.0rc3

- old
+ new

@@ -1,8 +1,9 @@ # mdJson 2.0 writer - resource information # History: +# Stan Smith 2017-05-16 deprecated topicCategory # Stan Smith 2017-03-11 refactored for mdJson/mdTranslator 2.0 # Josh Bradley original script require 'jbuilder' require_relative 'mdJson_resourceType' @@ -41,10 +42,9 @@ json.shortAbstract hResInfo[:shortAbstract] json.purpose hResInfo[:purpose] json.credit hResInfo[:credits] unless hResInfo[:credits].empty? json.timePeriod TimePeriod.build(hResInfo[:timePeriod]) unless hResInfo[:timePeriod].empty? json.status hResInfo[:status] unless hResInfo[:status].empty? - json.topicCategory hResInfo[:topicCategories] unless hResInfo[:topicCategories].empty? json.pointOfContact @Namespace.json_map(hResInfo[:pointOfContacts], ResponsibleParty) json.spatialReferenceSystem @Namespace.json_map(hResInfo[:spatialReferenceSystems], SpatialReference) json.spatialRepresentationType hResInfo[:spatialRepresentationTypes] unless hResInfo[:spatialRepresentationTypes].empty? json.spatialRepresentation @Namespace.json_map(hResInfo[:spatialRepresentations], SpatialRepresentation) json.spatialResolution @Namespace.json_map(hResInfo[:spatialResolutions], SpatialResolution)