diff options
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | lib/systemu.rb | 6 | ||||
-rw-r--r-- | systemu.gemspec | 2 |
3 files changed, 7 insertions, 9 deletions
@@ -53,7 +53,7 @@ SAMPLES ~ > ruby samples/a.rb - [#<Process::Status: pid=17907,exited(0)>, "Tue Aug 16 22:40:42 -0600 2011\n", "Tue Aug 16 22:40:42 -0600 2011\n"] + [#<Process::Status: pid 16667 exit 0>, "2011-09-13 20:50:37 -0600\n", "2011-09-13 20:50:37 -0600\n"] <========< samples/b.rb >========> @@ -75,7 +75,7 @@ SAMPLES ~ > ruby samples/b.rb - [#<Process::Status: pid=17912,exited(0)>, "Tue Aug 16 22:40:42 -0600 2011\n", "Tue Aug 16 22:40:42 -0600 2011\n"] + [#<Process::Status: pid 16672 exit 0>, "2011-09-13 20:50:37 -0600\n", "2011-09-13 20:50:37 -0600\n"] <========< samples/c.rb >========> @@ -163,7 +163,7 @@ SAMPLES ~ > ruby samples/f.rb - #<Process::Status: pid=17932,signaled(SIGKILL=9)> - "1313556042\n1313556043\n1313556044\n" + #<Process::Status: pid 16692 SIGKILL (signal 9)> + "1315968638\n1315968639\n1315968640\n" diff --git a/lib/systemu.rb b/lib/systemu.rb index f0dbb8c..23e8464 100644 --- a/lib/systemu.rb +++ b/lib/systemu.rb @@ -13,7 +13,7 @@ class SystemUniversal # # constants # - SystemUniversal::VERSION = '2.3.0' unless SystemUniversal.send(:const_defined?, :VERSION) + SystemUniversal::VERSION = '2.3.1' unless SystemUniversal.send(:const_defined?, :VERSION) def SystemUniversal.version() SystemUniversal::VERSION end def version() SystemUniversal::VERSION end # @@ -25,7 +25,7 @@ class SystemUniversal @pid = Process.pid @turd = ENV['SYSTEMU_TURD'] - c = ::Config::CONFIG + c = begin; ::RbConfig::CONFIG; rescue NameError; ::Config::CONFIG; end ruby = File.join(c['bindir'], c['ruby_install_name']) << c['EXEEXT'] @ruby = if system('%s -e 42' % ruby) ruby @@ -173,8 +173,6 @@ class SystemUniversal <<-program PIPE = STDOUT.dup begin - require 'yaml' - config = Marshal.load(IO.read('#{ config }')) argv = config['argv'] diff --git a/systemu.gemspec b/systemu.gemspec index 057ae50..72e6639 100644 --- a/systemu.gemspec +++ b/systemu.gemspec @@ -3,7 +3,7 @@ Gem::Specification::new do |spec| spec.name = "systemu" - spec.version = "2.2.0" + spec.version = "2.3.0" spec.platform = Gem::Platform::RUBY spec.summary = "systemu" spec.description = "description: systemu kicks the ass" |