Skip to content

Commit

Permalink
added tapioca
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrias committed Aug 21, 2024
1 parent 8d86694 commit 63ce9bc
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 12 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ gem 'activesupport'
gem 'rspec'
gem 'sorbet-coerce', '>= 0.2.6'
gem 'sorbet-static-and-runtime', '>= 0.5.11511'
gem 'tapioca', '~> 0.15.1', require: false
27 changes: 27 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@ GEM
connection_pool (2.4.1)
diff-lcs (1.5.1)
drb (2.2.1)
erubi (1.12.0)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
logger (1.6.0)
minitest (5.25.1)
netrc (0.11.0)
parallel (1.23.0)
polyfill (1.9.0)
prism (0.30.0)
rbi (0.1.13)
prism (>= 0.18.0, < 1.0.0)
sorbet-runtime (>= 0.5.9204)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand All @@ -49,8 +56,27 @@ GEM
sorbet-static-and-runtime (0.5.11531)
sorbet (= 0.5.11531)
sorbet-runtime (= 0.5.11531)
spoom (1.4.2)
erubi (>= 1.10.0)
prism (>= 0.28.0)
sorbet-static-and-runtime (>= 0.5.10187)
thor (>= 0.19.2)
tapioca (0.15.1)
bundler (>= 2.2.25)
netrc (>= 0.11.0)
parallel (>= 1.21.0)
rbi (>= 0.1.4, < 0.2)
sorbet-static-and-runtime (>= 0.5.11087)
spoom (>= 1.2.0)
thor (>= 1.2.0)
yard-sorbet
thor (1.3.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
yard (0.9.36)
yard-sorbet (0.9.0)
sorbet-runtime
yard

PLATFORMS
ruby
Expand All @@ -61,6 +87,7 @@ DEPENDENCIES
rspec
sorbet-coerce (>= 0.2.6)
sorbet-static-and-runtime (>= 0.5.11511)
tapioca (~> 0.15.1)

BUNDLED WITH
2.5.11
3 changes: 2 additions & 1 deletion lib/public/resource.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true
# typed: false
# typed: strict

require_relative 'capabilities/capability_config'
require_relative 'capability_factory'
Expand All @@ -8,6 +8,7 @@
require_relative '../schema_registry/schema'

module ResourceRegistry
# The main class that represents a resource in the system.
class Resource < T::Struct
extend T::Sig

Expand Down
2 changes: 1 addition & 1 deletion sorbet/rbi/gems/rspec-mocks.rbi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

# typed: true
# typed: false
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
Expand Down
2 changes: 1 addition & 1 deletion sorbet/rbi/gems/sorbet-coerce.rbi
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi gems

# typed: strict
# typed: false
#
# If you would like to make changes to this file, great! Please create the gem's shim here:
#
Expand Down
14 changes: 5 additions & 9 deletions sorbet/rbi/todo.rbi
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
# srb rbi todo
# DO NOT EDIT MANUALLY
# This is an autogenerated file for unresolved constants.
# Please instead update this file by running `bin/tapioca todo`.

# typed: false

# typed: strong
module ::Employees::Repositories::Employees; end
module ::Graphql::Capability; end
module ::Rails; end
Expand Down Expand Up @@ -36,12 +38,6 @@ module ResourceRegistry::Resource::EventSystem::Event; end
module ResourceRegistry::Serializer; end
module ResourceRegistry::Tracer::Telemetry::Tracer; end
module SchemaRegistry::GenerateFromStruct::ActionDispatch::Http::UploadedFile; end
module SchemaRegistry::RbiGenerator::RBI::Extend; end
module SchemaRegistry::RbiGenerator::RBI::File; end
module SchemaRegistry::RbiGenerator::RBI::Helper; end
module SchemaRegistry::RbiGenerator::RBI::Method; end
module SchemaRegistry::RbiGenerator::RBI::Module; end
module SchemaRegistry::RbiGenerator::RBI::Sig; end
module T::CompatibilityPatches::RSpecCompatibility::MethodDoubleExtensions; end
module T::CompatibilityPatches::RSpecCompatibility::RecorderExtensions; end
module T::Private::Abstract::Hooks; end
Expand Down

0 comments on commit 63ce9bc

Please sign in to comment.