Posted By: postmodern
Date: 2008-11-24 06:28
Summary: reverse-require 0.2.0 Released
Project: reverse-require
reverse-require version 0.2.0 has been released!
reverse_require will require all files ending with a specified path from
within previously installed RubyGems. By using reverse_require in your
code-base, it allows developers to extend the functionality of your
code-base, by merely adding specially named files to their own RubyGems.
Simply use reverse_require in the code-base that you'd like to be extendable:
reverse_require 'some/path'
The <tt>some/path.rb</tt> files within the <tt>lib/</tt> directories of
other RubyGems will then be loaded. This functionality makes designing
plug-in systems ontop of RubyGems trivial.
Changes:
### 0.2.0 / 2008-11-23
* Use the new Gem.find_files method provided by RubyGems >= 1.3.0. Using
Gem.find_files in reverse_require has greatly decreased the executation
time of reverse_require.
* Added the require_all method, which is an alias to reverse_require. |
|