Sha256: 4c70c89094f3ecb1c0ff70b290aff14293f4b621b67720630a0e92bd47a39da3

Contents?: true

Size: 481 Bytes

Versions: 47

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/envs'
require 'eac_ruby_utils/simple_cache'

module Avm
  module Executables
    class << self
      include ::EacRubyUtils::SimpleCache

      def env
        ::EacRubyUtils::Envs.local
      end

      private

      %w[docker file git php-cs-fixer tidy yapf].each do |program|
        define_method(program.underscore + '_uncached') do
          env.executable(program, '--version')
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
avm-tools-0.73.0 lib/avm/executables.rb
avm-tools-0.72.0 lib/avm/executables.rb
avm-tools-0.71.0 lib/avm/executables.rb
avm-tools-0.70.2 lib/avm/executables.rb
avm-tools-0.70.1 lib/avm/executables.rb
avm-tools-0.70.0 lib/avm/executables.rb
avm-tools-0.69.3 lib/avm/executables.rb
avm-tools-0.69.2 lib/avm/executables.rb
avm-tools-0.69.1 lib/avm/executables.rb
avm-tools-0.69.0 lib/avm/executables.rb
avm-tools-0.68.0 lib/avm/executables.rb
avm-tools-0.67.0 lib/avm/executables.rb
avm-tools-0.66.0 lib/avm/executables.rb
avm-tools-0.65.0 lib/avm/executables.rb
avm-tools-0.64.2 lib/avm/executables.rb
avm-tools-0.64.1 lib/avm/executables.rb
avm-tools-0.64.0 lib/avm/executables.rb
avm-tools-0.63.0 lib/avm/executables.rb
avm-tools-0.62.4 lib/avm/executables.rb
avm-tools-0.62.3 lib/avm/executables.rb