Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Feb 19, 2024
1 parent e10fefe commit 5c54b48
Show file tree
Hide file tree
Showing 8 changed files with 1,335 additions and 2,737 deletions.
1 change: 0 additions & 1 deletion Gemfile.devel

This file was deleted.

2 changes: 1 addition & 1 deletion lib/metanorma/ieee/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Metanorma
module IEEE
VERSION = "1.2.1".freeze
VERSION = "1.2.2".freeze
end
end
100 changes: 50 additions & 50 deletions spec/isodoc/blocks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -442,56 +442,56 @@
</body>
OUTPUT
word = <<~OUTPUT
<div>
<a name="A" id="A"/>
<p class="IEEEStdsLevel1Header">Foreword</p>
<div class="IEEEStdsImage" style="page-break-after: avoid;page-break-inside: avoid;">
<a name="figureA-1" id="figureA-1"/>
<img src="_.gif" height="20" width="20"/>
<img src="_.xml" height="" width=""/>
<aside>
<div>
<a name="ftn_" id="ftn_"/>
</div>
</aside>
<p style="page-break-after:avoid;" class="IEEEStdsParagraph">
<b>Key</b>
</p>
<table class="dl" style="page-break-after:avoid;">
<tr>
<td valign="top" align="left">
<p align="left" style="margin-left:0pt;text-align:left;" class="IEEEStdsParagraph">A</p>
</td>
<td valign="top">
<p class="IEEEStdsParagraph">B</p>
</td>
</tr>
<tr>
<td valign="top" align="left">
<span>
<span class="TableFootnoteRef"><a name="_" id="_"/>a</span>
<span style="mso-tab-count:1">  </span>
</span>
</td>
<td valign="top">
<p class="IEEEStdsParagraph"><a name="_" id="_"/>The time <span class="stem">(#(t_90)#)</span> was estimated to be 18,2 min for this example.</p>
</td>
</tr>
</table>
<p class="IEEEStdsRegularFigureCaption" style="text-align:center;">—Split-it-right <i>sample</i> divider<span style="mso-bookmark:_Ref"><a class="FootnoteRef" href="#_ftn1" type="footnote" style="mso-footnote-id:ftn1" name="_" title="" id="_"><span class="MsoFootnoteReference"><span style="mso-special-character:footnote"/></span></a></span></p>
</div>
<div class="IEEEStdsImage">
<a name="figure-B" id="figure-B"/>
<pre style="page-break-after:avoid;">A
B</pre>
<p class="IEEEStdsRegularFigureCaption" style="text-align:center;"/>
</div>
<div class="IEEEStdsImage">
<a name="figure-C" id="figure-C"/>
<pre>A
B</pre>
</div>
</div>
<div>
<a name="A" id="A"/>
<p class="IEEEStdsLevel1Header">Foreword</p>
<div class="IEEEStdsImage" style="page-break-after: avoid;page-break-inside: avoid;">
<a name="figureA-1" id="figureA-1"/>
<img src="_.gif" height="20" width="20"/>
<img src="_.xml" height="20" width="0"/>
<aside>
<div>
<a name="ftn_" id="ftn_"/>
</div>
</aside>
<p style="page-break-after:avoid;" class="IEEEStdsParagraph">
<b>Key</b>
</p>
<table class="dl" style="page-break-after:avoid;">
<tr>
<td valign="top" align="left">
<p align="left" style="margin-left:0pt;text-align:left;" class="IEEEStdsParagraph">A</p>
</td>
<td valign="top">
<p class="IEEEStdsParagraph">B</p>
</td>
</tr>
<tr>
<td valign="top" align="left">
<span>
<span class="TableFootnoteRef"><a name="_" id="_"/>a</span>
<span style="mso-tab-count:1">  </span>
</span>
</td>
<td valign="top">
<p class="IEEEStdsParagraph"><a name="_" id="_"/>The time <span class="stem">(#(t_90)#)</span> was estimated to be 18,2 min for this example.</p>
</td>
</tr>
</table>
<p class="IEEEStdsRegularFigureCaption" style="text-align:center;">—Split-it-right <i>sample</i> divider<span style="mso-bookmark:_Ref"><a class="FootnoteRef" href="#_ftn1" type="footnote" style="mso-footnote-id:ftn1" name="_" title="" id="_"><span class="MsoFootnoteReference"><span style="mso-special-character:footnote"/></span></a></span></p>
</div>
<div class="IEEEStdsImage">
<a name="figure-B" id="figure-B"/>
<pre style="page-break-after:avoid;">A
B</pre>
<p class="IEEEStdsRegularFigureCaption" style="text-align:center;"/>
</div>
<div class="IEEEStdsImage">
<a name="figure-C" id="figure-C"/>
<pre>A
B</pre>
</div>
</div>
OUTPUT
expect(xmlpp(strip_guid(IsoDoc::IEEE::PresentationXMLConvert
.new(presxml_options)
Expand Down
24 changes: 12 additions & 12 deletions spec/isodoc/metadata_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
INPUT
expect(htmlencode(metadata(csdc.info(docxml, nil)).to_s
.gsub(", :", ",\n:"))).to be_equivalent_to <<~"OUTPUT"
{:abbrev_doctitle=>"Draft Rec. Prac. for Main Titlein multiple lines",
{:abbrev_doctitle=>"Draft Rec. Prac. for Main Title<br/>in multiple lines",
:accesseddate=>"XXX",
:adapteddate=>"XXX",
:agency=>"IEEE",
Expand All @@ -259,7 +259,7 @@
:docnumber=>"ABC",
:docnumeric=>"1000",
:docsubtype=>"Amendment",
:doctitle=>"Main Titlein multiple lines",
:doctitle=>"Main Title<br/>in multiple lines",
:doctype=>"Recommended Practice",
:doctype_abbrev=>"Rec. Prac.",
:docyear=>"2001",
Expand All @@ -269,7 +269,7 @@
:draftinfo=>" (draft 3.4, 2000-01-01)",
:edition=>"2",
:feedback_endeddate=>"01 Aug 2018",
:full_doctitle=>"Draft Recommended Practice for Main Titlein multiple lines",
:full_doctitle=>"Draft Recommended Practice for Main Title<br/>in multiple lines",
:implementeddate=>"XXX",
:isbn_pdf=>"GHI",
:isbn_print=>"JKL",
Expand Down Expand Up @@ -545,7 +545,7 @@
docxml, = csdc.convert_init(input, "test", true)
expect(htmlencode(metadata(csdc.info(docxml, nil)).to_s
.gsub(", :", ",\n:"))).to be_equivalent_to <<~"OUTPUT"
{:abbrev_doctitle=>"Draft ??? for Main Titlein multiple lines",
{:abbrev_doctitle=>"Draft ??? for Main Title<br/>in multiple lines",
:accesseddate=>"XXX",
:adapteddate=>"XXX",
:agency=>"IEEE",
Expand All @@ -564,7 +564,7 @@
:docnumber=>"ABC",
:docnumeric=>"1000",
:docsubtype=>"ICAP",
:doctitle=>"Main Titlein multiple lines",
:doctitle=>"Main Title<br/>in multiple lines",
:doctype=>"Whitepaper",
:docyear=>"2001",
:draft=>"3.4",
Expand All @@ -573,7 +573,7 @@
:draftinfo=>" (draft 3.4, 2000-01-01)",
:edition=>"2",
:feedback_endeddate=>"01 Aug 2018",
:full_doctitle=>"Draft Whitepaper for Main Titlein multiple lines",
:full_doctitle=>"Draft Whitepaper for Main Title<br/>in multiple lines",
:implementeddate=>"XXX",
:isbn_pdf=>"GHI",
:isbn_print=>"JKL",
Expand Down Expand Up @@ -615,7 +615,7 @@
.sub(">icap<", ">industry-connection-report<"), "test", true)
expect(htmlencode(metadata(csdc.info(docxml, nil)).to_s
.gsub(", :", ",\n:"))).to be_equivalent_to <<~"OUTPUT"
{:abbrev_doctitle=>"Draft ??? for Main Titlein multiple lines",
{:abbrev_doctitle=>"Draft ??? for Main Title<br/>in multiple lines",
:accesseddate=>"XXX",
:adapteddate=>"XXX",
:agency=>"IEEE",
Expand All @@ -634,7 +634,7 @@
:docnumber=>"ABC",
:docnumeric=>"1000",
:docsubtype=>"Industry Connection Report",
:doctitle=>"Main Titlein multiple lines",
:doctitle=>"Main Title<br/>in multiple lines",
:doctype=>"Whitepaper",
:docyear=>"2001",
:draft=>"3.4",
Expand All @@ -643,7 +643,7 @@
:draftinfo=>" (draft 3.4, 2000-01-01)",
:edition=>"2",
:feedback_endeddate=>"01 Aug 2018",
:full_doctitle=>"Draft Whitepaper for Main Titlein multiple lines",
:full_doctitle=>"Draft Whitepaper for Main Title<br/>in multiple lines",
:implementeddate=>"XXX",
:isbn_pdf=>"GHI",
:isbn_print=>"JKL",
Expand Down Expand Up @@ -749,7 +749,7 @@
INPUT
expect(htmlencode(metadata(csdc.info(docxml, nil)).to_s
.gsub(", :", ",\n:"))).to be_equivalent_to <<~"OUTPUT"
{:abbrev_doctitle=>"Draft Rec. Prac. for Main Titlein multiple lines",
{:abbrev_doctitle=>"Draft Rec. Prac. for Main Title<br/>in multiple lines",
:accesseddate=>"XXX",
:adapteddate=>"XXX",
:announceddate=>"XXX",
Expand All @@ -762,7 +762,7 @@
:createddate=>"XXX",
:docnumeric=>"1000",
:docsubtype=>"Document",
:doctitle=>"Main Titlein multiple lines",
:doctitle=>"Main Title<br/>in multiple lines",
:doctype=>"Recommended Practice",
:doctype_abbrev=>"Rec. Prac.",
:docyear=>"2001",
Expand All @@ -771,7 +771,7 @@
:draft_year=>"2000",
:draftinfo=>" (draft 3.4, 2000-01-01)",
:edition=>"2",
:full_doctitle=>"Draft Recommended Practice for Main Titlein multiple lines",
:full_doctitle=>"Draft Recommended Practice for Main Title<br/>in multiple lines",
:implementeddate=>"XXX",
:isbn_pdf=>"978-0-XXXX-XXXX-X",
:isbn_print=>"978-0-XXXX-XXXX-X",
Expand Down
Loading

0 comments on commit 5c54b48

Please sign in to comment.