pangolin 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/pangolin/java/junit.rb +2 -2
- data/pangolin.gemspec +7 -7
- metadata +101 -101
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.2
|
data/lib/pangolin/java/junit.rb
CHANGED
@@ -60,11 +60,11 @@ module Pangolin
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def class_loader
|
63
|
-
@class_loader ||= URLClassLoader.new(class_path_urls.to_java(JURL), ClassLoader.system_class_loader)
|
63
|
+
@class_loader ||= URLClassLoader.new(class_path_urls.to_a.to_java(JURL), ClassLoader.system_class_loader)
|
64
64
|
end
|
65
65
|
|
66
66
|
def class_instances
|
67
|
-
@class_names.map { |class_name| load_class(class_name) }.to_java(java.lang.Class)
|
67
|
+
@class_names.map { |class_name| load_class(class_name) }.to_a.to_java(java.lang.Class)
|
68
68
|
end
|
69
69
|
|
70
70
|
def load_class(class_name)
|
data/pangolin.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{pangolin}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Theo Hultberg"]
|
12
|
-
s.date = %q{2010-05-
|
12
|
+
s.date = %q{2010-05-19}
|
13
13
|
s.description = %q{Ant is a nice tool for writing Java build scripts, but Rake is nicer. The only thing missing from Rake is a way to run javac and jar, and although it's easy to run these as shell scripts you have to wait for the JVM to start. In combination with JRuby this gem lets you run javac and jar in your Rake scripts without exec'ing.}
|
14
14
|
s.email = %q{theo@iconara.net}
|
15
15
|
s.extensions = ["Rakefile"]
|
@@ -69,16 +69,16 @@ Gem::Specification.new do |s|
|
|
69
69
|
s.rubygems_version = %q{1.3.6}
|
70
70
|
s.summary = %q{Ruby wrappers for javac and jar that don't just exec}
|
71
71
|
s.test_files = [
|
72
|
-
"spec/
|
73
|
-
"spec/integration/javac_intg_spec.rb",
|
74
|
-
"spec/integration/junit_intg_spec.rb",
|
75
|
-
"spec/jar_cmd_spec.rb",
|
72
|
+
"spec/jar_cmd_spec.rb",
|
76
73
|
"spec/jar_spec.rb",
|
77
74
|
"spec/javac_cmd_spec.rb",
|
78
75
|
"spec/javac_spec.rb",
|
79
76
|
"spec/junit_cmd_spec.rb",
|
80
77
|
"spec/junit_spec.rb",
|
81
|
-
"spec/spec_helper.rb"
|
78
|
+
"spec/spec_helper.rb",
|
79
|
+
"spec/integration/jar_intg_spec.rb",
|
80
|
+
"spec/integration/javac_intg_spec.rb",
|
81
|
+
"spec/integration/junit_intg_spec.rb"
|
82
82
|
]
|
83
83
|
|
84
84
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -3,123 +3,123 @@ name: pangolin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
version: 0.4.
|
6
|
+
- 0
|
7
|
+
- 4
|
8
|
+
- 2
|
9
|
+
version: 0.4.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
|
-
- Theo Hultberg
|
12
|
+
- Theo Hultberg
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-19 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rubyzip
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
29
|
+
- 9
|
30
|
+
- 1
|
31
|
+
version: 0.9.1
|
32
|
+
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: rspec
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
version: "0"
|
44
|
+
type: :development
|
45
|
+
version_requirements: *id002
|
46
46
|
description: Ant is a nice tool for writing Java build scripts, but Rake is nicer. The only thing missing from Rake is a way to run javac and jar, and although it's easy to run these as shell scripts you have to wait for the JVM to start. In combination with JRuby this gem lets you run javac and jar in your Rake scripts without exec'ing.
|
47
47
|
email: theo@iconara.net
|
48
48
|
executables: []
|
49
49
|
|
50
50
|
extensions:
|
51
|
-
- Rakefile
|
51
|
+
- Rakefile
|
52
52
|
extra_rdoc_files:
|
53
|
-
- LICENSE
|
54
|
-
- README.rdoc
|
53
|
+
- LICENSE
|
54
|
+
- README.rdoc
|
55
55
|
files:
|
56
|
-
- LICENSE
|
57
|
-
- README.rdoc
|
58
|
-
- Rakefile
|
59
|
-
- VERSION
|
60
|
-
- examples/compile/Rakefile
|
61
|
-
- examples/compile/src/com/example/HelloWorld.java
|
62
|
-
- examples/errors/Rakefile
|
63
|
-
- examples/errors/src/com/example/HelloWorld.java
|
64
|
-
- examples/package/Rakefile
|
65
|
-
- examples/package/src/com/example/HelloWorld.java
|
66
|
-
- examples/test/Rakefile
|
67
|
-
- examples/test/src/com/example/HelloWorld.java
|
68
|
-
- examples/test/test/com/example/TestHelloWorld.java
|
69
|
-
- lib/pangolin.rb
|
70
|
-
- lib/pangolin/common/jar_common.rb
|
71
|
-
- lib/pangolin/common/javac_common.rb
|
72
|
-
- lib/pangolin/common/junit_common.rb
|
73
|
-
- lib/pangolin/exec/jar.rb
|
74
|
-
- lib/pangolin/exec/javac.rb
|
75
|
-
- lib/pangolin/exec/junit.rb
|
76
|
-
- lib/pangolin/java/jar.rb
|
77
|
-
- lib/pangolin/java/javac.rb
|
78
|
-
- lib/pangolin/java/junit.rb
|
79
|
-
- lib/pangolin/output/formatting.rb
|
80
|
-
- pangolin.gemspec
|
81
|
-
- spec/integration/data/classes/com/example/HelloWorld.class
|
82
|
-
- spec/integration/data/sources/com/example/Error.java
|
83
|
-
- spec/integration/data/sources/com/example/HelloWorld.java
|
84
|
-
- spec/integration/data/tests/com/example/HelloWorld.class
|
85
|
-
- spec/integration/data/tests/com/example/TestHelloWorld.class
|
86
|
-
- spec/integration/jar_intg_spec.rb
|
87
|
-
- spec/integration/javac_intg_spec.rb
|
88
|
-
- spec/integration/junit_intg_spec.rb
|
89
|
-
- spec/jar_cmd_spec.rb
|
90
|
-
- spec/jar_spec.rb
|
91
|
-
- spec/javac_cmd_spec.rb
|
92
|
-
- spec/javac_spec.rb
|
93
|
-
- spec/junit_cmd_spec.rb
|
94
|
-
- spec/junit_spec.rb
|
95
|
-
- spec/spec.opts
|
96
|
-
- spec/spec_helper.rb
|
97
|
-
- tasks/gem.rake
|
98
|
-
- tasks/rdoc.rake
|
99
|
-
- tasks/spec.rake
|
56
|
+
- LICENSE
|
57
|
+
- README.rdoc
|
58
|
+
- Rakefile
|
59
|
+
- VERSION
|
60
|
+
- examples/compile/Rakefile
|
61
|
+
- examples/compile/src/com/example/HelloWorld.java
|
62
|
+
- examples/errors/Rakefile
|
63
|
+
- examples/errors/src/com/example/HelloWorld.java
|
64
|
+
- examples/package/Rakefile
|
65
|
+
- examples/package/src/com/example/HelloWorld.java
|
66
|
+
- examples/test/Rakefile
|
67
|
+
- examples/test/src/com/example/HelloWorld.java
|
68
|
+
- examples/test/test/com/example/TestHelloWorld.java
|
69
|
+
- lib/pangolin.rb
|
70
|
+
- lib/pangolin/common/jar_common.rb
|
71
|
+
- lib/pangolin/common/javac_common.rb
|
72
|
+
- lib/pangolin/common/junit_common.rb
|
73
|
+
- lib/pangolin/exec/jar.rb
|
74
|
+
- lib/pangolin/exec/javac.rb
|
75
|
+
- lib/pangolin/exec/junit.rb
|
76
|
+
- lib/pangolin/java/jar.rb
|
77
|
+
- lib/pangolin/java/javac.rb
|
78
|
+
- lib/pangolin/java/junit.rb
|
79
|
+
- lib/pangolin/output/formatting.rb
|
80
|
+
- pangolin.gemspec
|
81
|
+
- spec/integration/data/classes/com/example/HelloWorld.class
|
82
|
+
- spec/integration/data/sources/com/example/Error.java
|
83
|
+
- spec/integration/data/sources/com/example/HelloWorld.java
|
84
|
+
- spec/integration/data/tests/com/example/HelloWorld.class
|
85
|
+
- spec/integration/data/tests/com/example/TestHelloWorld.class
|
86
|
+
- spec/integration/jar_intg_spec.rb
|
87
|
+
- spec/integration/javac_intg_spec.rb
|
88
|
+
- spec/integration/junit_intg_spec.rb
|
89
|
+
- spec/jar_cmd_spec.rb
|
90
|
+
- spec/jar_spec.rb
|
91
|
+
- spec/javac_cmd_spec.rb
|
92
|
+
- spec/javac_spec.rb
|
93
|
+
- spec/junit_cmd_spec.rb
|
94
|
+
- spec/junit_spec.rb
|
95
|
+
- spec/spec.opts
|
96
|
+
- spec/spec_helper.rb
|
97
|
+
- tasks/gem.rake
|
98
|
+
- tasks/rdoc.rake
|
99
|
+
- tasks/spec.rake
|
100
100
|
has_rdoc: true
|
101
101
|
homepage: http://github.com/iconara/pangolin
|
102
102
|
licenses: []
|
103
103
|
|
104
104
|
post_install_message:
|
105
105
|
rdoc_options:
|
106
|
-
- --charset=UTF-8
|
106
|
+
- --charset=UTF-8
|
107
107
|
require_paths:
|
108
|
-
- lib
|
108
|
+
- lib
|
109
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
111
|
+
- - ">="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
segments:
|
114
|
+
- 0
|
115
|
+
version: "0"
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
118
|
+
- - ">="
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
segments:
|
121
|
+
- 0
|
122
|
+
version: "0"
|
123
123
|
requirements: []
|
124
124
|
|
125
125
|
rubyforge_project:
|
@@ -128,13 +128,13 @@ signing_key:
|
|
128
128
|
specification_version: 3
|
129
129
|
summary: Ruby wrappers for javac and jar that don't just exec
|
130
130
|
test_files:
|
131
|
-
- spec/
|
132
|
-
- spec/
|
133
|
-
- spec/
|
134
|
-
- spec/
|
135
|
-
- spec/
|
136
|
-
- spec/
|
137
|
-
- spec/
|
138
|
-
- spec/
|
139
|
-
- spec/
|
140
|
-
- spec/
|
131
|
+
- spec/jar_cmd_spec.rb
|
132
|
+
- spec/jar_spec.rb
|
133
|
+
- spec/javac_cmd_spec.rb
|
134
|
+
- spec/javac_spec.rb
|
135
|
+
- spec/junit_cmd_spec.rb
|
136
|
+
- spec/junit_spec.rb
|
137
|
+
- spec/spec_helper.rb
|
138
|
+
- spec/integration/jar_intg_spec.rb
|
139
|
+
- spec/integration/javac_intg_spec.rb
|
140
|
+
- spec/integration/junit_intg_spec.rb
|