Forum: Ruby Rant 0.5.2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2d532341317628fbb2cb22ec427a1d62?d=identicon&s=25 Stefan Lang (Guest)
on 2005-12-12 20:16
(Received via mailing list)
Rant is a flexible build tool written entirely in Ruby,
similar to Rake.

== What's new in this release?

* Gems created with Ruby 1.8.3 won't work with other
  Ruby versions (because of a YAML bug). This no longer
  affects gems created with Rant's RubyPackage task.
  Documentation:
    http://make.rubyforge.org/files/doc/rubyproject_rdoc.html

* Rework of Rant's FileList class. You can use it as "normal"
  Ruby library now. Below is an example.
  Documentation:
    http://make.rubyforge.org/files/doc/filelist_rdoc.html

For more details read http://make.rubyforge.org/files/NEWS.html

== Installing Rant

You can install Rant as a RubyGem:

    % gem install --remote rant

or download the package from
RubyForge(http://rubyforge.org/frs/?group_id=615)
and install with install.rb:

    % ruby install.rb

== Rant::FileList example

You can use Rant's FileList class as library in your Ruby app/library.
Example usage:

    # The next two statements are required if Rant was
    # installed as a RubyGem.
    #require "rubygems"
    #require_gem "rant"

    require "rant/filelist"

    # Iterate over all files in the current directory and its
    # subdirectories, skipping backup files (filenames ending
    # in ~ or .bak).
   
    Rant::FileList.glob_all "**/*" do |fl|
        fl.exclude "*~", "*.bak"
        fl.files.each { |filename|
            # do something with the file "filename"
        }
    end

== Resources

Homepage:: http://make.ruby-co.de
Rubyforge page:: http://rubyforge.org/projects/make/
Mailing list:: http://rubyforge.org/mailman/listinfo/make-cafe
Repository:: http://developer.berlios.de/svn/?group_id=5046
Rake/Rant comparison::
  http://make.rubyforge.org/files/doc/rant_vs_rake_rdoc.html

Naming suggestions, feature requests for further Rant development,
etc. are welcome!
This topic is locked and can not be replied to.