./devel/ruby-contracts, Contracts for Ruby

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


Branch: CURRENT, Version: 0.17, Package name: ruby31-contracts-0.17, Maintainer: minskim

This library provides contracts for Ruby. Contracts let you clearly
express how your code behaves, and free you from writing tons of
boilerplate, defensive code.


Required to run:
[lang/ruby23-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 57 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-03 16:56:39 by Takahiro Kambe | Files touched by this commit (1)
Log message:
devel/ruby-contracts: remove extra RUBY_VERSIONS_ACCEPTED
   2023-09-09 15:52:57 by Takahiro Kambe | Files touched by this commit (9)
Log message:
Drop support for Ruby 3.0.
   2023-01-21 14:57:31 by Takahiro Kambe | Files touched by this commit (7)
Log message:
Add ruby32 support.
   2022-11-29 13:39:05 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
devel/ruby-contracts: update to 0.17

0.17 (2021-05-17)

No release note nor changelog for 0.17, but 0.17 add support for Ruby 3.0.
   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 10:19:51 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
devel/ruby-contracts: update to 0.16.1

0.16.1 - 2021-04-17

* Enhancement: Pretty-print contracts in error messages - Corey Farwell #289

* Bugfix: Fix attr_accessor_with_contract with multiple attribute names
  input - Kevin Yeh #259

* Bugfix: Fix "stack level too deep" in CI builds - md-work #283
   2017-06-04 17:48:06 by Takahiro Kambe | Files touched by this commit (3)
Log message:
Update ruby-contracts to 0.16.0.

## v0.16.0

- **Support for Ruby 1.8 has been discontinued** - [Corey \ 
Farwell](https://github.com/frewsxcv) \ 
[#256](https://github.com/egonSchiele/contracts.ruby/pull/256)
- Enhancement: Add a `Contracts::Attrs` module containing attribute w/ contracts \ 
utilities - [Corey Farwell](https://github.com/frewsxcv) \ 
[#255](https://github.com/egonSchiele/contracts.ruby/pull/255)
- Bugfix: Fix StrictHash contract for extra keys - [Maciej \ 
Malecki](https://github.com/smt116) \ 
[#254](https://github.com/egonSchiele/contracts.ruby/pull/254)

## v0.15.0
- Bugfix: Func contract's return value isn't enforced with blocks - [Piotr \ 
Szmielew](https://github.com/esse) \ 
[#251](https://github.com/egonSchiele/contracts.ruby/pull/251)
- Bugfx: Fix contracts used in AR-models - [Gert Goet](https://github.com/eval) \ 
[#237](https://github.com/egonSchiele/contracts.ruby/pull/237)