1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "Promote uri to default gems"

This reverts commit c5b4d2a259.

  This commit affects with activation feature of RubyGems.
  [Bug #16337][ruby-core:95768]
This commit is contained in:
Hiroshi SHIBATA 2019-11-09 20:14:17 +09:00
parent 4dd1caa129
commit fdfad90522
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
6 changed files with 8 additions and 42 deletions

View file

@ -99,6 +99,8 @@ Zachary Scott (zzak)
WATANABE Hirofumi (eban)
[lib/unicode_normalize.rb, lib/unicode_normalize/*]
Martin J. Dürst
[lib/uri.rb, lib/uri/*]
YAMADA, Akira (akira)
[lib/weakref.rb]
_unmaintained_
@ -261,9 +263,6 @@ Zachary Scott (zzak)
[lib/tracer.rb]
Keiju ISHITSUKA (keiju)
https://github.com/ruby/tracer
[lib/uri.rb, lib/uri/*]
YAMADA, Akira (akira)
https://github.com/ruby/uri
[lib/webrick.rb, lib/webrick/*]
Eric Wong (normalperson)
https://bugs.ruby-lang.org/

View file

@ -37,6 +37,7 @@ Time:: Extends the Time class with methods for parsing and conversion
tmpdir.rb:: Extends the Dir class to manage the OS temporary file path
TSort:: Topological sorting using Tarjan's algorithm
un.rb:: Utilities to replace common UNIX commands
URI:: A Ruby module providing support for Uniform Resource Identifiers
WeakRef:: Allows a referenced object to be garbage-collected
== Extensions
@ -85,7 +86,6 @@ RSS:: Family of libraries that support various formats of XML "feeds"
Singleton:: Implementation of the Singleton pattern for Ruby
Timeout:: Auto-terminate potentially long-running operations in Ruby
Tracer:: Outputs a source level execution trace of a Ruby program
URI:: A Ruby module providing support for Uniform Resource Identifiers
WEBrick:: An HTTP server toolkit for Ruby
YAML:: Ruby client library for the Psych YAML implementation

View file

@ -90,9 +90,13 @@
#
module URI
# :stopdoc:
VERSION_CODE = '001000'.freeze
VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
# :startdoc:
end
require 'uri/version'
require 'uri/common'
require 'uri/generic'
require 'uri/file'

View file

@ -1,29 +0,0 @@
begin
require_relative "lib/uri/version"
rescue LoadError # Fallback to load version file in ruby core repository
require_relative "version"
end
Gem::Specification.new do |spec|
spec.name = "uri"
spec.version = URI::VERSION
spec.authors = ["Akira Yamada"]
spec.email = ["akira@ruby-lang.org"]
spec.summary = %q{URI is a module providing classes to handle Uniform Resource Identifiers}
spec.description = spec.summary
spec.homepage = "https://github.com/ruby/uri"
spec.license = "BSD-2-Clause"
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
end

View file

@ -1,6 +0,0 @@
module URI
# :stopdoc:
VERSION_CODE = '001000'.freeze
VERSION = VERSION_CODE.scan(/../).collect{|n| n.to_i}.join('.').freeze
# :startdoc:
end

View file

@ -47,7 +47,6 @@
# * https://github.com/ruby/observer
# * https://github.com/ruby/timeout
# * https://github.com/ruby/yaml
# * https://github.com/ruby/uri
#
require 'fileutils'
@ -102,7 +101,6 @@ $repositories = {
observer: "ruby/observer",
timeout: "ruby/timeout",
yaml: "ruby/yaml",
uri: "ruby/uri",
}
def sync_default_gems(gem)