Sha256: 0dab7210bcecb1c474e44eba1907e52a21b40b077f4eb45bf5f61585091e566c
Contents?: true
Size: 518 Bytes
Versions: 2
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true require 'xezat' require 'xezat/cygclasses' module Xezat module Command class Bump def get_src_uri(vars, cygclasses = CygclassManager.new) Xezat.logger.debug('Collect SRC_URI') cygclasses.vcs.each do |vcs| next unless vars.key?("_#{vcs}_CYGCLASS_".intern) src_uri_key = "#{vcs.to_s.upcase}_URI".intern return vars[src_uri_key].split if vars.key?(src_uri_key) end vars[:SRC_URI].split end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
xezat-0.2.0 | lib/xezat/command/bump/src_uri.rb |
xezat-0.1.2 | lib/xezat/command/bump/src_uri.rb |