Sha256: 61dbc81bbbc6fc190567055656fd8ec4e8b8ab2bd6dbd365977970aaa54c36ce
Contents?: true
Size: 980 Bytes
Versions: 5
Compression:
Stored size: 980 Bytes
Contents
# frozen_string_literal: true require 'connection_pool' require 'multi_json' require 'naught' require 'yaml' require 'basquiat/support' require 'basquiat/errors' require 'basquiat/adapters' require 'basquiat/version' require 'basquiat/interfaces/base' # Overall namespace config class module Basquiat class << self # resets the library configuration. Useful for testing and not much else def reset @configuration = Configuration.new end # @return [Configuration] returns or initializes the Configuration object def configuration @configuration ||= Configuration.new end # used to configure the gem using a block # @yieldparam [Configuration] configuration the current {Configuration} instance def configure yield configuration end # @return [Logger] shorthand for configuration.logger def logger configuration.logger end end end require_relative 'basquiat/rails/railtie.rb' if defined?(Rails)
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
basquiat-1.6.0 | lib/basquiat.rb |
basquiat-1.5.2 | lib/basquiat.rb |
basquiat-1.5.1 | lib/basquiat.rb |
basquiat-1.5.0 | lib/basquiat.rb |
basquiat-1.4.0 | lib/basquiat.rb |