Sha256: 080fac6bffb9625b36f06f994a58b6f805ac92af57f75b286727b27c5327f88a

Contents?: true

Size: 780 Bytes

Versions: 170

Compression:

Stored size: 780 Bytes

Contents

require_relative "pub_grub/package"
require_relative "pub_grub/static_package_source"
require_relative "pub_grub/term"
require_relative "pub_grub/version_range"
require_relative "pub_grub/version_constraint"
require_relative "pub_grub/version_union"
require_relative "pub_grub/version_solver"
require_relative "pub_grub/incompatibility"
require_relative 'pub_grub/solve_failure'
require_relative 'pub_grub/failure_writer'
require_relative 'pub_grub/version'

module Bundler::PubGrub
  class << self
    attr_writer :logger

    def logger
      @logger || default_logger
    end

    private

    def default_logger
      require "logger"

      logger = ::Logger.new(STDERR)
      logger.level = $DEBUG ? ::Logger::DEBUG : ::Logger::WARN
      @logger = logger
    end
  end
end

Version data entries

170 entries across 170 versions & 4 rubygems

Version Path
direct7-0.0.18 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
direct7-0.0.17 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.23 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
bundler-2.5.23 lib/bundler/vendor/pub_grub/lib/pub_grub.rb
direct7-0.0.16 vendor/bundle/ruby/2.7.0/gems/bundler-2.4.21/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.22 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
bundler-2.5.22 lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.21 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
bundler-2.5.21 lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.20 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
bundler-2.5.20 lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.19 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
bundler-2.5.19 lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.18 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
bundler-2.5.18 lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.17 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
bundler-2.5.17 lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.16 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb
bundler-2.5.16 lib/bundler/vendor/pub_grub/lib/pub_grub.rb
rubygems-update-3.5.15 bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb