2018-07-31 08:56:17 -04:00
|
|
|
begin
|
|
|
|
require_relative "lib/irb/version"
|
|
|
|
rescue LoadError
|
|
|
|
# for Ruby core repository
|
|
|
|
require_relative "version"
|
|
|
|
end
|
2018-07-09 10:01:05 -04: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 07:15:59 -04:00
|
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
2018-07-09 10:01:05 -04:00
|
|
|
|
2019-09-16 07:01:42 -04:00
|
|
|
spec.files = [
|
2020-02-01 02:27:03 -05:00
|
|
|
".document",
|
2019-09-16 07:01:42 -04: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 11:46:19 -04:00
|
|
|
] + Dir.glob("lib/**/*")
|
2018-07-09 10:01:05 -04:00
|
|
|
spec.bindir = "exe"
|
|
|
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
2019-12-07 06:26:01 -05:00
|
|
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5")
|
2019-07-15 04:20:48 -04:00
|
|
|
|
2021-10-09 10:27:45 -04:00
|
|
|
spec.add_dependency "reline", ">= 0.2.8.pre.11"
|
2018-07-09 10:01:05 -04:00
|
|
|
end
|