Closed smt116 closed 7 years ago
Thanks for this PR! I will check it shortly
Fixed. I didn't touched 1.8.7 support as I saw that someone else wanted to do that (https://github.com/egonSchiele/contracts.ruby/pull/255#issuecomment-294505713).
can you merge master into this branch? ci should pass, and then I'll merge
@egonSchiele done.
Thank you!
Contracts::StrictHash
didn't complain about extra entries in a given hash. This was because of the missing assertion for keys. Specs hadn't caught this case becauseage
key had a wrong type anyway.Compare keys for contract and a given hash and return false if they are equal.