summaryrefslogtreecommitdiff
path: root/spec/bundler/support/builders.rb
diff options
context:
space:
mode:
-rw-r--r--spec/bundler/support/builders.rb47
1 files changed, 47 insertions, 0 deletions
@@ -297,6 +297,10 @@ module Spec
build_with(LibBuilder, name, args, &blk)
end
def build_gem(name, *args, &blk)
build_with(GemBuilder, name, args, &blk)
end
@@ -402,6 +406,49 @@ module Spec
alias_method :dep, :runtime
end
class LibBuilder
def initialize(context, name, version)
@context = context