jruby-jars 1.5.6 → 1.6.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
data/Manifest.txt
CHANGED
data/README.txt
CHANGED
@@ -30,6 +30,31 @@ A Ruby implementation with working RubyGems.
|
|
30
30
|
|
31
31
|
Install like any other gem.
|
32
32
|
|
33
|
+
== USAGE:
|
34
|
+
|
35
|
+
To run an instance of JRuby core without stdlib, you can do the following:
|
36
|
+
|
37
|
+
require 'jruby-jars'
|
38
|
+
exec("java", "-cp", JRubyJars.core_jar_path, "org.jruby.Main")
|
39
|
+
|
40
|
+
If you need access to the standard library as well, then you can do:
|
41
|
+
|
42
|
+
classpath = [
|
43
|
+
JRubyJars.core_jar_path,
|
44
|
+
JRubyJars.stdlib_jar_path
|
45
|
+
].join(File::PATH_SEPARATOR)
|
46
|
+
exec("java", "-cp", classpath, "org.jruby.Main")
|
47
|
+
|
48
|
+
Building on this this, then, you could build a cross-platform way to execute
|
49
|
+
commands with jruby:
|
50
|
+
|
51
|
+
args = ["-cp", classpath, "org.jruby.Main"] + ARGV
|
52
|
+
exec("java", *args)
|
53
|
+
|
54
|
+
And call this with:
|
55
|
+
|
56
|
+
myjruby -I"lib:test" test/test_jruby_execution.rb
|
57
|
+
|
33
58
|
== LICENSE:
|
34
59
|
|
35
60
|
JRuby is tri-licensed GPL, LGPL, and CPL.
|
Binary file
|
data/lib/jruby-jars/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jruby-jars
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 5
|
8
|
-
- 6
|
9
|
-
version: 1.5.6
|
4
|
+
prerelease: 6
|
5
|
+
version: 1.6.0.rc1
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Charles Oliver Nutter
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date:
|
13
|
+
date: 2011-01-10 00:00:00 -06:00
|
18
14
|
default_executable:
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,11 +21,7 @@ dependencies:
|
|
25
21
|
requirements:
|
26
22
|
- - ">="
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
- 2
|
30
|
-
- 3
|
31
|
-
- 3
|
32
|
-
version: 2.3.3
|
24
|
+
version: 2.8.0
|
33
25
|
type: :development
|
34
26
|
version_requirements: *id001
|
35
27
|
description: |-
|
@@ -52,10 +44,10 @@ files:
|
|
52
44
|
- README.txt
|
53
45
|
- lib/jruby-jars.rb
|
54
46
|
- lib/jruby-jars/version.rb
|
55
|
-
- lib/jruby-core-1.
|
56
|
-
- lib/jruby-stdlib-1.
|
47
|
+
- lib/jruby-core-1.6.0.RC1.jar
|
48
|
+
- lib/jruby-stdlib-1.6.0.RC1.jar
|
57
49
|
has_rdoc: true
|
58
|
-
homepage: http://
|
50
|
+
homepage: http://github.com/jruby/jruby/tree/master/gem/
|
59
51
|
licenses: []
|
60
52
|
|
61
53
|
post_install_message:
|
@@ -69,21 +61,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
61
|
requirements:
|
70
62
|
- - ">="
|
71
63
|
- !ruby/object:Gem::Version
|
72
|
-
segments:
|
73
|
-
- 0
|
74
64
|
version: "0"
|
75
65
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
66
|
none: false
|
77
67
|
requirements:
|
78
|
-
- - "
|
68
|
+
- - ">"
|
79
69
|
- !ruby/object:Gem::Version
|
80
|
-
|
81
|
-
- 0
|
82
|
-
version: "0"
|
70
|
+
version: 1.3.1
|
83
71
|
requirements: []
|
84
72
|
|
85
73
|
rubyforge_project: jruby-extras
|
86
|
-
rubygems_version: 1.
|
74
|
+
rubygems_version: 1.4.2
|
87
75
|
signing_key:
|
88
76
|
specification_version: 3
|
89
77
|
summary: This gem includes the core JRuby code and the JRuby 1.8 stdlib as jar files
|