File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 383383
384384 original_lockfile = lockfile
385385
386+ expected_checksums = construct_checksum_section do |c |
387+ c . repo_gem gem_repo4 , "activesupport" , "6.0.4.1"
388+ c . repo_gem gem_repo4 , "tzinfo" , "1.2.9"
389+ end
390+
386391 expected_lockfile = <<~L
387392 GEM
388393 remote: #{ file_uri_for ( gem_repo4 ) } /
397402 DEPENDENCIES
398403 activesupport (~> 6.0.0)
399404
405+ CHECKSUMS
406+ #{ expected_checksums }
407+
400408 BUNDLED WITH
401409 #{ Bundler ::VERSION }
402410 L
10041012
10051013 DEPENDENCIES
10061014
1015+ CHECKSUMS
1016+
10071017 BUNDLED WITH
10081018 #{ Bundler ::VERSION }
10091019 L
10351045
10361046 DEPENDENCIES
10371047
1048+ CHECKSUMS
1049+
10381050 RUBY VERSION
10391051 #{ Bundler ::RubyVersion . system }
10401052
10751087
10761088 DEPENDENCIES
10771089
1090+ CHECKSUMS
1091+
10781092 RUBY VERSION
10791093 ruby 2.1.4p222
10801094
11001114
11011115 DEPENDENCIES
11021116
1117+ CHECKSUMS
1118+
11031119 RUBY VERSION
11041120 #{ Bundler ::RubyVersion . system }
11051121
11221138 G
11231139 lockfile lockfile . sub ( /(^\s *)#{ Bundler ::VERSION } ($)/ , '\11.0.0\2' )
11241140
1141+ excepted_checksum = checksum_for_repo_gem ( gem_repo4 , "rack" , "1.0" )
1142+
11251143 FileUtils . rm_r gem_repo4
11261144
11271145 bundle :update , :bundler => true , :artifice => "compact_index" , :verbose => true
11391157 DEPENDENCIES
11401158 rack
11411159
1160+ CHECKSUMS
1161+ #{ excepted_checksum }
1162+
11421163 BUNDLED WITH
11431164 #{ Bundler ::VERSION }
11441165 L
11741195 DEPENDENCIES
11751196 rack
11761197
1198+ CHECKSUMS
1199+ #{ checksum_for_repo_gem ( gem_repo4 , "rack" , "1.0" ) }
1200+
11771201 BUNDLED WITH
11781202 #{ Bundler ::VERSION }
11791203 L
12811305 DEPENDENCIES
12821306 rack
12831307
1308+ CHECKSUMS
1309+ #{ checksum_for_repo_gem ( gem_repo4 , "rack" , "1.0" ) }
1310+
12841311 BUNDLED WITH
12851312 2.3.0.dev
12861313 L
13201347 DEPENDENCIES
13211348 rack
13221349
1350+ CHECKSUMS
1351+ #{ checksum_for_repo_gem ( gem_repo4 , "rack" , "1.0" ) }
1352+
13231353 BUNDLED WITH
13241354 2.3.9
13251355 L
You can’t perform that action at this time.
0 commit comments