naether 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.1
1
+ 0.8.0
@@ -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 || ENV['M2_REPO'] || File.expand_path('~/.m2/repository')
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
data/pom.xml CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  <groupId>com.slackworks</groupId>
6
6
  <artifactId>naether</artifactId>
7
- <version>0.7.1</version>
7
+ <version>0.8.0</version>
8
8
  <packaging>jar</packaging>
9
9
  <name>naether</name>
10
10
  <url>https://github.com/mguymon/naether</url>
metadata CHANGED
@@ -1,96 +1,68 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: naether
3
- version: !ruby/object:Gem::Version
4
- hash: 1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.8.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 7
9
- - 1
10
- version: 0.7.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Michael Guymon
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-05-03 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- prerelease: false
22
- type: :runtime
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - "="
27
- - !ruby/object:Gem::Version
28
- hash: 29
29
- segments:
30
- - 1
31
- - 3
32
- - 3
33
- version: 1.3.3
34
- version_requirements: *id001
12
+ date: 2012-05-14 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
35
15
  name: rjb
36
- - !ruby/object:Gem::Dependency
37
- prerelease: false
38
- type: :development
39
- requirement: &id002 !ruby/object:Gem::Requirement
16
+ requirement: &19240120 !ruby/object:Gem::Requirement
40
17
  none: false
41
- requirements:
42
- - - "="
43
- - !ruby/object:Gem::Version
44
- hash: 11
45
- segments:
46
- - 2
47
- - 1
48
- - 0
49
- version: 2.1.0
50
- version_requirements: *id002
51
- name: rspec
52
- - !ruby/object:Gem::Dependency
18
+ requirements:
19
+ - - =
20
+ - !ruby/object:Gem::Version
21
+ version: 1.3.7
22
+ type: :runtime
53
23
  prerelease: false
24
+ version_requirements: *19240120
25
+ - !ruby/object:Gem::Dependency
26
+ name: rspec
27
+ requirement: &19322980 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - =
31
+ - !ruby/object:Gem::Version
32
+ version: 2.9.0
54
33
  type: :development
55
- requirement: &id003 !ruby/object:Gem::Requirement
34
+ prerelease: false
35
+ version_requirements: *19322980
36
+ - !ruby/object:Gem::Dependency
37
+ name: bundler
38
+ requirement: &19322160 !ruby/object:Gem::Requirement
56
39
  none: false
57
- requirements:
58
- - - ">"
59
- - !ruby/object:Gem::Version
60
- hash: 23
61
- segments:
62
- - 1
63
- - 0
64
- - 0
40
+ requirements:
41
+ - - ! '>'
42
+ - !ruby/object:Gem::Version
65
43
  version: 1.0.0
66
- version_requirements: *id003
67
- name: bundler
68
- - !ruby/object:Gem::Dependency
69
- prerelease: false
70
44
  type: :development
71
- requirement: &id004 !ruby/object:Gem::Requirement
45
+ prerelease: false
46
+ version_requirements: *19322160
47
+ - !ruby/object:Gem::Dependency
48
+ name: jeweler
49
+ requirement: &19317380 !ruby/object:Gem::Requirement
72
50
  none: false
73
- requirements:
74
- - - ">"
75
- - !ruby/object:Gem::Version
76
- hash: 7
77
- segments:
78
- - 1
79
- - 5
80
- - 2
51
+ requirements:
52
+ - - ! '>'
53
+ - !ruby/object:Gem::Version
81
54
  version: 1.5.2
82
- version_requirements: *id004
83
- name: jeweler
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *19317380
84
58
  description: Java dependency resolver using Maven's Aether
85
59
  email: michael.guymon@gmail.com
86
60
  executables: []
87
-
88
61
  extensions: []
89
-
90
- extra_rdoc_files:
62
+ extra_rdoc_files:
91
63
  - LICENSE
92
64
  - README.rdoc
93
- files:
65
+ files:
94
66
  - LICENSE
95
67
  - README.rdoc
96
68
  - VERSION
@@ -98,40 +70,34 @@ files:
98
70
  - lib/naether.rb
99
71
  - lib/naether/bootstrap.rb
100
72
  - lib/naether/java.rb
101
- - naether-0.7.1.jar
73
+ - naether-0.8.0.jar
102
74
  - pom.xml
103
75
  homepage: http://github.com/mguymon/naether
104
- licenses:
76
+ licenses:
105
77
  - Apache
106
78
  post_install_message:
107
79
  rdoc_options: []
108
-
109
- require_paths:
80
+ require_paths:
110
81
  - lib
111
- required_ruby_version: !ruby/object:Gem::Requirement
82
+ required_ruby_version: !ruby/object:Gem::Requirement
112
83
  none: false
113
- requirements:
114
- - - ">="
115
- - !ruby/object:Gem::Version
116
- hash: 3
117
- segments:
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ segments:
118
89
  - 0
119
- version: "0"
120
- required_rubygems_version: !ruby/object:Gem::Requirement
90
+ hash: 1590563205079051985
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
121
92
  none: false
122
- requirements:
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- hash: 3
126
- segments:
127
- - 0
128
- version: "0"
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
129
97
  requirements: []
130
-
131
98
  rubyforge_project: naether
132
- rubygems_version: 1.8.12
99
+ rubygems_version: 1.8.15
133
100
  signing_key:
134
101
  specification_version: 3
135
102
  summary: Java dependency resolver using Maven's Aether
136
103
  test_files: []
137
-