pubid 2.0.0.pre.alpha.54 → 2.0.0.pre.alpha.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/data/parg/ieee.json +29012 -1
- data/lib/pubid/ieee/builder.rb +8 -3
- data/lib/pubid/version.rb +1 -1
- metadata +1 -1
data/lib/pubid/ieee/builder.rb
CHANGED
|
@@ -1118,9 +1118,14 @@ module Pubid
|
|
|
1118
1118
|
printed_attrs[:year] = attributes[:year]
|
|
1119
1119
|
printed_attrs[:month] = attributes[:month]
|
|
1120
1120
|
elsif parsed[:draft_month]
|
|
1121
|
-
# The date trails the draft itself ("
|
|
1122
|
-
#
|
|
1123
|
-
|
|
1121
|
+
# The date trails the draft itself ("D31, Aug 2010"): the
|
|
1122
|
+
# normalization ledger strips the ordinal draft on the
|
|
1123
|
+
# printed joint face and surfaces the date as the printed
|
|
1124
|
+
# date ("11073-10418 D13, January 2011" ->
|
|
1125
|
+
# "11073.10418, January 2011") -- composing it back into the
|
|
1126
|
+
# draft emitted "/D, Aug 2010" remnants.
|
|
1127
|
+
printed_attrs[:year] = extract_value(parsed[:draft_year])
|
|
1128
|
+
printed_attrs[:month] = extract_value(parsed[:draft_month])
|
|
1124
1129
|
end
|
|
1125
1130
|
printed_attrs[:code] = printed_code
|
|
1126
1131
|
printed_attrs[:draft] = printed_draft if printed_draft
|
data/lib/pubid/version.rb
CHANGED