Skip to content

Commit

Permalink
Merge pull request #9512 from dependabot/dependabot/bundler/sorbet-81…
Browse files Browse the repository at this point in the history
…62282187

Bump the sorbet group with 2 updates
  • Loading branch information
thavaahariharangit committed Apr 19, 2024
2 parents a00ddd3 + 9a830b8 commit 7bbbb96
Show file tree
Hide file tree
Showing 18 changed files with 9,895 additions and 32,041 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ gem "dependabot-swift", path: "swift"
gem "dependabot-terraform", path: "terraform"

# Sorbet
gem "sorbet", "0.5.11288", group: :development
gem "tapioca", "0.12.0", require: false, group: :development
gem "sorbet", "0.5.11349", group: :development
gem "tapioca", "0.13.3", require: false, group: :development

common_gemspec = File.expand_path("common/dependabot-common.gemspec", __dir__)

Expand Down
45 changes: 21 additions & 24 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -237,16 +237,15 @@ GEM
parser (3.3.0.1)
ast (~> 2.4.1)
racc
prettier_print (1.2.1)
prism (0.19.0)
prism (0.24.0)
psych (5.1.2)
stringio
public_suffix (5.0.4)
racc (1.7.3)
rainbow (3.1.1)
rake (13.1.0)
rbi (0.1.6)
prism (>= 0.18.0, < 0.20)
rbi (0.1.10)
prism (>= 0.18.0, < 0.25)
sorbet-runtime (>= 0.5.9204)
rdoc (6.6.2)
psych (>= 4.0.0)
Expand Down Expand Up @@ -309,36 +308,34 @@ GEM
sawyer (0.9.2)
addressable (>= 2.3.5)
faraday (>= 0.17.3, < 3)
sorbet (0.5.11288)
sorbet-static (= 0.5.11288)
sorbet-runtime (0.5.11288)
sorbet-static (0.5.11288-aarch64-linux)
sorbet-static (0.5.11288-universal-darwin)
sorbet-static (0.5.11288-x86_64-linux)
sorbet-static-and-runtime (0.5.11288)
sorbet (= 0.5.11288)
sorbet-runtime (= 0.5.11288)
spoom (1.2.4)
sorbet (0.5.11349)
sorbet-static (= 0.5.11349)
sorbet-runtime (0.5.11349)
sorbet-static (0.5.11349-aarch64-linux)
sorbet-static (0.5.11349-universal-darwin)
sorbet-static (0.5.11349-x86_64-linux)
sorbet-static-and-runtime (0.5.11349)
sorbet (= 0.5.11349)
sorbet-runtime (= 0.5.11349)
spoom (1.3.0)
erubi (>= 1.10.0)
prism (>= 0.19.0)
sorbet-static-and-runtime (>= 0.5.10187)
syntax_tree (>= 6.1.1)
thor (>= 0.19.2)
stackprof (0.2.25)
stringio (3.1.0)
syntax_tree (6.2.0)
prettier_print (>= 1.2.0)
tapioca (0.12.0)
tapioca (0.13.3)
bundler (>= 2.2.25)
netrc (>= 0.11.0)
parallel (>= 1.21.0)
rbi (>= 0.1.4, < 0.2)
sorbet-static-and-runtime (>= 0.5.10820)
spoom (~> 1.2.0, >= 1.2.0)
sorbet-static-and-runtime (>= 0.5.11087)
spoom (>= 1.2.0)
thor (>= 1.2.0)
yard-sorbet
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
thor (1.3.0)
thor (1.3.1)
toml-rb (2.2.0)
citrus (~> 3.0, > 3.0)
turbo_tests (2.2.0)
Expand All @@ -351,7 +348,7 @@ GEM
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
webrick (1.8.1)
yard (0.9.34)
yard (0.9.36)
yard-sorbet (0.8.1)
sorbet-runtime (>= 0.5)
yard (>= 0.9)
Expand Down Expand Up @@ -393,8 +390,8 @@ DEPENDENCIES
rubocop-performance (~> 1.19.0)
rubocop-rspec (~> 2.27.1)
rubocop-sorbet (~> 0.7.3)
sorbet (= 0.5.11288)
tapioca (= 0.12.0)
sorbet (= 0.5.11349)
tapioca (= 0.13.3)
turbo_tests (~> 2.2.0)
vcr (~> 6.1)
webmock (~> 3.18)
Expand Down
2 changes: 1 addition & 1 deletion common/lib/dependabot/clients/azure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def pull_requests(source_branch, target_branch)
base_commit: String,
commit_message: String,
files: T::Array[Dependabot::DependencyFile],
author_details: T.nilable(T::Hash[String, String])
author_details: T.nilable(T::Hash[Symbol, String])
)
.returns(T.untyped)
end
Expand Down
2 changes: 1 addition & 1 deletion common/lib/dependabot/clients/codecommit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def create_branch(repo, branch_name, commit_id)
sig do
params(
branch_name: String,
author_name: String,
author_name: T.nilable(String),
base_commit: String,
commit_message: String,
files: T::Array[Dependabot::DependencyFile]
Expand Down
2 changes: 1 addition & 1 deletion common/lib/dependabot/metadata_finders/base.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: strict
# typed: strong
# frozen_string_literal: true

require "sorbet-runtime"
Expand Down
4 changes: 2 additions & 2 deletions common/lib/dependabot/pull_request_creator/bitbucket.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: strict
# typed: strong
# frozen_string_literal: true

require "sorbet-runtime"
Expand Down Expand Up @@ -134,7 +134,7 @@ def create_commit
base_commit,
commit_message,
files,
author
T.must(author)
)
end

Expand Down
5 changes: 2 additions & 3 deletions common/lib/dependabot/pull_request_creator/codecommit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -197,12 +197,11 @@ def pull_requests_for_branch

sig { void }
def create_commit
author = author_details&.slice(:name, :email, :date)
author = nil unless author&.any?
author_name = author_details&.fetch(:name)

codecommit_client_for_source.create_commit(
branch_name,
author,
author_name,
base_commit,
commit_message,
files
Expand Down
2 changes: 2 additions & 0 deletions common/spec/fixtures/projects/simple/Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "activesupport", ">= 6.0.0"
2 changes: 1 addition & 1 deletion elm/lib/dependabot/elm/file_fetcher.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: strict
# typed: strong
# frozen_string_literal: true

require "sorbet-runtime"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: strict
# typed: strong
# frozen_string_literal: true

require "dependabot/utils"
Expand Down

0 comments on commit 7bbbb96

Please sign in to comment.