forked from ConnorAtherton/rb-readline
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrb-readline.gemspec
51 lines (39 loc) · 1.55 KB
/
rb-readline.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# encoding: UTF-8
libdir = File.join(File.dirname(__FILE__), 'lib')
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
require "rbreadline/version"
spec = Gem::Specification.new do |s|
# basic information
s.name = "rb-readline"
s.version = RbReadline::RB_READLINE_VERSION
s.platform = Gem::Platform::RUBY
# description and details
s.summary = 'Pure-Ruby Readline Implementation'
s.description = "The readline library provides a pure Ruby implementation of the GNU readline C library, as well as the Readline extension that ships as part of the standard library."
# project information
s.homepage = 'http://github.com/ConnorAtherton/rb-readline'
s.licenses = ['BSD']
# author and contributors
s.authors = ['Park Heesob', 'Daniel Berger', 'Luis Lavena', 'Connor Atherton']
# requirements
s.required_ruby_version = ">= 1.8.6"
s.required_rubygems_version = ">= 1.3.5"
# development dependencies
s.add_development_dependency 'rake'
s.add_development_dependency "minitest", "~> 5.2"
# components, files and paths
s.files = Dir[
"{bench,examples,lib,test}/**/*.rb",
"README.rdoc",
"LICENSE",
"CHANGES",
"Rakefile",
"rb-readline.gemspec",
"setup.rb"
]
s.require_path = 'lib'
# documentation
s.rdoc_options << '--main' << 'README.rdoc' << '--title' << 'Rb-Readline - Documentation'
s.extra_rdoc_files = %w(README.rdoc LICENSE CHANGES)
end