add sorbet-runtime
This commit is contained in:
1
Gemfile
1
Gemfile
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
6
lib/has_aux_table/version.rb
Normal file
6
lib/has_aux_table/version.rb
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# typed: strict
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
module HasAuxTable
|
||||||
|
VERSION = "0.1.0"
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user