Skip to content

Commit

Permalink
Unify development dependencies (#5974)
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and dependabot-ci committed Feb 19, 2023
1 parent 01dc278 commit cd005cf
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 11 deletions.
10 changes: 5 additions & 5 deletions common/dependabot-common.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ Gem::Specification.new do |spec|
spec.add_dependency "parser", ">= 2.5", "< 4.0"
spec.add_dependency "toml-rb", ">= 1.1.2", "< 3.0"

spec.add_development_dependency "debug", ">= 1.0.0"
spec.add_development_dependency "debug", "~> 1.7.1"
spec.add_development_dependency "gpgme", "~> 2.0"
spec.add_development_dependency "parallel_tests", "~> 4.1.0"
spec.add_development_dependency "rake", "~> 13"
spec.add_development_dependency "rspec", "~> 3.11"
spec.add_development_dependency "rspec", "~> 3.12"
spec.add_development_dependency "rspec-its", "~> 1.3"
spec.add_development_dependency "rubocop", "~> 1.42.0"
spec.add_development_dependency "rubocop-performance", "~> 1.15.0"
spec.add_development_dependency "rubocop-performance", "~> 1.15.2"
spec.add_development_dependency "simplecov", "~> 0.22.0"
spec.add_development_dependency "simplecov-console", "~> 0.9.1"
spec.add_development_dependency "stackprof", "~> 0.2.16"
spec.add_development_dependency "vcr", "6.1.0"
spec.add_development_dependency "webmock", "~> 3.4"
spec.add_development_dependency "vcr", "~> 6.1"
spec.add_development_dependency "webmock", "~> 3.18"

next unless File.exist?("../.gitignore")

Expand Down
24 changes: 18 additions & 6 deletions updater/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,24 @@ gem "sentry-raven", "~> 3.1"
gem "terminal-table", "~> 3.0.2"

group :test do
gem "debug", "~> 1.7.1"
gem "rspec", "~> 3.12"
gem "rubocop", "~> 1.42.0"
gem "rubocop-performance", "~> 1.15.2"
gem "vcr", "~> 6.1"
gem "webmock", "~> 3.18"
common_gemspec = File.expand_path("../common/dependabot-common.gemspec", __dir__)

deps_shared_with_core = %w(
debug
rspec
rubocop
rubocop-performance
vcr
webmock
)

Dir.chdir(File.dirname(common_gemspec)) do
Gem::Specification.load(common_gemspec).development_dependencies.each do |dep|
next unless deps_shared_with_core.include?(dep.name)

gem dep.name, *dep.requirement.as_list
end
end
end

group :development do
Expand Down

0 comments on commit cd005cf

Please sign in to comment.