mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added gemspec for readline gem that is wrapper library for reline and readline extension
This commit is contained in:
parent
b5d8849220
commit
fc1d06b25d
3 changed files with 29 additions and 0 deletions
|
@ -232,6 +232,10 @@ Zachary Scott (zzak)
|
||||||
Aaron Patterson (tenderlove), Hiroshi SHIBATA (hsbt)
|
Aaron Patterson (tenderlove), Hiroshi SHIBATA (hsbt)
|
||||||
https://github.com/ruby/racc
|
https://github.com/ruby/racc
|
||||||
https://rubygems.org/gems/racc
|
https://rubygems.org/gems/racc
|
||||||
|
[lib/readline.rb]
|
||||||
|
aycabta
|
||||||
|
https://github.com/ruby/readline
|
||||||
|
https://rubygems.org/gems/readline
|
||||||
[lib/rdoc.rb, lib/rdoc/*]
|
[lib/rdoc.rb, lib/rdoc/*]
|
||||||
Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt)
|
Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt)
|
||||||
https://github.com/ruby/rdoc
|
https://github.com/ruby/rdoc
|
||||||
|
|
23
lib/readline.gemspec
Normal file
23
lib/readline.gemspec
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
Gem::Specification.new do |spec|
|
||||||
|
spec.name = 'readline'
|
||||||
|
spec.version = '0.0.1.pre.1'
|
||||||
|
spec.authors = ['aycabta']
|
||||||
|
spec.email = ['aycabta@gmail.com']
|
||||||
|
|
||||||
|
spec.summary = %q{It's a loader for "readline".}
|
||||||
|
spec.description = <<~EOD
|
||||||
|
This is just loader for "readline". If Ruby has "readline-ext" gem that
|
||||||
|
is a native extension, this gem will load its first. If Ruby doesn't have
|
||||||
|
the "readline-ext" gem this gem will load "reline" that is a compatible
|
||||||
|
library with "readline-ext" gem and is implemented by pure Ruby.
|
||||||
|
EOD
|
||||||
|
spec.homepage = 'https://github.com/ruby/readline'
|
||||||
|
spec.license = 'Ruby license'
|
||||||
|
|
||||||
|
spec.files = Dir['BSDL', 'COPYING', 'README.md', 'lib/readline.rb']
|
||||||
|
spec.require_paths = ['lib']
|
||||||
|
|
||||||
|
spec.add_runtime_dependency 'reline'
|
||||||
|
spec.add_development_dependency 'bundler'
|
||||||
|
spec.add_development_dependency 'rake'
|
||||||
|
end
|
|
@ -42,6 +42,7 @@
|
||||||
# * https://github.com/ruby/net-pop
|
# * https://github.com/ruby/net-pop
|
||||||
# * https://github.com/ruby/net-smtp
|
# * https://github.com/ruby/net-smtp
|
||||||
# * https://github.com/ruby/cgi
|
# * https://github.com/ruby/cgi
|
||||||
|
# * https://github.com/ruby/readline
|
||||||
#
|
#
|
||||||
|
|
||||||
require 'fileutils'
|
require 'fileutils'
|
||||||
|
@ -91,6 +92,7 @@ $repositories = {
|
||||||
netpop: "ruby/net-pop",
|
netpop: "ruby/net-pop",
|
||||||
netsmtp: "ruby/net-smtp",
|
netsmtp: "ruby/net-smtp",
|
||||||
cgi: "ruby/cgi",
|
cgi: "ruby/cgi",
|
||||||
|
readline: "ruby/readline",
|
||||||
}
|
}
|
||||||
|
|
||||||
def sync_default_gems(gem)
|
def sync_default_gems(gem)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue