d16c037bb8
2.2.0: - #new_instances now mocks the #initialize method instead of mocking after the allocation was done. This allows to do mock methods called by #initialize itself. Behaviour when the allocator is explicitely provided is left unchanged, which means that the old behaviour is still available by passing :new to new_instances. 2.1.0: - added `#and_iterates` to fix some shortcomings of `#and_yield` without breaking backward compatibility - strict partial mocks (and "based mocks" if `FlexMock.partials_are_based` is set to true) are now based on the object's singleton class, instead of its class.
15 lines
389 B
Makefile
15 lines
389 B
Makefile
# $NetBSD: Makefile,v 1.20 2016/10/09 14:08:19 taca Exp $
|
|
|
|
DISTNAME= flexmock-2.2.1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/doudou/flexmock
|
|
COMMENT= Flexible mock object library for Ruby unit testing
|
|
LICENSE= isc
|
|
|
|
pre-configure:
|
|
find ${WRKSRC}/doc -type f -exec chmod a-x {} \;
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|