summaryrefslogtreecommitdiff
path: root/lib/readline.gemspec
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-11-08 14:31:43 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-11-09 07:32:34 +0900
commitfc1d06b25d0ba3b1fb14b55cbff0218d8298bcf0 (patch)
tree8f4cb837225cb792c4f78a896963823735ec96f6 /lib/readline.gemspec
parentb5d884922053962c955df1ce54d9dabc98888272 (diff)
Added gemspec for readline gem that is wrapper library for reline and readline extension
Diffstat (limited to 'lib/readline.gemspec')
-rw-r--r--lib/readline.gemspec23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/readline.gemspec b/lib/readline.gemspec
new file mode 100644
index 0000000000..0f8ff96119
--- /dev/null
+++ b/lib/readline.gemspec
@@ -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