From owner-svn-ports-all@freebsd.org Mon Mar 12 20:34:41 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D530BF45FD0; Mon, 12 Mar 2018 20:34:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 869D66FC9E; Mon, 12 Mar 2018 20:34:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8164A108D4; Mon, 12 Mar 2018 20:34:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2CKYejO001947; Mon, 12 Mar 2018 20:34:40 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2CKYdGl001943; Mon, 12 Mar 2018 20:34:39 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201803122034.w2CKYdGl001943@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Mon, 12 Mar 2018 20:34:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464281 - in head/devel: . rubygem-equatable X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . rubygem-equatable X-SVN-Commit-Revision: 464281 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2018 20:34:41 -0000 Author: sunpoet Date: Mon Mar 12 20:34:39 2018 New Revision: 464281 URL: https://svnweb.freebsd.org/changeset/ports/464281 Log: Add rubygem-equatable 0.5.0 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. WWW: https://github.com/piotrmurach/equatable Added: head/devel/rubygem-equatable/ head/devel/rubygem-equatable/Makefile (contents, props changed) head/devel/rubygem-equatable/distinfo (contents, props changed) head/devel/rubygem-equatable/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Mar 12 20:33:49 2018 (r464280) +++ head/devel/Makefile Mon Mar 12 20:34:39 2018 (r464281) @@ -5407,6 +5407,7 @@ SUBDIR += rubygem-elif SUBDIR += rubygem-enumerize SUBDIR += rubygem-equalizer + SUBDIR += rubygem-equatable SUBDIR += rubygem-errand SUBDIR += rubygem-et-orbi SUBDIR += rubygem-eventmachine Added: head/devel/rubygem-equatable/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-equatable/Makefile Mon Mar 12 20:34:39 2018 (r464281) @@ -0,0 +1,19 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= equatable +PORTVERSION= 0.5.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Implement equality comparison and inspection methods + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +NO_ARCH= yes +USE_RUBY= yes +USES= gem + +.include Added: head/devel/rubygem-equatable/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-equatable/distinfo Mon Mar 12 20:34:39 2018 (r464281) @@ -0,0 +1,3 @@ +TIMESTAMP = 1520738611 +SHA256 (rubygem/equatable-0.5.0.gem) = fdc8669f9bdc993be5cb6c08ec86343a7e87756e33c68ff5f63dfaa9e44f55ea +SIZE (rubygem/equatable-0.5.0.gem) = 10240 Added: head/devel/rubygem-equatable/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-equatable/pkg-descr Mon Mar 12 20:34:39 2018 (r464281) @@ -0,0 +1,13 @@ +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. + +WWW: https://github.com/piotrmurach/equatable