File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 22
33## [ Unreleased]
44
5+ ## [ 1.0.1] - 2025-06-29
6+ - Handle absent tags in transforming highlights
7+
58## [ 1.0.0] - 2025-06-29
69- Add Readwise API v3 support for Reader documents ([ #13 ] ( https://github.com/joshbeckman/readwise-ruby/pull/13 ) )
710- Add ` daily_review ` client method and Review type ([ #14 ] ( https://github.com/joshbeckman/readwise-ruby/pull/14 ) )
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ def transform_highlight(res)
227227 location_type : res [ 'location_type' ] ,
228228 note : res [ 'note' ] ,
229229 readwise_url : res [ 'readwise_url' ] ,
230- tags : res [ 'tags' ] . map { |tag | transform_tag ( tag ) } ,
230+ tags : ( res [ 'tags' ] || [ ] ) . map { |tag | transform_tag ( tag ) } ,
231231 text : res [ 'text' ] ,
232232 updated_at : res [ 'updated_at' ] ,
233233 url : res [ 'url' ] ,
Original file line number Diff line number Diff line change 11module Readwise
2- VERSION = "1.0.0 "
2+ VERSION = "1.0.1 "
33end
You can’t perform that action at this time.
0 commit comments