buildr-resolver 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +3 -3
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/buildr-resolver.gemspec +65 -0
- data/lib/buildr/resolver.rb +4 -0
- metadata +116 -82
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -49,9 +49,9 @@ GEM
|
|
49
49
|
bouncy-castle-java
|
50
50
|
json_pure (1.4.3)
|
51
51
|
minitar (0.5.3)
|
52
|
-
naether (0.2.
|
52
|
+
naether (0.2.3)
|
53
53
|
rjb (= 1.3.3)
|
54
|
-
naether (0.2.
|
54
|
+
naether (0.2.3-java)
|
55
55
|
net-sftp (2.0.4)
|
56
56
|
net-ssh (>= 2.0.9)
|
57
57
|
net-ssh (2.0.23)
|
@@ -71,5 +71,5 @@ DEPENDENCIES
|
|
71
71
|
buildr (= 1.4.4)
|
72
72
|
bundler (~> 1.0.0)
|
73
73
|
jeweler (~> 1.5.2)
|
74
|
-
naether (= 0.2.
|
74
|
+
naether (= 0.2.3)
|
75
75
|
rspec (~> 1.3.1)
|
data/README.rdoc
CHANGED
@@ -15,7 +15,7 @@ gem install buildr-resolver
|
|
15
15
|
example +buildfile+
|
16
16
|
|
17
17
|
require 'buildr/resolver'
|
18
|
-
Java.load # must be
|
18
|
+
Java.load # must be called before Buildr::Resolver.resolve if using Ruby due to Rjb startup of JVM by Buildr
|
19
19
|
deps = ['org.apache.activemq:activemq-spring:jar:5.4.2']
|
20
20
|
deps = Buildr::Resolver.resolve( deps )
|
21
21
|
define 'example' do
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{buildr-resolver}
|
8
|
+
s.version = "0.2.2"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Michael Guymon"]
|
12
|
+
s.date = %q{2011-02-28}
|
13
|
+
s.description = %q{Java dependency resolver for Buildr using Maven's Aether}
|
14
|
+
s.email = %q{michael.guymon@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
"Gemfile",
|
21
|
+
"Gemfile.lock",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"buildr-resolver.gemspec",
|
27
|
+
"lib/buildr/resolver.rb",
|
28
|
+
"spec/resolver_spec.rb"
|
29
|
+
]
|
30
|
+
s.homepage = %q{http://github.com/mguymon/buildr-resolver}
|
31
|
+
s.licenses = ["Apache"]
|
32
|
+
s.require_paths = ["lib"]
|
33
|
+
s.rubyforge_project = %q{buildr-resolver}
|
34
|
+
s.rubygems_version = %q{1.3.7}
|
35
|
+
s.summary = %q{Java dependency resolver for Buildr using Maven's Aether}
|
36
|
+
s.test_files = [
|
37
|
+
"spec/resolver_spec.rb"
|
38
|
+
]
|
39
|
+
|
40
|
+
if s.respond_to? :specification_version then
|
41
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
42
|
+
s.specification_version = 3
|
43
|
+
|
44
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
|
+
s.add_runtime_dependency(%q<naether>, ["= 0.2.3"])
|
46
|
+
s.add_runtime_dependency(%q<buildr>, ["= 1.4.4"])
|
47
|
+
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
48
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
49
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
|
50
|
+
else
|
51
|
+
s.add_dependency(%q<naether>, ["= 0.2.3"])
|
52
|
+
s.add_dependency(%q<buildr>, ["= 1.4.4"])
|
53
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
54
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
55
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
56
|
+
end
|
57
|
+
else
|
58
|
+
s.add_dependency(%q<naether>, ["= 0.2.3"])
|
59
|
+
s.add_dependency(%q<buildr>, ["= 1.4.4"])
|
60
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
61
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
62
|
+
s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
data/lib/buildr/resolver.rb
CHANGED
@@ -15,6 +15,10 @@ module Buildr
|
|
15
15
|
naether_jars = naether_jars + Buildr.artifacts(resolver_dependencies).each(&:invoke).map(&:to_s)
|
16
16
|
|
17
17
|
naether = Naether.create_from_jars( naether_jars )
|
18
|
+
naether.clear_remote_repositories
|
19
|
+
Buildr.repositories.remote.each do |repo|
|
20
|
+
naether.add_remote_repository( repo )
|
21
|
+
end
|
18
22
|
naether.dependencies = dependencies
|
19
23
|
naether.resolve_dependencies
|
20
24
|
|
metadata
CHANGED
@@ -1,73 +1,103 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildr-resolver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
hash: 19
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 2
|
9
|
+
- 2
|
10
|
+
version: 0.2.2
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
|
-
|
13
|
+
- Michael Guymon
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-28 00:00:00 -05:00
|
14
19
|
default_executable:
|
15
20
|
dependencies:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
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
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
prerelease: false
|
23
|
+
name: naether
|
24
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - "="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 17
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 2
|
33
|
+
- 3
|
34
|
+
version: 0.2.3
|
35
|
+
requirement: *id001
|
36
|
+
type: :runtime
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
prerelease: false
|
39
|
+
name: buildr
|
40
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - "="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 15
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 4
|
49
|
+
- 4
|
50
|
+
version: 1.4.4
|
51
|
+
requirement: *id002
|
52
|
+
type: :runtime
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
prerelease: false
|
55
|
+
name: rspec
|
56
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 25
|
62
|
+
segments:
|
63
|
+
- 1
|
64
|
+
- 3
|
65
|
+
- 1
|
66
|
+
version: 1.3.1
|
67
|
+
requirement: *id003
|
68
|
+
type: :development
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
prerelease: false
|
71
|
+
name: bundler
|
72
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 23
|
78
|
+
segments:
|
79
|
+
- 1
|
80
|
+
- 0
|
81
|
+
- 0
|
82
|
+
version: 1.0.0
|
83
|
+
requirement: *id004
|
84
|
+
type: :development
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
prerelease: false
|
87
|
+
name: jeweler
|
88
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
hash: 7
|
94
|
+
segments:
|
95
|
+
- 1
|
96
|
+
- 5
|
97
|
+
- 2
|
98
|
+
version: 1.5.2
|
99
|
+
requirement: *id005
|
100
|
+
type: :development
|
71
101
|
description: Java dependency resolver for Buildr using Maven's Aether
|
72
102
|
email: michael.guymon@gmail.com
|
73
103
|
executables: []
|
@@ -75,47 +105,51 @@ executables: []
|
|
75
105
|
extensions: []
|
76
106
|
|
77
107
|
extra_rdoc_files:
|
78
|
-
|
79
|
-
|
108
|
+
- LICENSE
|
109
|
+
- README.rdoc
|
80
110
|
files:
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
111
|
+
- Gemfile
|
112
|
+
- Gemfile.lock
|
113
|
+
- LICENSE
|
114
|
+
- README.rdoc
|
115
|
+
- Rakefile
|
116
|
+
- VERSION
|
117
|
+
- buildr-resolver.gemspec
|
118
|
+
- lib/buildr/resolver.rb
|
119
|
+
- spec/resolver_spec.rb
|
89
120
|
has_rdoc: true
|
90
121
|
homepage: http://github.com/mguymon/buildr-resolver
|
91
122
|
licenses:
|
92
|
-
|
123
|
+
- Apache
|
93
124
|
post_install_message:
|
94
125
|
rdoc_options: []
|
95
126
|
|
96
127
|
require_paths:
|
97
|
-
|
128
|
+
- lib
|
98
129
|
required_ruby_version: !ruby/object:Gem::Requirement
|
99
130
|
none: false
|
100
131
|
requirements:
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
hash: 3
|
135
|
+
segments:
|
136
|
+
- 0
|
137
|
+
version: "0"
|
107
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
108
139
|
none: false
|
109
140
|
requirements:
|
110
|
-
|
111
|
-
|
112
|
-
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
hash: 3
|
144
|
+
segments:
|
145
|
+
- 0
|
146
|
+
version: "0"
|
113
147
|
requirements: []
|
114
148
|
|
115
149
|
rubyforge_project: buildr-resolver
|
116
|
-
rubygems_version: 1.
|
150
|
+
rubygems_version: 1.3.7
|
117
151
|
signing_key:
|
118
152
|
specification_version: 3
|
119
153
|
summary: Java dependency resolver for Buildr using Maven's Aether
|
120
154
|
test_files:
|
121
|
-
|
155
|
+
- spec/resolver_spec.rb
|