summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-05 17:08:37 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-08 13:04:26 +0200
commit795b7e05dce44b8c9a732867bb87976e413dd252 (patch)
treea207de21832cb12b9530fd7207fd46ad109785b5 /lib
parent2ef1190881534529df47244079e6bf41c9425f24 (diff)
downloadbundler-795b7e05dce44b8c9a732867bb87976e413dd252.tar.gz
Allow running source list specs in isolation
Currenty one gets errors like ``` Failure/Error: lock_sources.to_set == replacement_sources.to_set NoMethodError: undefined method `to_set' for #<Array:0x0000560a01cd97c0> Did you mean? to_s ```
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/source_list.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/source_list.rb b/lib/bundler/source_list.rb
index 173875ce22..5e35434e8d 100644
--- a/lib/bundler/source_list.rb
+++ b/lib/bundler/source_list.rb
@@ -1,5 +1,7 @@
# frozen_string_literal: true
+require "set"
+
module Bundler
class SourceList
attr_reader :path_sources,