Port details |
- rubygem-mocha Library for mocking and stubbing syntax like JMock and SchMock
- 2.7.1 devel
=2 2.5.0Version of this port present on the latest quarterly branch. - Maintainer: ruby@FreeBSD.org
 - Port Added: 2008-04-21 02:38:00
- Last Update: 2025-01-02 16:43:41
- Commit Hash: 9fed6a4
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: rubygems
- License: BSD2CLAUSE RUBY MIT
- WWW:
- https://mocha.jamesmead.org/
- https://github.com/freerange/mocha
- Description:
- Mocha is a library for mocking and stubbing using a syntax like that
of JMock, and SchMock. One of its main advantages is that it allows
you to mock and stub methods on real (non-mock) classes and instances.
 ¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- rubygem-mocha>0:devel/rubygem-mocha
- To install the port:
- cd /usr/ports/devel/rubygem-mocha/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/rubygem-mocha
- pkg install rubygem-mocha
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: rubygem-mocha
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1735792389
SHA256 (rubygem/mocha-2.7.1.gem) = 8f7d538d5d3ebc75fc788b3d92fbab913a93a78462d2a3ce99d1bdde7af7f851
SIZE (rubygem/mocha-2.7.1.gem) = 69632
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Runtime dependencies:
-
- rubygem-ruby2_keywords>=0.0.5 : devel/rubygem-ruby2_keywords
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
- Patch dependencies:
-
- ruby32 : lang/ruby32
- gem : devel/ruby-gems
-
- This port is required by:
- for Run
-
- www/redmine51
- www/redmine60
- www/rubygem-rfacebook
Configuration Options:
- No options to configure
- Options name:
- devel_rubygem-mocha
- USES:
- gem
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
2.7.1 02 Jan 2025 16:43:41
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.7.1
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.5.0 26 Oct 2024 23:29:39
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.5.0
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.4.5 29 Jul 2024 12:41:21
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.4.5
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.4.4 24 Jul 2024 21:17:40
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.4.4
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.4.3 24 Jul 2024 11:45:35
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.4.3
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.4.2 18 Jul 2024 18:34:29
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.4.2
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.4.1 18 Jul 2024 16:47:53
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.4.1
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.4.0 18 Jun 2024 14:27:01
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.4.0
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.3.0 19 May 2024 22:13:54
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.3.0
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.2.0 13 Apr 2024 09:31:49
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.2.0
- Update WWW
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.1.0 16 Aug 2023 18:26:24
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.1.0
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.0.4 09 Jul 2023 10:28:30
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.0.4
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.0.3 30 Jun 2023 07:08:18
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.0.3
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
2.0.2 30 Jan 2023 13:02:25
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 2.0.2
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
1.16.1 14 Jan 2023 23:08:33
    |
Muhammad Moinur Rahman (bofh)  |
Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
Notable changes are.
- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.
This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863
I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.
Approved by: portmgr
Differential Revision: https://reviews.freebsd.org/D37925 |
1.16.1 30 Dec 2022 09:06:13
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 1.16.1
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
1.15.0 03 Oct 2022 17:11:09
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 1.15.0
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.14.0 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.14.0 20 Jul 2022 14:21:35
    |
Tobias C. Berner (tcberner)  |
devel: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Waitman Gobble" <uzimac@da3m0n8t3r.com>
* <jkoshy@FreeBSD.org>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron H. K. Diep <ahkdiep@gmail.com>
* Aaron Hurt <ahurt@anbcs.com>
* Abel Chow <abel_chow@yahoo.com>
* Adam McLaurin
* Adam Saponara <as@php.net>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
1.14.0 26 Apr 2022 16:36:10
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 1.14.0
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
1.13.0 06 Jul 2021 14:59:41
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 1.13.0
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
1.12.0 30 Jun 2021 20:44:18
    |
Po-Chuan Hsieh (sunpoet)  |
devel/rubygem-mocha: Update to 1.12.0
Changes: https://github.com/freerange/mocha/blob/main/RELEASE.md |
1.11.2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.11.2 23 Aug 2020 19:45:20
  |
sunpoet  |
Update to 1.11.2
Changes: https://github.com/freerange/mocha/blob/master/RELEASE.md |
1.9.0 07 Jul 2019 19:15:43
  |
sunpoet  |
Update to 1.9.0
- Update WWW
Changes: https://github.com/freerange/mocha/blob/master/RELEASE.md |
1.7.0 14 Nov 2018 09:30:23
  |
amdmi3  |
- Update WWW
Approved by: portmgr blanket |
1.7.0 11 Aug 2018 14:17:20
  |
sunpoet  |
Update to 1.7.0
Changes: https://github.com/freerange/mocha/blob/master/RELEASE.md |
1.6.0 31 Jul 2018 23:48:24
  |
sunpoet  |
Update to 1.6.0
Changes: https://github.com/freerange/mocha/blob/master/RELEASE.md |
1.5.0 08 Apr 2018 18:29:53
  |
sunpoet  |
Update to 1.5.0
Changes: https://github.com/freerange/mocha/blob/master/RELEASE.md |
1.4.0 21 Mar 2018 19:03:29
  |
sunpoet  |
Update to 1.4.0
Changes: https://github.com/freerange/mocha/blob/master/RELEASE.md |
1.3.0 25 Aug 2017 18:21:38
  |
sunpoet  |
Update to 1.3.0
Changes: https://github.com/freerange/mocha/blob/master/RELEASE.md |
1.2.1 11 Feb 2017 08:37:59
  |
sunpoet  |
Update to 1.2.1
- Update LICENSE
- Update RUN_DEPENDS
Changes: https://github.com/freerange/mocha/blob/master/RELEASE.md |
0.14.0 27 Apr 2016 21:57:32
  |
swills  |
Convert USES=gem:autoplist to USES=gem since autoplist is default |
0.14.0 27 Apr 2016 16:36:42
  |
swills  |
create USES=gem and update rubygem- ports to use it
Note that for now ports still have to have USE_RUBY=yes to use USES=gem
PR: 209041
Differential Revision: https://reviews.freebsd.org/D6070 |
0.14.0 01 Apr 2016 14:00:57
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight |
0.14.0 02 Jul 2015 16:01:08
  |
pgollucci  |
Set NO_ARCH for remaining rubygem-* ports with no arch dependent files
Obtained from: DEVELOPER_MODE
With Hat: ruby@
Sponsored by: RideCharge Inc / Curb |
0.14.0 30 May 2015 23:10:55
  |
sunpoet  |
- Add LICENSE
- Remove USE_RAKE
- Update WWW |
0.14.0 19 Aug 2014 15:35:36
  |
swills  |
many ruby/rubygem ports: death of rubyforge.org
rubyforge.org shutdown on May 15, 2014. This commit accounts for that by doing
several things:
- Deprecate ruby that had only rubyforge.org as MASTER_SITES (and so are now
only fetchable via our cache)
- Deprecate ports that depend on those
- Update the WWW pkg-descr line that points to rubyforge.org for rubygem ports
(which are still fetchable from rubygems.org)
The next step will be to remove rubyforge.org from bsd.sites.mk, after these
deprecated ports are deleted.
Phabric: D591
With hat: ruby
Approved by: portmgr (because of committing to unstaged graphics/mingplot port) |
0.14.0 10 Jun 2014 07:39:02
  |
olgeni  |
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.
CR: D196
Approved by: portmgr (bapt) |
0.14.0 30 Oct 2013 02:39:15
  |
swills  |
- Add stage support |
0.14.0 20 Sep 2013 17:17:45
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 4) |
0.14.0 21 Jul 2013 19:08:40
  |
swills  |
- Update to 0.14.0 |
0.9.12 25 Jul 2012 06:32:08
 |
cs  |
Fix typos in COMMENT |
0.9.12 18 Feb 2011 08:41:32
 |
wen  |
- Update to 0.9.12 |
0.9.10 08 Dec 2010 20:06:11
 |
pgollucci  |
- Update to 0.9.10
With Hat: ruby@
Sponsored by: RideCharge Inc. / TaxiMagic |
0.9.9 07 Dec 2010 19:19:15
 |
linimon  |
With portmgr hat, reassign these from clsung (who is apparently having
email troubles) to ruby@. |
0.9.9 23 Nov 2010 07:19:31
 |
pgollucci  |
- Update to 0.9.9
Sponsored by: RideCharge Inc. / TaxiMagic |
0.9.8 20 Oct 2010 01:35:47
 |
pgollucci  |
- Mass fixup of WWW: lines pkg-descr based on rubygems.org Homepage meta info
Prompted by: distilator
With Hat: ruby@
Sponsored by: RideCharge Inc. / TaxiMagic |
0.9.8 26 May 2010 19:51:35
 |
pgollucci  |
- Mass conversion of RF -> RG for MASTER_SITE for rubygem- ports
[RG aka rubygems.org]
PR: ports/147005
Submitted by: pgollucci (myself)
Approved by: portmgr (pav)
With Hat: ruby@ |
0.9.8 22 Oct 2009 08:36:19
 |
clsung  |
- Update to 0.9.8 |
0.9.7 07 Jul 2009 02:25:31
 |
clsung  |
- Updaet to 0.9.7 |
0.9.5 09 Apr 2009 00:11:47
 |
pgollucci  |
- convert to RUBYGEM_AUTOPLIST
remove x-generate-plist and friends
- use RF macro and remove SUBDIR where possible
- remove some uneeded GEM_NAME=${DISTNAME}
(this c/should be handled better in bsd.*.mk)
other deltas specific to individual ports:
audio/rubygem-mp3info - unbreak, fix packaging, bump PORTREVISION
devel/rubygem-rapt - adopt
devel/rubygem-rspec - remove BUILD_DEPENDS=RUN_DEPENDS -- neither set
devel/rubygem-ruby2ruby - add #' for vim highlight
graphics/rubygem-extifr - drop PORTREVISION=0
graphics/rubygem-gd2 - add #' for vim highlight
www/rubygem-rubyfulsoup - swap GEM_NAME / DISTNAME for constistency
Sponsored by: RideCharge Inc.
Tested on: RideCharge's Tinderbox
Reviewed by: stas |
0.9.5 02 Feb 2009 08:05:12
 |
clsung  |
- Update to 0.9.5 |
0.9.1 26 Sep 2008 09:24:47
 |
clsung  |
- Update to 0.9.1 |
0.9.0 27 Aug 2008 03:17:50
 |
clsung  |
- Update to 0.9.0 |
0.5.6 21 Apr 2008 02:37:21
 |
clsung  |
Mocha is a library for mocking and stubbing using a syntax like that
of JMock, and SchMock. One of its main advantages is that it allows
you to mock and stub methods on real (non-mock) classes and instances.
WWW: http://mocha.rubyforge.org/ |