method

new

ruby latest stable - Class: Bundler::GemVersionPromoter

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

new(locked_specs = SpecSet.new([]), unlock_gems = [])
public

Given a list of locked_specs and a list of gems to unlock creates a GemVersionPromoter instance.

@param locked_specs [SpecSet] All current locked specs. Unlike Definition

where this list is empty if all gems are being updated, this should
always be populated for all gems so this class can properly function.

@param unlock_gems [String] List of gem names being unlocked. If empty,

all gems will be considered unlocked.

@return [GemVersionPromoter]