naether 0.7.1-java → 0.8.0-java
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/naether/bootstrap.rb +6 -1
- data/{naether-0.7.1.jar → naether-0.8.0.jar} +0 -0
- data/pom.xml +1 -1
- metadata +5 -7
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/lib/naether/bootstrap.rb
CHANGED
@@ -17,6 +17,10 @@ class Naether
|
|
17
17
|
|
18
18
|
class << self
|
19
19
|
|
20
|
+
def default_local_repo
|
21
|
+
ENV['M2_REPO'] || File.expand_path('~/.m2/repository')
|
22
|
+
end
|
23
|
+
|
20
24
|
# Find naether jar relative to the gem install
|
21
25
|
def naether_jar
|
22
26
|
Dir.glob(File.expand_path("#{File.dirname(__FILE__)}/../../naether*.jar")).first
|
@@ -102,7 +106,7 @@ class Naether
|
|
102
106
|
|
103
107
|
def check_local_repo_for_deps(local_repo = nil)
|
104
108
|
|
105
|
-
local_repo = local_repo ||
|
109
|
+
local_repo = local_repo || default_local_repo
|
106
110
|
local_repo = File.expand_path(local_repo)
|
107
111
|
|
108
112
|
#puts "Checking #{local_repo} for jars to bootstrap Naether"
|
@@ -166,6 +170,7 @@ class Naether
|
|
166
170
|
|
167
171
|
end
|
168
172
|
|
173
|
+
@naether
|
169
174
|
end
|
170
175
|
end
|
171
176
|
end
|
Binary file
|
data/pom.xml
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: naether
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.8.0
|
6
6
|
platform: java
|
7
7
|
authors:
|
8
8
|
- Michael Guymon
|
@@ -10,8 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-05-
|
14
|
-
default_executable:
|
13
|
+
date: 2012-05-14 00:00:00 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rspec
|
@@ -20,7 +19,7 @@ dependencies:
|
|
20
19
|
requirements:
|
21
20
|
- - "="
|
22
21
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.
|
22
|
+
version: 2.9.0
|
24
23
|
requirement: *id001
|
25
24
|
prerelease: false
|
26
25
|
type: :development
|
@@ -74,9 +73,8 @@ files:
|
|
74
73
|
- lib/naether.rb
|
75
74
|
- lib/naether/bootstrap.rb
|
76
75
|
- lib/naether/java.rb
|
77
|
-
- naether-0.
|
76
|
+
- naether-0.8.0.jar
|
78
77
|
- pom.xml
|
79
|
-
has_rdoc: true
|
80
78
|
homepage: http://github.com/mguymon/naether
|
81
79
|
licenses:
|
82
80
|
- Apache
|
@@ -103,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
101
|
requirements: []
|
104
102
|
|
105
103
|
rubyforge_project: naether
|
106
|
-
rubygems_version: 1.
|
104
|
+
rubygems_version: 1.8.9
|
107
105
|
signing_key:
|
108
106
|
specification_version: 3
|
109
107
|
summary: Java dependency resolver using Maven's Aether
|