summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorara.t.howard <ara.t.howard@gmail.com>2011-12-11 21:03:05 -0800
committerara.t.howard <ara.t.howard@gmail.com>2011-12-11 21:03:05 -0800
commit8ad252b875ca1251751c7614334c1c6753d4e454 (patch)
treea1bf10e7bbb016dea3b7b22caa10d6480b5e4465
parent6e0b90b18a1733ce5fc35215c4b34a843c9e741a (diff)
parent1add7a0e6bd1113e0a2dfb49a6b7137d912626b7 (diff)
downloadsystemu-8ad252b875ca1251751c7614334c1c6753d4e454.tar.gz
Merge pull request #12 from rdingwell/master
Changed import statement to deal with JRuby/Rake combination
-rw-r--r--lib/systemu.rb2
-rw-r--r--systemu.gemspec2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/systemu.rb b/lib/systemu.rb
index 9121367..e4fc680 100644
--- a/lib/systemu.rb
+++ b/lib/systemu.rb
@@ -259,7 +259,7 @@ end
# some monkeypatching for JRuby
if defined? JRUBY_VERSION
require 'jruby'
- import org.jruby.RubyProcess
+ java_import org.jruby.RubyProcess
class SystemUniversal
def systemu
diff --git a/systemu.gemspec b/systemu.gemspec
index c1f6a31..0e725de 100644
--- a/systemu.gemspec
+++ b/systemu.gemspec
@@ -3,7 +3,7 @@
Gem::Specification::new do |spec|
spec.name = "systemu"
- spec.version = "2.3.1"
+ spec.version = "2.4.2"
spec.platform = Gem::Platform::RUBY
spec.summary = "systemu"
spec.description = "description: systemu kicks the ass"