jruby-jars 1.7.1 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/DEV_INSTRUCTIONS ADDED
@@ -0,0 +1,7 @@
1
+ In order to build a new jruby-jars gem, here is the process:
2
+
3
+ * Run 'rake gem'
4
+
5
+ The 'update' task will update version.rb and create the jar files.
6
+ You may commit the contents of the version.rb file, but it is not a requirement.
7
+ However update should always be run before building the gem to ensure the latest code is pulled in.
data/README.txt CHANGED
@@ -4,7 +4,7 @@ http://www.jruby.org
4
4
 
5
5
  == DESCRIPTION:
6
6
 
7
- This gem includes the core JRuby code and the JRuby 1.8 stdlib as jar files.
7
+ This gem includes the core JRuby code and the JRuby 1.8/1.9 stdlib as jar files.
8
8
  It provides a way to have other gems depend on JRuby without including (and
9
9
  freezing to) a specific jruby-complete jar version.
10
10
 
data/Rakefile ADDED
@@ -0,0 +1,54 @@
1
+ # -*- ruby -*-
2
+ require 'rubygems'
3
+
4
+ JRUBY_SRC_VERSION = IO.readlines("../../default.build.properties").detect {|l| l =~ /^version\.jruby=(.*)/} && $1
5
+ GEM_FILE = "pkg/jruby-jars-#{JRUBY_SRC_VERSION}.gem"
6
+ GEM_SPEC_FILE = 'jruby-jars.gemspec'
7
+ JRUBY_COMPLETE_JAR = 'pkg/jruby-complete-#{JRUBY_SRC_VERSION}.jar'
8
+
9
+ task :default => :package
10
+
11
+ directory 'pkg'
12
+
13
+ file JRUBY_COMPLETE_JAR => :pkg do
14
+ pkg_dir = File.expand_path('pkg')
15
+ fail "Run `ant dist' first to create complete jar" unless File.exist?("../../dist/jruby-complete-#{JRUBY_SRC_VERSION}.jar")
16
+ cp "../../dist/jruby-complete-#{JRUBY_SRC_VERSION}.jar", pkg_dir
17
+ end
18
+
19
+ desc "Run to update jars and versions"
20
+ task :update => JRUBY_COMPLETE_JAR do
21
+ rm_f 'lib/*.jar'
22
+ %w(pkg/jruby-core pkg/jruby-stdlib/META-INF).each {|d| rm_rf d; mkdir_p d }
23
+ Dir.chdir("pkg/jruby-core") do
24
+ sh "jar xf ../../../../dist/jruby-complete-#{JRUBY_SRC_VERSION}.jar"
25
+ mv "META-INF/jruby.home", "../jruby-stdlib/META-INF"
26
+ rm_rf "cext"
27
+ end
28
+ sh "jar cfm pkg/jruby-core-#{JRUBY_SRC_VERSION}.jar pkg/jruby-core/META-INF/MANIFEST.MF -C pkg/jruby-core ."
29
+ sh "jar cf pkg/jruby-stdlib-#{JRUBY_SRC_VERSION}.jar -C pkg/jruby-stdlib ."
30
+ cp "pkg/jruby-core-#{JRUBY_SRC_VERSION}.jar", 'lib'
31
+ cp "pkg/jruby-stdlib-#{JRUBY_SRC_VERSION}.jar", 'lib'
32
+
33
+ mkdir_p 'lib/jruby-jars'
34
+ File.open('lib/jruby-jars/version.rb', 'w') do |file|
35
+ file.write("module JRubyJars\n VERSION = '#{JRUBY_SRC_VERSION}'\nend")
36
+ end
37
+ end
38
+
39
+ task :clean do
40
+ rm_f 'lib/jruby-jars/version.rb'
41
+ rm_f 'lib/*.jar'
42
+ end
43
+
44
+ file "lib/jruby-jars/version.rb" => :update
45
+ file "lib/jruby-core-#{JRUBY_SRC_VERSION}.jar" => :update
46
+ file "lib/jruby-stdlib-#{JRUBY_SRC_VERSION}.jar" => :update
47
+
48
+ file GEM_FILE => [GEM_SPEC_FILE, :update] do
49
+ puts "Generating #{GEM_FILE}"
50
+ `gem build #{GEM_SPEC_FILE}`
51
+ FileUtils.mv "jruby-jars-#{JRUBY_SRC_VERSION}.gem", GEM_FILE
52
+ end
53
+ task :gem => GEM_FILE
54
+ task :package => :gem
@@ -1,3 +1,3 @@
1
1
  module JRubyJars
2
- VERSION = '1.7.1'
2
+ VERSION = '1.7.2'
3
3
  end
metadata CHANGED
@@ -2,93 +2,53 @@
2
2
  name: jruby-jars
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.7.1
5
+ version: 1.7.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Charles Oliver Nutter
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-03 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: rdoc
16
- version_requirements: !ruby/object:Gem::Requirement
17
- requirements:
18
- - - ~>
19
- - !ruby/object:Gem::Version
20
- version: '3.10'
21
- none: false
22
- requirement: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ~>
25
- - !ruby/object:Gem::Version
26
- version: '3.10'
27
- none: false
28
- prerelease: false
29
- type: :development
30
- - !ruby/object:Gem::Dependency
31
- name: hoe
32
- version_requirements: !ruby/object:Gem::Requirement
33
- requirements:
34
- - - ~>
35
- - !ruby/object:Gem::Version
36
- version: '3.3'
37
- none: false
38
- requirement: !ruby/object:Gem::Requirement
39
- requirements:
40
- - - ~>
41
- - !ruby/object:Gem::Version
42
- version: '3.3'
43
- none: false
44
- prerelease: false
45
- type: :development
46
- description: |-
47
- This gem includes the core JRuby code and the JRuby 1.8 stdlib as jar files.
48
- It provides a way to have other gems depend on JRuby without including (and
49
- freezing to) a specific jruby-complete jar version.
50
- email:
51
- - headius@headius.com
12
+ date: 2013-01-04 00:00:00.000000000 Z
13
+ dependencies: []
14
+ description: ''
15
+ email: headius@headius.com
52
16
  executables: []
53
17
  extensions: []
54
- extra_rdoc_files:
55
- - History.txt
56
- - Manifest.txt
57
- - README.txt
18
+ extra_rdoc_files: []
58
19
  files:
20
+ - DEV_INSTRUCTIONS
59
21
  - History.txt
60
- - Manifest.txt
22
+ - Rakefile
61
23
  - README.txt
24
+ - lib/jruby-core-1.7.2.jar
62
25
  - lib/jruby-jars.rb
26
+ - lib/jruby-stdlib-1.7.2.jar
63
27
  - lib/jruby-jars/version.rb
64
- - lib/jruby-core-1.7.1.jar
65
- - lib/jruby-stdlib-1.7.1.jar
66
- homepage: http://github.com/jruby/jruby/tree/master/gem/
28
+ homepage: http://github.com/jruby/jruby/tree/master/gem/jruby-jars
67
29
  licenses: []
68
30
  post_install_message:
69
- rdoc_options:
70
- - --main
71
- - README.txt
31
+ rdoc_options: []
72
32
  require_paths:
73
33
  - lib
74
34
  required_ruby_version: !ruby/object:Gem::Requirement
75
35
  requirements:
76
- - - ! '>='
36
+ - - ">="
77
37
  - !ruby/object:Gem::Version
78
38
  version: !binary |-
79
39
  MA==
80
40
  none: false
81
41
  required_rubygems_version: !ruby/object:Gem::Requirement
82
42
  requirements:
83
- - - ! '>='
43
+ - - ">="
84
44
  - !ruby/object:Gem::Version
85
45
  version: !binary |-
86
46
  MA==
87
47
  none: false
88
48
  requirements: []
89
- rubyforge_project: jruby-extras
49
+ rubyforge_project: jruby/jruby
90
50
  rubygems_version: 1.8.24
91
51
  signing_key:
92
52
  specification_version: 3
93
- summary: This gem includes the core JRuby code and the JRuby 1.8 stdlib as jar files
53
+ summary: The core JRuby code and the JRuby stdlib as jar files.
94
54
  test_files: []
data/Manifest.txt DELETED
@@ -1,7 +0,0 @@
1
- History.txt
2
- Manifest.txt
3
- README.txt
4
- lib/jruby-jars.rb
5
- lib/jruby-jars/version.rb
6
- lib/jruby-core-1.7.1.jar
7
- lib/jruby-stdlib-1.7.1.jar