Sha256: 403163ef6dd50c80f6cf1b002aca2063b8fe9812d17bb868810ae7dcd0360d29

Contents?: true

Size: 651 Bytes

Versions: 4

Compression:

Stored size: 651 Bytes

Contents

# frozen_string_literal: true

# @api private
# @since 0.25.0
class Qonfig::Plugins::Vault < Qonfig::Plugins::Abstract
  class << self
    # @return [void]
    #
    # @api private
    # @since 0.25.0
    def install!
      raise(
        Qonfig::UnresolvedPluginDependencyError,
        '::Vault does not exist or "vault" gem is not loaded'
      ) unless const_defined?('::Vault')

      require_relative 'vault/errors'
      require_relative 'vault/loaders/vault'
      require_relative 'vault/commands/definition/load_from_vault'
      require_relative 'vault/commands/definition/expose_vault'
      require_relative 'vault/dsl'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qonfig-0.28.0 lib/qonfig/plugins/vault.rb
qonfig-0.27.0 lib/qonfig/plugins/vault.rb
qonfig-0.26.0 lib/qonfig/plugins/vault.rb
qonfig-0.25.0 lib/qonfig/plugins/vault.rb