buildr-resolver 0.4.4 → 0.4.5
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 +6 -6
- data/spec/resolver_spec.rb +5 -3
- metadata +76 -104
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.5
|
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.5"
|
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-26}
|
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 = [
|
@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
|
|
35
35
|
s.licenses = ["Apache"]
|
36
36
|
s.require_paths = ["lib"]
|
37
37
|
s.rubyforge_project = %q{buildr-resolver}
|
38
|
-
s.rubygems_version = %q{1.
|
38
|
+
s.rubygems_version = %q{1.5.1}
|
39
39
|
s.summary = %q{Java dependency resolver for Buildr using Maven's Aether}
|
40
40
|
s.test_files = [
|
41
41
|
"spec/repository_array_spec.rb",
|
@@ -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.4"])
|
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.4"])
|
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.4"])
|
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/spec/resolver_spec.rb
CHANGED
@@ -27,7 +27,7 @@ describe Buildr::Resolver do
|
|
27
27
|
end
|
28
28
|
|
29
29
|
it "should resolve dependencies" do
|
30
|
-
dependencies = Buildr::Resolver.resolve( ['ch.qos.logback:logback-classic:jar:0.9.24'] )
|
30
|
+
dependencies = Buildr::Resolver.resolve( ['ch.qos.logback:logback-classic:jar:0.9.24' => 'test'] )
|
31
31
|
|
32
32
|
dependencies.should eql ["ch.qos.logback:logback-classic:jar:0.9.24", "ch.qos.logback:logback-core:jar:0.9.24", "org.slf4j:slf4j-api:jar:1.6.0"]
|
33
33
|
end
|
@@ -65,9 +65,11 @@ describe Buildr::Resolver do
|
|
65
65
|
File.exists?( 'tmp/pom.xml' ).should be_true
|
66
66
|
|
67
67
|
deps = Buildr::Resolver.deps_from_pom( 'tmp/pom.xml' )
|
68
|
-
|
69
68
|
deps.should eql ["ch.qos.logback:logback-classic:jar:0.9.24", "ch.qos.logback:logback-core:jar:0.9.24", "org.slf4j:slf4j-api:jar:1.6.0"]
|
70
|
-
|
69
|
+
|
70
|
+
deps = Buildr::Resolver.resolve( 'tmp/pom.xml' )
|
71
|
+
deps.should eql ["ch.qos.logback:logback-classic:jar:0.9.24", "ch.qos.logback:logback-core:jar:0.9.24", "org.slf4j:slf4j-api:jar:1.6.0"]
|
72
|
+
|
71
73
|
end
|
72
74
|
|
73
75
|
it "should install a pom" do
|
metadata
CHANGED
@@ -1,87 +1,62 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildr-resolver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 7
|
5
4
|
prerelease:
|
6
|
-
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 4
|
10
|
-
version: 0.4.4
|
5
|
+
version: 0.4.5
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
|
-
- Michael Guymon
|
8
|
+
- Michael Guymon
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
12
|
|
18
|
-
date: 2011-09-
|
13
|
+
date: 2011-09-26 00:00:00 -04:00
|
19
14
|
default_executable:
|
20
15
|
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
version_requirements: *id003
|
66
|
-
name: bundler
|
67
|
-
prerelease: false
|
68
|
-
type: :development
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
-
none: false
|
72
|
-
requirements:
|
73
|
-
- - ~>
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
hash: 7
|
76
|
-
segments:
|
77
|
-
- 1
|
78
|
-
- 5
|
79
|
-
- 2
|
80
|
-
version: 1.5.2
|
81
|
-
version_requirements: *id004
|
82
|
-
name: jeweler
|
83
|
-
prerelease: false
|
84
|
-
type: :development
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: naether
|
18
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - "="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.4.4
|
24
|
+
requirement: *id001
|
25
|
+
prerelease: false
|
26
|
+
type: :runtime
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: buildr
|
29
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ~>
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 1.4.6
|
35
|
+
requirement: *id002
|
36
|
+
prerelease: false
|
37
|
+
type: :runtime
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: bundler
|
40
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.0.0
|
46
|
+
requirement: *id003
|
47
|
+
prerelease: false
|
48
|
+
type: :development
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: jeweler
|
51
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 1.5.2
|
57
|
+
requirement: *id004
|
58
|
+
prerelease: false
|
59
|
+
type: :development
|
85
60
|
description: Java dependency resolver for Buildr using Maven's Aether
|
86
61
|
email: michael.guymon@gmail.com
|
87
62
|
executables: []
|
@@ -89,56 +64,53 @@ executables: []
|
|
89
64
|
extensions: []
|
90
65
|
|
91
66
|
extra_rdoc_files:
|
92
|
-
- LICENSE
|
93
|
-
- README.rdoc
|
67
|
+
- LICENSE
|
68
|
+
- README.rdoc
|
94
69
|
files:
|
95
|
-
- Gemfile
|
96
|
-
- LICENSE
|
97
|
-
- README.rdoc
|
98
|
-
- Rakefile
|
99
|
-
- VERSION
|
100
|
-
- buildr-resolver.gemspec
|
101
|
-
- lib/buildr/override/core/transports.rb
|
102
|
-
- lib/buildr/override/packaging/artifact.rb
|
103
|
-
- lib/buildr/packaging/repository_array.rb
|
104
|
-
- lib/buildr/resolver.rb
|
105
|
-
- lib/buildr/resolver/java.rb
|
106
|
-
- spec/repository_array_spec.rb
|
107
|
-
- spec/resolver_spec.rb
|
70
|
+
- Gemfile
|
71
|
+
- LICENSE
|
72
|
+
- README.rdoc
|
73
|
+
- Rakefile
|
74
|
+
- VERSION
|
75
|
+
- buildr-resolver.gemspec
|
76
|
+
- lib/buildr/override/core/transports.rb
|
77
|
+
- lib/buildr/override/packaging/artifact.rb
|
78
|
+
- lib/buildr/packaging/repository_array.rb
|
79
|
+
- lib/buildr/resolver.rb
|
80
|
+
- lib/buildr/resolver/java.rb
|
81
|
+
- spec/repository_array_spec.rb
|
82
|
+
- spec/resolver_spec.rb
|
108
83
|
has_rdoc: true
|
109
84
|
homepage: http://github.com/mguymon/buildr-resolver
|
110
85
|
licenses:
|
111
|
-
- Apache
|
86
|
+
- Apache
|
112
87
|
post_install_message:
|
113
88
|
rdoc_options: []
|
114
89
|
|
115
90
|
require_paths:
|
116
|
-
- lib
|
91
|
+
- lib
|
117
92
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
93
|
none: false
|
119
94
|
requirements:
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
95
|
+
- - ">="
|
96
|
+
- !ruby/object:Gem::Version
|
97
|
+
hash: 2
|
98
|
+
segments:
|
99
|
+
- 0
|
100
|
+
version: "0"
|
126
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
102
|
none: false
|
128
103
|
requirements:
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
segments:
|
133
|
-
- 0
|
134
|
-
version: "0"
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: "0"
|
135
107
|
requirements: []
|
136
108
|
|
137
109
|
rubyforge_project: buildr-resolver
|
138
|
-
rubygems_version: 1.
|
110
|
+
rubygems_version: 1.5.1
|
139
111
|
signing_key:
|
140
112
|
specification_version: 3
|
141
113
|
summary: Java dependency resolver for Buildr using Maven's Aether
|
142
114
|
test_files:
|
143
|
-
- spec/repository_array_spec.rb
|
144
|
-
- spec/resolver_spec.rb
|
115
|
+
- spec/repository_array_spec.rb
|
116
|
+
- spec/resolver_spec.rb
|