./devel/ruby-equatable, Extends equality comparison and inspection methods

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.7.0, Package name: ruby27-equatable-0.7.0, Maintainer: pkgsrc-users

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.


Required to run:
[lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 8 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-05-04 15:37:18 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-equatable: update to 0.7.0

0.7.0 - 2021-04-05

Changed

* Change gemspec to remove test and rake files to reduce gem size
* Change to remove bundler as a dev dependency and relax rspec upper
  constraint
* Change to require Ruby 2.0 or higher
   2019-11-12 16:21:00 by Takahiro Kambe | Files touched by this commit (4)
Log message:
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.