7647cb15c1
* Now installable with ruby19 or ruby193. = Rake Changelog == Master (for 0.9.3) * The rake test loader now removes arguments it has processed. Issue #51 * Rake::TaskArguments now responds to #values_at * RakeFileUtils.verbose_flag = nil silences output the same as 0.8.7 * Rake tests are now directory-independent * Rake tests are no longer require flexmock * Commands constant is no longer polluting top level namespace. == Version 0.9.2 * Unknown == Version 0.9.1 * Added deprecation warnings to the Rake DSL methods. == Version 0.9.0 * *Incompatible* *change*: Rake DSL commands ('task', 'file', etc.) are no longer private methods in Object. If you need to call 'task :xzy' inside your class, include Rake::DSL into the class. The DSL is still available at the top level scope (via the top level object which extends Rake::DSL). * Rake now warns when the deprecated :needs syntax used. * Rake history is now UTF-8 encoded. * Rake now uses case-insensitive comparisons to find the Rakefile on Windows. Based on patch by Roger Pack. * Rake now requires (instead of loads) files in the test task. Patch by Cezary Baginski. * Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow. * Rake now prints the Rakefile directory only when it's different from the current directory. Patch by Alex Chaffee. * Improved rakefile_location discovery on Windows. Patch by James Tucker. * Rake now recognizes "Windows Server" as a windows system. Patch by Matthias Lüdtke * Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require 'rdoc/task') * Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require 'rubygems/package_task') * Rake now outputs various messages to $stderr instead of $stdout. * Rake no longer emits warnings for Config. Patch by Santiago Pastorino. * Split rake.rb into individual files. * Support for the --where (-W) flag for showing where a task is defined. * Fixed quoting in test task. (http://onestepback.org/redmine/issues/show/44, http://www.pivotaltracker.com/story/show/1223138) * Fixed the silent option parsing problem. (http://onestepback.org/redmine/issues/show/47) * Fixed :verbose=>false flag on sh and ruby commands. * Rake command line options may be given by default in a RAKEOPT environment variable. * Errors in Rake will now display the task invocation chain in effect at the time of the error. * Accepted change by warnickr to not expand test patterns in shell (allowing more files in the test suite). * Fixed that file tasks did not perform prereq lookups in scope (Redmine #57).
19 lines
524 B
Text
19 lines
524 B
Text
# $NetBSD: INSTALL,v 1.1 2012/03/17 13:57:59 taca Exp $
|
|
|
|
GEMSPEC="@PREFIX@/@GEM_HOME@/specifications/@GEM_NAME@.gemspec"
|
|
RAKE_HACK="@RAKE_HACK@"
|
|
RAKE_BIN="@PREFIX@/bin/rake@RUBY_VER@"
|
|
RAKE_BIN_HACK="@PREFIX@/bin/@RAKEBIN@"
|
|
|
|
case ${STAGE} in
|
|
POST-INSTALL)
|
|
if [ "${RAKE_HACK}" -a -f ${GEMSPEC} ]; then
|
|
${MV} ${GEMSPEC} ${GEMSPEC}.orig
|
|
${MV} ${GEMSPEC}${RAKE_HACK} ${GEMSPEC}
|
|
fi
|
|
if [ "${RAKE_BIN}" != "${RAKE_BIN_HACK}" ]; then
|
|
${MV} ${RAKE_BIN} ${RAKE_BIN_HACK}.save
|
|
${MV} ${RAKE_BIN_HACK} ${RAKE_BIN}
|
|
fi
|
|
;;
|
|
esac
|