ruby-changes:58662
From: Hiroshi <ko1@a...>
Date: Sat, 9 Nov 2019 07:32:54 +0900 (JST)
Subject: [ruby-changes:58662] fc1d06b25d (master): Added gemspec for readline gem that is wrapper library for reline and readline extension
https://git.ruby-lang.org/ruby.git/commit/?id=fc1d06b25d From fc1d06b25d0ba3b1fb14b55cbff0218d8298bcf0 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Fri, 8 Nov 2019 14:31:43 +0900 Subject: Added gemspec for readline gem that is wrapper library for reline and readline extension diff --git a/doc/maintainers.rdoc b/doc/maintainers.rdoc index 56e9213..1cc73df 100644 --- a/doc/maintainers.rdoc +++ b/doc/maintainers.rdoc @@ -232,6 +232,10 @@ Zachary Scott (zzak) https://github.com/ruby/ruby/blob/trunk/doc/maintainers.rdoc#L232 Aaron Patterson (tenderlove), Hiroshi SHIBATA (hsbt) https://github.com/ruby/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/*] Eric Hodel (drbrain), Hiroshi SHIBATA (hsbt) https://github.com/ruby/rdoc diff --git a/lib/readline.gemspec b/lib/readline.gemspec new file mode 100644 index 0000000..0f8ff96 --- /dev/null +++ b/lib/readline.gemspec @@ -0,0 +1,23 @@ https://github.com/ruby/ruby/blob/trunk/lib/readline.gemspec#L1 +Gem::Specification.new do |spec| + spec.name = 'readline' + spec.version = '0.0.1.pre.1' + spec.authors = ['aycabta'] + spec.email = ['aycabta@g...'] + + 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 diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 3e0bd4e..3cd9177 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -42,6 +42,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L42 # * https://github.com/ruby/net-pop # * https://github.com/ruby/net-smtp # * https://github.com/ruby/cgi +# * https://github.com/ruby/readline # require 'fileutils' @@ -91,6 +92,7 @@ $repositories = { https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L92 netpop: "ruby/net-pop", netsmtp: "ruby/net-smtp", cgi: "ruby/cgi", + readline: "ruby/readline", } def sync_default_gems(gem) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/