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
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/bundler-2.5.21/lib/bundler/vendored_uri.rb
rubygems-update-3.6.3 bundler/lib/bundler/vendored_uri.rb
bundler-2.6.3 lib/bundler/vendored_uri.rb
rubygems-update-3.6.2 bundler/lib/bundler/vendored_uri.rb
bundler-2.6.2 lib/bundler/vendored_uri.rb
rubygems-update-3.6.1 bundler/lib/bundler/vendored_uri.rb
bundler-2.6.1 lib/bundler/vendored_uri.rb
rubygems-update-3.6.0 bundler/lib/bundler/vendored_uri.rb
bundler-2.6.0 lib/bundler/vendored_uri.rb
rubygems-update-3.5.23 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.23 lib/bundler/vendored_uri.rb
rubygems-update-3.5.22 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.22 lib/bundler/vendored_uri.rb
rubygems-update-3.5.21 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.21 lib/bundler/vendored_uri.rb
rubygems-update-3.5.20 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.20 lib/bundler/vendored_uri.rb
rubygems-update-3.5.19 bundler/lib/bundler/vendored_uri.rb
bundler-2.5.19 lib/bundler/vendored_uri.rb
rubygems-update-3.5.18 bundler/lib/bundler/vendored_uri.rb