aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reline/reline.gemspec
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2019-04-27 14:53:09 +0900
committeraycabta <aycabta@gmail.com>2019-04-30 11:44:20 +0900
commit17350c7e5534c8678097d70698fe08614a6c3997 (patch)
tree0f41959093014a97d50aeb06a052f5450b4cb6b1 /lib/reline/reline.gemspec
parenteb45ba61160dbae412407f232fe9b3252eb99362 (diff)
downloadruby-17350c7e5534c8678097d70698fe08614a6c3997.tar.gz
Add Reline as a fallback library for Readline
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible library. * lib/readline.rb: Readline uses a fallback to Reline when ext/readline doesn't exist. * tool/sync_default_gems.rb: add ruby/reline as a default gem. * appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit of Reline, and add "--exclude readline" to "nmake test-all" on Visual Studio builds because of strange behavior. * spec/ruby/library/readline/spec_helper.rb: skip Reline as with RbReadline.
Diffstat (limited to 'lib/reline/reline.gemspec')
-rw-r--r--lib/reline/reline.gemspec25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/reline/reline.gemspec b/lib/reline/reline.gemspec
new file mode 100644
index 0000000000..b8e96d6613
--- /dev/null
+++ b/lib/reline/reline.gemspec
@@ -0,0 +1,25 @@
+
+lib = File.expand_path('../lib', __FILE__)
+$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+require 'reline/version'
+
+Gem::Specification.new do |spec|
+ spec.name = 'reline'
+ spec.version = Reline::VERSION
+ spec.authors = ['aycabta']
+ spec.email = ['aycabta@gmail.com']
+
+ spec.summary = %q{Alternative GNU Readline or Editline implementation by pure Ruby.}
+ spec.description = %q{Alternative GNU Readline or Editline implementation by pure Ruby.}
+ spec.homepage = 'https://github.com/ruby/reline'
+ spec.license = 'Ruby License'
+
+ spec.files = Dir['BSDL', 'COPYING', 'README.md', 'lib/**/*']
+ 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'
+ spec.add_development_dependency 'test-unit'
+end