Skip to content

Commit 3d801e8

Browse files
chrisdengsogithub-actions[bot]
authored andcommitted
fix: v3.1.2
1 parent 31c1686 commit 3d801e8

7 files changed

Lines changed: 20 additions & 12 deletions

File tree

‎.speakeasy/gen.lock‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ management:
55
docVersion: 1.1.0
66
speakeasyVersion: internal
77
generationVersion: internal
8-
releaseVersion: 3.1.1
9-
configChecksum: 6d84855e7fac71cdbcc700bbc8102e87
8+
releaseVersion: 3.1.2
9+
configChecksum: 7717513b0f5479793af93b9aa4ebc34b
1010
repoURL: https://github.com/moderation-api/sdk-ruby
1111
installationURL: https://github.com/moderation-api/sdk-ruby
1212
published: true
@@ -38,7 +38,7 @@ trackedFiles:
3838
Gemfile:
3939
last_write_checksum: sha1:8c1b6fa9505f61abd0fb6741f8094e9655a55495
4040
Gemfile.lock:
41-
last_write_checksum: sha1:f506e56bb9f5f60261e76361a78ccd3239079288
41+
last_write_checksum: sha1:37a25478ba4e9f99f9b93f30b65fe35aeacab254
4242
Rakefile:
4343
last_write_checksum: sha1:c572639efdae8c7b24141ee5c02d8f009e101ed8
4444
USAGE.md:
@@ -2144,7 +2144,7 @@ trackedFiles:
21442144
lib/moderation_api/sdk_hooks/types.rb:
21452145
last_write_checksum: sha1:4c965332c50ba795946cf8df50a6202e89db0a45
21462146
lib/moderation_api/sdkconfiguration.rb:
2147-
last_write_checksum: sha1:f7dfc163b0483e449e76faa2d9c7d2e54322137e
2147+
last_write_checksum: sha1:81c83de76a95574d5d27ebd6c5202477a365badd
21482148
lib/moderation_api/sdkconfiguration.rbi:
21492149
last_write_checksum: sha1:0ff7c53716ae2b6668c84ad4f83b9a8697482c33
21502150
lib/moderation_api/utils/forms.rb:
@@ -2172,7 +2172,7 @@ trackedFiles:
21722172
lib/moderation_api/words.rb:
21732173
last_write_checksum: sha1:1caff3b1db9983d6cd6d76e0f90d47a39e376842
21742174
moderation_api.gemspec:
2175-
last_write_checksum: sha1:071948ee566406c7314b8ff48f67d64576c4069c
2175+
last_write_checksum: sha1:7ba88b8f6a176d25c1bccfc687976fdb4142d576
21762176
sorbet/config:
21772177
last_write_checksum: sha1:d02b32628dad70edc5929a9b9801d5e2dca15d40
21782178
sorbet/rbi/annotations/.gitattributes:

‎.speakeasy/gen.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ generation:
3232
generateNewTests: true
3333
skipResponseBodyAssertions: false
3434
ruby:
35-
version: 3.1.1
35+
version: 3.1.2
3636
additionalDependencies:
3737
development: {}
3838
runtime: {}

‎CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 3.1.2 (2026-10-22)
4+
5+
Full Changelog: [v3.1.1...v3.1.2](https://github.com/moderation-api/sdk-ruby/compare/v3.1.1...v3.1.2)
6+
7+
### Chores
8+
9+
- Update the generated code.
10+
311
## 3.1.1 (2026-10-22)
412

513
Full Changelog: [v3.1.0...v3.1.1](https://github.com/moderation-api/sdk-ruby/compare/v3.1.0...v3.1.1)

‎Gemfile.lock‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
moderation_api (3.1.1)
4+
moderation_api (3.1.2)
55
faraday
66
faraday-multipart
77
faraday-retry

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ end
215215
Moderation API has two kinds of API keys:
216216

217217
- A **project key** works with one project: content, authors, review queues, actions, wordlists, webhooks and the account. Most integrations need only this key.
218-
- An **organization key** works with the [management API](https://docs.moderationapi.com/api-reference/management-api): projects and channels. The management API is available on Enterprise plans.
218+
- An **organization key** works with the [management API](https://docs.moderationapi.com/api-reference/management-api): projects and channels. It can also use any project's endpoints: name the project with `projectId`.
219219

220-
Each key works only with its own endpoints. With the wrong key the API returns `403` with the code `project_key_required` or `organization_key_required`. If you use both, create one client for each key:
220+
A project key can't call the management API: the API returns `403` with the code `organization_key_required`. If you use both kinds of key, create one client for each:
221221

222222
```ruby
223223
require "moderation_api"

‎lib/moderation_api/sdkconfiguration.rb‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ def initialize(client, hooks, retry_config, timeout_ms, secret_key, security_sou
9393

9494
@language = "ruby"
9595
@openapi_doc_version = "1.1.0"
96-
@sdk_version = "3.1.1"
96+
@sdk_version = "3.1.2"
9797
@gen_version = "internal"
98-
@user_agent = "speakeasy-sdk/ruby 3.1.1 internal 1.1.0 moderation_api"
98+
@user_agent = "speakeasy-sdk/ruby 3.1.2 internal 1.1.0 moderation_api"
9999
end
100100

101101
sig { returns([String, T::Hash[Symbol, String]]) }

‎moderation_api.gemspec‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__)
44

55
Gem::Specification.new do |s|
66
s.name = 'moderation_api'
7-
s.version = '3.1.1'
7+
s.version = '3.1.2'
88
s.platform = Gem::Platform::RUBY
99
s.licenses = ['Apache-2.0']
1010
s.summary = ''

0 commit comments

Comments
 (0)