add sorbet-runtime

This commit is contained in:
Dylan Knutson
2025-07-18 06:16:19 +00:00
parent 8e1c193801
commit 40fca92530
5 changed files with 9 additions and 3 deletions

View File

@@ -6,6 +6,7 @@ source "https://rubygems.org"
gemspec gemspec
gem "rake", "~> 13.0" gem "rake", "~> 13.0"
gem "sorbet-runtime"
group :development do group :development do
gem "bundler-audit" gem "bundler-audit"

View File

@@ -148,6 +148,7 @@ DEPENDENCIES
pry pry
rake (~> 13.0) rake (~> 13.0)
rspec (~> 3.0) rspec (~> 3.0)
sorbet-runtime
sorbet-static-and-runtime sorbet-static-and-runtime
sqlite3 (~> 1.4) sqlite3 (~> 1.4)
syntax_tree syntax_tree

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true # frozen_string_literal: true
require_relative "lib/has_aux_table" require_relative "lib/has_aux_table/version"
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "has_aux_table" spec.name = "has_aux_table"

View File

@@ -19,8 +19,6 @@ module HasAuxTable
extend T::Helpers extend T::Helpers
extend ActiveSupport::Concern extend ActiveSupport::Concern
VERSION = "0.1.0"
included do included do
T.bind(self, T.class_of(ActiveRecord::Base)) T.bind(self, T.class_of(ActiveRecord::Base))
before_create do before_create do

View File

@@ -0,0 +1,6 @@
# typed: strict
# frozen_string_literal: true
module HasAuxTable
VERSION = "0.1.0"
end