notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

Port details
rubygem-mocha Library for mocking and stubbing syntax like JMock and SchMock
2.1.0 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.1.0Version of this port present on the latest quarterly branch.
Maintainer: ruby@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2008-04-21 02:38:00
Last Update: 2023-08-16 18:26:24
Commit Hash: ef85d76
Also Listed In: rubygems
License: BSD2CLAUSE RUBY MIT
WWW:
https://mocha.jamesmead.org/
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. /usr/local/share/licenses/rubygem-mocha-2.1.0/catalog.mk
  2. /usr/local/share/licenses/rubygem-mocha-2.1.0/LICENSE
  3. /usr/local/share/licenses/rubygem-mocha-2.1.0/BSD2CLAUSE
  4. /usr/local/share/licenses/rubygem-mocha-2.1.0/RUBY
  5. /usr/local/share/licenses/rubygem-mocha-2.1.0/MIT
Collapse this list.
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 = 1691070486 SHA256 (rubygem/mocha-2.1.0.gem) = f98757589e417b492383592ca6a3d7a98ed367a2289c797d13c120b522a25453 SIZE (rubygem/mocha-2.1.0.gem) = 65536

Packages (timestamps in pop-ups are UTC):
rubygem-mocha
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.1.02.1.01.11.22.1.02.1.0-1.11.2-
FreeBSD:13:quarterly2.1.02.1.02.0.32.1.02.1.02.1.02.1.02.1.0
FreeBSD:14:latest2.1.02.1.01.16.12.1.02.1.02.0.2-2.0.2
FreeBSD:14:quarterly2.1.02.1.0-2.1.02.1.02.1.02.1.02.1.0
FreeBSD:15:latest2.1.02.1.0n/a2.1.0n/a2.1.02.1.02.1.0
FreeBSD:15:quarterly--n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. ruby31 : lang/ruby31
  2. gem : devel/ruby-gems
Runtime dependencies:
  1. rubygem-ruby2_keywords>=0.0.5 : devel/rubygem-ruby2_keywords
  2. ruby31 : lang/ruby31
  3. gem : devel/ruby-gems
Patch dependencies:
  1. ruby31 : lang/ruby31
  2. gem : devel/ruby-gems
Extract dependencies:
  1. ruby31 : lang/ruby31
This port is required by:
for Run
  1. 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:
Expand this list (1 items)
Collapse this list.
  1. https://rubygems.org/downloads/
Collapse this list.

Number of commits found: 47

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.1.0
16 Aug 2023 18:26:24
commit hash: ef85d769658946aa777e36c061a291ddf43aaadccommit hash: ef85d769658946aa777e36c061a291ddf43aaadccommit hash: ef85d769658946aa777e36c061a291ddf43aaadccommit hash: ef85d769658946aa777e36c061a291ddf43aaadc files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 0032508f8e6b790cf1f50092ff8952139a08f5f9commit hash: 0032508f8e6b790cf1f50092ff8952139a08f5f9commit hash: 0032508f8e6b790cf1f50092ff8952139a08f5f9commit hash: 0032508f8e6b790cf1f50092ff8952139a08f5f9 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 7a2a629d9a0f7f75d776bc48b61da3ab6ed36b67commit hash: 7a2a629d9a0f7f75d776bc48b61da3ab6ed36b67commit hash: 7a2a629d9a0f7f75d776bc48b61da3ab6ed36b67commit hash: 7a2a629d9a0f7f75d776bc48b61da3ab6ed36b67 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: e5e2fdafc6f9d1639f025b96e5f11639e89158e4commit hash: e5e2fdafc6f9d1639f025b96e5f11639e89158e4commit hash: e5e2fdafc6f9d1639f025b96e5f11639e89158e4commit hash: e5e2fdafc6f9d1639f025b96e5f11639e89158e4 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9aecommit hash: 18c6e18276691edf5274406bf82a3b06792ff9ae files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
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
commit hash: 039592c4f51d51b03e413bbaa08ce1b79e0755dfcommit hash: 039592c4f51d51b03e413bbaa08ce1b79e0755dfcommit hash: 039592c4f51d51b03e413bbaa08ce1b79e0755dfcommit hash: 039592c4f51d51b03e413bbaa08ce1b79e0755df files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 0e3e98d031a5f2f5e47d02c93caaa5532f554346commit hash: 0e3e98d031a5f2f5e47d02c93caaa5532f554346commit hash: 0e3e98d031a5f2f5e47d02c93caaa5532f554346commit hash: 0e3e98d031a5f2f5e47d02c93caaa5532f554346 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/rubygem-mocha: Update to 1.15.0

Changes:	https://github.com/freerange/mocha/blob/main/RELEASE.md
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
1.14.0
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
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 View all of this commit message)
1.14.0
26 Apr 2022 16:36:10
commit hash: 5a3780d48907295e97a351623c68065609757047commit hash: 5a3780d48907295e97a351623c68065609757047commit hash: 5a3780d48907295e97a351623c68065609757047commit hash: 5a3780d48907295e97a351623c68065609757047 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: ec7adb8a39c3590061b3e3ae471e83bb6530a5f2commit hash: ec7adb8a39c3590061b3e3ae471e83bb6530a5f2commit hash: ec7adb8a39c3590061b3e3ae471e83bb6530a5f2commit hash: ec7adb8a39c3590061b3e3ae471e83bb6530a5f2 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 3754e881a0dd9183324f21903b81ce58b78814bacommit hash: 3754e881a0dd9183324f21903b81ce58b78814bacommit hash: 3754e881a0dd9183324f21903b81ce58b78814bacommit hash: 3754e881a0dd9183324f21903b81ce58b78814ba files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
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
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.11.2
23 Aug 2020 19:45:20
Revision:545957Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 1.11.2

Changes:	https://github.com/freerange/mocha/blob/master/RELEASE.md
1.9.0
07 Jul 2019 19:15:43
Revision:506186Original commit files touched by this commit
sunpoet search for other commits by this committer
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
Revision:484915Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Update WWW

Approved by:	portmgr blanket
1.7.0
11 Aug 2018 14:17:20
Revision:476897Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 1.7.0

Changes:	https://github.com/freerange/mocha/blob/master/RELEASE.md
1.6.0
31 Jul 2018 23:48:24
Revision:476060Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 1.6.0

Changes:	https://github.com/freerange/mocha/blob/master/RELEASE.md
1.5.0
08 Apr 2018 18:29:53
Revision:466821Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 1.5.0

Changes:	https://github.com/freerange/mocha/blob/master/RELEASE.md
1.4.0
21 Mar 2018 19:03:29
Revision:465219Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 1.4.0

Changes:	https://github.com/freerange/mocha/blob/master/RELEASE.md
1.3.0
25 Aug 2017 18:21:38
Revision:448734Original commit files touched by this commit
sunpoet search for other commits by this committer
Update to 1.3.0

Changes:	https://github.com/freerange/mocha/blob/master/RELEASE.md
1.2.1
11 Feb 2017 08:37:59
Revision:433843Original commit files touched by this commit
sunpoet search for other commits by this committer
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
Revision:414136Original commit files touched by this commit
swills search for other commits by this committer
Convert USES=gem:autoplist to USES=gem since autoplist is default
0.14.0
27 Apr 2016 16:36:42
Revision:414118Original commit files touched by this commit
swills search for other commits by this committer
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
Revision:412346Original commit files touched by this commit
mat search for other commits by this committer
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
Revision:391169Original commit files touched by this commit
pgollucci search for other commits by this committer
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
Revision:388024Original commit files touched by this commit
sunpoet search for other commits by this committer
- Add LICENSE
- Remove USE_RAKE
- Update WWW
0.14.0
19 Aug 2014 15:35:36
Revision:365393Original commit files touched by this commit
swills search for other commits by this committer
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
Revision:357277Original commit files touched by this commit
olgeni search for other commits by this committer
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
Revision:332039Original commit files touched by this commit
swills search for other commits by this committer
- Add stage support
0.14.0
20 Sep 2013 17:17:45
Revision:327726Original commit files touched by this commit
bapt search for other commits by this committer
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
Revision:323413Original commit files touched by this commit
swills search for other commits by this committer
- Update to 0.14.0
0.9.12
25 Jul 2012 06:32:08
Original commit files touched by this commit
cs search for other commits by this committer
Fix typos in COMMENT
0.9.12
18 Feb 2011 08:41:32
Original commit files touched by this commit
wen search for other commits by this committer
- Update to 0.9.12
0.9.10
08 Dec 2010 20:06:11
Original commit files touched by this commit
pgollucci search for other commits by this committer
- Update to 0.9.10

With Hat:       ruby@
Sponsored by:   RideCharge Inc. / TaxiMagic
0.9.9
07 Dec 2010 19:19:15
Original commit files touched by this commit
linimon search for other commits by this committer
With portmgr hat, reassign these from clsung (who is apparently having
email troubles) to ruby@.
0.9.9
23 Nov 2010 07:19:31
Original commit files touched by this commit
pgollucci search for other commits by this committer
- Update to 0.9.9

Sponsored by:   RideCharge Inc. / TaxiMagic
0.9.8
20 Oct 2010 01:35:47
Original commit files touched by this commit
pgollucci search for other commits by this committer
- 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
Original commit files touched by this commit
pgollucci search for other commits by this committer
- 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
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.9.8
0.9.7
07 Jul 2009 02:25:31
Original commit files touched by this commit
clsung search for other commits by this committer
- Updaet to 0.9.7
0.9.5
09 Apr 2009 00:11:47
Original commit files touched by this commit
pgollucci search for other commits by this committer
- 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
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.9.5
0.9.1
26 Sep 2008 09:24:47
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.9.1
0.9.0
27 Aug 2008 03:17:50
Original commit files touched by this commit
clsung search for other commits by this committer
- Update to 0.9.0
0.5.6
21 Apr 2008 02:37:21
Original commit files touched by this commit
clsung search for other commits by this committer
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/

Number of commits found: 47