safetykit 0.22.0 → 0.24.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: 1dd1eaa679268c2bc71b3526c371fee2aa4268be1e718a6f9d4d3ba6542909bb
4
+ data.tar.gz: 12e815385ff4f54e556ba9ab40bf6860a33c22519af7da9a02674ad079d32be8
5
5
  SHA512:
6
- metadata.gz: 66b6d865a1c0f1bf56f88d345b4994325ab85345e05f5117aedf52a1576d47213247f863e997d0fd8b82716ad32709c1593633de9c3159e7fa304059af80df1b
7
- data.tar.gz: d93eb1e5b5668340122d8e579e9ce28033902d314738edbd82bd4fa226ea8a070db65b4c0004d5ae5ac3aaff97ee950321ecb29ed76d92f920b871d583b5e399
6
+ metadata.gz: 630392c2423d7e9f703f234c3bf1152bcf8a8f947c50aae4bbc967c659365464518359fd27e8aebff052c8b346db01abc6e96bbb56b8957c68f7df4754f3bd49
7
+ data.tar.gz: 045e3a538378d2e174ab9f4be64821f040d2161eaa616d369d3ab9b182ae688f5769f95c3c56e438059f9c48a17eede8a8c944c4dc882d1f1ea155fbfadd7cb1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.24.0 (2026-06-09)
4
+
5
+ Full Changelog: [v0.23.0...v0.24.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.23.0...v0.24.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([a0f495f](https://github.com/GetSafetyKit/safetykit-ruby/commit/a0f495f347543d2108866e7f33e0bdb94d295322))
10
+
11
+ ## 0.23.0 (2026-06-09)
12
+
13
+ Full Changelog: [v0.22.0...v0.23.0](https://github.com/GetSafetyKit/safetykit-ruby/compare/v0.22.0...v0.23.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([e094686](https://github.com/GetSafetyKit/safetykit-ruby/commit/e09468636d83ce7137e5df336b83c4276299ed67))
18
+
3
19
  ## 0.22.0 (2026-06-09)
4
20
 
5
21
  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.24.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
@@ -1613,7 +1612,7 @@ module SafetyKit
1613
1612
  # @!attribute source_type
1614
1613
  # Coarse attribution category for the moderation decision source. Supported
1615
1614
  # values: human_moderator (a human reviewer in your moderation workflow),
1616
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
1615
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
1617
1616
  # automated model, rules engine, or enforcement workflow), or vendor (an external
1618
1617
  # review or moderation provider).
1619
1618
  #
@@ -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
  #
@@ -1735,7 +1734,7 @@ module SafetyKit
1735
1734
 
1736
1735
  # Coarse attribution category for the moderation decision source. Supported
1737
1736
  # values: human_moderator (a human reviewer in your moderation workflow),
1738
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
1737
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
1739
1738
  # automated model, rules engine, or enforcement workflow), or vendor (an external
1740
1739
  # review or moderation provider).
1741
1740
  #
@@ -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
@@ -3497,7 +3495,7 @@ module SafetyKit
3497
3495
  # @!attribute source_type
3498
3496
  # Coarse attribution category for the moderation decision source. Supported
3499
3497
  # values: human_moderator (a human reviewer in your moderation workflow),
3500
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
3498
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
3501
3499
  # automated model, rules engine, or enforcement workflow), or vendor (an external
3502
3500
  # review or moderation provider).
3503
3501
  #
@@ -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
  #
@@ -3618,7 +3616,7 @@ module SafetyKit
3618
3616
 
3619
3617
  # Coarse attribution category for the moderation decision source. Supported
3620
3618
  # values: human_moderator (a human reviewer in your moderation workflow),
3621
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
3619
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
3622
3620
  # automated model, rules engine, or enforcement workflow), or vendor (an external
3623
3621
  # review or moderation provider).
3624
3622
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SafetyKit
4
- VERSION = "0.22.0"
4
+ VERSION = "0.24.0"
5
5
  end
@@ -3376,16 +3376,15 @@ 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
 
3386
3385
  # Coarse attribution category for the moderation decision source. Supported
3387
3386
  # values: human_moderator (a human reviewer in your moderation workflow),
3388
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
3387
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
3389
3388
  # automated model, rules engine, or enforcement workflow), or vendor (an external
3390
3389
  # review or moderation provider).
3391
3390
  sig do
@@ -3559,14 +3558,13 @@ 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),
3569
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
3567
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
3570
3568
  # automated model, rules engine, or enforcement workflow), or vendor (an external
3571
3569
  # review or moderation provider).
3572
3570
  source_type:,
@@ -3665,7 +3663,7 @@ module SafetyKit
3665
3663
 
3666
3664
  # Coarse attribution category for the moderation decision source. Supported
3667
3665
  # values: human_moderator (a human reviewer in your moderation workflow),
3668
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
3666
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
3669
3667
  # automated model, rules engine, or enforcement workflow), or vendor (an external
3670
3668
  # review or moderation provider).
3671
3669
  module SourceType
@@ -7223,16 +7221,15 @@ 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
 
7233
7230
  # Coarse attribution category for the moderation decision source. Supported
7234
7231
  # values: human_moderator (a human reviewer in your moderation workflow),
7235
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
7232
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
7236
7233
  # automated model, rules engine, or enforcement workflow), or vendor (an external
7237
7234
  # review or moderation provider).
7238
7235
  sig do
@@ -7401,14 +7398,13 @@ 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),
7411
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
7407
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
7412
7408
  # automated model, rules engine, or enforcement workflow), or vendor (an external
7413
7409
  # review or moderation provider).
7414
7410
  source_type:,
@@ -7506,7 +7502,7 @@ module SafetyKit
7506
7502
 
7507
7503
  # Coarse attribution category for the moderation decision source. Supported
7508
7504
  # values: human_moderator (a human reviewer in your moderation workflow),
7509
- # expert_labeler (a dedicated labeling or quality review workflow), automation (an
7505
+ # expert_labeler (an expert human labeler or specialist reviewer), automation (an
7510
7506
  # automated model, rules engine, or enforcement workflow), or vendor (an external
7511
7507
  # review or moderation provider).
7512
7508
  module SourceType
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.24.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Safetykit