olddoc user/dev discussion/patches/bugs/etc
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH] olddoc 1.0.1 - minor tweaks
@ 2015-01-10 22:24  6% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2015-01-10 22:24 UTC (permalink / raw)
  To: olddoc-public; +Cc: Eric Wong

* update show NEWS.atom.xml on the website, too
* class.rhtml: ensure space before "source" link
* class: deal with method.param_seq being nil
---
 lib/olddoc.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/olddoc.rb b/lib/olddoc.rb
index 7b8affa..779e02b 100644
--- a/lib/olddoc.rb
+++ b/lib/olddoc.rb
@@ -1,7 +1,7 @@
 # Copyright (C) 2015, all contributors <olddoc-public@80x24.org>
 # License: GPLv3 or later (https://www.gnu.org/licenses/gpl-3.0.txt)
 module Olddoc
-  VERSION = '1.0.0'
+  VERSION = '1.0.1'
 
   autoload :Gemspec, 'olddoc/gemspec'
   autoload :History, 'olddoc/history'
-- 
EW


^ permalink raw reply related	[relevance 6%]

* [PATCH] class: deal with method.param_seq being nil
@ 2015-01-10 22:23  7% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2015-01-10 22:23 UTC (permalink / raw)
  To: olddoc-public; +Cc: Eric Wong

---
 lib/oldweb/class.rhtml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/oldweb/class.rhtml b/lib/oldweb/class.rhtml
index acf4bd7..9f8aec3 100644
--- a/lib/oldweb/class.rhtml
+++ b/lib/oldweb/class.rhtml
@@ -41,7 +41,9 @@ id="<%= visibility %>-<%= type %>-<%= section.aref %>-method-details">
       %><pre id="<%= method.aref %>"><b><%
         if method.call_seq %><%= h method.call_seq.strip %><%
         else
-          %><%= h method.name %> <%= h method.param_seq.strip %><%
+          %><%= h method.name %><%=
+          seq = method.param_seq
+          seq ? " #{h(seq.strip)}" : "" %><%
         end %></b> <%= method_srclink(method) %></pre><%=
           method.comment ? method.description.strip : nd %><%
         if method.calls_super %>Calls superclass method<%=
-- 
EW


^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-01-10 22:23  7% [PATCH] class: deal with method.param_seq being nil Eric Wong
2015-01-10 22:24  6% [PATCH] olddoc 1.0.1 - minor tweaks Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/olddoc.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).