diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 56c23893..fa87c7ea 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.50" + ".": "0.1.0-alpha.51" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c99d38b..4aee27f4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.1.0-alpha.51 (2025-10-14) + +Full Changelog: [v0.1.0-alpha.50...v0.1.0-alpha.51](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.50...v0.1.0-alpha.51) + +### Bug Fixes + +* should not reuse buffers for `IO.copy_stream` interop ([f6e4858](https://github.com/lithic-com/lithic-ruby/commit/f6e485884b92ac962d4cd4c61e913aac40fbc175)) + ## 0.1.0-alpha.50 (2025-10-08) Full Changelog: [v0.1.0-alpha.49...v0.1.0-alpha.50](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.49...v0.1.0-alpha.50) diff --git a/Gemfile.lock b/Gemfile.lock index 22b8e1ef..8fa02d31 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - lithic (0.1.0.pre.alpha.50) + lithic (0.1.0.pre.alpha.51) connection_pool GEM diff --git a/README.md b/README.md index 681db60f..58e03c0b 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 "lithic", "~> 0.1.0.pre.alpha.50" +gem "lithic", "~> 0.1.0.pre.alpha.51" ``` diff --git a/lib/lithic/internal/util.rb b/lib/lithic/internal/util.rb index 1df75d90..d93a1d58 100644 --- a/lib/lithic/internal/util.rb +++ b/lib/lithic/internal/util.rb @@ -473,10 +473,9 @@ class << self # @return [Enumerable] def writable_enum(&blk) Enumerator.new do |y| - buf = String.new y.define_singleton_method(:write) do - self << buf.replace(_1) - buf.bytesize + self << _1.dup + _1.bytesize end blk.call(y) diff --git a/lib/lithic/version.rb b/lib/lithic/version.rb index 67b696a7..e46f3895 100644 --- a/lib/lithic/version.rb +++ b/lib/lithic/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Lithic - VERSION = "0.1.0.pre.alpha.50" + VERSION = "0.1.0.pre.alpha.51" end