Sha256: 9d71f4e217d6fe01bec923f4b3af84abf0948d0536974406e7e0f86d0481ff79

Contents?: true

Size: 445 Bytes

Versions: 8

Compression:

Stored size: 445 Bytes

Contents

require 'pathspec'

module PDK
  module Module
    DEFAULT_IGNORED = [
      '/pkg/',
      '~*',
      '/coverage',
      '/checksums.json',
      '/REVISION',
      '/spec/fixtures/modules/',
      '/vendor/',
    ].freeze

    def default_ignored_pathspec(ignore_dotfiles = true)
      PathSpec.new(DEFAULT_IGNORED).tap do |ps|
        ps.add('.*') if ignore_dotfiles
      end
    end
    module_function :default_ignored_pathspec
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
pdk-1.13.0 lib/pdk/module.rb
pdk-1.12.0 lib/pdk/module.rb
pdk-1.11.1 lib/pdk/module.rb
pdk-1.11.0 lib/pdk/module.rb
pdk-1.10.0 lib/pdk/module.rb
pdk-akerl-1.9.1.1 lib/pdk/module.rb
pdk-1.9.1 lib/pdk/module.rb
pdk-1.9.0 lib/pdk/module.rb