From c7386a538a5d2a60cc887dad91f88c650ed6172a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 27 Aug 2026 09:13:39 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 ++-- lib/moderation_api/models/queue_retrieve_response.rb | 2 +- rbi/moderation_api/models/queue_retrieve_response.rbi | 4 ++-- sig/moderation_api/models/queue_retrieve_response.rbs | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.stats.yml b/.stats.yml index 2a0a3b0..c5dc74a 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 34 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-94aa0ec14d586e4ce13f5613fd5f5b035b198ccf40c076b9cfff0354b61cf592.yml -openapi_spec_hash: 4719205e164a915edc953d43b5f7368a +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api/moderation-api-bde66914ad8b6ebb5dec231f65dfb4c6d9051a4ed000cc0f3c23923a903fada6.yml +openapi_spec_hash: f69f67e1d9d4cf68941031bddcec64c6 config_hash: 6e090a71f4d354167d93b4534a0e7f05 diff --git a/lib/moderation_api/models/queue_retrieve_response.rb b/lib/moderation_api/models/queue_retrieve_response.rb index 1ea7615..222535b 100644 --- a/lib/moderation_api/models/queue_retrieve_response.rb +++ b/lib/moderation_api/models/queue_retrieve_response.rb @@ -239,7 +239,7 @@ module CasebookHandled ALL = :ALL HANDLED = :HANDLED - WOULD_HAVE_HANDLED = :WOULD_HAVE_HANDLED + OVERRULED = :OVERRULED # @!method self.values # @return [Array] diff --git a/rbi/moderation_api/models/queue_retrieve_response.rbi b/rbi/moderation_api/models/queue_retrieve_response.rbi index c5e7e34..5b0db47 100644 --- a/rbi/moderation_api/models/queue_retrieve_response.rbi +++ b/rbi/moderation_api/models/queue_retrieve_response.rbi @@ -534,9 +534,9 @@ module ModerationAPI :HANDLED, ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::CasebookHandled::TaggedSymbol ) - WOULD_HAVE_HANDLED = + OVERRULED = T.let( - :WOULD_HAVE_HANDLED, + :OVERRULED, ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::CasebookHandled::TaggedSymbol ) diff --git a/sig/moderation_api/models/queue_retrieve_response.rbs b/sig/moderation_api/models/queue_retrieve_response.rbs index 2ba2b8b..8d377bf 100644 --- a/sig/moderation_api/models/queue_retrieve_response.rbs +++ b/sig/moderation_api/models/queue_retrieve_response.rbs @@ -253,14 +253,14 @@ module ModerationAPI within_unit: ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::within_unit } - type casebook_handled = :ALL | :HANDLED | :WOULD_HAVE_HANDLED + type casebook_handled = :ALL | :HANDLED | :OVERRULED module CasebookHandled extend ModerationAPI::Internal::Type::Enum ALL: :ALL HANDLED: :HANDLED - WOULD_HAVE_HANDLED: :WOULD_HAVE_HANDLED + OVERRULED: :OVERRULED def self?.values: -> ::Array[ModerationAPI::Models::QueueRetrieveResponse::Queue::Filter::casebook_handled] end From f9e8723296dddebbd85d437742931d26466a5b53 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 27 Aug 2026 09:14:05 +0000 Subject: [PATCH 2/2] release: 2.38.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/moderation_api/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 28c811f..0e1c697 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.37.0" + ".": "2.38.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6973e42..677cc01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.38.0 (2026-08-27) + +Full Changelog: [v2.37.0...v2.38.0](https://github.com/moderation-api/sdk-ruby/compare/v2.37.0...v2.38.0) + +### Features + +* **api:** api update ([c7386a5](https://github.com/moderation-api/sdk-ruby/commit/c7386a538a5d2a60cc887dad91f88c650ed6172a)) + ## 2.37.0 (2026-08-26) Full Changelog: [v2.36.0...v2.37.0](https://github.com/moderation-api/sdk-ruby/compare/v2.36.0...v2.37.0) diff --git a/Gemfile.lock b/Gemfile.lock index 4d57107..6bb9ac9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - moderation_api (2.37.0) + moderation_api (2.38.0) cgi connection_pool diff --git a/README.md b/README.md index af696ff..92fe910 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "moderation_api", "~> 2.37.0" +gem "moderation_api", "~> 2.38.0" ``` diff --git a/lib/moderation_api/version.rb b/lib/moderation_api/version.rb index e77458b..820b5bf 100644 --- a/lib/moderation_api/version.rb +++ b/lib/moderation_api/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module ModerationAPI - VERSION = "2.37.0" + VERSION = "2.38.0" end