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
@@ -3,5 +3,5 @@ Manifest.txt
3
3
  README.txt
4
4
  lib/jruby-jars.rb
5
5
  lib/jruby-jars/version.rb
6
- lib/jruby-core-1.5.6.jar
7
- lib/jruby-stdlib-1.5.6.jar
6
+ lib/jruby-core-1.6.0.RC1.jar
7
+ lib/jruby-stdlib-1.6.0.RC1.jar
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.
@@ -1,3 +1,3 @@
1
1
  module JRubyJars
2
- VERSION = '1.5.6'
2
+ VERSION = '1.6.0.RC1'
3
3
  end
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: false
5
- segments:
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: 2010-12-03 00:00:00 -06:00
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
- segments:
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.5.6.jar
56
- - lib/jruby-stdlib-1.5.6.jar
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://www.jruby.org
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
- segments:
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.3.7
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