зеркало из https://github.com/github/ruby.git
Promote prettyprint to default gems
This commit is contained in:
Родитель
2711e3bab9
Коммит
0f9edf2f48
|
@ -44,8 +44,6 @@ Zachary Scott (zzak)
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
[lib/mkmf.rb]
|
[lib/mkmf.rb]
|
||||||
_unmaintained_
|
_unmaintained_
|
||||||
[lib/prettyprint.rb]
|
|
||||||
Tanaka Akira (akr)
|
|
||||||
[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
|
||||||
|
@ -196,6 +194,9 @@ Zachary Scott (zzak)
|
||||||
[lib/pp.rb]
|
[lib/pp.rb]
|
||||||
Tanaka Akira (akr)
|
Tanaka Akira (akr)
|
||||||
https://github.com/ruby/pp
|
https://github.com/ruby/pp
|
||||||
|
[lib/prettyprint.rb]
|
||||||
|
Tanaka Akira (akr)
|
||||||
|
https://github.com/ruby/prettyprint
|
||||||
[lib/prime.rb]
|
[lib/prime.rb]
|
||||||
Yuki Sonoda (yugui)
|
Yuki Sonoda (yugui)
|
||||||
https://github.com/ruby/prime
|
https://github.com/ruby/prime
|
||||||
|
|
|
@ -11,7 +11,6 @@ description.
|
||||||
DEBUGGER__:: Debugging functionality for Ruby
|
DEBUGGER__:: Debugging functionality for Ruby
|
||||||
DRb:: Distributed object system for Ruby
|
DRb:: Distributed object system for Ruby
|
||||||
MakeMakefile:: Module used to generate a Makefile for C extensions
|
MakeMakefile:: Module used to generate a Makefile for C extensions
|
||||||
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
|
||||||
un.rb:: Utilities to replace common UNIX commands
|
un.rb:: Utilities to replace common UNIX commands
|
||||||
|
@ -62,6 +61,7 @@ Open3:: Provides access to stdin, stdout and stderr when running other programs
|
||||||
OpenStruct:: Class to build custom data structures, similar to a Hash
|
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
|
OpenURI:: An easy-to-use wrapper for Net::HTTP, Net::HTTPS and Net::FTP
|
||||||
PP:: Provides a PrettyPrinter for Ruby objects
|
PP:: Provides a PrettyPrinter for Ruby objects
|
||||||
|
PrettyPrinter:: Implements a pretty printing algorithm for readable structure
|
||||||
Prime:: Prime numbers and factorization library
|
Prime:: Prime numbers and factorization library
|
||||||
PStore:: Implements a file based persistence mechanism based on a Hash
|
PStore:: Implements a file based persistence mechanism based on a Hash
|
||||||
Racc:: A LALR(1) parser generator written in Ruby.
|
Racc:: A LALR(1) parser generator written in Ruby.
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
Gem::Specification.new do |spec|
|
||||||
|
spec.name = "prettyprint"
|
||||||
|
spec.version = "0.1.0"
|
||||||
|
spec.authors = ["Tanaka Akira"]
|
||||||
|
spec.email = ["akr@fsij.org"]
|
||||||
|
|
||||||
|
spec.summary = %q{Implements a pretty printing algorithm for readable structure.}
|
||||||
|
spec.description = %q{Implements a pretty printing algorithm for readable structure.}
|
||||||
|
spec.homepage = "https://github.com/ruby/prettyprint"
|
||||||
|
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
|
|
@ -78,6 +78,7 @@ REPOSITORIES = {
|
||||||
"resolv-replace": "ruby/resolv-replace",
|
"resolv-replace": "ruby/resolv-replace",
|
||||||
time: "ruby/time",
|
time: "ruby/time",
|
||||||
pp: "ruby/pp",
|
pp: "ruby/pp",
|
||||||
|
prettyprint: "ruby/prettyprint",
|
||||||
}
|
}
|
||||||
|
|
||||||
def sync_default_gems(gem)
|
def sync_default_gems(gem)
|
||||||
|
|
Загрузка…
Ссылка в новой задаче