From c5155b9df1dc8545a5b44b949f25f38c480fe56e Mon Sep 17 00:00:00 2001 From: Sebastien Lavoie Date: Tue, 15 Oct 2019 15:45:43 -0400 Subject: [PATCH] Add sorbet to bundler-audit because it depends on a platform-dependant gem --- test/convert.rb | 1 + test/data/bundler-audit/Gemfile | 1 + test/data/bundler-audit/Gemfile.lock | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/test/convert.rb b/test/convert.rb index 4b5ac93..0128604 100644 --- a/test/convert.rb +++ b/test/convert.rb @@ -40,6 +40,7 @@ def test_bundler_dep ) do |gemset| assert_equal("0.5.0", gemset.dig("bundler-audit", :version)) assert_equal("0.19.4", gemset.dig("thor", :version)) + assert_equal("0.4.4821", gemset.dig("sorbet-static", :version)) end end end diff --git a/test/data/bundler-audit/Gemfile b/test/data/bundler-audit/Gemfile index 89edc2b..97e9c57 100644 --- a/test/data/bundler-audit/Gemfile +++ b/test/data/bundler-audit/Gemfile @@ -1,3 +1,4 @@ source 'https://rubygems.org' do gem 'bundler-audit' + gem 'sorbet', '= 0.4.4821' end diff --git a/test/data/bundler-audit/Gemfile.lock b/test/data/bundler-audit/Gemfile.lock index fa8847c..f8af404 100644 --- a/test/data/bundler-audit/Gemfile.lock +++ b/test/data/bundler-audit/Gemfile.lock @@ -5,12 +5,16 @@ GEM bundler (~> 1.2) thor (~> 0.18) thor (0.19.4) + sorbet (0.4.4821) + sorbet-static (= 0.4.4821) + sorbet-static (0.4.4821-universal-darwin-14) PLATFORMS ruby DEPENDENCIES bundler-audit! + sorbet (= 0.4.4821)! BUNDLED WITH 1.12.5