readwise 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/readwise/client.rb +1 -1
- data/lib/readwise/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69d1388e16dfcaf6db33d61ee780ce3172154a2f48ddc246fa0e82cf7eff81ec
|
4
|
+
data.tar.gz: 369ba0fd764cbc86cb78e99008dcf967a525bd850ed0f5e5270c046808a12248
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 599eef221a90c3c7259f99d65816f902104ed85e197af64887ced7522be0db56239700c199cb4ba1e8f7a83e4dca85a4331e68258c6ff7f4a23b09ef3cc4da8a
|
7
|
+
data.tar.gz: 4dad02e9aa6063a8da149b775185baf239a3ec5f6f799263fd8b02324e08ae8fa0dc281b0008a10d438e01a84d4ce24c3ad676a4a287a67f71964fa0a6273a22
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,9 @@
|
|
2
2
|
|
3
3
|
## [Unreleased]
|
4
4
|
|
5
|
+
## [1.0.1] - 2025-06-29
|
6
|
+
- Handle absent tags in transforming highlights
|
7
|
+
|
5
8
|
## [1.0.0] - 2025-06-29
|
6
9
|
- Add Readwise API v3 support for Reader documents ([#13](https://github.com/joshbeckman/readwise-ruby/pull/13))
|
7
10
|
- Add `daily_review` client method and Review type ([#14](https://github.com/joshbeckman/readwise-ruby/pull/14))
|
data/lib/readwise/client.rb
CHANGED
@@ -227,7 +227,7 @@ module Readwise
|
|
227
227
|
location_type: res['location_type'],
|
228
228
|
note: res['note'],
|
229
229
|
readwise_url: res['readwise_url'],
|
230
|
-
tags: res['tags'].map { |tag| transform_tag(tag) },
|
230
|
+
tags: (res['tags'] || []).map { |tag| transform_tag(tag) },
|
231
231
|
text: res['text'],
|
232
232
|
updated_at: res['updated_at'],
|
233
233
|
url: res['url'],
|
data/lib/readwise/version.rb
CHANGED