safetykit 0.58.0 → 0.59.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 +8 -0
- data/README.md +1 -1
- data/lib/safety_kit/models/data_update_settings_params.rb +6 -8
- data/lib/safety_kit/resources/data.rb +1 -1
- data/lib/safety_kit/version.rb +1 -1
- data/rbi/safety_kit/models/data_update_settings_params.rbi +7 -11
- data/rbi/safety_kit/resources/data.rbi +2 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cd8382bd07b22eba07c2a3db9f9a9cd0c30e5644842b3c47e8f1b1954fa0cba
|
|
4
|
+
data.tar.gz: bb032a524f14bce495197601991f86b2005a3d93f9bc8da789f0ea35a44556a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e9f79189873e0b34f05815bf85ccfc038016c061e4956163ac9062255b51bcc8050745bcb336a6fa28c69dfb7d6d9a12b9925550523e00890f600c91257ae61
|
|
7
|
+
data.tar.gz: d8d90a4ae6535c35f3fc26865918d34a23bbdf03a169aac8fff19c6ebfc56a54f1ea6c06be5aef382a6cfb63bdd6bc340db22154e39caa390d6652613992e269
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.59.0 (2026-08-12)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.58.0...v0.59.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.58.0...v0.59.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([79f835f](https://github.com/GetSafetyKit/safetykit-ruby/commit/79f835fe421b21ca05a77ab77bfeef64aea99285))
|
|
10
|
+
|
|
3
11
|
## 0.58.0 (2026-08-11)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.57.0...v0.58.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.57.0...v0.58.0)
|
data/README.md
CHANGED
|
@@ -14,10 +14,8 @@ module SafetyKit
|
|
|
14
14
|
required :namespace, String
|
|
15
15
|
|
|
16
16
|
# @!attribute schema
|
|
17
|
-
#
|
|
18
|
-
#
|
|
19
|
-
# websites), datetime fields, or 'metadata' for fields that should be stored but
|
|
20
|
-
# not indexed. Use display_hint to provide UI rendering hints.
|
|
17
|
+
# New schema to store for this namespace. Omit to leave the existing schema
|
|
18
|
+
# unchanged.
|
|
21
19
|
#
|
|
22
20
|
# @return [Hash{Symbol=>SafetyKit::Models::DataUpdateSettingsParams::Schema}, nil]
|
|
23
21
|
optional :schema, -> { SafetyKit::Internal::Type::HashOf[SafetyKit::DataUpdateSettingsParams::Schema] }
|
|
@@ -35,7 +33,7 @@ module SafetyKit
|
|
|
35
33
|
#
|
|
36
34
|
# @param namespace [String] The namespace to ingest data into
|
|
37
35
|
#
|
|
38
|
-
# @param schema [Hash{Symbol=>SafetyKit::Models::DataUpdateSettingsParams::Schema}]
|
|
36
|
+
# @param schema [Hash{Symbol=>SafetyKit::Models::DataUpdateSettingsParams::Schema}] New schema to store for this namespace. Omit to leave the existing schema unchan
|
|
39
37
|
#
|
|
40
38
|
# @param settings [Hash{Symbol=>Object, nil}] Namespace settings to store, replacing existing settings. Omit to leave existing
|
|
41
39
|
#
|
|
@@ -59,7 +57,7 @@ module SafetyKit
|
|
|
59
57
|
optional :content_type, enum: -> { SafetyKit::DataUpdateSettingsParams::Schema::ContentType }
|
|
60
58
|
|
|
61
59
|
# @!attribute display_hint
|
|
62
|
-
#
|
|
60
|
+
# Optional hint for how this field should be displayed in the UI
|
|
63
61
|
#
|
|
64
62
|
# @return [SafetyKit::Models::DataUpdateSettingsParams::Schema::DisplayHint, nil]
|
|
65
63
|
optional :display_hint, -> { SafetyKit::DataUpdateSettingsParams::Schema::DisplayHint }
|
|
@@ -88,7 +86,7 @@ module SafetyKit
|
|
|
88
86
|
#
|
|
89
87
|
# @param content_type [Symbol, SafetyKit::Models::DataUpdateSettingsParams::Schema::ContentType] The type of content (image_url, video_url, audio_url, website_url, datetime, met
|
|
90
88
|
#
|
|
91
|
-
# @param display_hint [SafetyKit::Models::DataUpdateSettingsParams::Schema::DisplayHint]
|
|
89
|
+
# @param display_hint [SafetyKit::Models::DataUpdateSettingsParams::Schema::DisplayHint] Optional hint for how this field should be displayed in the UI
|
|
92
90
|
#
|
|
93
91
|
# @param field_limit [Integer] Maximum amount of this field to include when sending to AI models. For text fiel
|
|
94
92
|
#
|
|
@@ -137,7 +135,7 @@ module SafetyKit
|
|
|
137
135
|
optional :type, enum: -> { SafetyKit::DataUpdateSettingsParams::Schema::DisplayHint::Type }
|
|
138
136
|
|
|
139
137
|
# @!method initialize(hidden: nil, name: nil, type: nil)
|
|
140
|
-
#
|
|
138
|
+
# Optional hint for how this field should be displayed in the UI
|
|
141
139
|
#
|
|
142
140
|
# @param hidden [Boolean] Hide this field from default UI display.
|
|
143
141
|
#
|
|
@@ -124,7 +124,7 @@ module SafetyKit
|
|
|
124
124
|
#
|
|
125
125
|
# @param namespace [String] The namespace to ingest data into
|
|
126
126
|
#
|
|
127
|
-
# @param schema [Hash{Symbol=>SafetyKit::Models::DataUpdateSettingsParams::Schema}]
|
|
127
|
+
# @param schema [Hash{Symbol=>SafetyKit::Models::DataUpdateSettingsParams::Schema}] New schema to store for this namespace. Omit to leave the existing schema unchan
|
|
128
128
|
#
|
|
129
129
|
# @param settings [Hash{Symbol=>Object, nil}] Namespace settings to store, replacing existing settings. Omit to leave existing
|
|
130
130
|
#
|
data/lib/safety_kit/version.rb
CHANGED
|
@@ -18,10 +18,8 @@ module SafetyKit
|
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :namespace
|
|
20
20
|
|
|
21
|
-
#
|
|
22
|
-
#
|
|
23
|
-
# websites), datetime fields, or 'metadata' for fields that should be stored but
|
|
24
|
-
# not indexed. Use display_hint to provide UI rendering hints.
|
|
21
|
+
# New schema to store for this namespace. Omit to leave the existing schema
|
|
22
|
+
# unchanged.
|
|
25
23
|
sig do
|
|
26
24
|
returns(
|
|
27
25
|
T.nilable(
|
|
@@ -62,10 +60,8 @@ module SafetyKit
|
|
|
62
60
|
def self.new(
|
|
63
61
|
# The namespace to ingest data into
|
|
64
62
|
namespace:,
|
|
65
|
-
#
|
|
66
|
-
#
|
|
67
|
-
# websites), datetime fields, or 'metadata' for fields that should be stored but
|
|
68
|
-
# not indexed. Use display_hint to provide UI rendering hints.
|
|
63
|
+
# New schema to store for this namespace. Omit to leave the existing schema
|
|
64
|
+
# unchanged.
|
|
69
65
|
schema: nil,
|
|
70
66
|
# Namespace settings to store, replacing existing settings. Omit to leave existing
|
|
71
67
|
# settings unchanged. Configure these values with guidance from SafetyKit.
|
|
@@ -126,7 +122,7 @@ module SafetyKit
|
|
|
126
122
|
end
|
|
127
123
|
attr_writer :content_type
|
|
128
124
|
|
|
129
|
-
#
|
|
125
|
+
# Optional hint for how this field should be displayed in the UI
|
|
130
126
|
sig do
|
|
131
127
|
returns(
|
|
132
128
|
T.nilable(SafetyKit::DataUpdateSettingsParams::Schema::DisplayHint)
|
|
@@ -191,7 +187,7 @@ module SafetyKit
|
|
|
191
187
|
# process the URL. Use 'metadata' for fields that should be stored but not
|
|
192
188
|
# indexed, and 'markdown' or 'html' for rich text.
|
|
193
189
|
content_type: nil,
|
|
194
|
-
#
|
|
190
|
+
# Optional hint for how this field should be displayed in the UI
|
|
195
191
|
display_hint: nil,
|
|
196
192
|
# Maximum amount of this field to include when sending to AI models. For text
|
|
197
193
|
# fields, this is the character limit. For array fields (e.g. image URLs), this is
|
|
@@ -328,7 +324,7 @@ module SafetyKit
|
|
|
328
324
|
end
|
|
329
325
|
attr_writer :type
|
|
330
326
|
|
|
331
|
-
#
|
|
327
|
+
# Optional hint for how this field should be displayed in the UI
|
|
332
328
|
sig do
|
|
333
329
|
params(
|
|
334
330
|
hidden: T::Boolean,
|
|
@@ -100,10 +100,8 @@ module SafetyKit
|
|
|
100
100
|
def update_settings(
|
|
101
101
|
# The namespace to ingest data into
|
|
102
102
|
namespace,
|
|
103
|
-
#
|
|
104
|
-
#
|
|
105
|
-
# websites), datetime fields, or 'metadata' for fields that should be stored but
|
|
106
|
-
# not indexed. Use display_hint to provide UI rendering hints.
|
|
103
|
+
# New schema to store for this namespace. Omit to leave the existing schema
|
|
104
|
+
# unchanged.
|
|
107
105
|
schema: nil,
|
|
108
106
|
# Namespace settings to store, replacing existing settings. Omit to leave existing
|
|
109
107
|
# settings unchanged. Configure these values with guidance from SafetyKit.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: safetykit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.59.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Safetykit
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|