Sha256: aeba8e18c721fb115da3b6d4fdb01b757e33bbf88ecb15fb92155e289adce3ee
Contents?: true
Size: 1.71 KB
Versions: 7
Compression:
Stored size: 1.71 KB
Contents
module RBS module Collection class Config class LockfileGenerator class GemfileLockMismatchError < StandardError @expected: Pathname @actual: Pathname def initialize: (expected: Pathname, actual: Pathname) -> void def message: () -> String end attr_reader config: Config attr_reader lockfile: Lockfile attr_reader existing_lockfile: Lockfile? attr_reader definition: Bundler::Definition # A hash table to look up a spec from name of the gem attr_reader gem_hash: Hash[String, Bundler::LazySpecification] def self.generate: (config: Config, definition: Bundler::Definition, ?with_lockfile: boolish) -> Lockfile def initialize: (config: Config, definition: Bundler::Definition, with_lockfile: boolish) -> void def generate: () -> void private # Ensure if current `gemfile_lock_path` is the same with the path saved in `lock` # def validate_gemfile_lock_path!: (lock: Lockfile?, gemfile_lock_path: Pathname) -> void # Inserts a entry to lockfile of a gem and its dependencies, if not included in `ignored_gems:` # def assign_gem: (name: String, version: String?, src_data: Sources::source_entry?, ignored_gems: Set[String]) -> void def assign_stdlib: (name: String, from_gem: String?) -> void # Find a source of a gem from ones registered in `config.sources` # # Returns `nil` if no source contains the definition of the gem. # def find_source: (name: String) -> Sources::t? def find_best_version: (version: String?, versions: Array[String]) -> Gem::Version end end end end
Version data entries
7 entries across 7 versions & 1 rubygems