Kouhei Sutou
null+****@clear*****
Thu Dec 8 00:14:02 JST 2016
Kouhei Sutou 2016-12-08 00:14:02 +0900 (Thu, 08 Dec 2016) New Revision: e6695002bab41accc96633ee799d454e509bdf01 https://github.com/ranguba/packnga/commit/e6695002bab41accc96633ee799d454e509bdf01 Message: test: update fixtures Modified files: test/fixtures/expected/file.news.html test/fixtures/file.news.html Modified: test/fixtures/expected/file.news.html (+96 -32) =================================================================== --- test/fixtures/expected/file.news.html 2016-12-07 23:48:14 +0900 (f459a73) +++ test/fixtures/expected/file.news.html 2016-12-08 00:14:02 +0900 (430661a) @@ -1,8 +1,8 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<!DOCTYPE html> +<html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" /> + <meta charset="UTF-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="../../ranguba.css" type="text/css" /> <link rel="shortcut icon" href="../../favicon.ico" /> <link rel="icon" href="../../favicon.png" /> @@ -14,14 +14,13 @@ - Ranguba</title> - <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" /> - <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" /> <script type="text/javascript" charset="utf-8"> - hasFrames = window.top.frames.main ? true : false; + pathId = "news"; relpath = ''; - framesUrl = "frames.html#!" + escape(window.location.href); </script> @@ -32,6 +31,12 @@ </head> <body> + <div class="nav_wrap"> + <iframe id="nav" src="file_list.html"></iframe> + <div id="resizer"></div> + </div> + + <div id="main" tabindex="-1"> <div class="header"> <div class="title"> <a href="../../"> @@ -59,40 +64,100 @@ <div class="content"> - <div id="header"> - <div id="menu"> + <div id="header"> + <div id="menu"> <a href="alphabetical_index.html">Index</a> » <span class="title">File: news</span> - - <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div> </div> - <div id="search"> + <div id="search"> <a class="full_list_link" id="class_list_link" href="class_list.html"> - Class List - </a> - - <a class="full_list_link" id="method_list_link" - href="method_list.html"> - Method List - </a> - - <a class="full_list_link" id="file_list_link" - href="file_list.html"> - File List + + <svg width="24" height="24"> + <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> + </svg> </a> </div> - <div class="clear"></div> - </div> + <div class="clear"></div> + </div> - <iframe id="search_frame"></iframe> + <iframe id="search_frame" src="file_list.html"></iframe> - <div id="content"><div id='filecontents'><h1><span class="caps">NEWS</span></h1> + <div id="content"><div id='filecontents'><h1><span class="caps">NEWS</span></h1> +<h2 id="1-0-4">1.0.4: 2016-12-07</h2> +<h3>Improvements</h3> +<ul> + <li>Supported <span class="caps">YARD</span> 0.9. <span class="caps">YARD</span> 0.8 or earlier isn’t supported.</li> +</ul> +<h2 id="1-0-3">1.0.3: 2016-11-14</h2> +<h3>Fixes</h3> +<ul> + <li>Avoided <span class="caps">YARD</span> 0.9. Packnga generates broken document with <span class="caps">YARD</span> 0.9 now.</li> +</ul> +<h2 id="1-0-2">1.0.2: 2016-01-22</h2> +<h3>Improvements</h3> +<ul> + <li>Stopped to require template files.</li> +</ul> +<h2 id="1-0-1">1.0.1: 2014-10-19</h2> +<h3>Improvements</h3> +<ul> + <li>Supported to keep existing translations. [groonga-dev,02689]</li> +</ul> +<h2 id="1-0-0">1.0.0: 2014-07-13</h2> +<h3>Improvements</h3> +<ul> + <li>Required gettext 3.1.3.</li> + <li>Migrated to “edit.po” style.</li> +</ul> +<h3>Fixes</h3> +<ul> + <li>Fixed a bug that <span class="caps">README</span> parameter value is reset when <span class="caps">README</span> file + doesn’t exist.</li> +</ul> +<h2 id="0-9-9">0.9.9: 2013-08-29</h2> +<h3>Improvements</h3> +<ul> + <li>Added missing dependencies for “release:references:upload” task.</li> +</ul> +<h2>0.9.8: 2013-06-07</h2> +<h3>Improvements</h3> +<ul> + <li>[ReferenceTask] Used <span class="caps">YARD</span> I18n feature for translating references. + For it, <span class="caps">YARD</span> 0.8.6.1 or later is required.</li> + <li>[ReferenceTask] Supported replacing filenames which aren’t + supported by GitHub Pages in “reference:publication:generate” task. + This task renames the fimename “_index.html” (methods list page) to + “alphabetical_index.html”, because GitHub Pages doesn’t support + files which their filenames start with “_”.</li> + <li>[ReferenceTask] Added the task (“release:references:upload”) to + copy generated references to a <span class="caps">HTML</span> directory. + A <span class="caps">HTML</span> directory, for example, is a repository of GitHub Pages. In + this case, this task is used to commit references to GitHub Pages.</li> + <li>[ReferenceTask] Dropped support to upload .htaccess.</li> + <li>[ReleaseTask] Used the version in your gemspec as a new version + when no version is specified as an argument by “release:info:update” + task. A new version is used to replace <span class="caps">HTML</span> index files.</li> +</ul> +<h3>Fixes</h3> +<ul> + <li>[ReferenceTask] Generated “reference path” correctly in merged PO + files. + “reference path” is a path of a file including translated message + (msgid) and it’s attached to its corresponded msgid.</li> + <li>[ReleaseTask] Removed needless replaces in <span class="caps">HTML</span> files in the + task “release:info:update”.</li> + <li>[ReferenceTask] Added missing description for the task + “reference:publication:generate” to generate references for + publication.</li> +</ul> <h2>0.9.7: 2012-12-26</h2> <h3>Improvements</h3> <ul> @@ -219,9 +284,7 @@ <h2>0.9.0: 2011-08-19</h2> <p>The first release!</p></div></div> - <div id="footer"></div> - - + <div id="footer"> </div> <div class="sponsors"> @@ -242,5 +305,6 @@ </p> </div> -</body> +</div> + </body> </html> \ No newline at end of file Modified: test/fixtures/file.news.html (+94 -30) =================================================================== --- test/fixtures/file.news.html 2016-12-07 23:48:14 +0900 (295565d) +++ test/fixtures/file.news.html 2016-12-08 00:14:02 +0900 (0720d9e) @@ -1,8 +1,8 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<!DOCTYPE html> +<html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII" /> + <meta charset="UTF-8"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> File: news @@ -10,14 +10,13 @@ </title> - <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" /> - <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" /> + <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" /> <script type="text/javascript" charset="utf-8"> - hasFrames = window.top.frames.main ? true : false; + pathId = "news"; relpath = ''; - framesUrl = "frames.html#!" + escape(window.location.href); </script> @@ -28,40 +27,106 @@ </head> <body> - <div id="header"> - <div id="menu"> + <div class="nav_wrap"> + <iframe id="nav" src="file_list.html"></iframe> + <div id="resizer"></div> + </div> + + <div id="main" tabindex="-1"> + <div id="header"> + <div id="menu"> <a href="_index.html">Index</a> » <span class="title">File: news</span> - - <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div> </div> - <div id="search"> + <div id="search"> <a class="full_list_link" id="class_list_link" href="class_list.html"> - Class List - </a> - - <a class="full_list_link" id="method_list_link" - href="method_list.html"> - Method List - </a> - - <a class="full_list_link" id="file_list_link" - href="file_list.html"> - File List + + <svg width="24" height="24"> + <rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect> + <rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect> + </svg> </a> </div> - <div class="clear"></div> - </div> + <div class="clear"></div> + </div> - <iframe id="search_frame"></iframe> + <iframe id="search_frame" src="file_list.html"></iframe> - <div id="content"><div id='filecontents'><h1><span class="caps">NEWS</span></h1> + <div id="content"><div id='filecontents'><h1><span class="caps">NEWS</span></h1> +<h2 id="1-0-4">1.0.4: 2016-12-07</h2> +<h3>Improvements</h3> +<ul> + <li>Supported <span class="caps">YARD</span> 0.9. <span class="caps">YARD</span> 0.8 or earlier isn’t supported.</li> +</ul> +<h2 id="1-0-3">1.0.3: 2016-11-14</h2> +<h3>Fixes</h3> +<ul> + <li>Avoided <span class="caps">YARD</span> 0.9. Packnga generates broken document with <span class="caps">YARD</span> 0.9 now.</li> +</ul> +<h2 id="1-0-2">1.0.2: 2016-01-22</h2> +<h3>Improvements</h3> +<ul> + <li>Stopped to require template files.</li> +</ul> +<h2 id="1-0-1">1.0.1: 2014-10-19</h2> +<h3>Improvements</h3> +<ul> + <li>Supported to keep existing translations. [groonga-dev,02689]</li> +</ul> +<h2 id="1-0-0">1.0.0: 2014-07-13</h2> +<h3>Improvements</h3> +<ul> + <li>Required gettext 3.1.3.</li> + <li>Migrated to “edit.po” style.</li> +</ul> +<h3>Fixes</h3> +<ul> + <li>Fixed a bug that <span class="caps">README</span> parameter value is reset when <span class="caps">README</span> file + doesn’t exist.</li> +</ul> +<h2 id="0-9-9">0.9.9: 2013-08-29</h2> +<h3>Improvements</h3> +<ul> + <li>Added missing dependencies for “release:references:upload” task.</li> +</ul> +<h2>0.9.8: 2013-06-07</h2> +<h3>Improvements</h3> +<ul> + <li>[ReferenceTask] Used <span class="caps">YARD</span> I18n feature for translating references. + For it, <span class="caps">YARD</span> 0.8.6.1 or later is required.</li> + <li>[ReferenceTask] Supported replacing filenames which aren’t + supported by GitHub Pages in “reference:publication:generate” task. + This task renames the fimename “_index.html” (methods list page) to + “alphabetical_index.html”, because GitHub Pages doesn’t support + files which their filenames start with “_”.</li> + <li>[ReferenceTask] Added the task (“release:references:upload”) to + copy generated references to a <span class="caps">HTML</span> directory. + A <span class="caps">HTML</span> directory, for example, is a repository of GitHub Pages. In + this case, this task is used to commit references to GitHub Pages.</li> + <li>[ReferenceTask] Dropped support to upload .htaccess.</li> + <li>[ReleaseTask] Used the version in your gemspec as a new version + when no version is specified as an argument by “release:info:update” + task. A new version is used to replace <span class="caps">HTML</span> index files.</li> +</ul> +<h3>Fixes</h3> +<ul> + <li>[ReferenceTask] Generated “reference path” correctly in merged PO + files. + “reference path” is a path of a file including translated message + (msgid) and it’s attached to its corresponded msgid.</li> + <li>[ReleaseTask] Removed needless replaces in <span class="caps">HTML</span> files in the + task “release:info:update”.</li> + <li>[ReferenceTask] Added missing description for the task + “reference:publication:generate” to generate references for + publication.</li> +</ul> <h2>0.9.7: 2012-12-26</h2> <h3>Improvements</h3> <ul> @@ -188,7 +253,6 @@ <h2>0.9.0: 2011-08-19</h2> <p>The first release!</p></div></div> - <div id="footer"></div> - + <div id="footer"></div> </body> </html> \ No newline at end of file -------------- next part -------------- HTML����������������������������... Descargar