Sha256: f90424bfb74f9b761a4c34a04f9b227c773396a920f2d81e90807844a2d32a8e
Contents?: true
Size: 815 Bytes
Versions: 26
Compression:
Stored size: 815 Bytes
Contents
# frozen_string_literal: true require 'avm/scms/commit' require 'avm/git/scms/git/commit' require 'eac_ruby_utils/core_ext' module Avm module Git module Scms class GitSubBase < ::Avm::Scms::Base class Commit < ::Avm::Scms::Commit common_constructor :scm, :parent_commit do # parent_commit.assert_argument(::Avm::Git::Scms::Git::Commit, 'parent_commit') end delegate :deploy_to_env_path, :fixup?, :id, :merge_with, :reword, :scm_file?, :subject, :to_s, to: :parent_commit # @return [Array<Pathname>] def changed_files parent_commit.changed_files.map do |cf| cf.relative_path_from(scm.relative_path_from_parent_scm) end end end end end end end
Version data entries
26 entries across 26 versions & 2 rubygems