Sha256: 02755f741cae71e242559bb23ef662efee738778a642355c07970ee37636931d

Contents?: true

Size: 515 Bytes

Versions: 109

Compression:

Stored size: 515 Bytes

Contents

# frozen_string_literal: true

require 'active_support/core_ext/object'

module Avm
  module Launcher
    module Git
      class Base < ::Avm::Launcher::Paths::Real
        module DirtyFiles
          delegate :dirty?, to: :eac_git

          def dirty_files
            eac_git.dirty_files.map do |df|
              ::OpenStruct.new(
                df.to_h.merge(path: df.path.to_path, absolute_path: df.absolute_path.to_path)
              )
            end
          end
        end
      end
    end
  end
end

Version data entries

109 entries across 109 versions & 2 rubygems

Version Path
eac_tools-0.6.0 sub/avm-tools/lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.121.2 lib/avm/launcher/git/base/dirty_files.rb
eac_tools-0.5.0 sub/avm-tools/lib/avm/launcher/git/base/dirty_files.rb
eac_tools-0.4.0 sub/avm-tools/lib/avm/launcher/git/base/dirty_files.rb
eac_tools-0.3.0 sub/avm-tools/lib/avm/launcher/git/base/dirty_files.rb
eac_tools-0.2.2 sub/avm-tools/lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.121.1 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.121.0 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.120.2 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.120.1 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.120.0 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.119.0 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.118.0 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.117.3 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.117.2 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.117.1 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.117.0 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.116.2 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.116.1 lib/avm/launcher/git/base/dirty_files.rb
avm-tools-0.116.0 lib/avm/launcher/git/base/dirty_files.rb