ruby-changes:62892
From: Hiroshi <ko1@a...>
Date: Sat, 12 Sep 2020 08:31:07 +0900 (JST)
Subject: [ruby-changes:62892] 6042b7433d (master): Promote time.rb to default gems
https://git.ruby-lang.org/ruby.git/commit/?id=6042b7433d From 6042b7433d02b2bb871e9cf0042a21b031814e9f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sat, 12 Sep 2020 08:29:06 +0900 Subject: Promote time.rb to default gems diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc index 30e0cde..ed1d7a2 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -51,8 +51,6 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L51 [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) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L243 [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 50b9649..8406579 100644 --- a/doc/standard_library.rdoc +++ b/doc/standard_library.rdoc @@ -15,7 +15,6 @@ PP:: Provides a PrettyPrinter for Ruby objects https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L15 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 https://github.com/ruby/ruby/blob/trunk/doc/standard_library.rdoc#L74 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 0000000..64d3993 --- /dev/null +++ b/lib/time.gemspec @@ -0,0 +1,22 @@ https://github.com/ruby/ruby/blob/trunk/lib/time.gemspec#L1 +Gem::Specification.new do |spec| + spec.name = "time" + spec.version = "0.1.0" + spec.authors = ["Tanaka Akira"] + spec.email = ["akr@f..."] + + 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 08b3c58..29db8f7 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -76,6 +76,7 @@ REPOSITORIES = { https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L76 securerandom: "ruby/securerandom", resolv: "ruby/resolv", "resolv-replace": "ruby/resolv-replace", + time: "ruby/time", } def sync_default_gems(gem) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/