Promote irb library to default gems.
* lib/irb/irb.gemspec: init. * lib/irb/version.rb: Set @RELEASE_VERSION value to IRB::VERSION for gemspec. * doc/*.rdoc: Move IRB entry to default gems category. * tool/sync_default_gems.rb: Add irb support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6c4e05d2d8
commit
70785c1c5a
@ -66,8 +66,6 @@ Zachary Scott (zzak)
|
||||
_unmaintained_
|
||||
[lib/ipaddr.rb]
|
||||
Akinori MUSHA (knu)
|
||||
[lib/irb.rb, lib/irb/*]
|
||||
Keiju ISHITSUKA (keiju)
|
||||
[lib/mkmf.rb]
|
||||
_unmaintained_
|
||||
[lib/monitor.rb]
|
||||
@ -205,6 +203,8 @@ Zachary Scott (zzak)
|
||||
[lib/fileutils.rb]
|
||||
_unmaintained_
|
||||
https://github.com/ruby/fileutils
|
||||
[lib/irb.rb, lib/irb/*]
|
||||
Keiju ISHITSUKA (keiju)
|
||||
[lib/logger.rb]
|
||||
Naotoshi Seo (sonots)
|
||||
[lib/matrix.rb]
|
||||
|
@ -22,7 +22,6 @@ Find:: This module supports top-down traversal of a set of file paths
|
||||
Forwardable:: Provides delegation of specified methods to a designated object
|
||||
GetoptLong:: Parse command line options similar to the GNU C getopt_long()
|
||||
IPAddr:: Provides methods to manipulate IPv4 and IPv6 IP addresses
|
||||
IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
|
||||
MakeMakefile:: Module used to generate a Makefile for C extensions
|
||||
Monitor:: Provides an object or module to use safely by more than one thread
|
||||
Mutex_m:: Mixin to extend objects to be handled like a Mutex
|
||||
@ -87,6 +86,7 @@ Bundler:: Manage your Ruby application's gem dependencies
|
||||
CMath:: Provides Trigonometric and Transcendental functions for complex numbers
|
||||
CSV:: Provides an interface to read and write CSV files and data
|
||||
FileUtils:: Several file utility methods for copying, moving, removing, etc
|
||||
IRB:: Interactive Ruby command-line tool for REPL (Read Eval Print Loop)
|
||||
Logger:: Provides a simple logging utility for outputting messages
|
||||
Matrix:: Represents a mathematical matrix.
|
||||
OpenStruct:: Class to build custom data structures, similar to a Hash
|
||||
|
21
lib/irb/irb.gemspec
Normal file
21
lib/irb/irb.gemspec
Normal file
@ -0,0 +1,21 @@
|
||||
require_relative "version"
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "irb"
|
||||
spec.version = IRB::VERSION
|
||||
spec.authors = ["Keiju ISHITSUKA"]
|
||||
spec.email = ["keiju@ruby-lang.org"]
|
||||
|
||||
spec.summary = %q{Interactive Ruby command-line tool for REPL (Read Eval Print Loop).}
|
||||
spec.description = %q{Interactive Ruby command-line tool for REPL (Read Eval Print Loop).}
|
||||
spec.homepage = "https://github.com/ruby/irb"
|
||||
spec.license = "BSD-2-Clause"
|
||||
|
||||
spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "exe/irb", "irb.gemspec", "lib/irb.rb", "lib/irb/cmd/chws.rb", "lib/irb/cmd/fork.rb", "lib/irb/cmd/help.rb", "lib/irb/cmd/load.rb", "lib/irb/cmd/nop.rb", "lib/irb/cmd/pushws.rb", "lib/irb/cmd/subirb.rb", "lib/irb/completion.rb", "lib/irb/context.rb", "lib/irb/ext/change-ws.rb", "lib/irb/ext/history.rb", "lib/irb/ext/loader.rb", "lib/irb/ext/multi-irb.rb", "lib/irb/ext/save-history.rb", "lib/irb/ext/tracer.rb", "lib/irb/ext/use-loader.rb", "lib/irb/ext/workspaces.rb", "lib/irb/extend-command.rb", "lib/irb/frame.rb", "lib/irb/help.rb", "lib/irb/init.rb", "lib/irb/input-method.rb", "lib/irb/inspector.rb", "lib/irb/lc/.document", "lib/irb/lc/error.rb", "lib/irb/lc/help-message", "lib/irb/lc/ja/encoding_aliases.rb", "lib/irb/lc/ja/error.rb", "lib/irb/lc/ja/help-message", "lib/irb/locale.rb", "lib/irb/magic-file.rb", "lib/irb/notifier.rb", "lib/irb/output-method.rb", "lib/irb/ruby-lex.rb", "lib/irb/ruby-token.rb", "lib/irb/slex.rb", "lib/irb/src_encoding.rb", "lib/irb/version.rb", "lib/irb/workspace.rb", "lib/irb/ws-for-case-2.rb", "lib/irb/xmp.rb"]
|
||||
spec.bindir = "exe"
|
||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||
spec.require_paths = ["lib"]
|
||||
|
||||
spec.add_development_dependency "bundler"
|
||||
spec.add_development_dependency "rake"
|
||||
end
|
@ -11,6 +11,7 @@
|
||||
#
|
||||
|
||||
module IRB # :nodoc:
|
||||
@RELEASE_VERSION = "0.9.6"
|
||||
VERSION = "0.9.6"
|
||||
@RELEASE_VERSION = VERSION
|
||||
@LAST_UPDATE_DATE = "09/06/30"
|
||||
end
|
||||
|
@ -27,6 +27,7 @@
|
||||
# * https://github.com/ruby/ostruct
|
||||
# * https://github.com/ruby/rexml
|
||||
# * https://github.com/ruby/rss
|
||||
# * https://github.com/ruby/irb
|
||||
#
|
||||
|
||||
$repositories = {
|
||||
@ -57,6 +58,7 @@ $repositories = {
|
||||
ostruct: 'ruby/ostruct',
|
||||
rexml: 'ruby/rexml',
|
||||
rss: 'ruby/rss',
|
||||
irb: 'ruby/irb',
|
||||
}
|
||||
|
||||
def sync_default_gems(gem)
|
||||
@ -130,6 +132,11 @@ def sync_default_gems(gem)
|
||||
`cp -rf ../csv/lib/* lib`
|
||||
`cp -rf ../csv/test/csv test`
|
||||
`cp -f ../csv/csv.gemspec lib/csv`
|
||||
when "irb"
|
||||
`rm -rf lib/irb* test/irb`
|
||||
`cp -rf ../irb/lib/* lib`
|
||||
`cp -rf ../irb/test/irb test`
|
||||
`cp -f ../irb/irb.gemspec lib/irb`
|
||||
when "webrick"
|
||||
`rm -rf lib/webrick* test/webrick`
|
||||
`cp -rf ../webrick/lib/webrick* lib`
|
||||
|
Loading…
x
Reference in New Issue
Block a user