safetykit 0.22.0 → 0.23.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2b54d3603f6ffc6f1c75c290a75f9b75e58fa2a431e15db1d8c6689fe6110b6
4
- data.tar.gz: c278fe682f77a5eeb914a211c09363159a3ef82bc12319e0095ff2f70b1759b0
3
+ metadata.gz: 124d1e9acdbc46bd7f96c091611b44a44018c2bf6bdeb44a316e12aa3256771b
4
+ data.tar.gz: 139c0f2bd21a727538530d4aa85bb817ca2d19afc0faaeaeaa0fae718ebc57ad
5
5
  SHA512:
6
- metadata.gz: 66b6d865a1c0f1bf56f88d345b4994325ab85345e05f5117aedf52a1576d47213247f863e997d0fd8b82716ad32709c1593633de9c3159e7fa304059af80df1b
7
- data.tar.gz: d93eb1e5b5668340122d8e579e9ce28033902d314738edbd82bd4fa226ea8a070db65b4c0004d5ae5ac3aaff97ee950321ecb29ed76d92f920b871d583b5e399
6
+ metadata.gz: c96b5184a938c1a6c206fbd77077f4e1f0bea8059329ccb7e9cd755148d14e86ea7db6051dcb9b61eef372ad64b490f1b2973ec2e54cc9197aab6128255d93eb
7
+ data.tar.gz: 9d2f7e60e3b23acaa442548fcb16a80c8487bf3a731982ea0139624d81f24f429ded56f4079e0dca9787f8065c9292cee9bdeb74f2575d433ca8dd0261b2d841
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.23.0 (2026-06-09)
4
+
5
+ Full Changelog: [v0.22.0...v0.23.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.22.0...v0.23.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([e094686](https://github.com/GetSafetyKit/safetykit-ruby/commit/e09468636d83ce7137e5df336b83c4276299ed67))
10
+
3
11
  ## 0.22.0 (2026-06-09)
4
12
 
5
13
  Full Changelog: [v0.21.0...v0.22.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.21.0...v0.22.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "safetykit", "~> 0.22.0"
20
+ gem "safetykit", "~> 0.23.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -1602,10 +1602,9 @@ module SafetyKit
1602
1602
  -> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::ModerationDecisionEventRequest::Label] }
1603
1603
 
1604
1604
  # @!attribute source_id
1605
- # Stable identifier within source_type. Examples: reviewer_123 for
1606
- # human_moderator, labeling_job_456 for expert_labeler,
1607
- # automated_review_v2026_06_04 for automation, or external_review_batch_789 for
1608
- # vendor. Use stable opaque IDs rather than vendor names.
1605
+ # Stable identifier within source_type. Examples: moderator@example.com or
1606
+ # 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
1607
+ # automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
1609
1608
  #
1610
1609
  # @return [String]
1611
1610
  required :source_id, String
@@ -1698,7 +1697,7 @@ module SafetyKit
1698
1697
  #
1699
1698
  # @param labels [Array<SafetyKit::Models::Beta::EventCreateParams::Body::ModerationDecisionEventRequest::Label>] One or more label categories supplied with the report.
1700
1699
  #
1701
- # @param source_id [String] Stable identifier within source_type. Examples: reviewer_123 for human_moderator
1700
+ # @param source_id [String] Stable identifier within source_type. Examples: moderator@example.com or 550e840
1702
1701
  #
1703
1702
  # @param source_type [Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::ModerationDecisionEventRequest::SourceType] Coarse attribution category for the moderation decision source. Supported values
1704
1703
  #
@@ -3486,10 +3485,9 @@ module SafetyKit
3486
3485
  -> { SafetyKit::Internal::Type::ArrayOf[SafetyKit::Beta::EventCreateParams::Body::UnionMember6::ModerationDecision::Label] }
3487
3486
 
3488
3487
  # @!attribute source_id
3489
- # Stable identifier within source_type. Examples: reviewer_123 for
3490
- # human_moderator, labeling_job_456 for expert_labeler,
3491
- # automated_review_v2026_06_04 for automation, or external_review_batch_789 for
3492
- # vendor. Use stable opaque IDs rather than vendor names.
3488
+ # Stable identifier within source_type. Examples: moderator@example.com or
3489
+ # 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
3490
+ # automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
3493
3491
  #
3494
3492
  # @return [String]
3495
3493
  required :source_id, String
@@ -3581,7 +3579,7 @@ module SafetyKit
3581
3579
  #
3582
3580
  # @param labels [Array<SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember6::ModerationDecision::Label>] One or more label categories supplied with the report.
3583
3581
  #
3584
- # @param source_id [String] Stable identifier within source_type. Examples: reviewer_123 for human_moderator
3582
+ # @param source_id [String] Stable identifier within source_type. Examples: moderator@example.com or 550e840
3585
3583
  #
3586
3584
  # @param source_type [Symbol, SafetyKit::Models::Beta::EventCreateParams::Body::UnionMember6::ModerationDecision::SourceType] Coarse attribution category for the moderation decision source. Supported values
3587
3585
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SafetyKit
4
- VERSION = "0.22.0"
4
+ VERSION = "0.23.0"
5
5
  end
@@ -3376,10 +3376,9 @@ module SafetyKit
3376
3376
  end
3377
3377
  attr_accessor :labels
3378
3378
 
3379
- # Stable identifier within source_type. Examples: reviewer_123 for
3380
- # human_moderator, labeling_job_456 for expert_labeler,
3381
- # automated_review_v2026_06_04 for automation, or external_review_batch_789 for
3382
- # vendor. Use stable opaque IDs rather than vendor names.
3379
+ # Stable identifier within source_type. Examples: moderator@example.com or
3380
+ # 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
3381
+ # automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
3383
3382
  sig { returns(String) }
3384
3383
  attr_accessor :source_id
3385
3384
 
@@ -3559,10 +3558,9 @@ module SafetyKit
3559
3558
  event_name:,
3560
3559
  # One or more label categories supplied with the report.
3561
3560
  labels:,
3562
- # Stable identifier within source_type. Examples: reviewer_123 for
3563
- # human_moderator, labeling_job_456 for expert_labeler,
3564
- # automated_review_v2026_06_04 for automation, or external_review_batch_789 for
3565
- # vendor. Use stable opaque IDs rather than vendor names.
3561
+ # Stable identifier within source_type. Examples: moderator@example.com or
3562
+ # 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
3563
+ # automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
3566
3564
  source_id:,
3567
3565
  # Coarse attribution category for the moderation decision source. Supported
3568
3566
  # values: human_moderator (a human reviewer in your moderation workflow),
@@ -7223,10 +7221,9 @@ module SafetyKit
7223
7221
  end
7224
7222
  attr_accessor :labels
7225
7223
 
7226
- # Stable identifier within source_type. Examples: reviewer_123 for
7227
- # human_moderator, labeling_job_456 for expert_labeler,
7228
- # automated_review_v2026_06_04 for automation, or external_review_batch_789 for
7229
- # vendor. Use stable opaque IDs rather than vendor names.
7224
+ # Stable identifier within source_type. Examples: moderator@example.com or
7225
+ # 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
7226
+ # automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
7230
7227
  sig { returns(String) }
7231
7228
  attr_accessor :source_id
7232
7229
 
@@ -7401,10 +7398,9 @@ module SafetyKit
7401
7398
  event_name:,
7402
7399
  # One or more label categories supplied with the report.
7403
7400
  labels:,
7404
- # Stable identifier within source_type. Examples: reviewer_123 for
7405
- # human_moderator, labeling_job_456 for expert_labeler,
7406
- # automated_review_v2026_06_04 for automation, or external_review_batch_789 for
7407
- # vendor. Use stable opaque IDs rather than vendor names.
7401
+ # Stable identifier within source_type. Examples: moderator@example.com or
7402
+ # 550e8400-e29b-41d4-a716-446655440000 for expert_labeler or human_moderator,
7403
+ # automated_review_v2026_06_04 for automation, or <vendor_name>-v2.1 for vendor.
7408
7404
  source_id:,
7409
7405
  # Coarse attribution category for the moderation decision source. Supported
7410
7406
  # values: human_moderator (a human reviewer in your moderation workflow),
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safetykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.22.0
4
+ version: 0.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Safetykit