Sha256: 9a3415dc3392add9b55f532f9b5639523517b228ebb520cb9e8b80f81e30b3df

Contents?: true

Size: 741 Bytes

Versions: 97

Compression:

Stored size: 741 Bytes

Contents

# frozen_string_literal: true

require 'eac_cli/core_ext'
require 'avm/files/text_replacer'
require 'avm/files/runner_with/filesystem_traverser'

module Avm
  module Files
    module RunnerWith
      module FileReplacer
        common_concern do
          include ::Avm::Files::RunnerWith::FilesystemTraverser
          include TopMethods
        end

        module TopMethods
          def text_replacer
            ::Avm::Files::TextReplacer.new
          end

          def replace_file?(_file)
            true
          end

          def traverser_check_file(file)
            return unless replace_file?(file)

            infov 'Changed', file if text_replacer.file_apply(file)
          end
        end
      end
    end
  end
end

Version data entries

97 entries across 97 versions & 2 rubygems

Version Path
eac_tools-0.75.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.74.1 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.74.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.73.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.72.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.70.1 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.70.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.69.1 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.69.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.68.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.67.1 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.67.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.66.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.65.1 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.65.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.64.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.63.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.62.1 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
eac_tools-0.62.0 sub/avm-files/lib/avm/files/runner_with/file_replacer.rb
avm-files-0.6.2 lib/avm/files/runner_with/file_replacer.rb