Skip to content

Commit

Permalink
Initialize sorbet (#8012)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamieMagee authored Sep 12, 2023
1 parent cfa26a8 commit b69bcb3
Show file tree
Hide file tree
Showing 106 changed files with 318,300 additions and 2 deletions.
27 changes: 27 additions & 0 deletions bin/tapioca
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

#
# This file was generated by Bundler.
#
# The application 'tapioca' is installed as part of a gem, and
# this file is here to facilitate running it.
#

ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)

bundle_binstub = File.expand_path("bundle", __dir__)

if File.file?(bundle_binstub)
if File.read(bundle_binstub, 300).include?("This file was generated by Bundler")
load(bundle_binstub)
else
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
end
end

require "rubygems"
require "bundler/setup"

load Gem.bin_path("tapioca", "tapioca")
2 changes: 1 addition & 1 deletion bundler/spec/dependabot/bundler/file_updater_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@

stub_const(
"#{described_class}::RubyRequirementSetter::RUBY_VERSIONS",
described_class::RubyRequirementSetter::RUBY_VERSIONS + ["99.0.0"]
Dependabot::Bundler::FileUpdater::RubyRequirementSetter::RUBY_VERSIONS + ["99.0.0"]
)
end

Expand Down
2 changes: 1 addition & 1 deletion common/spec/dependabot/dependency_file_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@
let(:file) do
described_class.new(
name: "example.gem",
content_encoding: described_class::ContentEncoding::BASE64,
content_encoding: Dependabot::DependencyFile::ContentEncoding::BASE64,
content: "YWJj\n"
)
end
Expand Down
5 changes: 5 additions & 0 deletions sorbet/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--dir
.
--ignore=tmp/
--ignore=vendor/
--ignore=updater/
17 changes: 17 additions & 0 deletions sorbet/rbi/annotations/faraday.rbi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

269 changes: 269 additions & 0 deletions sorbet/rbi/annotations/rainbow.rbi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions sorbet/rbi/annotations/webmock.rbi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b69bcb3

Please sign in to comment.