pkgsrc/devel/ruby-rbx-require-relative/PLIST
taca 710dac3c5e Import ruby18-rbx-require-relative pacakge version 0.0.5.
It is required by new ruby-linecache package.

Ruby 1.9's relative_relative for Rubinus and MRI 1.8

Here we add in Module RequireRelative method: *require_relative*,
and *abs_file*.

Example:
require 'rubygems'; require 'require_relative'
require_relative './lib/foo'
absolute_path = RequireRelative.abs_file

But why *abs_file*? Well, recall that ==__FILE__== does not give an absolute
path. So if you have chdir'd before using ==__FILE__==, you might not be
able to retrieve the full path.
2011-06-19 10:32:17 +00:00

13 lines
412 B
Text

@comment $NetBSD: PLIST,v 1.1.1.1 2011/06/19 10:32:17 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/ChangeLog
${GEM_LIBDIR}/LICENSE
${GEM_LIBDIR}/NEWS
${GEM_LIBDIR}/README.textile
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/lib/require_relative.rb
${GEM_LIBDIR}/lib/version.rb
${GEM_LIBDIR}/test/bar.rb
${GEM_LIBDIR}/test/foo.rb
${GEM_LIBDIR}/test/test-rr.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec