Sha256: 499044f8627df9ce10b9e19a8b531615edcf2401b31517290666a88425618423

Contents?: true

Size: 725 Bytes

Versions: 2

Compression:

Stored size: 725 Bytes

Contents

module PDK
  module Module
    autoload :Build, 'pdk/module/build'
    autoload :Convert, 'pdk/module/convert'
    autoload :Metadata, 'pdk/module/metadata'
    autoload :Release, 'pdk/module/release'
    autoload :UpdateManager, 'pdk/module/update_manager'
    autoload :Update, 'pdk/module/update'

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

    def default_ignored_pathspec(ignore_dotfiles = true)
      require 'pathspec'

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pdk-1.18.1 lib/pdk/module.rb
pdk-1.18.0 lib/pdk/module.rb