Sha256: 15ba9f42f47bd3e4d1fc71b42abbf1efb0f6aeb10a425d06b19ba402851af5d9

Contents?: true

Size: 496 Bytes

Versions: 43

Compression:

Stored size: 496 Bytes

Contents

# frozen_string_literal: true

module Bundler; end

# Use RubyGems vendored copy when available. Otherwise fallback to Bundler
# vendored copy. The vendored copy in Bundler can be removed once support for
# RubyGems 3.5 is dropped.

begin
  require "rubygems/vendor/uri/lib/uri"
rescue LoadError
  require_relative "vendor/uri/lib/uri"
  Gem::URI = Bundler::URI

  module Gem
    def URI(uri) # rubocop:disable Naming/MethodName
      Bundler::URI(uri)
    end
    module_function :URI
  end
end

Version data entries

43 entries across 43 versions & 3 rubygems

Version Path
bundler-2.5.18 lib/bundler/vendored_uri.rb
rubygems-update-3.5.17 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.17 lib/bundler/vendored_uri.rb
rubygems-update-3.5.16 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.16 lib/bundler/vendored_uri.rb
rubygems-update-3.5.15 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.15 lib/bundler/vendored_uri.rb
rubygems-update-3.5.14 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.14 lib/bundler/vendored_uri.rb
rubygems-update-3.5.13 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.13 lib/bundler/vendored_uri.rb
rubygems-update-3.5.12 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.12 lib/bundler/vendored_uri.rb
rubygems-update-3.5.10 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.10 lib/bundler/vendored_uri.rb
rubygems-update-3.5.9 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.9 lib/bundler/vendored_uri.rb
rubygems-update-3.5.8 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.8 lib/bundler/vendored_uri.rb
rubygems-update-3.5.7 bundler/lib/bundler/vendored_uri.rb