Commit Graph

15 Commits

Author SHA1 Message Date
jeremy
c3579f1baf Bump revisions for ruby gem/extconf ports after the switch to ruby 1.9
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
2012-09-23 16:57:32 +00:00
jeremy
c51e7f8fd5 Update ruby-mocha to 0.9.12, since some dependent ports require
functionality not in 0.9.7.
2011-11-17 15:41:11 +00:00
espie
c5a475ebe0 normalize pkgpath 2011-09-16 09:24:48 +00:00
jeremy
4f9664ab00 REVISION bump for rbx FLAVOR PLIST change.
OK landry@
2011-01-06 04:24:22 +00:00
jeremy
a8bf115817 REVISION bump all ruby ports due to a change in the pkgspec.
Previously, we were using ruby->=1.8,<=1.9, instead of
ruby->=1.8,<1.9.  While this wouldn't cause an issue, since
our ruby-1.9.2 package isn't included in ruby->=1.8,<=1.9,
it's still wrong and should be fixed.  This also fixes the
following minor issues:

Switch from using FLAVOR to MODRUBY_FLAVOR for *_DEPENDS.
Currently we don't have a ruby port that uses FLAVORs that
would differ from MODRUBY_FLAVOR, but it's possible we will
in the future.

Switch from BASE_PKGPATH to BUILD_PKGPATH in a few cases in
REGRESS_DEPENDS.  This probably is not strictly necessary, but
BUILD_PKGPATH is used in more cases, so it is good for
consistency.

Switch to new style *_DEPENDS, with the version specification
at the end.  The remaining cases where this is not done is
because a specific version is used.

Some FULLPKGNAME added to REGRESS_DEPENDS, to make sure that if
the old version is installed when you run a regress test, it
will install the new version first.

Some conversion of spaces to tabs for consistency.

OK landry@
2010-11-24 21:35:13 +00:00
jeremy
f4542e4eb3 REVISION bumps for most ruby ports after the ruby.port.mk update.
PKG_ARCH = * removed from many ports as it is added automatically
for pure ruby gem ports.  Switch ports that previously used
GEM_SKIPDEPENDS to adding dependencies or modifying the underlying
gem metadata with patches.

OK landry@
2010-11-08 23:28:53 +00:00
jeremy
82143f7987 Remove MASTER_SITES from most ruby gem ports, specify it in ruby.port.mk
All ruby .gem files are now hosted on rubygems.org in the same
directory.  If the ruby gem CONFIGURE_STYLE is used, make the
default MASTER_SITES that directory.

There are still a few uses of MASTER_SITE_RUBYFORGE in the tree, for
some ports that aren't gems, or where the .gem file isn't hosted on
rubygems.org, or where the hashes don't match.  Most of these will be
dealt with in the near future.

OK landry@
2010-09-28 20:12:16 +00:00
jeremy
d765f5df76 Bump all ruby ports not already handled.
In the upgrade from ruby 1.8.6 to 1.8.7, the PLISTs changed
due to differences in how RDoc processes files.

This also has a number of changes to the regress tests to
work with the changes to devel/ruby-rake.  It moves most of
the regress tests to use MODRUBY_REGRESS.

OK jcs@, landry@, jasper@, sthen@
2010-09-23 22:30:24 +00:00
bernd
49a7bb2025 Update to ruby-mocha-0.9.7 and use MODRUBY_REGRESS. 2009-08-20 22:02:53 +00:00
bernd
1db02791b0 Update to ruby-mocha-0.9.5. 2009-02-01 13:37:36 +00:00
bernd
7b95528cd3 Update to ruby-mocha-0.9.4. 2009-01-24 17:52:35 +00:00
bernd
2dbb6c7f2e Update to ruby-mocha-0.9.1. 2008-10-24 22:25:59 +00:00
bernd
9aa01fc0f7 Update to ruby-mocha-0.9.0. 2008-07-26 11:55:56 +00:00
landry
ff2d68af50 bump PKGNAMEs after lang/ruby module change.
Fix CATEGORIES in rdt eclipse plugin.
in subversion, only bump subpackages that use lang/ruby module.
2008-06-14 23:46:37 +00:00
bernd
812a506837 Initial import of ruby-mocha-0.5.6.
Mocha is a library for mocking and stubbing using a syntax like that of
JMock, and SchMock. Most commonly Mocha is used in conjunction with
Test::Unit, but it can be used in other contexts.

One of its main advantages is that it allows you to mock and stub methods
on real (non-mock) classes and instances. You can for example stub
ActiveRecord instance methods like create, save, destroy and even class
methods like find to avoid hitting the database in unit tests.

Mocha provides a unified, simple and readable syntax for both traditional
mocking and for mocking with real objects.
2008-02-02 11:08:45 +00:00