DNote 1.1.2

DNote v1.1.2

http://proutils.github.com/dnote/

Developer’s take note! All those “TODO” and “FIXME” notes floating
around your source code are rotting away. They are trapped and in
certain need of your attention.

But not to fret! DNote will help you liberate them. DNote will scan
your source code for labeled comments; collect, collate and sort them;
and then return them to you in a format of your choosing. Wunderbar!

== 1.1 / 2010-02-06

This release primarily adjusts the way output is rendered under-the-
hood. Serialization formats are rendered as before but markup formats
now use Erb. In the process two new serialization formats have been
added: soap and xoxo (you need the supporting libraries installed for
them to work).

Also, this release renames the lib/plugin directory to lib/plugins
(plural) per the new convention of the latest Plugin gem. This only
matters to Syckle users.

1.1.2 fixes indentions for rdoc and markdown formats and improves the
default textual output format.

El Domingo, 7 de Febrero de 2010, Intransition
escribió:> DNote v1.1.2

http://proutils.github.com/dnote/

Hi, a bug occurs when running it in Ruby1.9:

$ dnote .
/usr/local/lib/ruby1.9/gems/1.9.1/gems/dnote-1.1.2/bin/dnote:2:in
load': no such file to load -- dnote/command (LoadError) from /usr/local/lib/ruby1.9/gems/1.9.1/gems/dnote-1.1.2/bin/dnote:2:in<top (required)>’
from /usr/local/bin/dnote:19:in load' from /usr/local/bin/dnote:19:in

However it can be solved cy replacing in bin/dnote:

load “dnote/command”

with:

load “dnote/command.rb”

FYI. Just pushed out 1.1.3. There was a bug 1.1.2 where the binary was
using ‘load’ instead of ‘require’ and was not finding the dnote/
command file.

Thanks to Erik Ostrom for reporting this.

On Feb 7, 1:20 pm, Iñaki Baz C. [email protected] wrote:

    from /usr/local/lib/ruby1.9/gems/1.9.1/gems/dnote-1.1.2/bin/dnote:2:in

load “dnote/command.rb”
That would work too. Probably doesn’t matter, but to be certain, I’ll
pose the question: are there any good reasons to use #load in a bin
file instead of #require?

Thanks Iñaki.

El Domingo, 7 de Febrero de 2010, Intransition
escribió:> That would work too. Probably doesn’t matter, but to be certain, I’ll

pose the question: are there any good reasons to use #load in a bin
file instead of #require?

Take a look to this post explaining it:

http://www.fromjavatoruby.com/2008/10/require-vs-load.html

On Feb 7, 2:07 pm, Iñaki Baz C. [email protected] wrote:

El Domingo, 7 de Febrero de 2010, Intransition escribió:

That would work too. Probably doesn’t matter, but to be certain, I’ll
pose the question: are there any good reasons to use #load in a bin
file instead of #require?

Take a look to this post explaining it:

http://www.fromjavatoruby.com/2008/10/require-vs-load.html

Thanks. Basically reiterates what I already knew. But reading it again
helped clarify for me that require is the way to go.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs