Sha256: 3cf1b9a21841c85e4e8df9b59d4c99b741710b312ff00b02cb9195ef4c507431

Contents?: true

Size: 1.31 KB

Versions: 3

Compression:

Stored size: 1.31 KB

Contents

# frozen_string_literal: true

require 'active_model'
require 'active_support/core_ext/numeric/time'
require 'active_support/deprecation'
require 'base64'
require 'builder'
require 'logger'
require 'nokogiri'
require 'openssl'
require 'pathname'
require 'tilt'
require 'xmldsig'

require 'xml/kit/namespaces'

require 'xml/kit/certificate'
require 'xml/kit/crypto'
require 'xml/kit/decryption'
require 'xml/kit/decryption_error'
require 'xml/kit/document'
require 'xml/kit/encrypted_data'
require 'xml/kit/encrypted_key'
require 'xml/kit/encryption'
require 'xml/kit/fingerprint'
require 'xml/kit/id'
require 'xml/kit/key_info'
require 'xml/kit/key_pair'
require 'xml/kit/self_signed_certificate'
require 'xml/kit/signature'
require 'xml/kit/signatures'
require 'xml/kit/templatable'
require 'xml/kit/template'
require 'xml/kit/version'

module Xml
  module Kit
    class Error < StandardError; end

    class << self
      def logger
        @logger ||= Logger.new(STDOUT)
      end

      attr_writer :logger

      def deprecate(name, alternative: nil)
        @deprecation ||= ActiveSupport::Deprecation.new('1.0.0', 'xml-kit')
        if alternative
          @deprecation.deprecation_warning(name, "Use `#{alternative}` instead")
        else
          @deprecation.deprecation_warning(name)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
xml-kit-0.6.0 lib/xml/kit.rb
xml-kit-0.5.0 lib/xml/kit.rb
xml-kit-0.4.0 lib/xml/kit.rb