pkgsrc/devel/ruby-equatable/Makefile
taca b6947dac63 devel/ruby-equatable: add package version 0.6.1
Equatable

Allows ruby objects to implement equality comparison and inspection methods.

By including this module, a class indicates that its instances have explicit
general contracts for `hash`, `==` and `eql?` methods.  Specifically `eql?`
contract requires that it implements an equivalence relation.  By default
each instance of the class is equal only to itself.  This is a right
behaviour when you have distinct objects.  However, it is the responsibility
of any class to clearly define their equality.  Failure to do so may prevent
instances to behave as expected when for instance `Array#uniq` is invoked or
when they are used as `Hash` keys.
2019-11-12 15:21:00 +00:00

14 lines
352 B
Makefile

# $NetBSD: Makefile,v 1.1 2019/11/12 15:21:00 taca Exp $
DISTNAME= equatable-0.6.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/piotrmurach/equatable
COMMENT= Extends equality comparison and inspection methods
LICENSE= mit
USE_LANGUAGES= # none
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"