definitions/segments/uns.rb in eancom-1.6.3 vs definitions/segments/uns.rb in eancom-2.0.0

- old
+ new

@@ -6,11 +6,11 @@ # Tag # #============================================================================== tag = Eancom::Edifact::Composite.new() data = Eancom::Edifact::Data.new( type: String, - length: 3, + length: 1..3, dictionary: nil, description: "Message Header", required: true ) tag.add(:tag, data) @@ -21,10 +21,10 @@ #============================================================================== section_identification = Eancom::Edifact::Composite.new() data = Eancom::Edifact::Data.new( type: String, - length: 1, + length: 0..1, dictionary: { 'S' => { description: 'Detail/summary section separation', identifier: 'detail_summary_section_separation' }