Sha256: 45af26a29bdc57ee1d37ae7203a8f3e8089fb5a0fc2b1370121e7766272c3601
Contents?: true
Size: 1.18 KB
Versions: 174
Compression:
Stored size: 1.18 KB
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' require 'avm/eac_ruby_base1/bundler/incompatible_parser/line_parser_base' module Avm module EacRubyBase1 module Bundler class IncompatibleParser class GemConflict < ::Avm::EacRubyBase1::Bundler::IncompatibleParser::LineParserBase LINE_PARSER = /Bundler could not find compatible versions for gem "(.+)":/ .to_parser { |m| new(m[1]) } enable_simple_cache common_constructor :gem_name def add_depends_on(depends_on) depends_on_stack << depends_on end def add_version_requirement(version_requirement) version_requirement.stack = depends_on_stack versions_requirements << version_requirement @depends_on_stack = nil end def data { gem_name: gem_name, versions_requirements: versions_requirements.map(&:data) } end def versions_requirements @versions_requirements ||= [] end private def depends_on_stack @depends_on_stack ||= [] end end end end end end
Version data entries
174 entries across 174 versions & 3 rubygems