Allow the star to be at any place of the sub_S directory.
While it only makes sense for GitHub tarballs, with Rails the star is
_not_ the last character in the string because we have to enter a
sub-directory.

Fix broken test for mislink with the new Ruby 1.9.2 ebuilds.
With 1.9.2 the sitedir is now the same between 1.8 and 1.9, so you
cannot just go look for all the extensions within that or you'll hit
the one for the other implementation as well. Instead use the
sitelibdir that encodes the version as well.
While at it, extend the test to the Gems-installed extensions, and
remove an awk call by using the --format option of scanelf.

Allow for standard depend syntax in the single parameter form of ruby_add_rdepend and ruby_add_bdepend.
Make the two parameters form throw a warning for gentoo developers only (for now), and call back the
single-parameter function after wrapping. Update documentation to only suggest using the new syntax.
This allows dropping _ruby_add_rdepend and _ruby_add_bdepend convenience functions, and rather adds a
_ruby_wrap_conditions function.

Change processing of atoms in ruby_add_rdepend and ruby_add_bdepend to
make it possible to process complex dependency strings, such as
|| ( virtual/ruby-test-unit dev-ruby/test-unit:2 )
which is going to be common for test-unit-2 compatible packages; to
have a proper dependency tree.
This, theorically, can also drop the need for the 2-ary calls for
ruby_add_bdepend and ruby_add_rdepend.

Create a special handling of S variable for github-based packages.
Since using GitHub is widely common for Ruby packages, especially
those not packaging the tests within the gem, we would be
reimplementing this so many times that it's worth special casing here.

Initial version of ruby-ng.eclass from our ruby-ng-testbed, as discussed on gentoo-dev.

This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.