From 0612460786b1398841d54798541c708b2908bee9 Mon Sep 17 00:00:00 2001 From: ahoward Date: Thu, 13 Feb 2014 11:32:38 -0700 Subject: update gem/desc --- Rakefile | 13 +++++++------ lib/systemu.rb | 5 ++++- pkg/systemu-2.6.0.gem | Bin 13824 -> 0 bytes pkg/systemu-2.6.1.gem | Bin 0 -> 13824 bytes systemu.gemspec | 6 +++--- 5 files changed, 14 insertions(+), 10 deletions(-) delete mode 100644 pkg/systemu-2.6.0.gem create mode 100644 pkg/systemu-2.6.1.gem 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 Binary files a/pkg/systemu-2.6.0.gem and /dev/null differ diff --git a/pkg/systemu-2.6.1.gem b/pkg/systemu-2.6.1.gem new file mode 100644 index 0000000..ae3a937 Binary files /dev/null and b/pkg/systemu-2.6.1.gem 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", -- cgit v1.2.1