Debian Codegraph @

lib/readline.gemspec

raw
1 Gem::Specification.new do |spec|
2 spec.name = 'readline'
3 spec.version = '0.0.4'
4 spec.authors = ['aycabta']
5 spec.email = ['[email protected]']
6
7 spec.summary = %q{Loader for "readline".}
8 spec.description = <<~EOD
9 This is just a loader for "readline". If Ruby has the "readline-ext" gem
10 that is a native extension, this gem will load it. If Ruby does not have
11 the "readline-ext" gem this gem will load "reline", a library that is
12 compatible with the "readline-ext" gem and implemented in pure Ruby.
13 EOD
14 spec.homepage = 'https://github.com/ruby/readline'
15 spec.license = 'Ruby'
16
17 spec.files = Dir['BSDL', 'COPYING', 'README.md', 'lib/readline.rb']
18 spec.require_paths = ['lib']
19
20 spec.post_install_message = <<~EOM
21 +---------------------------------------------------------------------------+
22 | This is just a loader for "readline". If Ruby has the "readline-ext" gem |
23 | that is a native extension, this gem will load it. If Ruby does not have |
24 | the "readline-ext" gem this gem will load "reline", a library that is |
25 | compatible with the "readline-ext" gem and implemented in pure Ruby. |
26 | |
27 | If you intend to use GNU Readline by `require 'readline'`, please install |
28 | the "readline-ext" gem. |
29 +---------------------------------------------------------------------------+
30 EOM
31
32 spec.add_runtime_dependency 'reline'
33 end