trinidad_jbundler_extension 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,14 @@ module Trinidad
|
|
13
13
|
class_loader.addURL java.io.File.new(jar).to_url
|
14
14
|
end
|
15
15
|
end
|
16
|
-
|
16
|
+
config = JBundler::Config.new
|
17
|
+
vendor = JBundler::Vendor.new(config.vendor_dir)
|
18
|
+
if vendor.vendored?
|
19
|
+
jars = vendor.require_jars
|
20
|
+
else
|
21
|
+
jars = JBUNDLER_CLASSPATH
|
22
|
+
end
|
23
|
+
jars.each do |jar|
|
17
24
|
logger.debug "[#{web_app.context_path}] adding jar: #{jar}"
|
18
25
|
class_loader.addURL java.io.File.new(jar).to_url
|
19
26
|
end
|
metadata
CHANGED
@@ -1,80 +1,80 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trinidad_jbundler_extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
4
5
|
prerelease:
|
5
|
-
version: 0.0.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Brian Olsen
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2014-07-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
|
-
name: trinidad
|
16
|
-
version_requirements: !ruby/object:Gem::Requirement
|
17
|
-
requirements:
|
18
|
-
- - ~>
|
19
|
-
- !ruby/object:Gem::Version
|
20
|
-
version: 1.4.5
|
21
|
-
none: false
|
22
15
|
requirement: !ruby/object:Gem::Requirement
|
23
16
|
requirements:
|
24
17
|
- - ~>
|
25
18
|
- !ruby/object:Gem::Version
|
26
19
|
version: 1.4.5
|
27
20
|
none: false
|
21
|
+
name: trinidad
|
28
22
|
prerelease: false
|
29
23
|
type: :runtime
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: jbundler
|
32
24
|
version_requirements: !ruby/object:Gem::Requirement
|
33
25
|
requirements:
|
34
26
|
- - ~>
|
35
27
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
28
|
+
version: 1.4.5
|
37
29
|
none: false
|
30
|
+
- !ruby/object:Gem::Dependency
|
38
31
|
requirement: !ruby/object:Gem::Requirement
|
39
32
|
requirements:
|
40
33
|
- - ~>
|
41
34
|
- !ruby/object:Gem::Version
|
42
35
|
version: 0.5.2
|
43
36
|
none: false
|
37
|
+
name: jbundler
|
44
38
|
prerelease: false
|
45
39
|
type: :runtime
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: bundler
|
48
40
|
version_requirements: !ruby/object:Gem::Requirement
|
49
41
|
requirements:
|
50
42
|
- - ~>
|
51
43
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
44
|
+
version: 0.5.2
|
53
45
|
none: false
|
46
|
+
- !ruby/object:Gem::Dependency
|
54
47
|
requirement: !ruby/object:Gem::Requirement
|
55
48
|
requirements:
|
56
49
|
- - ~>
|
57
50
|
- !ruby/object:Gem::Version
|
58
51
|
version: '1.3'
|
59
52
|
none: false
|
53
|
+
name: bundler
|
60
54
|
prerelease: false
|
61
55
|
type: :development
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: rake
|
64
56
|
version_requirements: !ruby/object:Gem::Requirement
|
65
57
|
requirements:
|
66
|
-
- -
|
58
|
+
- - ~>
|
67
59
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
60
|
+
version: '1.3'
|
69
61
|
none: false
|
62
|
+
- !ruby/object:Gem::Dependency
|
70
63
|
requirement: !ruby/object:Gem::Requirement
|
71
64
|
requirements:
|
72
65
|
- - '>='
|
73
66
|
- !ruby/object:Gem::Version
|
74
67
|
version: '0'
|
75
68
|
none: false
|
69
|
+
name: rake
|
76
70
|
prerelease: false
|
77
71
|
type: :development
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - '>='
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '0'
|
77
|
+
none: false
|
78
78
|
description: Pulls jars resolved by jbundler into trinidad webapp
|
79
79
|
email:
|
80
80
|
- brian@maven-group.org
|