2018-07-31 12:56:17 +00:00
|
|
|
begin
|
|
|
|
require_relative "lib/irb/version"
|
|
|
|
rescue LoadError
|
|
|
|
# for Ruby core repository
|
|
|
|
require_relative "version"
|
|
|
|
end
|
2018-07-09 14:01:05 +00:00
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "irb"
|
|
|
|
spec.version = IRB::VERSION
|
|
|
|
spec.authors = ["Keiju ISHITSUKA"]
|
|
|
|
spec.email = ["keiju@ruby-lang.org"]
|
|
|
|
|
|
|
|
spec.summary = %q{Interactive Ruby command-line tool for REPL (Read Eval Print Loop).}
|
|
|
|
spec.description = %q{Interactive Ruby command-line tool for REPL (Read Eval Print Loop).}
|
|
|
|
spec.homepage = "https://github.com/ruby/irb"
|
2020-08-18 20:15:59 +09:00
|
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
2018-07-09 14:01:05 +00:00
|
|
|
|
2019-09-16 20:01:42 +09:00
|
|
|
spec.files = [
|
2020-02-01 16:27:03 +09:00
|
|
|
".document",
|
2019-09-16 20:01:42 +09:00
|
|
|
"Gemfile",
|
|
|
|
"LICENSE.txt",
|
|
|
|
"README.md",
|
|
|
|
"Rakefile",
|
|
|
|
"bin/console",
|
|
|
|
"bin/setup",
|
|
|
|
"doc/irb/irb-tools.rd.ja",
|
|
|
|
"doc/irb/irb.rd.ja",
|
|
|
|
"exe/irb",
|
|
|
|
"irb.gemspec",
|
|
|
|
"man/irb.1",
|
2021-03-19 08:46:19 -07:00
|
|
|
] + Dir.glob("lib/**/*")
|
2018-07-09 14:01:05 +00:00
|
|
|
spec.bindir = "exe"
|
|
|
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
2019-12-07 20:26:01 +09:00
|
|
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5")
|
2019-07-15 17:20:48 +09:00
|
|
|
|
2020-09-14 01:00:20 +09:00
|
|
|
spec.add_dependency "reline", ">= 0.1.5"
|
2018-07-09 14:01:05 +00:00
|
|
|
end
|