diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-12 08:29:06 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-09-12 08:29:06 +0900 |
commit | 6042b7433d02b2bb871e9cf0042a21b031814e9f (patch) | |
tree | bcbe75851ee5216890b46d1b978dfb0ab8b11236 | |
parent | 01e0d74965ccaa6382bae883adac5f556590023a (diff) |
Promote time.rb to default gems
-rw-r--r-- | doc/maintainers.rdoc | 5 | ||||
-rw-r--r-- | doc/standard_library.rdoc | 2 | ||||
-rw-r--r-- | lib/time.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 30e0cdef51..ed1d7a2a02 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -51,8 +51,6 @@ Zachary Scott (zzak) [lib/rubygems.rb, lib/rubygems/*] Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt) https://github.com/rubygems/rubygems -[lib/time.rb] - Tanaka Akira (akr) [lib/un.rb] WATANABE Hirofumi (eban) [lib/unicode_normalize.rb, lib/unicode_normalize/*] @@ -245,6 +243,9 @@ Zachary Scott (zzak) [lib/tempfile.rb] _unmaintained_ https://github.com/ruby/tempfile +[lib/time.rb] + Tanaka Akira (akr) + https://github.com/ruby/time [lib/timeout.rb] Yukihiro Matsumoto (matz) https://github.com/ruby/timeout diff --git a/doc/standard_library.rdoc b/doc/standard_library.rdoc index 50b9649230..8406579a91 100644 --- a/doc/standard_library.rdoc +++ b/doc/standard_library.rdoc @@ -15,7 +15,6 @@ 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 Gem:: Package management framework for Ruby -Time:: Extends the Time class with methods for parsing and conversion un.rb:: Utilities to replace common UNIX commands == Extensions @@ -75,6 +74,7 @@ Set:: Provides a class to deal with collections of unordered, unique values Shellwords:: Manipulates strings with word parsing rules of UNIX Bourne shell Singleton:: Implementation of the Singleton pattern for Ruby Tempfile:: A utility class for managing temporary files +Time:: Extends the Time class with methods for parsing and conversion Timeout:: Auto-terminate potentially long-running operations in Ruby tmpdir.rb:: Extends the Dir class to manage the OS temporary file path Tracer:: Outputs a source level execution trace of a Ruby program diff --git a/lib/time.gemspec b/lib/time.gemspec new file mode 100644 index 0000000000..64d39935cc --- /dev/null +++ b/lib/time.gemspec @@ -0,0 +1,22 @@ +Gem::Specification.new do |spec| + spec.name = "time" + spec.version = "0.1.0" + spec.authors = ["Tanaka Akira"] + spec.email = ["akr@fsij.org"] + + spec.summary = %q{Extends the Time class with methods for parsing and conversion.} + spec.description = %q{Extends the Time class with methods for parsing and conversion.} + spec.homepage = "https://github.com/ruby/time" + 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 08b3c587a1..29db8f7d09 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -76,6 +76,7 @@ REPOSITORIES = { securerandom: "ruby/securerandom", resolv: "ruby/resolv", "resolv-replace": "ruby/resolv-replace", + time: "ruby/time", } def sync_default_gems(gem) |