mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Promote time.rb to default gems
This commit is contained in:
parent
01e0d74965
commit
6042b7433d
4 changed files with 27 additions and 3 deletions
|
|
@ -51,8 +51,6 @@ Zachary Scott (zzak)
|
||||||
[lib/rubygems.rb, lib/rubygems/*]
|
[lib/rubygems.rb, lib/rubygems/*]
|
||||||
Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt)
|
Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt)
|
||||||
https://github.com/rubygems/rubygems
|
https://github.com/rubygems/rubygems
|
||||||
[lib/time.rb]
|
|
||||||
Tanaka Akira (akr)
|
|
||||||
[lib/un.rb]
|
[lib/un.rb]
|
||||||
WATANABE Hirofumi (eban)
|
WATANABE Hirofumi (eban)
|
||||||
[lib/unicode_normalize.rb, lib/unicode_normalize/*]
|
[lib/unicode_normalize.rb, lib/unicode_normalize/*]
|
||||||
|
|
@ -245,6 +243,9 @@ Zachary Scott (zzak)
|
||||||
[lib/tempfile.rb]
|
[lib/tempfile.rb]
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
https://github.com/ruby/tempfile
|
https://github.com/ruby/tempfile
|
||||||
|
[lib/time.rb]
|
||||||
|
Tanaka Akira (akr)
|
||||||
|
https://github.com/ruby/time
|
||||||
[lib/timeout.rb]
|
[lib/timeout.rb]
|
||||||
Yukihiro Matsumoto (matz)
|
Yukihiro Matsumoto (matz)
|
||||||
https://github.com/ruby/timeout
|
https://github.com/ruby/timeout
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ PP:: Provides a PrettyPrinter for Ruby objects
|
||||||
PrettyPrinter:: Implements a pretty printing algorithm for readable structure
|
PrettyPrinter:: Implements a pretty printing algorithm for readable structure
|
||||||
RbConfig:: Information of your configure and build of Ruby
|
RbConfig:: Information of your configure and build of Ruby
|
||||||
Gem:: Package management framework for 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
|
un.rb:: Utilities to replace common UNIX commands
|
||||||
|
|
||||||
== Extensions
|
== 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
|
Shellwords:: Manipulates strings with word parsing rules of UNIX Bourne shell
|
||||||
Singleton:: Implementation of the Singleton pattern for Ruby
|
Singleton:: Implementation of the Singleton pattern for Ruby
|
||||||
Tempfile:: A utility class for managing temporary files
|
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
|
Timeout:: Auto-terminate potentially long-running operations in Ruby
|
||||||
tmpdir.rb:: Extends the Dir class to manage the OS temporary file path
|
tmpdir.rb:: Extends the Dir class to manage the OS temporary file path
|
||||||
Tracer:: Outputs a source level execution trace of a Ruby program
|
Tracer:: Outputs a source level execution trace of a Ruby program
|
||||||
|
|
|
||||||
22
lib/time.gemspec
Normal file
22
lib/time.gemspec
Normal file
|
|
@ -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
|
||||||
|
|
@ -76,6 +76,7 @@ REPOSITORIES = {
|
||||||
securerandom: "ruby/securerandom",
|
securerandom: "ruby/securerandom",
|
||||||
resolv: "ruby/resolv",
|
resolv: "ruby/resolv",
|
||||||
"resolv-replace": "ruby/resolv-replace",
|
"resolv-replace": "ruby/resolv-replace",
|
||||||
|
time: "ruby/time",
|
||||||
}
|
}
|
||||||
|
|
||||||
def sync_default_gems(gem)
|
def sync_default_gems(gem)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue