This commit is contained in:
Netscape Navigator 2020-05-10 17:17:56 -05:00
parent 46341dd088
commit 18a5831514
3 changed files with 4 additions and 3 deletions

View File

@ -50,8 +50,9 @@ See `kitchen_sink.sh` examples.
- [X] Update README.md
- [X] Update Ruby API docs
- [X] Update blobs spec to clear out blob folder every time it runs.
- [ ] Make location of blob folder configurable?
- [ ] Oops, `lipmaa` field needs to be a hash, not an integer!
- [ ] Change draft and message templates to render headers in this order: `author`, `prev`, `lipmaa`, `kind`, `depth`.
- [ ] Make location of blob folder configurable?
- [ ] Update Dev docs in protocol spec to reflect changes to `lipmaa` header.
- [ ] Update spec document CLI usage examples to reflect API changes in 2020.
- [ ] BUG: Keys that start with a carriage return (`\n`) freeze tokenizer.

View File

@ -65,7 +65,7 @@ module Pigeon
SEPERATOR = /\n/
AUTHOR = /author #{FEED_VALUE}\n/
DEPTH = /depth #{NUMERIC}\n/
LIPMAA = /prev (#{MESG_VALUE}|#{NULL_VALUE})\n/
LIPMAA = /lipmaa (#{MESG_VALUE}|#{NULL_VALUE})\n/
PREV = /prev (#{MESG_VALUE}|#{NULL_VALUE})\n/
KIND = /kind #{ALPHANUMERICISH}\n/
BODY_ENTRY = /#{ALPHANUMERICISH}:#{ANY_VALUE}\n/

View File

@ -51,7 +51,7 @@ RSpec.describe Pigeon::Message do
"kind unit_test",
"prev NONE",
"depth 0",
"lipmaa 0",
"lipmaa NONE",
"",
"a:\"bar\"",
"b:&CHHABX8Q9D9Q0BY2BBZ6FA7SMAFNE9GGMSDTZVZZC9TK2N9F15QG.sha256",