Skip to content

Commit

Permalink
Updates for 5.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
cfis committed Jan 8, 2024
1 parent fc15f3d commit 72eef11
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 10 deletions.
8 changes: 7 additions & 1 deletion libxml-ruby/HISTORY.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ <h3>Table of Contents</h3>
<summary> <a href="#label-Release+History">Release History</a>
</summary>
<ul class="link-list" role="directory">
<li> <a href="#label-5.0.1+-2F+2024-01-08">5.0.1 / 2024-01-08</a>
<li> <a href="#label-5.0.2+-2F+2024-01-08">5.0.2 / 2024-01-08</a>
<li> <a href="#label-5.0.1+-2F+2024-01-08">5.0.1 / 2024-01-08</a>
<li> <a href="#label-5.0.0+-2F+2024-01-07">5.0.0 / 2024-01-07</a>
<li> <a href="#label-4.1.2+-2F+2023-11-04">4.1.2 / 2023-11-04</a>
<li> <a href="#label-4.1.1+-2F+2023-05-01">4.1.1 / 2023-05-01</a>
Expand Down Expand Up @@ -215,6 +216,11 @@ <h3>Pages</h3>

<h1 id="label-Release+History">Release History<span><a href="#label-Release+History">&para;</a> <a href="#top">&uarr;</a></span></h1>

<h2 id="label-5.0.2+-2F+2024-01-08">5.0.2 / 2024-01-08<span><a href="#label-5.0.2+-2F+2024-01-08">&para;</a> <a href="#top">&uarr;</a></span></h2>
<ul><li>
<p>Fix broken DTD creation (DTD name is not required)</p>
</li></ul>

<h2 id="label-5.0.1+-2F+2024-01-08">5.0.1 / 2024-01-08<span><a href="#label-5.0.1+-2F+2024-01-08">&para;</a> <a href="#top">&uarr;</a></span></h2>
<ul><li>
<p>Fix broken Document#io method that was broken by switching Parsers to use keyword arguments</p>
Expand Down
13 changes: 8 additions & 5 deletions libxml-ruby/LibXML/XML/Dtd.html
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ <h3>Public Class Methods</h3>

<pre>* The first usage creates a DTD from a string and requires 1 parameter.
* The second usage loads and parses an external DTD and requires 2 parameters.
* The third usage creates a new internal or external DTD and requires 3 parameters and 2 optional parameters.
It then attaches the DTD to the specified document if it is not nil</pre>
* The third usage creates a new internal or external DTD and requires 2 parameters and 3 optional parameters.
The DTD is then attached to the specified document if it is not nil.</pre>

<p>Parameters:</p>

Expand Down Expand Up @@ -177,16 +177,19 @@ <h3>Public Class Methods</h3>
xmlDocPtr xdoc = NULL;

VALUE name, doc, internal;
rb_scan_args(argc, argv, &quot;32&quot;, &amp;external, &amp;system, &amp;name, &amp;doc, &amp;internal);
rb_scan_args(argc, argv, &quot;23&quot;, &amp;external, &amp;system, &amp;name, &amp;doc, &amp;internal);

Check_Type(external, T_STRING);
xpublic = (const xmlChar*) StringValuePtr(external);

Check_Type(system, T_STRING);
xsystem = (const xmlChar*) StringValuePtr(system);

Check_Type(name, T_STRING);
xname = (const xmlChar*) StringValuePtr(name);
if (name != Qnil)
{
Check_Type(name, T_STRING);
xname = (const xmlChar*)StringValuePtr(name);
}

if (doc != Qnil)
{
Expand Down
6 changes: 3 additions & 3 deletions libxml-ruby/created.rid
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Mon, 08 Jan 2024 13:45:24 -0800
Mon, 08 Jan 2024 14:01:38 -0800
ext/libxml/libxml.c Wed, 28 Dec 2022 05:02:38 -0800
ext/libxml/ruby_xml.c Sun, 07 Jan 2024 18:19:55 -0800
ext/libxml/ruby_xml_attr.c Sat, 15 Jan 2022 16:07:33 -0800
ext/libxml/ruby_xml_attr_decl.c Sat, 04 Nov 2023 17:22:35 -0700
ext/libxml/ruby_xml_attributes.c Sat, 04 Nov 2023 17:22:35 -0700
ext/libxml/ruby_xml_cbg.c Wed, 28 Dec 2022 04:30:41 -0800
ext/libxml/ruby_xml_document.c Sun, 07 Jan 2024 20:04:17 -0800
ext/libxml/ruby_xml_dtd.c Mon, 08 Jan 2024 13:27:53 -0800
ext/libxml/ruby_xml_dtd.c Mon, 08 Jan 2024 13:53:24 -0800
ext/libxml/ruby_xml_encoding.c Sun, 30 Apr 2023 21:34:00 -0700
ext/libxml/ruby_xml_error.c Sun, 07 Jan 2024 21:53:55 -0800
ext/libxml/ruby_xml_html_parser.c Sun, 16 Oct 2022 22:49:51 -0700
Expand Down Expand Up @@ -58,5 +58,5 @@ lib/libxml/tree.rb Sat, 15 Jan 2022 16:07:33 -0800
lib/xml.rb Sat, 15 Jan 2022 16:07:33 -0800
lib/xml/libxml.rb Sat, 15 Jan 2022 16:07:33 -0800
README.rdoc Mon, 08 Jan 2024 11:42:46 -0800
HISTORY Mon, 08 Jan 2024 13:39:21 -0800
HISTORY Mon, 08 Jan 2024 13:55:39 -0800
LICENSE Sat, 15 Jan 2022 16:07:33 -0800
2 changes: 1 addition & 1 deletion libxml-ruby/js/search_index.js

Large diffs are not rendered by default.

Binary file modified libxml-ruby/js/search_index.js.gz
Binary file not shown.
1 change: 1 addition & 0 deletions libxml-ruby/table_of_contents.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ <h2 id="pages">Pages</h2>

<ul>
<li><a href="HISTORY.html#label-Release+History">Release History</a>
<li><a href="HISTORY.html#label-5.0.2+-2F+2024-01-08">5.0.2 / 2024-01-08</a>
<li><a href="HISTORY.html#label-5.0.1+-2F+2024-01-08">5.0.1 / 2024-01-08</a>
<li><a href="HISTORY.html#label-5.0.0+-2F+2024-01-07">5.0.0 / 2024-01-07</a>
<li><a href="HISTORY.html#label-4.1.2+-2F+2023-11-04">4.1.2 / 2023-11-04</a>
Expand Down

0 comments on commit 72eef11

Please sign in to comment.