Sha256: 436993471bd2e0edb69bfd3d71930bd8b8cf4b98a9a66be2bd95297212c88af4

Contents?: true

Size: 436 Bytes

Versions: 3

Compression:

Stored size: 436 Bytes

Contents

module Retest
  module VersionControl
    module NoVersionControl

      module_function

      def installed?
        true
      end

      def name
        'default'
      end

      def files(extensions: [])
        result = if extensions.empty?
          Dir.glob('**/*')
        else
          Dir.glob("**/*.{#{extensions.join(',')}}")
        end

        result - Dir.glob('{tmp,node_modules}/**/*')
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
retest-2.0.1 lib/retest/version_control/no_version_control.rb
retest-2.0.0 lib/retest/version_control/no_version_control.rb
retest-2.0.0.pre5 lib/retest/version_control/no_version_control.rb