Sha256: a4bc66ad97f65392689f8523cec7f72d2865bf37c317629164d2627055c1149e
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
require 'bundler' module KeepUp class BundlerDefinitionBuilder def initialize(local: false) @local = local end def build(lock) definition = Bundler::Definition.build('Gemfile', 'Gemfile.lock', lock) if lock if local definition.resolve_with_cache! else definition.resolve_remotely! end end definition end private attr_reader :local end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
keep_up-0.4.0 | lib/keep_up/bundler_definition_builder.rb |