cedarcode / cose-ruby

Ruby implementation of RFC 8152 CBOR Object Signing and Encryption (COSE)
https://rubygems.org/gems/cose
MIT License
15 stars 10 forks source link

Upgrade cbor to >= 0.5.9.7 #62

Closed ThisIsMissEm closed 2 months ago

ThisIsMissEm commented 2 months ago

cbor doesn't use semantic versioning, and had a bug which prevented installation which was fixed in 0.5.9.7: https://github.com/cabo/cbor-ruby/commits/master/

This attempts to upgrade this gem to use the later cbor versions, which it seems rubygem's isn't picking up due to the non-standard versioning scheme of cbor.

santiagorodriguez96 commented 2 months ago

Hi @ThisIsMissEm!

Sorry but I'm not really following what the issue is here. I'm able to install the gem using Ruby 3.1.3 with cbor version being 0.5.9.8 without needing this change:

$ bundle install
Fetching cbor 0.5.9.8
Installing cbor 0.5.9.8 with native extensions