Sha256: d50b5d67f77c006a0429aa526026d75e98726afd900d312543cd61572afc116b

Contents?: true

Size: 518 Bytes

Versions: 8

Compression:

Stored size: 518 Bytes

Contents

# typed: strict
# frozen_string_literal: true

require 'packwerk'

module CodeOwnership
  module Private
    class PackOwnershipValidator
      extend T::Sig
      include Packwerk::Validator

      sig { override.params(package_set: Packwerk::PackageSet, configuration: Packwerk::Configuration).returns(Result) }
      def call(package_set, configuration)
        Result.new(ok: true)
      end

      sig { override.returns(T::Array[String]) }
      def permitted_keys
        %w[owner]
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
code_ownership-1.36.2 lib/code_ownership/private/permit_pack_owner_top_level_key.rb
code_ownership-1.36.1 lib/code_ownership/private/permit_pack_owner_top_level_key.rb
code_ownership-1.36.0 lib/code_ownership/private/permit_pack_owner_top_level_key.rb
code_ownership-1.35.0 lib/code_ownership/private/permit_pack_owner_top_level_key.rb
code_ownership-1.34.2 lib/code_ownership/private/permit_pack_owner_top_level_key.rb
code_ownership-1.34.1 lib/code_ownership/private/permit_pack_owner_top_level_key.rb
code_ownership-1.33.1 lib/code_ownership/private/permit_pack_owner_top_level_key.rb
code_ownership-1.33.0 lib/code_ownership/private/permit_pack_owner_top_level_key.rb