diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d8ffce..bc03fd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,15 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +[Unreleased]: https://github.com/envato/double_entry/compare/v2.0.2...HEAD + +## [2.0.2] - 2026-01-05 + ### Fixed -- Fix critical thread-safety issues in locking mechanism by replacing object_id-based lock storage with proper thread-local storage. This resolves object ID reuse vulnerabilities, race conditions, and memory leaks ([#226]). +- Fix critical thread-safety issues in locking mechanism by replacing object_id-based + lock storage with proper thread-local storage. This resolves object ID reuse + vulnerabilities, race conditions, and memory leaks ([#226]). ### Changed - Run the test suite against Rails 8.1, 8.0, 7.2, and Ruby 4.0, 3.4, 3.3, 3.2 ([#225]). -[Unreleased]: https://github.com/envato/double_entry/compare/v2.0.1...HEAD +[2.0.2]: https://github.com/envato/double_entry/compare/v2.0.1...v2.0.2 [#225]: https://github.com/envato/double_entry/pull/225 [#226]: https://github.com/envato/double_entry/pull/226 diff --git a/double_entry.gemspec b/double_entry.gemspec index 4f623b9..2f29cc7 100644 --- a/double_entry.gemspec +++ b/double_entry.gemspec @@ -10,14 +10,15 @@ Gem::Specification.new do |gem| gem.authors = ['Envato'] gem.email = ['rubygems@envato.com'] gem.summary = 'Tools to build your double entry financial ledger' - gem.homepage = 'https://github.com/envato/double_entry' + gem.homepage = "https://github.com/envato/#{gem.name}" gem.license = 'MIT' gem.metadata = { - 'bug_tracker_uri' => 'https://github.com/envato/double_entry/issues', - 'changelog_uri' => "https://github.com/envato/double_entry/blob/v#{gem.version}/CHANGELOG.md", - 'documentation_uri' => "https://www.rubydoc.info/gems/double_entry/#{gem.version}", - 'source_code_uri' => "https://github.com/envato/double_entry/tree/v#{gem.version}", + 'allowed_push_host' => 'https://rubygems.org', + 'bug_tracker_uri' => "#{gem.homepage}/issues", + 'changelog_uri' => "#{gem.homepage}/blob/v#{gem.version}/CHANGELOG.md", + 'documentation_uri' => "https://www.rubydoc.info/gems/#{gem.name}/#{gem.version}", + 'source_code_uri' => "#{gem.homepage}/tree/v#{gem.version}", } gem.files = `git ls-files -z`.split("\x0").select do |f| diff --git a/lib/double_entry/version.rb b/lib/double_entry/version.rb index 28935d9..4ea3067 100644 --- a/lib/double_entry/version.rb +++ b/lib/double_entry/version.rb @@ -1,5 +1,5 @@ # encoding: utf-8 module DoubleEntry - VERSION = '2.0.1' + VERSION = '2.0.2' end