diff options
-rw-r--r-- | doc/maintainers.rdoc | 5 | ||||
-rw-r--r-- | doc/standard_library.rdoc | 2 | ||||
-rw-r--r-- | lib/open-uri.gemspec | 22 | ||||
-rw-r--r-- | tool/sync_default_gems.rb | 1 |
4 files changed, 27 insertions, 3 deletions
diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc index d687335162..eaaccf5582 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -44,8 +44,6 @@ Zachary Scott (zzak) _unmaintained_ [lib/mkmf.rb] _unmaintained_ -[lib/open-uri.rb] - Tanaka Akira (akr) [lib/pp.rb] Tanaka Akira (akr) [lib/prettyprint.rb] @@ -198,6 +196,9 @@ Zachary Scott (zzak) _unmaintained_ https://github.com/ruby/open3 https://rubygems.org/gems/open3 +[lib/open-uri.rb] + Tanaka Akira (akr) + https://github.com/ruby/open-uri [lib/ostruct.rb] Marc-Andre Lafortune (marcandre) https://github.com/ruby/ostruct diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc index 08dde0f8cf..f3dd1da13e 100644 --- a/doc/standard_library.rdoc +++ b/doc/standard_library.rdoc @@ -11,7 +11,6 @@ description. DEBUGGER__:: Debugging functionality for Ruby DRb:: Distributed object system for Ruby MakeMakefile:: Module used to generate a Makefile for C extensions -OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP PP:: Provides a PrettyPrinter for Ruby objects PrettyPrinter:: Implements a pretty printing algorithm for readable structure RbConfig:: Information of your configure and build of Ruby @@ -66,6 +65,7 @@ Net::SMTP:: Simple Mail Transfer Protocol client library for Ruby Observable:: Provides a mechanism for publish/subscribe pattern in Ruby Open3:: Provides access to stdin, stdout and stderr when running other programs OpenStruct:: Class to build custom data structures, similar to a Hash +OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP Prime:: Prime numbers and factorization library PStore:: Implements a file based persistence mechanism based on a Hash Racc:: A LALR(1) parser generator written in Ruby. diff --git a/lib/open-uri.gemspec b/lib/open-uri.gemspec new file mode 100644 index 0000000000..45f0d47e6f --- /dev/null +++ b/lib/open-uri.gemspec @@ -0,0 +1,22 @@ +Gem::Specification.new do |spec| + spec.name = "open-uri" + spec.version = "0.1.0" + spec.authors = ["Tanaka Akira"] + spec.email = ["akr@fsij.org"] + + spec.summary = %q{An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP.} + spec.description = %q{An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP.} + spec.homepage = "https://github.com/ruby/open-uri" + spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0") + spec.licenses = ["Ruby", "BSD-2-Clause"] + + spec.metadata["homepage_uri"] = spec.homepage + spec.metadata["source_code_uri"] = spec.homepage + + 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 diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 40ee949aab..4c82eefa3a 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -72,6 +72,7 @@ REPOSITORIES = { shellwords: "ruby/shellwords", base64: "ruby/base64", syslog: "ruby/syslog", + "open-uri": "ruby/open-uri", } def sync_default_gems(gem) |