Something went wrong. Try again.
Various data decoding primitives for ATProto (CAR, CID, CBOR)
Something went wrong. Try again.
-
Ruby versions:
- for any testing, use the Ruby 3.4 configured in
asdfinstead of the ancient system Ruby 2.6 - since Ruby 3.2 you don't need to require 'set', it's a built-in class
- for any testing, use the Ruby 3.4 configured in
-
unit tests:
- don't add automated tests to the repo while adding/changing library code unless specifically asked, or when changing the code breaks some existing tests and they need to be fixed
- use the classic RSpec
foo.should be_...matcher style instead ofexpect(), except for calling matchers on blocks as inexpect { ... }.to(not) raise_error... - use the classic
it "should do this"naming for test cases instead ofit "does this" - use raw
describeinstead ofRSpec.describe