diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e6c39ad..c9ba664 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "2.11.0" + ".": "2.11.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 0edb7af..8181a45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.11.1 (2026-04-01) + +Full Changelog: [v2.11.0...v2.11.1](https://github.com/moderation-api/sdk-ruby/compare/v2.11.0...v2.11.1) + +### Bug Fixes + +* variable name typo ([65896b4](https://github.com/moderation-api/sdk-ruby/commit/65896b432a1ca9a1c720ec4fea8764081b7b9cae)) + ## 2.11.0 (2026-03-31) Full Changelog: [v2.10.1...v2.11.0](https://github.com/moderation-api/sdk-ruby/compare/v2.10.1...v2.11.0) diff --git a/Gemfile.lock b/Gemfile.lock index fae76af..4c7d6f4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - moderation_api (2.11.0) + moderation_api (2.11.1) cgi connection_pool diff --git a/README.md b/README.md index 256dc38..aebc83b 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.11.0" +gem "moderation_api", "~> 2.11.1" ``` diff --git a/lib/moderation_api/internal/util.rb b/lib/moderation_api/internal/util.rb index dee3edd..e2f91a9 100644 --- a/lib/moderation_api/internal/util.rb +++ b/lib/moderation_api/internal/util.rb @@ -157,7 +157,7 @@ def coerce_hash!(input) in Hash | nil => coerced coerced else - message = "Expected a #{Hash} or #{ModerationAPI::Internal::Type::BaseModel}, got #{data.inspect}" + message = "Expected a #{Hash} or #{ModerationAPI::Internal::Type::BaseModel}, got #{input.inspect}" raise ArgumentError.new(message) end end diff --git a/lib/moderation_api/version.rb b/lib/moderation_api/version.rb index 0f2d00a..508ede8 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.11.0" + VERSION = "2.11.1" end