| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since we have a few packages that can only be installed for JRuby, and
that thus wouldn't work with any of the selected implementations, and
a few that installs only for Ruby 1.8 (and thus would break if 1.9 was
selected), try to reduce their impact by only producing generic
wrappers when installing for multiple implementations.
This should produce a totally working system after updating from 1.9,
among other things.
To make sure that the wrappers generated by different revisions of
ruby-fakegem.eclass are properly identified, also add the CVS ID of
the eclass in the comments of the generated wrapper.
At the same time add the same specification about generation to the
gemspec files, so that we can identify “older” specifications quickly.
|
|
|
|
| |
pre-release mangling (_pre becomes .pre).
|
|
|
|
| |
them to avoid generating invalid ruby code. Fixes #304723.
|
|
|
|
|
|
|
| |
With this change you won't get further output during test phase if
there is no fakegem test going to be executed. Packages will still be
able to inject their each_ruby_test function to run custom test
commands.
|
|
|
|
|
|
| |
with just a basename for the wrapped tool.
Thanks to Klaus Birkelund Jensen for reporting, in bug #301621.
|
|
|
|
| |
rather than just directories
|
|
|
|
| |
RUBY_FAKEGEM_REQUIRE_PATHS.
|
|
|
|
| |
This is the case of the pg gem for instance.
|
|
|
|
| |
RedCloth.
|
| |
|
|
|
|
|
| |
This way to just add command wrapping we won't be needing to define a function.
This also defaults, the same as original rubygems, to all the binaries installed, but it can be tweaked.
|
|
|
|
|
|
|
|
|
|
| |
Instead of using the Gem code to find the gem itself (which only
worked for gems whose library was named after the gem, and failed for
spec and other packages), ask Gem for its system path (which will be
dynamic depending on the Ruby implementation used) and affix the
hardcoded relative path of the wrapper (which we know at merge time).
Tested with rake, bluecloth, rspec, Ruby 1.8, 1.9 and JRuby.
|
| |
|
| |
|
| |
|
|
|