summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorahoward <ara.t.howard@gmail.com>2014-02-13 11:32:38 -0700
committerahoward <ara.t.howard@gmail.com>2014-02-13 11:32:38 -0700
commit0612460786b1398841d54798541c708b2908bee9 (patch)
tree4abcc31f94813b73e2a3a693b1acbc13791c814a
parentb23da2d383effec160ddf22725a330885077f89b (diff)
downloadsystemu-0612460786b1398841d54798541c708b2908bee9.tar.gz
update gem/desc
-rw-r--r--Rakefile13
-rw-r--r--lib/systemu.rb5
-rw-r--r--pkg/systemu-2.6.0.gembin13824 -> 0 bytes
-rw-r--r--pkg/systemu-2.6.1.gembin0 -> 13824 bytes
-rw-r--r--systemu.gemspec6
5 files changed, 14 insertions, 10 deletions
diff --git a/Rakefile b/Rakefile
index d103852..46da394 100644
--- a/Rakefile
+++ b/Rakefile
@@ -32,7 +32,7 @@ def run_tests!(which = nil)
test_rbs.each_with_index do |test_rb, index|
testno = index + 1
- command = "#{ This.ruby } -I ./lib -I ./test/lib #{ test_rb }"
+ command = "#{ This.ruby } -w -I ./lib -I ./test/lib #{ test_rb }"
puts
say(div, :color => :cyan, :bold => true)
@@ -63,7 +63,7 @@ end
task :gemspec do
ignore_extensions = ['git', 'svn', 'tmp', /sw./, 'bak', 'gem']
ignore_directories = ['pkg']
- ignore_files = ['test/log', 'a.rb']
+ ignore_files = ['test/log']
shiteless =
lambda do |list|
@@ -93,6 +93,7 @@ task :gemspec do
test_files = "test/#{ lib }.rb" if File.file?("test/#{ lib }.rb")
summary = object.respond_to?(:summary) ? object.summary : "summary: #{ lib } kicks the ass"
description = object.respond_to?(:description) ? object.description : "description: #{ lib } kicks the ass"
+ license = object.respond_to?(:license) ? object.license : "same as ruby's"
if This.extensions.nil?
This.extensions = []
@@ -118,7 +119,7 @@ task :gemspec do
spec.platform = Gem::Platform::RUBY
spec.summary = #{ lib.inspect }
spec.description = #{ description.inspect }
- spec.license = "same as ruby's"
+ spec.license = #{ license.inspect }
spec.files =\n#{ files.sort.pretty_inspect }
spec.executables = #{ executables.inspect }
@@ -179,8 +180,8 @@ task :readme do
end
template =
- if test(?e, 'readme.erb')
- Template{ IO.read('readme.erb') }
+ if test(?e, 'README.erb')
+ Template{ IO.read('README.erb') }
else
Template {
<<-__
@@ -278,7 +279,7 @@ BEGIN {
# discover full path to this ruby executable
#
- c = begin; ::RbConfig::CONFIG; rescue NameError; ::Config::CONFIG; end
+ c = Config::CONFIG
bindir = c["bindir"] || c['BINDIR']
ruby_install_name = c['ruby_install_name'] || c['RUBY_INSTALL_NAME'] || 'ruby'
ruby_ext = c['EXEEXT'] || ''
diff --git a/lib/systemu.rb b/lib/systemu.rb
index 04c24d9..0ead619 100644
--- a/lib/systemu.rb
+++ b/lib/systemu.rb
@@ -14,9 +14,12 @@ class SystemUniversal
#
# constants
#
- SystemUniversal::VERSION = '2.6.0' unless SystemUniversal.send(:const_defined?, :VERSION)
+ SystemUniversal::VERSION = '2.6.1' unless SystemUniversal.send(:const_defined?, :VERSION)
def SystemUniversal.version() SystemUniversal::VERSION end
def version() SystemUniversal::VERSION end
+ def SystemUniversal.description
+ "universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc."
+ end
#
# class methods
#
diff --git a/pkg/systemu-2.6.0.gem b/pkg/systemu-2.6.0.gem
deleted file mode 100644
index e2d5587..0000000
--- a/pkg/systemu-2.6.0.gem
+++ /dev/null
Binary files differ
diff --git a/pkg/systemu-2.6.1.gem b/pkg/systemu-2.6.1.gem
new file mode 100644
index 0000000..ae3a937
--- /dev/null
+++ b/pkg/systemu-2.6.1.gem
Binary files differ
diff --git a/systemu.gemspec b/systemu.gemspec
index 23a6241..c029cc2 100644
--- a/systemu.gemspec
+++ b/systemu.gemspec
@@ -3,11 +3,11 @@
Gem::Specification::new do |spec|
spec.name = "systemu"
- spec.version = "2.6.0"
+ spec.version = "2.6.1"
spec.platform = Gem::Platform::RUBY
spec.summary = "systemu"
- spec.description = "description: systemu kicks the ass"
- spec.license = "same as ruby's"
+ spec.description = "universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc."
+ spec.license = "same as ruby's"
spec.files =
["LICENSE",