Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the dev-dependencies group in /updater with 10 updates #9520

Merged
merged 7 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
127 changes: 126 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ AllCops:
- "vendor/**/*"
- "dry-run/**/*"
NewCops: enable
TargetRubyVersion: 3.1
SuggestExtensions: false
Gemspec/DeprecatedAttributeAssignment:
Enabled: true
Expand Down Expand Up @@ -229,7 +230,7 @@ Performance/UriDefaultParser:
Style/AccessorGrouping:
EnforcedStyle: 'separated'
Style/ArgumentsForwarding:
Enabled: true
Enabled: false
Style/ArrayCoercion:
Enabled: false
Style/BisectedAttrAccessor:
Expand Down Expand Up @@ -351,6 +352,130 @@ RSpec/FilePath:
Enabled: false
RSpec/SpecFilePathFormat:
Enabled: false
RSpec/MessageSpies:
Enabled: false
RSpec/ExampleLength:
Enabled: false
RSpec/MultipleExpectations:
Enabled: false
RSpec/NestedGroups:
Enabled: false
RSpec/SharedExamples:
Enabled: false
RSpec/NotToNot:
Enabled: false
RSpec/StubbedMock:
Enabled: false
RSpec/ContextWording:
Enabled: false
RSpec/BeEq:
Enabled: false
RSpec/MultipleMemoizedHelpers:
Enabled: false
RSpec/VerifiedDoubleReference:
Enabled: false
RSpec/ExampleWording:
Enabled: false
RSpec/EmptyLineAfterFinalLet:
Enabled: false
RSpec/VerifiedDoubles:
Enabled: false
RSpec/ReceiveMessages:
Enabled: false
RSpec/LeadingSubject:
Enabled: false
RSpec/SubjectStub:
Enabled: false
RSpec/ImplicitSubject:
Enabled: false
RSpec/ExcessiveDocstringSpacing:
Enabled: false
RSpec/DescribedClass:
Enabled: false
RSpec/EmptyLineAfterSubject:
Enabled: false
RSpec/PredicateMatcher:
Enabled: false
RSpec/MessageChain:
Enabled: false
RSpec/BeEql:
Enabled: false
RSpec/UnspecifiedException:
Enabled: false
RSpec/AnyInstance:
Enabled: false
RSpec/MetadataStyle:
Enabled: false
RSpec/LetBeforeExamples:
Enabled: false
RSpec/RepeatedExampleGroupDescription:
Enabled: false
RSpec/NamedSubject:
Enabled: false
RSpec/MatchArray:
Enabled: false
RSpec/RepeatedExample:
Enabled: false
RSpec/ScatteredLet:
Enabled: false
RSpec/EmptyLineAfterExampleGroup:
Enabled: false
RSpec/OverwritingSetup:
Enabled: false
RSpec/HooksBeforeExamples:
Enabled: false
RSpec/ExpectActual:
Enabled: false
RSpec/EmptyLineAfterHook:
Enabled: false
RSpec/IndexedLet:
Enabled: false
RSpec/EmptyLineAfterExample:
Enabled: false
RSpec/IteratedExpectation:
Enabled: false
RSpec/ContextMethod:
Enabled: false
RSpec/ScatteredSetup:
Enabled: false
RSpec/InstanceVariable:
Enabled: false
RSpec/RepeatedExampleGroupBody:
Enabled: false
RSpec/BeforeAfterAll:
Enabled: false
RSpec/BeEmpty:
Enabled: false
RSpec/ContainExactly:
Enabled: false
RSpec/DescribeClass:
Enabled: false
RSpec/EmptyExampleGroup:
Enabled: false
RSpec/ExpectInHook:
Enabled: false
RSpec/SubjectDeclaration:
Enabled: false
RSpec/VoidExpect:
Enabled: false
RSpec/BeNil:
Enabled: false
RSpec/PendingWithoutReason:
Enabled: false
RSpec/Focus:
Enabled: false
RSpec/ImplicitExpect:
Enabled: false
RSpec/HookArgument:
Enabled: false
RSpec/MultipleDescribes:
Enabled: false
RSpec/RepeatedDescription:
Enabled: false
RSpec/ExpectChange:
Enabled: false
RSpec/MultipleSubjects:
Enabled: false

# TODO these were temporarily disabled during the Ruby 2.7 -> 3.1 upgrade
# in order to keep the upgrade diff small, they will be enabled/fixed in
Expand Down
49 changes: 26 additions & 23 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ GEM
commonmarker (0.23.10)
crack (0.4.5)
rexml
debug (1.8.0)
irb (>= 1.5.0)
reline (>= 0.3.1)
debug (1.9.2)
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.5.0)
docker_registry2 (1.18.0)
rest-client (>= 1.8.0)
Expand All @@ -194,7 +194,7 @@ GEM
mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2)
io-console (0.7.2)
irb (1.11.1)
irb (1.12.0)
rdoc
reline (>= 0.4.2)
jmespath (1.6.2)
Expand Down Expand Up @@ -234,7 +234,7 @@ GEM
parallel_tests (4.4.0)
parallel
parseconfig (1.0.8)
parser (3.3.0.1)
parser (3.3.0.5)
ast (~> 2.4.1)
racc
prism (0.24.0)
Expand All @@ -247,10 +247,10 @@ GEM
rbi (0.1.10)
prism (>= 0.18.0, < 0.25)
sorbet-runtime (>= 0.5.9204)
rdoc (6.6.2)
rdoc (6.6.3.1)
psych (>= 4.0.0)
regexp_parser (2.8.3)
reline (0.4.2)
regexp_parser (2.9.0)
reline (0.5.2)
io-console (~> 0.5)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
Expand All @@ -276,31 +276,34 @@ GEM
rspec-sorbet (1.9.2)
sorbet-runtime
rspec-support (3.12.1)
rubocop (1.58.0)
rubocop (1.63.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.30.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.30.0)
parser (>= 3.2.1.0)
rubocop-ast (1.31.2)
parser (>= 3.3.0.4)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-performance (1.19.1)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.27.1)
rubocop-performance (1.21.0)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (2.29.1)
rubocop (~> 1.40)
rubocop-capybara (~> 2.17)
rubocop-factory_bot (~> 2.22)
rubocop-sorbet (0.7.6)
rubocop-rspec_rails (~> 2.28)
rubocop-rspec_rails (2.28.3)
rubocop (~> 1.40)
rubocop-sorbet (0.8.1)
rubocop (>= 0.90.0)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
Expand Down Expand Up @@ -361,7 +364,7 @@ PLATFORMS
x86_64-linux

DEPENDENCIES
debug (~> 1.8.0)
debug (~> 1.9.2)
dependabot-bundler!
dependabot-cargo!
dependabot-common!
Expand All @@ -386,10 +389,10 @@ DEPENDENCIES
rake (~> 13)
rspec-its (~> 1.3)
rspec-sorbet (~> 1.9.2)
rubocop (~> 1.58.0)
rubocop-performance (~> 1.19.0)
rubocop-rspec (~> 2.27.1)
rubocop-sorbet (~> 0.7.3)
rubocop (~> 1.63.2)
rubocop-performance (~> 1.21.0)
rubocop-rspec (~> 2.29.1)
rubocop-sorbet (~> 0.8.1)
sorbet (= 0.5.11352)
tapioca (= 0.13.3)
turbo_tests (~> 2.2.0)
Expand Down
8 changes: 3 additions & 5 deletions bundler/lib/dependabot/bundler/file_parser/file_preparer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,16 @@ def initialize(dependency_files:)
end

def prepared_dependency_files
files = []

gemspecs.compact.each do |file|
files << DependencyFile.new(
files = gemspecs.compact.map do |file|
DependencyFile.new(
name: file.name,
content: sanitize_gemspec_content(file.content),
directory: file.directory,
support_file: file.support_file?
)
end

files += [
files + [
gemfile,
*evaled_gemfiles,
lockfile,
Expand Down
10 changes: 5 additions & 5 deletions common/dependabot-common.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@ Gem::Specification.new do |spec|
spec.add_dependency "stackprof", "~> 0.2.16"
spec.add_dependency "toml-rb", ">= 1.1.2", "< 3.0"

spec.add_development_dependency "debug", "~> 1.8.0"
spec.add_development_dependency "debug", "~> 1.9.2"
spec.add_development_dependency "gpgme", "~> 2.0"
spec.add_development_dependency "rake", "~> 13"
spec.add_development_dependency "rspec", "~> 3.12"
spec.add_development_dependency "rspec-its", "~> 1.3"
spec.add_development_dependency "rspec-sorbet", "~> 1.9.2"
spec.add_development_dependency "rubocop", "~> 1.58.0"
spec.add_development_dependency "rubocop-performance", "~> 1.19.0"
spec.add_development_dependency "rubocop-rspec", "~> 2.27.1"
spec.add_development_dependency "rubocop-sorbet", "~> 0.7.3"
spec.add_development_dependency "rubocop", "~> 1.63.2"
spec.add_development_dependency "rubocop-performance", "~> 1.21.0"
spec.add_development_dependency "rubocop-rspec", "~> 2.29.1"
spec.add_development_dependency "rubocop-sorbet", "~> 0.8.1"
spec.add_development_dependency "turbo_tests", "~> 2.2.0"
spec.add_development_dependency "vcr", "~> 6.1"
spec.add_development_dependency "webmock", "~> 3.18"
Expand Down
Loading
Loading