lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_identifier.rb in adiwg-mdtranslator-2.13.3 vs lib/adiwg/mdtranslator/writers/mdJson/sections/mdJson_identifier.rb in adiwg-mdtranslator-2.14.0

- old
+ new

@@ -1,10 +1,11 @@ # mdJson 2.0 writer tests - identifier # History: -# Stan Smith 2017-03-13 refactored for mdJson/mdTranslator 2.0 -# Josh Bradley original script +# Stan Smith 2018-10-18 added 'name' for projectionIdentifier & gridIdentifier +# Stan Smith 2017-03-13 refactored for mdJson/mdTranslator 2.0 +# Josh Bradley original script require 'jbuilder' require_relative 'mdJson_citation' module ADIWG @@ -18,9 +19,10 @@ Jbuilder.new do |json| json.identifier hIdentifier[:identifier] json.namespace hIdentifier[:namespace] json.version hIdentifier[:version] + json.name hIdentifier[:name] json.description hIdentifier[:description] json.authority Citation.build(hIdentifier[:citation]) unless hIdentifier[:citation].empty? end end# build