Skip to content

Commit f20b6e5

Browse files
hsbtmatzbot
authored andcommitted
[rubygems/rubygems] Explicitly load build_metadata.rb because Spec::BuildMetadata is only called from BundlerBuilder.
The current code is broken to call Spec::Builders#build_* method directly. ruby/rubygems@4922ae40dd
1 parent 7f838e3 commit f20b6e5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spec/bundler/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
require "rspec/support/differ"
1717

1818
require_relative "support/builders"
19-
require_relative "support/build_metadata"
2019
require_relative "support/checksums"
2120
require_relative "support/filters"
2221
require_relative "support/helpers"

spec/bundler/support/builders.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
require "bundler/shared_helpers"
44
require "shellwords"
55

6+
require_relative "build_metadata"
7+
68
module Spec
79
module Builders
810
def self.extended(mod)

0 commit comments

Comments
 (0)