From 337c58bd4b1e7d299aab8e812d53534b9c66fc39 Mon Sep 17 00:00:00 2001 From: Jeff Camera Date: Mon, 23 Mar 2026 16:50:16 -0400 Subject: [PATCH 1/4] added rbi --- rbi/with_transactional_lock.rbi | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rbi/with_transactional_lock.rbi diff --git a/rbi/with_transactional_lock.rbi b/rbi/with_transactional_lock.rbi new file mode 100644 index 0000000..8772b3d --- /dev/null +++ b/rbi/with_transactional_lock.rbi @@ -0,0 +1,11 @@ +# typed: strong +# frozen_string_literal: true + +module WithTransactionalLock::Mixin::ClassMethods + sig do + type_parameters(:U) + .params(lock_name: String, block: T.proc.returns(T.type_parameter(:U))) + .returns(T.type_parameter(:U)) + end + def with_transactional_lock(lock_name, &block); end +end From 01a9956ac4eda34bf78e4787a5d4a94b9aa4135a Mon Sep 17 00:00:00 2001 From: Jeff Camera Date: Tue, 7 Apr 2026 15:54:15 -0400 Subject: [PATCH 2/4] bumped version --- Gemfile.lock | 3 ++- gemfiles/rails_7_2.gemfile.lock | 2 +- gemfiles/rails_8_0.gemfile.lock | 2 +- gemfiles/rails_8_1.gemfile.lock | 2 +- lib/with_transactional_lock/version.rb | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4876d40..914add7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - with_transactional_lock (3.2.0) + with_transactional_lock (3.2.1) activerecord (>= 7.2, < 8.2) railties (>= 7.2, < 8.2) @@ -228,6 +228,7 @@ PLATFORMS arm64-darwin-22 arm64-darwin-23 arm64-darwin-24 + arm64-darwin-25 x86_64-darwin-22 x86_64-linux diff --git a/gemfiles/rails_7_2.gemfile.lock b/gemfiles/rails_7_2.gemfile.lock index 1ce7743..e9c2f93 100644 --- a/gemfiles/rails_7_2.gemfile.lock +++ b/gemfiles/rails_7_2.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - with_transactional_lock (3.2.0) + with_transactional_lock (3.2.1) activerecord (>= 7.2, < 8.2) railties (>= 7.2, < 8.2) diff --git a/gemfiles/rails_8_0.gemfile.lock b/gemfiles/rails_8_0.gemfile.lock index 4fb1058..4a65efc 100644 --- a/gemfiles/rails_8_0.gemfile.lock +++ b/gemfiles/rails_8_0.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - with_transactional_lock (3.2.0) + with_transactional_lock (3.2.1) activerecord (>= 7.2, < 8.2) railties (>= 7.2, < 8.2) diff --git a/gemfiles/rails_8_1.gemfile.lock b/gemfiles/rails_8_1.gemfile.lock index f095fc4..2a4a08b 100644 --- a/gemfiles/rails_8_1.gemfile.lock +++ b/gemfiles/rails_8_1.gemfile.lock @@ -1,7 +1,7 @@ PATH remote: .. specs: - with_transactional_lock (3.2.0) + with_transactional_lock (3.2.1) activerecord (>= 7.2, < 8.2) railties (>= 7.2, < 8.2) diff --git a/lib/with_transactional_lock/version.rb b/lib/with_transactional_lock/version.rb index b6e5078..6e8322e 100644 --- a/lib/with_transactional_lock/version.rb +++ b/lib/with_transactional_lock/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module WithTransactionalLock - VERSION = "3.2.0" + VERSION = "3.2.1" end From 1b13034f252bb8ee1fe704b4dc85d247e58058c9 Mon Sep 17 00:00:00 2001 From: Jeff Camera Date: Tue, 7 Apr 2026 15:54:23 -0400 Subject: [PATCH 3/4] added release note --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e563e1a..fc38067 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project aims to adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [3.2.1] + +### Added + +- Added support for Sorbet via an RBI file + ## [3.2.0] ### Added From f29ec5c8977ab7a769cdc6ce2e2d35a1140d5214 Mon Sep 17 00:00:00 2001 From: Jeff Camera Date: Tue, 21 Apr 2026 13:46:27 -0400 Subject: [PATCH 4/4] add rbi dir glob to gemspec files --- with_transactional_lock.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/with_transactional_lock.gemspec b/with_transactional_lock.gemspec index 0eeb77e..558bfe3 100644 --- a/with_transactional_lock.gemspec +++ b/with_transactional_lock.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |s| s.metadata['allowed_push_host'] = 'https://rubygems.org' s.metadata['rubygems_mfa_required'] = 'true' # in case we ever use rubygems - s.files = Dir["lib/**/*", "LICENSE", "Rakefile", "README.md"] + s.files = Dir["lib/**/*", "rbi/**/*", "LICENSE", "Rakefile", "README.md"] rails_constraints = ['>= 7.2', '< 8.2']