naether 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/naether.rb +13 -1
- data/naether-0.4.4.jar +0 -0
- data/pom.xml +1 -1
- metadata +13 -13
- data/naether-0.4.3.jar +0 -0
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.4
|
data/lib/naether.rb
CHANGED
@@ -110,6 +110,11 @@ class Naether
|
|
110
110
|
# Array of mixed dependencies
|
111
111
|
def dependencies=(dependencies)
|
112
112
|
@resolver.clearDependencies()
|
113
|
+
|
114
|
+
unless dependencies.is_a? Array
|
115
|
+
dependencies = [dependencies]
|
116
|
+
end
|
117
|
+
|
113
118
|
dependencies.each do |dependent|
|
114
119
|
# Hash of notation => scope
|
115
120
|
if dependent.is_a? Hash
|
@@ -117,7 +122,14 @@ class Naether
|
|
117
122
|
|
118
123
|
# Add pom dependencies with scopes
|
119
124
|
if key =~ /\.xml$/i
|
120
|
-
|
125
|
+
scopes = nil
|
126
|
+
if dependent[key].is_a? Array
|
127
|
+
scopes = dependent[key]
|
128
|
+
else
|
129
|
+
scopes = [dependent[key]]
|
130
|
+
end
|
131
|
+
|
132
|
+
add_pom_dependencies( key, dependent[key] )
|
121
133
|
|
122
134
|
# Add a dependency notation with scopes
|
123
135
|
else
|
data/naether-0.4.4.jar
ADDED
Binary file
|
data/pom.xml
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naether
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 4
|
10
|
+
version: 0.4.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Guymon
|
@@ -15,10 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-09-
|
18
|
+
date: 2011-09-26 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
type: :runtime
|
22
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
23
24
|
none: false
|
24
25
|
requirements:
|
@@ -30,11 +31,11 @@ dependencies:
|
|
30
31
|
- 3
|
31
32
|
- 3
|
32
33
|
version: 1.3.3
|
33
|
-
version_requirements: *id001
|
34
34
|
name: rjb
|
35
|
+
version_requirements: *id001
|
35
36
|
prerelease: false
|
36
|
-
type: :runtime
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
+
type: :development
|
38
39
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
40
|
none: false
|
40
41
|
requirements:
|
@@ -46,11 +47,11 @@ dependencies:
|
|
46
47
|
- 1
|
47
48
|
- 0
|
48
49
|
version: 2.1.0
|
49
|
-
version_requirements: *id002
|
50
50
|
name: rspec
|
51
|
+
version_requirements: *id002
|
51
52
|
prerelease: false
|
52
|
-
type: :development
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
|
+
type: :development
|
54
55
|
requirement: &id003 !ruby/object:Gem::Requirement
|
55
56
|
none: false
|
56
57
|
requirements:
|
@@ -62,11 +63,11 @@ dependencies:
|
|
62
63
|
- 0
|
63
64
|
- 0
|
64
65
|
version: 1.0.0
|
65
|
-
version_requirements: *id003
|
66
66
|
name: bundler
|
67
|
+
version_requirements: *id003
|
67
68
|
prerelease: false
|
68
|
-
type: :development
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
+
type: :development
|
70
71
|
requirement: &id004 !ruby/object:Gem::Requirement
|
71
72
|
none: false
|
72
73
|
requirements:
|
@@ -78,10 +79,9 @@ dependencies:
|
|
78
79
|
- 5
|
79
80
|
- 2
|
80
81
|
version: 1.5.2
|
81
|
-
version_requirements: *id004
|
82
82
|
name: jeweler
|
83
|
+
version_requirements: *id004
|
83
84
|
prerelease: false
|
84
|
-
type: :development
|
85
85
|
description: Java dependency resolver using Maven's Aether
|
86
86
|
email: michael.guymon@gmail.com
|
87
87
|
executables: []
|
@@ -99,7 +99,7 @@ files:
|
|
99
99
|
- lib/naether.rb
|
100
100
|
- lib/naether/bootstrap.rb
|
101
101
|
- lib/naether/java.rb
|
102
|
-
- naether-0.4.
|
102
|
+
- naether-0.4.4.jar
|
103
103
|
- pom.xml
|
104
104
|
has_rdoc: true
|
105
105
|
homepage: http://github.com/mguymon/naether
|
data/naether-0.4.3.jar
DELETED
Binary file
|