buildr-resolver 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/buildr-resolver.gemspec +5 -5
- data/lib/buildr/resolver.rb +6 -4
- metadata +7 -7
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.4
|
data/buildr-resolver.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{buildr-resolver}
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Guymon"]
|
12
|
-
s.date = %q{2011-09-
|
12
|
+
s.date = %q{2011-09-22}
|
13
13
|
s.description = %q{Java dependency resolver for Buildr using Maven's Aether}
|
14
14
|
s.email = %q{michael.guymon@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -46,18 +46,18 @@ Gem::Specification.new do |s|
|
|
46
46
|
s.specification_version = 3
|
47
47
|
|
48
48
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
49
|
-
s.add_runtime_dependency(%q<naether>, ["= 0.4.
|
49
|
+
s.add_runtime_dependency(%q<naether>, ["= 0.4.3"])
|
50
50
|
s.add_runtime_dependency(%q<buildr>, ["~> 1.4.6"])
|
51
51
|
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
52
52
|
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
53
53
|
else
|
54
|
-
s.add_dependency(%q<naether>, ["= 0.4.
|
54
|
+
s.add_dependency(%q<naether>, ["= 0.4.3"])
|
55
55
|
s.add_dependency(%q<buildr>, ["~> 1.4.6"])
|
56
56
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
57
57
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
58
58
|
end
|
59
59
|
else
|
60
|
-
s.add_dependency(%q<naether>, ["= 0.4.
|
60
|
+
s.add_dependency(%q<naether>, ["= 0.4.3"])
|
61
61
|
s.add_dependency(%q<buildr>, ["~> 1.4.6"])
|
62
62
|
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
63
63
|
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
data/lib/buildr/resolver.rb
CHANGED
@@ -16,10 +16,12 @@ module Buildr
|
|
16
16
|
Buildr::Resolver::Java.instance.naether
|
17
17
|
end
|
18
18
|
|
19
|
-
# Resolve dependencies for an array of dependencies in the format of
|
20
|
-
#
|
19
|
+
# Resolve dependencies for an array of dependencies in the format of path to a pom.xml,
|
20
|
+
# a hash for a pom.xml and scopes to use 'lib/pom.xml' => ['compile','system'],
|
21
|
+
# dependency notation 'groupId:artifactId:type:version' or as a hash to define
|
22
|
+
# the scope, or 'groupId:artifactId:type:version' => 'compile'. Example:
|
21
23
|
#
|
22
|
-
# [ 'ch.qos.logback:logback-classic:jar:0.9.24', {'junit:junit:jar:4.8.2' => 'test'} ]
|
24
|
+
# [ 'lib/pom.xml', 'ch.qos.logback:logback-classic:jar:0.9.24', {'junit:junit:jar:4.8.2' => 'test'} ]
|
23
25
|
#
|
24
26
|
# Options
|
25
27
|
# * :excludes - an array of dependencies to regex exclude
|
@@ -70,7 +72,7 @@ module Buildr
|
|
70
72
|
naether.dependenciesNotation
|
71
73
|
end
|
72
74
|
|
73
|
-
def deps_from_pom( pom_path, scope=nil
|
75
|
+
def deps_from_pom( pom_path, scope=nil )
|
74
76
|
naether.pom_dependencies( pom_path, scope )
|
75
77
|
end
|
76
78
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildr-resolver
|
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,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-09-
|
18
|
+
date: 2011-09-22 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -24,12 +24,12 @@ dependencies:
|
|
24
24
|
requirements:
|
25
25
|
- - "="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
hash:
|
27
|
+
hash: 9
|
28
28
|
segments:
|
29
29
|
- 0
|
30
30
|
- 4
|
31
|
-
-
|
32
|
-
version: 0.4.
|
31
|
+
- 3
|
32
|
+
version: 0.4.3
|
33
33
|
version_requirements: *id001
|
34
34
|
name: naether
|
35
35
|
prerelease: false
|