-
Notifications
You must be signed in to change notification settings - Fork 7
/
rubysh.gemspec
28 lines (24 loc) · 1.06 KB
/
rubysh.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
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/rubysh/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ['Greg Brockman']
gem.email = ['gdb@gregbrockman.com']
gem.description = 'Rubysh: Ruby subprocesses made easy'
gem.summary = "Rubysh makes shelling out easy with a __sh__-like syntax layer for Ruby:
irb -r rubysh
>> command = Rubysh('echo', 'hello-from-Rubysh') | Rubysh('grep', '--color', 'Rubysh')
>> command.run
hello-from-Rubysh
=> Rubysh::Runner: echo hello-from-Rubysh | grep --color Rubysh (exitstatus: 0)"
gem.homepage = ''
gem.files = `git ls-files`.split($\)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = 'rubysh'
gem.require_paths = ['lib']
gem.version = Rubysh::VERSION
gem.add_development_dependency 'rake'
gem.add_development_dependency 'minitest'
gem.add_development_dependency 'mocha'
gem.add_development_dependency 'chalk-rake'
end