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 CHANGED
@@ -1,10 +1,10 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem "naether", "0.2.2"
3
+ gem "naether", "0.2.3"
4
4
  gem "buildr", "1.4.4"
5
5
 
6
6
  group :development do
7
7
  gem "rspec", "~> 1.3.1"
8
8
  gem "bundler", "~> 1.0.0"
9
9
  gem "jeweler", "~> 1.5.2"
10
- end
10
+ end
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.2)
52
+ naether (0.2.3)
53
53
  rjb (= 1.3.3)
54
- naether (0.2.2-java)
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.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 caused if using Ruby due to Rjb startup of JVM by Buildr
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
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
+
@@ -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
- prerelease:
5
- version: 0.2.1
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
- - Michael Guymon
13
+ - Michael Guymon
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-02-27 00:00:00 -05:00
18
+ date: 2011-02-28 00:00:00 -05:00
14
19
  default_executable:
15
20
  dependencies:
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.2.2
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.4
35
- requirement: *id002
36
- prerelease: false
37
- type: :runtime
38
- - !ruby/object:Gem::Dependency
39
- name: rspec
40
- version_requirements: &id003 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 1.3.1
46
- requirement: *id003
47
- prerelease: false
48
- type: :development
49
- - !ruby/object:Gem::Dependency
50
- name: bundler
51
- version_requirements: &id004 !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ~>
55
- - !ruby/object:Gem::Version
56
- version: 1.0.0
57
- requirement: *id004
58
- prerelease: false
59
- type: :development
60
- - !ruby/object:Gem::Dependency
61
- name: jeweler
62
- version_requirements: &id005 !ruby/object:Gem::Requirement
63
- none: false
64
- requirements:
65
- - - ~>
66
- - !ruby/object:Gem::Version
67
- version: 1.5.2
68
- requirement: *id005
69
- prerelease: false
70
- type: :development
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
- - LICENSE
79
- - README.rdoc
108
+ - LICENSE
109
+ - README.rdoc
80
110
  files:
81
- - Gemfile
82
- - Gemfile.lock
83
- - LICENSE
84
- - README.rdoc
85
- - Rakefile
86
- - VERSION
87
- - lib/buildr/resolver.rb
88
- - spec/resolver_spec.rb
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
- - Apache
123
+ - Apache
93
124
  post_install_message:
94
125
  rdoc_options: []
95
126
 
96
127
  require_paths:
97
- - lib
128
+ - lib
98
129
  required_ruby_version: !ruby/object:Gem::Requirement
99
130
  none: false
100
131
  requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- hash: 2
104
- segments:
105
- - 0
106
- version: "0"
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
- - !ruby/object:Gem::Version
112
- version: "0"
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.5.2
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
- - spec/resolver_spec.rb
155
+ - spec/resolver_spec.rb