nohead 0.11.0 → 0.12.0
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 +10 -0
- data/README.md +2 -0
- data/lib/nohead/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: bdb1a4b807ee43aac99e6a35ca1e0c2ed5249db52a4e807a2e506ecad9b9ee3d
|
|
4
|
+
data.tar.gz: 2abdaef51723edf780182052827928a56854609d76b667780036b5fc99bb94ab
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 147f6f04ec84877b2e4a452a5694eb3a31ef58084cf01e087163e9b079cda3a88c88ea4b7a02b5e5830ec4618ac1e65a038eac81dcb6e8bee2e7554a3e5ef3d4
|
|
7
|
+
data.tar.gz: ca28d24053d19c3277b4ba0af97c5ed9e87d0f5446110d6a74f3aa78b3b3e4f9d5848ab26945e33b6ad9e4255d0cafa4438d0df47588b860b60d1cb345517dc5
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,16 @@ Changes to the `nohead` gem that you can notice. Versions follow
|
|
|
5
5
|
releases; a change that could break your code is a major one. Each release's
|
|
6
6
|
section is its GitHub release's notes.
|
|
7
7
|
|
|
8
|
+
## 0.12.0
|
|
9
|
+
|
|
10
|
+
- `webhooks.create` and `webhooks.update` take `published_only:`, and every
|
|
11
|
+
webhook has `"published_only"`: a published-only webhook sends only the events that change
|
|
12
|
+
what a published-only API key reads (a record published, unpublished or
|
|
13
|
+
edited while live, schema changes, changes to assets that published records
|
|
14
|
+
use), and skips drafts, schedules and edits to unpublished records.
|
|
15
|
+
- Audit events have `note`: the change note (`Nohead-Change-Note`) a record
|
|
16
|
+
or schema change was made with, or `null`.
|
|
17
|
+
|
|
8
18
|
## 0.11.0
|
|
9
19
|
|
|
10
20
|
- `records.diff` takes `rich_text:`, and the client's `rich_text:` now applies
|
data/README.md
CHANGED
|
@@ -12,6 +12,8 @@ nohead.records.list("posts", filter: { published_at: { exists: true } }).each do
|
|
|
12
12
|
end
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
The key is a project API key: create one under **API keys** in the [web app](https://app.nohead.io), with the **Read records** scope for this example, and set it as `NOHEAD_API_KEY` in your app's environment (or pass it as `api_key:`, under [Configuration](#configuration)). The SDK doesn't read the key that `nohead login` saves for the CLI: give your app a key of its own.
|
|
16
|
+
|
|
15
17
|
> **Status:** 0.x until the Nohead API launches.
|
|
16
18
|
|
|
17
19
|
## Contents
|
data/lib/nohead/version.rb
CHANGED