Skip to content

Commit

Permalink
chore: update sorbet version and fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobobq committed Nov 27, 2024
1 parent 5257b58 commit c68e980
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 63 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ gem "activesupport"
gem "rspec"
gem "rspec-json_expectations"
gem "rspec-sorbet", "~> 1.9.2"
gem "sorbet-coerce", ">= 0.2.6"
gem "sorbet-static-and-runtime", ">= 0.5.11609"
gem "sorbet-coerce", "~> 0.7.0"
gem "sorbet-static-and-runtime", "0.5.11670"
gem "tapioca", "~> 0.15.1", require: false
gem "syntax_tree", "~> 6.2", require: false

Expand Down
20 changes: 10 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ GEM
safe_type (1.1.1)
securerandom (0.3.1)
shellany (0.0.1)
sorbet (0.5.11609)
sorbet-static (= 0.5.11609)
sorbet (0.5.11670)
sorbet-static (= 0.5.11670)
sorbet-coerce (0.7.0)
polyfill (~> 1.8)
safe_type (~> 1.1, >= 1.1.1)
sorbet-runtime (>= 0.4.4704)
sorbet-runtime (0.5.11609)
sorbet-static (0.5.11609-universal-darwin)
sorbet-static (0.5.11609-x86_64-linux)
sorbet-static-and-runtime (0.5.11609)
sorbet (= 0.5.11609)
sorbet-runtime (= 0.5.11609)
sorbet-runtime (0.5.11670)
sorbet-static (0.5.11670-universal-darwin)
sorbet-static (0.5.11670-x86_64-linux)
sorbet-static-and-runtime (0.5.11670)
sorbet (= 0.5.11670)
sorbet-runtime (= 0.5.11670)
spoom (1.4.2)
erubi (>= 1.10.0)
prism (>= 0.28.0)
Expand Down Expand Up @@ -132,8 +132,8 @@ DEPENDENCIES
rspec
rspec-json_expectations
rspec-sorbet (~> 1.9.2)
sorbet-coerce (>= 0.2.6)
sorbet-static-and-runtime (>= 0.5.11609)
sorbet-coerce (~> 0.7.0)
sorbet-static-and-runtime (= 0.5.11670)
syntax_tree (~> 6.2)
tapioca (~> 0.15.1)

Expand Down
7 changes: 5 additions & 2 deletions lib/resource_registry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
require "public/versions"
require "public/versions/version"
require "public/entity_finder"
require "public/resource_struct_builder"
require "public/registry"
require "public/serializer"
require "public/repositories/base"
require "schema_registry/registry"
require "schema_registry/json_schema_mapper"
require "schema_registry/maybe"
require "schema_registry/generate_from_struct"
require "runtime_generic"
require "public/resource_struct_builder"
require "public/registry"

# Entry point for ResourceRegistry
module ResourceRegistry
Expand Down
34 changes: 0 additions & 34 deletions lib/schema_generator.rb

This file was deleted.

Binary file added resource_registry-0.0.0.gem
Binary file not shown.
35 changes: 20 additions & 15 deletions resource_registry.gemspec
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
Gem::Specification.new do |s|
s.name = 'resource_registry'
s.version = '0.0.0'
s.summary = 'Resource Registry'
s.description = 'A declarative approach to define resources and their relationships'
s.authors = ['Genar Trias Ortiz']
s.email = '[email protected]'
s.files = ['lib/resource_registry.rb', 'lib/public/repositories/base.rb', 'rbi/resource_registry.rbi']
s.homepage =
'https://rubygems.org/gems/resource_registry'
s.license = 'MIT'
s.add_dependency 'sorbet-coerce', '>= 0.2.6'
s.name = "resource_registry"
s.version = "0.0.0"
s.summary = "Resource Registry"
s.description =
"A declarative approach to define resources and their relationships"
s.authors = ["Genar Trias Ortiz"]
s.email = "[email protected]"
s.files = %w[
lib/resource_registry.rb
lib/public/repositories/base.rb
rbi/resource_registry.rbi
]
s.homepage = "https://rubygems.org/gems/resource_registry"
s.license = "MIT"
s.required_ruby_version = ">= 3.0"
s.add_dependency "sorbet-coerce", "~> 0.2.6"
# s.add_runtime_dependency 'sorbet-runtime-stub', '0.2.0'
s.add_development_dependency 'sorbet', '0.5.11609'
s.add_runtime_dependency 'activesupport', '>= 7.1.3'
s.add_runtime_dependency 'dry-inflector', '>= 0.1.2'
s.add_runtime_dependency 'sorbet-runtime', '0.5.11609'
s.add_development_dependency "sorbet", "0.5.11670"
s.add_runtime_dependency "activesupport", "~> 7.1.3"
s.add_runtime_dependency "dry-inflector", "~> 0.1.2"
s.add_runtime_dependency "sorbet-runtime", "0.5.11609"
# s.add_development_dependency 'tapioca'
end

0 comments on commit c68e980

Please sign in to comment.