Magic/help 0.20061226.1123 released

I’ve just released new version of magic/help - plugin for irb
providing more intuitive
documentation access by heavy use of reflection.

magic/help lets you ask for methods located anywhere in the class
hierarchy:

help “File.sync=” # returns documentation for IO#sync=
or even ask for help on arbitrary objects:
help { some_file_obj.sync = true }
help some_file_obj.method(:sync=)

Changes in the release include:

  • Correct handling of all cases where documentation and reflection
    mismatched,
    including Kernel# vs Object# (where methods were declared and where
    documentation
    claimed they were declared frequently mismatched), SomeClass.new (most
    classes
    do not override Class.new, but still provide documentation).
  • Improvements in handling private methods, methods from modules,
    unloaded methods
    from loaded classes (like Time without time.rb), and many more
  • A gem for the library

Full release notes for the new version:

For simply downloading the gem:

By the way, what should I do to get my gems onto default gem repository
? :slight_smile:

On Wed, 2006-12-27 at 00:21 +0900, Tomasz W. wrote:

I’ve just released new version of magic/help - plugin for irb
providing more intuitive
documentation access by heavy use of reflection.

Nice :slight_smile:

By the way, what should I do to get my gems onto default gem repository ? :slight_smile:

Create a project at rubyforge and upload the files there.

Andre

On Dec 26, 2006, at 7:21 AM, Tomasz W. wrote:

Nice project!! Too bad I won’t use it until it is a full fledged gem.

For simply downloading the gem:

By the way, what should I do to get my gems onto default gem
repository ? :slight_smile:

Yes, as Andre pointed out. Create a project on rubyforge. This is the
easiest way and there are a lot of benefits:

  • bug tracker (this is probably the most important imo).
  • mailing lists.
  • cvs/svn hosting if you are so inclined. (our projects use perforce
    and mirror to svn)
  • public announcements with RSS feeds.
  • web space for your doco.
  • wiki full of spam :slight_smile:
  • people can find your stuff since it is the first place to go to
    find ruby related things.

On Wed, 2006-12-27 at 05:16 +0900, Ryan D. wrote:

  • wiki full of spam :slight_smile:

Sad but true! But at least now if the Wiki isn’t selected it doesn’t
get created and spammed…

Speaking of which, if anyone has a RubyForge project and you’ve enabled
but are no longer using a Wiki, please go into the project admin pages
and disable it. You will reduce the entropy of the universe!

Thanks,

Tom