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.
PR#44975 by David H. Gutteridge.
This module leverages Algorithm::Diff to let you compare the degree of
sameness of arrays or strings. It returns a result set that defines
exactly how similar these things are.
PR#44974 by David H. Gutteridge.
This module lets you test if two things are *approximately* equal. Yes,
that sounds a bit wrong at first - surely you know if they should be
equal or not? But there are actually valid cases when you don't/can't
know. This module is meant for those rare cases when close is good
enough.
- unit-tests/modts now works on MirBSD
- meta mode
- ApplyModifiers: when we parse a variable which is not the entire modifier
string, or not followed by ':', do not consider it as containing modifiers.
- when long modifiers fail to match, check sysV style.
- :hash - cheap 32bit hash of value
- :localtime, :gmtime - use value as format string for strftime.
- fix for use after free() in CondDoExists().
- boot-strap (TOOL_DIFF): aparently at least on linux distro
formats the output of 'type' differently - so eat any "()"
- correct sysV substitution handling of empty lhs and variable
- correct exists() check for dir with trailing /
- correct handling of modifiers for non-existant variables during evaluation
of conditionals.
- fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles
have been read.
- fix example of :? modifier in man page.
- sigcompat.c: convert to ansi so we can use higher warning levels.
- parse.c: SunOS 5.8 at least does not have MAP_FILE
- use mmap(2) if available, for reading makefiles
- to ensure unit-tests results match, need to control LC_ALL as well as LANG.
- if stale dependency is an IMPSRC, search via .PATH
- machine.sh: like os.sh, allow for uname -p producing useless drivel
- boot-strap: document configure knobs for meta and filemon.
- unit-tests/modts now works on MirBSD
- meta mode
- ApplyModifiers: when we parse a variable which is not the entire modifier
string, or not followed by ':', do not consider it as containing modifiers.
- when long modifiers fail to match, check sysV style.
- :hash - cheap 32bit hash of value
- :localtime, :gmtime - use value as format string for strftime.
- fix for use after free() in CondDoExists().
- boot-strap (TOOL_DIFF): aparently at least on linux distro
formats the output of 'type' differently - so eat any "()"
- correct sysV substitution handling of empty lhs and variable
- correct exists() check for dir with trailing /
- correct handling of modifiers for non-existant variables during evaluation
of conditionals.
- fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles
have been read.
- fix example of :? modifier in man page.
- sigcompat.c: convert to ansi so we can use higher warning levels.
- parse.c: SunOS 5.8 at least does not have MAP_FILE
- use mmap(2) if available, for reading makefiles
- to ensure unit-tests results match, need to control LC_ALL as well as LANG.
- if stale dependency is an IMPSRC, search via .PATH
- machine.sh: like os.sh, allow for uname -p producing useless drivel
- boot-strap: document configure knobs for meta and filemon.
This is only works with Ruby on Rails 2.
RSpec is a Behaviour Driven Development framework for Ruby. It provides
two frameworks for writing and executing examples of how your Ruby
application should behave:
* a Story Framework for describing behaviour at the application level
* a Spec Framework for describing behaviour at the object level
=== Version 1.3.2 / 2011-04-11
* Enhancements
* Raise a meaningful error when an argument-scoped stub is called with the
wrong args (Alexey)
* Dev: ignore .rbc files (Myron Marston)
* Bug fixes
* Fix regression in which an expectation should return the value from a
previously defined stub of the same method (Tom Stuart)
* Support heckling class methods (Dan Kubb)
* Only try to pass messages to the superclass if the superclass responds to
the method (Andrew Selder)
v0.6.2 Remove lingering thrift v0.5.0 reference.
v0.6.1 Add connect timeout. Bump thrift dependency to ~> v0.6.0.
v0.6.0 Fix bug where we'd try to mark the current server down when we didn't have a current server.
Upgrade to thrift 0.5.
v0.5.0 Add support for wrapping exceptions, so that Thrift::Foo can become Greeter::Foo.
Make server_retry_period work the way you expect.
Better bookkeeping around marking servers as dead.
v0.4.7 fix thrift gem dependency
== 1.6.4 - 20-Jan-2011
* Explicitly remove the Pathname const if it is already defined in order
to avoid a superclass mismatch error. This library assumes that if you
require pathname2, you want my version of the Pathname class.
* Updated URI handling for Ruby 1.9.x.
* Added the Pathname() method, a synonym for Pathname.new.
* Some Rakefile and gemspec tweaks.
* Some updates to the test suite, including some specifically for Windows 7.
= 0.9.12 ()
* Make Mocha's tests pass under Ruby 1.9.2 i.e. using MiniTest. One of the main issues was that we were not parsing stacktraces on MiniTest errors comprehensively enough.
* Avoid 'circular require considered harmful' warning when running Mocha's tests in Ruby 1.9.2
* Make performance tests work on Ruby 1.9.2 i.e. using MiniTest.
* Declare rake as a *development* dependency with newer versions of Rubygems since it's only needed to carry out developer-related tasks.
= 0.9.11 (1613ed2267fef5927ea06adfdbcf512b89eadaad)
* Added explicit support for minitest v1.5.0 to v2.0.2.
* Make testable by rubygems-test.
* Update links to my blog and make other links consistent.
* Added a URI parameter matcher that ignores the order of query parameters so that tests can be independent of undefined hash ordering (patch by Paul Battley).
* Include unexpected invocation in failure message and change the language slightly to make the failure message less confusing. See http://floehopper.lighthouseapp.com/projects/22289/tickets/52.
* No need to create regular expression every time the BacktraceFilter#filtered method is called. See http://floehopper.lighthouseapp.com/projects/22289-mocha/tickets/66.
= Change Log
Below is a complete listing of changes for each revision of HighLine.
== 1.6.2
* Correctly handle STDIN being closed before we receive any data (fix by
mleinart).
* Try if msvcrt, if we can't load crtdll on Windows (fix by pepijnve).
* A fix for nil_on_handled not running the action (reported by Andrew Davey).
= FlexMock 0.9.0 Released
FlexMock is a flexible mocking library for use in unit testing and
behavior specification in Ruby. Release 0.8.5 is a minor release with
a few bug fixes.
== Ruby 1.9.3 Compatibility
* Fixed a number of minor warnings reported by the 1.9.3 version of Ruby.
=== 2.9.4 / 2011-04-01
* 1 minor enhancement:
* check_manifest now fails when there is a diff. AKA, drbrain was
lazy and it is somehow my fault. If anything, it is jbarnette's
fault for not building any brains into hoe-git the way that my
hoe-perforce plugin works. I mean, c'mon... how hard is it to
validate the manifest before you release? I do it all the time
and twice on sundays. BAH! Damn kids! Get off my lawn!
=== 2.9.3 / 2011-04-01
* 1 minor enhancement:
* Cleanup for rubygems 1.7 deprecations
=== 2.9.2 / 2011-03-31
* 7 minor enhancements:
* Added :none as a testlib option to let you do whatever you want. (phiggins)
* Added Hoe#dependency(name, version, type = :runtime) for cleaner hoe specs.
* Added NOSUDO option to `rake gem_install`. (nihildeb)
* Include Rake::DSL to support future versions of rake
* Multiruby now skips mri_trunk if multiruby_skip includes 1.9
* Test#make_test_cmd now sorts test files (mostly for testing)
* Try using psych before syck.
* 3 bug fixes:
* Clean generated extension library too
* Fixed a bug with sow -d or -t
* Fixed plugin activation via ~/.hoerc. (ged)
This is newer version of rdoc which bundled with ruby18-base/ruby19-base.
It is expected to use instead of those bundled version since some ruby
packages require newer version of rdoc command (especially ruby18-base).
RDoc produces HTML and command-line documentation for Ruby projects. RDoc
includes the +rdoc+ and +ri+ tools for generating and displaying online
documentation.
Generate catalog file in ${DESTDIR}, then package it. This should
work, because the catalog file (${PREFIX}/share/guile/1.8/slibcat)
is only provided for slib to know what interpreter is using slib;
i.e., the file is written once at installation.
(Let's see if this theory is correct. If not, we'll revisit this.)
Reviewed By: gdt (maintainer)
The mr(1) command can checkout, update, or perform other actions
on a set of repositories as if they were one combined respository.
It supports any combination of subversion, git, cvs, mercurial,
bzr, darcs, cvs, and fossil repositories, and support for other
revision control systems can easily be added. (There are extensions
adding support for unison and git-svn.)
It is extremely configurable via simple shell scripting. Some
examples of things it can do include:
* Update a repository no more frequently than once every twelve hours.
* Run an arbitrary command before committing to a repository.
* When updating a git repository, pull from two different upstreams
and merge the two together.
* Run several repository updates in parallel, greatly speeding up
the update process.
* Remember actions that failed due to a laptop being offline, so
they can be retried when it comes back online.
Experimental version released on June 14th, 2011.
* Added a pkg-config file for atf-sh and an aclocal file to ease the
detection of atf-sh from autoconf scripts.
* Made the default test case body defined by atf_sh fail. This is to
ensure that test cases are properly defined in test programs and helps
in catching typos in the names of the body functions.
* PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero.
This provides more consistent results with "normal" execution (in
particular, when tests are executed detached from a terminal).
* Made atf-run hardcode TZ=UTC for test cases. It used to undefine TZ, but
that does not take into account that libc determines the current timezone
from a configuration file.
* All test programs will now print a warning when they are not run through
atf-run(1) stating that this is unsupported and may deliver incorrect
results.
* Added support for the 'require.files' test-case property. This allows
test cases to specify installed files that must be present for the test
case to run.
And, while doing this, add a buildlink3.mk file.