diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-20 02:24:59 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-07-20 02:24:59 +0000 |
commit | d6ec12417a1d554825a291dae10e8508a0cbbd06 (patch) | |
tree | 3dff23229c4b4edd033f61a3840f319285ff130f /lib/shell/shell.gemspec | |
parent | 6d4a5caa6227ab9cc67f039b4dfaaddc0230b372 (diff) |
Promote Shell library to default gems.
* doc/*: Move entry to default gems category from standard library.
* lib/shell/*: Added `Shell::VERSION` and re-used it with @RELEASE_VERSION.
* test/shell/test_command_processor.rb: added missing require for test library.
* tool/sync_default_gems.rb: Support shell library. We need to ignore shellwords.rb when
syncing shell* files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/shell/shell.gemspec')
-rw-r--r-- | lib/shell/shell.gemspec | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/shell/shell.gemspec b/lib/shell/shell.gemspec new file mode 100644 index 0000000000..ffd42d5ad9 --- /dev/null +++ b/lib/shell/shell.gemspec @@ -0,0 +1,21 @@ +require_relative "version" + +Gem::Specification.new do |spec| + spec.name = "shell" + spec.version = Shell::VERSION + spec.authors = ["Keiju ISHITSUKA"] + spec.email = ["keiju@ruby-lang.org"] + + spec.summary = %q{An idiomatic Ruby interface for common UNIX shell commands.} + spec.description = %q{An idiomatic Ruby interface for common UNIX shell commands.} + spec.homepage = "https://github.com/ruby/shell" + spec.license = "BSD-2-Clause" + + spec.files = [".gitignore", ".travis.yml", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "bin/console", "bin/setup", "lib/shell.rb", "lib/shell/builtin-command.rb", "lib/shell/command-processor.rb", "lib/shell/error.rb", "lib/shell/filter.rb", "lib/shell/process-controller.rb", "lib/shell/system-command.rb", "lib/shell/version.rb", "shell.gemspec"] + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] + + spec.add_development_dependency "bundler" + spec.add_development_dependency "rake" +end |