BSD Ports

devel/rubygem-equatable 0.7.0 FreeBSD

Implement equality comparison and inspection methods

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel, rubygems
Package size
5.7 KiB, 12.8 KiB installed

Description

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. Howerver, 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.

In the other systems

SystemPortVersion
FreeBSDdevel/rubygem-equatable0.7.0
DragonFlydevel/rubygem-equatable0.7.0

Install

Binary package:

pkg install rubygem-equatable

From the ports tree:

cd /usr/ports/devel/rubygem-equatable/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-equatable>0:devel/rubygem-equatable

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.7.00.7.00.7.00.7.00.7.0
FreeBSD:14:quarterly0.7.00.7.0n/a0.7.00.7.0
FreeBSD:15:latest0.7.00.7.0n/a0.7.00.7.0
FreeBSD:15:quarterly0.7.00.7.0n/an/an/a
FreeBSD:16:latest0.7.00.7.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6
Required by 1

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/equatable-0.7.0.gem8192cd99f7bf79439dac5b34ccd33826aef0ef561029ecfa6d32a87c088a688ffe2b
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.