2018-07-31 15:56:17 +03:00
|
|
|
begin
|
|
|
|
require_relative "lib/irb/version"
|
|
|
|
rescue LoadError
|
|
|
|
# for Ruby core repository
|
|
|
|
require_relative "version"
|
|
|
|
end
|
2018-07-09 17:01:05 +03:00
|
|
|
|
|
|
|
Gem::Specification.new do |spec|
|
|
|
|
spec.name = "irb"
|
|
|
|
spec.version = IRB::VERSION
|
2022-10-05 09:15:22 +03:00
|
|
|
spec.authors = ["aycabta", "Keiju ISHITSUKA"]
|
|
|
|
spec.email = ["aycabta@gmail.com", "keiju@ruby-lang.org"]
|
2018-07-09 17:01:05 +03:00
|
|
|
|
|
|
|
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 14:15:59 +03:00
|
|
|
spec.licenses = ["Ruby", "BSD-2-Clause"]
|
2018-07-09 17:01:05 +03:00
|
|
|
|
2019-09-16 14:01:42 +03:00
|
|
|
spec.files = [
|
2020-02-01 10:27:03 +03:00
|
|
|
".document",
|
2019-09-16 14:01:42 +03: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 18:46:19 +03:00
|
|
|
] + Dir.glob("lib/**/*")
|
2018-07-09 17:01:05 +03:00
|
|
|
spec.bindir = "exe"
|
|
|
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
|
|
spec.require_paths = ["lib"]
|
|
|
|
|
2019-12-07 14:26:01 +03:00
|
|
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.5")
|
2019-07-15 11:20:48 +03:00
|
|
|
|
2021-12-24 18:41:15 +03:00
|
|
|
spec.add_dependency "reline", ">= 0.3.0"
|
2018-07-09 17:01:05 +03:00
|
|
|
end
|