naether 0.15.0-java → 0.15.8-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile +4 -7
- data/Gemfile.lock +61 -54
- data/README.md +17 -16
- data/VERSION +1 -1
- data/core-0.15.7.jar +0 -0
- data/core-0.15.8.jar +0 -0
- data/lib/naether/bootstrap.rb +32 -39
- data/lib/naether/configuration.rb +1 -2
- data/lib/naether/runtime.rb +1 -1
- data/pom.xml +2 -2
- metadata +36 -37
- data/core-0.15.0.jar +0 -0
- data/naether.gemspec +0 -77
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bb6aad2e05697cdd7d0cdbd7bb14638907eaa79859697bb928e250dc1319902e
|
4
|
+
data.tar.gz: c02d32bf1a95651627078cc6b4519df173743681ed0192e722d0c6930db5e62e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f9c17b2061a421cd118c81383ad3a4230f7e96facbfa766ba01a068a8e004efb0963bd4c438007f707b8f79067b902f12d75116e415e2628b5db6131ec8df9d
|
7
|
+
data.tar.gz: 1cf0e1f50dd089bbe5851c70f9b499adbaa3e045c2c26d1737ebd374d5d9b30c91d7e0b11b9bffc8978bb6b331a748ac40e980d86d218932bbd5aaef39bbe07c
|
data/Gemfile
CHANGED
@@ -1,19 +1,16 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
3
|
gem 'httpclient'
|
4
|
+
gem 'rake', '>= 12.3.3'
|
4
5
|
|
5
6
|
platform = $platform || RUBY_PLATFORM[/java/] || 'ruby'
|
6
7
|
if platform != 'java'
|
7
|
-
gem 'rjb', '> 1.
|
8
|
+
gem 'rjb', '> 1.6'
|
8
9
|
end
|
9
10
|
|
10
11
|
group :development do
|
11
|
-
gem "rspec", "> 2.9
|
12
|
-
gem "jeweler", "~> 2.
|
12
|
+
gem "rspec", "> 2.9"
|
13
|
+
gem "jeweler", "~> 2.1"
|
13
14
|
gem "yard"
|
14
15
|
gem "kramdown"
|
15
|
-
|
16
|
-
if platform == 'java'
|
17
|
-
gem 'jruby-openssl'
|
18
|
-
end
|
19
16
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,81 +1,88 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
addressable (2.
|
5
|
-
|
6
|
-
builder (3.2.2)
|
4
|
+
addressable (2.4.0)
|
5
|
+
builder (3.2.4)
|
7
6
|
descendants_tracker (0.0.4)
|
8
7
|
thread_safe (~> 0.3, >= 0.3.1)
|
9
|
-
diff-lcs (1.
|
10
|
-
faraday (0.9.
|
8
|
+
diff-lcs (1.3)
|
9
|
+
faraday (0.9.2)
|
11
10
|
multipart-post (>= 1.2, < 3)
|
12
|
-
git (1.
|
13
|
-
github_api (0.
|
14
|
-
addressable (~> 2.
|
11
|
+
git (1.5.0)
|
12
|
+
github_api (0.16.0)
|
13
|
+
addressable (~> 2.4.0)
|
15
14
|
descendants_tracker (~> 0.0.4)
|
16
15
|
faraday (~> 0.8, < 0.10)
|
17
|
-
hashie (>= 3.
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
jeweler (2.
|
16
|
+
hashie (>= 3.4)
|
17
|
+
mime-types (>= 1.16, < 3.0)
|
18
|
+
oauth2 (~> 1.0)
|
19
|
+
hashie (4.0.0)
|
20
|
+
highline (2.0.3)
|
21
|
+
httpclient (2.8.3)
|
22
|
+
jar-dependencies (0.4.0)
|
23
|
+
jeweler (2.3.9)
|
25
24
|
builder
|
26
|
-
bundler
|
25
|
+
bundler
|
27
26
|
git (>= 1.2.5)
|
28
|
-
github_api
|
27
|
+
github_api (~> 0.16.0)
|
29
28
|
highline (>= 1.6.15)
|
30
29
|
nokogiri (>= 1.5.10)
|
30
|
+
psych
|
31
31
|
rake
|
32
32
|
rdoc
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
nokogiri (1.
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
faraday (>= 0.8, < 0.10)
|
48
|
-
jwt (~> 1.0)
|
33
|
+
semver2
|
34
|
+
jwt (2.2.1)
|
35
|
+
kramdown (2.1.0)
|
36
|
+
mime-types (2.99.3)
|
37
|
+
mini_portile2 (2.4.0)
|
38
|
+
multi_json (1.14.1)
|
39
|
+
multi_xml (0.6.0)
|
40
|
+
multipart-post (2.1.1)
|
41
|
+
nokogiri (1.10.7)
|
42
|
+
mini_portile2 (~> 2.4.0)
|
43
|
+
nokogiri (1.10.7-java)
|
44
|
+
oauth2 (1.4.2)
|
45
|
+
faraday (>= 0.8, < 2.0)
|
46
|
+
jwt (>= 1.0, < 3.0)
|
49
47
|
multi_json (~> 1.3)
|
50
48
|
multi_xml (~> 0.5)
|
51
|
-
rack (
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
rspec-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
49
|
+
rack (>= 1.2, < 3)
|
50
|
+
psych (3.1.0)
|
51
|
+
psych (3.1.0-java)
|
52
|
+
jar-dependencies (>= 0.1.7)
|
53
|
+
rack (2.1.1)
|
54
|
+
rake (13.0.3)
|
55
|
+
rdoc (6.2.1)
|
56
|
+
rspec (3.9.0)
|
57
|
+
rspec-core (~> 3.9.0)
|
58
|
+
rspec-expectations (~> 3.9.0)
|
59
|
+
rspec-mocks (~> 3.9.0)
|
60
|
+
rspec-core (3.9.1)
|
61
|
+
rspec-support (~> 3.9.1)
|
62
|
+
rspec-expectations (3.9.0)
|
63
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
64
|
+
rspec-support (~> 3.9.0)
|
65
|
+
rspec-mocks (3.9.1)
|
66
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
67
|
+
rspec-support (~> 3.9.0)
|
68
|
+
rspec-support (3.9.2)
|
69
|
+
semver2 (3.4.2)
|
70
|
+
thread_safe (0.3.6)
|
71
|
+
thread_safe (0.3.6-java)
|
72
|
+
yard (0.9.24)
|
67
73
|
|
68
74
|
PLATFORMS
|
69
75
|
java
|
70
76
|
ruby
|
77
|
+
universal-java-15
|
71
78
|
|
72
79
|
DEPENDENCIES
|
73
80
|
httpclient
|
74
|
-
jeweler (~> 2.
|
75
|
-
jruby-openssl
|
81
|
+
jeweler (~> 2.1)
|
76
82
|
kramdown
|
77
|
-
|
83
|
+
rake (>= 12.3.3)
|
84
|
+
rspec (> 2.9)
|
78
85
|
yard
|
79
86
|
|
80
87
|
BUNDLED WITH
|
81
|
-
|
88
|
+
2.2.16
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://travis-ci.org/mguymon/naether.png?branch=master)](https://travis-ci.org/mguymon/naether)
|
4
4
|
|
5
|
-
Naether is a Java Dependency Resolver using Maven's [Aether](https://github.com/sonatype/sonatype-aether)
|
5
|
+
Naether is a Java Dependency Resolver using Maven's [Aether](https://github.com/sonatype/sonatype-aether)
|
6
6
|
that can be used by Ruby or Java.
|
7
7
|
|
8
8
|
<https://github.com/mguymon/naether>
|
@@ -16,15 +16,15 @@ that can be used by Ruby or Java.
|
|
16
16
|
JRuby is natively supported. Vanilla Ruby uses [Rjb](http://rjb.rubyforge.org) to proxy over JNI.
|
17
17
|
|
18
18
|
gem install naether
|
19
|
-
|
19
|
+
|
20
20
|
The jar dependencies for Naether will automatically be downloaded when the gem installs.
|
21
|
-
|
21
|
+
|
22
22
|
#### Custom Maven Repo
|
23
23
|
|
24
24
|
You can override the default Maven Repo used in bootstraping Naether by setting the _NAETHER_MIRROR_ environment variable.
|
25
25
|
|
26
|
-
NAETHER_MIRROR=
|
27
|
-
|
26
|
+
NAETHER_MIRROR=https://my.local.repo/m2 gem install naether
|
27
|
+
|
28
28
|
The _NAETHER_MIRROR_ environment is also appended to the remote repositories used when resolving dependences.
|
29
29
|
|
30
30
|
### Java
|
@@ -32,9 +32,9 @@ The _NAETHER_MIRROR_ environment is also appended to the remote repositories use
|
|
32
32
|
<dependency>
|
33
33
|
<groupId>com.tobedevoured.naether</groupId>
|
34
34
|
<artifactId>core</artifactId>
|
35
|
-
<version>0.
|
35
|
+
<version>0.15.6</version>
|
36
36
|
</dependency>
|
37
|
-
|
37
|
+
|
38
38
|
May have to add the Sonatype Repo if the sync to Maven Central is slow.
|
39
39
|
|
40
40
|
<repositories>
|
@@ -53,7 +53,7 @@ All of the Naether dependencies are loaded via a Custom ClassLoader.
|
|
53
53
|
|
54
54
|
#### Bootstraping
|
55
55
|
|
56
|
-
Naether [jar dependences](https://github.com/mguymon/naether/blob/master/jar_dependencies.yml)
|
56
|
+
Naether [jar dependences](https://github.com/mguymon/naether/blob/master/jar_dependencies.yml)
|
57
57
|
must be loaded for Naether to work. This is easily done with the [bootstrap helper](http://rdoc.info/gems/naether/Naether/Bootstrap)
|
58
58
|
|
59
59
|
Naether::Bootstrap.bootstrap_local_repo
|
@@ -62,14 +62,14 @@ must be loaded for Naether to work. This is easily done with the [bootstrap help
|
|
62
62
|
|
63
63
|
require 'rubygems'
|
64
64
|
require 'naether'
|
65
|
-
|
65
|
+
|
66
66
|
Naether::Bootstrap.bootstrap_local_repo
|
67
67
|
naether = Naether.create
|
68
68
|
naether.dependencies = [ "ch.qos.logback:logback-classic:jar:0.9.29", "junit:junit:jar:4.8.2" ]
|
69
69
|
naether.resolve_dependencies()
|
70
|
-
|
70
|
+
|
71
71
|
puts naether.dependencies_notation
|
72
|
-
|
72
|
+
|
73
73
|
Will output
|
74
74
|
|
75
75
|
["ch.qos.logback:logback-core:jar:0.9.29",
|
@@ -82,6 +82,7 @@ Will output
|
|
82
82
|
### Java
|
83
83
|
|
84
84
|
#### Resolving Dependencies
|
85
|
+
|
85
86
|
import com.tobedevoured.naether.api.Naether;
|
86
87
|
import com.tobedevoured.naether.impl.NaetherImpl;
|
87
88
|
|
@@ -92,7 +93,7 @@ Will output
|
|
92
93
|
System.out.println( naether.getDependenciesNotation().toString() );
|
93
94
|
|
94
95
|
Will output:
|
95
|
-
|
96
|
+
|
96
97
|
["ch.qos.logback:logback-core:jar:0.9.29",
|
97
98
|
"ch.qos.logback:logback-classic:jar:0.9.29",
|
98
99
|
"junit:junit:jar:4.8.2",
|
@@ -103,16 +104,16 @@ Will output:
|
|
103
104
|
## License
|
104
105
|
|
105
106
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
106
|
-
contributor license agreements.
|
107
|
-
work for additional information regarding copyright ownership.
|
107
|
+
contributor license agreements. See the NOTICE file distributed with this
|
108
|
+
work for additional information regarding copyright ownership. The ASF
|
108
109
|
licenses this file to you under the Apache License, Version 2.0 (the
|
109
110
|
"License"); you may not use this file except in compliance with the License.
|
110
111
|
You may obtain a copy of the License at
|
111
112
|
|
112
|
-
|
113
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
113
114
|
|
114
115
|
Unless required by applicable law or agreed to in writing, software
|
115
116
|
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
116
|
-
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
117
|
+
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
117
118
|
License for the specific language governing permissions and limitations under
|
118
119
|
the License.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.15.
|
1
|
+
0.15.8
|
data/core-0.15.7.jar
ADDED
Binary file
|
data/core-0.15.8.jar
ADDED
Binary file
|
data/lib/naether/bootstrap.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
require "#{File.dirname(__FILE__)}/../naether"
|
2
2
|
require "#{File.dirname(__FILE__)}/java"
|
3
3
|
require "#{File.dirname(__FILE__)}/configuration"
|
4
|
-
require
|
5
|
-
require
|
6
|
-
require
|
7
|
-
require
|
4
|
+
require "yaml"
|
5
|
+
require "open-uri"
|
6
|
+
require "fileutils"
|
7
|
+
require "httpclient"
|
8
8
|
|
9
9
|
module Naether
|
10
10
|
|
@@ -14,7 +14,6 @@ module Naether
|
|
14
14
|
# @author Michael Guymon
|
15
15
|
#
|
16
16
|
class Bootstrap
|
17
|
-
|
18
17
|
@@dependencies = nil
|
19
18
|
|
20
19
|
class << self
|
@@ -23,28 +22,28 @@ module Naether
|
|
23
22
|
#
|
24
23
|
# @return [String]
|
25
24
|
def default_local_repo
|
26
|
-
ENV[
|
25
|
+
ENV["M2_REPO"] || File.expand_path("~/.m2/repository")
|
27
26
|
end
|
28
27
|
|
29
28
|
# Maven URL to fetch jars from, ENV['NAETHER_MIRROR'] or
|
30
29
|
#
|
31
30
|
# @return [String]
|
32
31
|
def maven_url
|
33
|
-
ENV[
|
32
|
+
ENV["NAETHER_MIRROR"] || "https://repo1.maven.org/maven2"
|
34
33
|
end
|
35
34
|
|
36
35
|
# Write bootstrap dependencies to yaml file
|
37
|
-
def write_dependencies(
|
38
|
-
deps = {}
|
39
|
-
if Naether::Configuration.platform ==
|
36
|
+
def write_dependencies(dest = "jar_dependencies.yml")
|
37
|
+
deps = {}
|
38
|
+
if Naether::Configuration.platform == "java"
|
40
39
|
deps[:dependencies] = com.tobedevoured.naether.Bootstrap.dependencies.to_a
|
41
40
|
else
|
42
|
-
bootstrap = Rjb::import(
|
43
|
-
deps[:dependencies] = bootstrap.dependencies.toArray().map{ |dep| dep.toString() }
|
41
|
+
bootstrap = Rjb::import("com.tobedevoured.naether.Bootstrap")
|
42
|
+
deps[:dependencies] = bootstrap.dependencies.toArray().map { |dep| dep.toString() }
|
44
43
|
end
|
45
44
|
|
46
|
-
File.open(
|
47
|
-
YAML.dump(
|
45
|
+
File.open(dest, "w") do |out|
|
46
|
+
YAML.dump(deps, out)
|
48
47
|
end
|
49
48
|
end
|
50
49
|
|
@@ -53,8 +52,7 @@ module Naether
|
|
53
52
|
#
|
54
53
|
# @param [String] dep_file path, defaults to Naether::Configuration.dependencies_yml
|
55
54
|
# @return [List]
|
56
|
-
def dependencies(
|
57
|
-
|
55
|
+
def dependencies(dep_file = nil)
|
58
56
|
if @@dependencies
|
59
57
|
return @@dependencies
|
60
58
|
end
|
@@ -63,31 +61,30 @@ module Naether
|
|
63
61
|
dep_file = Naether::Configuration.dependencies_yml
|
64
62
|
end
|
65
63
|
|
66
|
-
dep = YAML.load_file(
|
64
|
+
dep = YAML.load_file(dep_file)
|
67
65
|
@@dependencies = dep[:dependencies]
|
68
66
|
end
|
69
67
|
|
70
|
-
|
71
68
|
#
|
72
69
|
# Bootstrap the local repo by downloading Naether's dependencies
|
73
70
|
# @param [String] local_repo defaults to #default_local_repo
|
74
71
|
# @param [hash] opts
|
75
72
|
#
|
76
|
-
def bootstrap_local_repo(local_repo = nil, opts = {}
|
73
|
+
def bootstrap_local_repo(local_repo = nil, opts = {})
|
77
74
|
local_repo = local_repo || default_local_repo
|
78
75
|
|
79
76
|
opts[:local_repo] = local_repo
|
80
77
|
|
81
|
-
temp_naether_dir = File.join(
|
78
|
+
temp_naether_dir = File.join(local_repo, ".naether")
|
82
79
|
|
83
|
-
deps = download_dependencies(
|
80
|
+
deps = download_dependencies(temp_naether_dir, opts)
|
84
81
|
|
85
|
-
jars = (deps[:exists] + deps[:downloaded]).map {|jar| jar.values.first }
|
82
|
+
jars = (deps[:exists] + deps[:downloaded]).map { |jar| jar.values.first }
|
86
83
|
|
87
|
-
jars = Naether::Java.internal_load_paths(
|
84
|
+
jars = Naether::Java.internal_load_paths(jars)
|
88
85
|
|
89
|
-
if (
|
90
|
-
install_dependencies_to_local_repo(
|
86
|
+
if (deps[:downloaded].size > 0)
|
87
|
+
install_dependencies_to_local_repo(deps[:downloaded], jars, opts)
|
91
88
|
end
|
92
89
|
end
|
93
90
|
|
@@ -97,10 +94,9 @@ module Naether
|
|
97
94
|
# @param [String] dest to download dependencies t
|
98
95
|
# @param [Hash] opts
|
99
96
|
# @return [Hash] with status of missing, downloaded, exists dependencies
|
100
|
-
def download_dependencies(
|
101
|
-
|
97
|
+
def download_dependencies(dest, opts = {})
|
102
98
|
if !File.exists? dest
|
103
|
-
FileUtils.mkdir_p(
|
99
|
+
FileUtils.mkdir_p(dest)
|
104
100
|
end
|
105
101
|
|
106
102
|
deps = {}
|
@@ -108,7 +104,7 @@ module Naether
|
|
108
104
|
if opts[:deps]
|
109
105
|
deps[:missing] = opts[:deps]
|
110
106
|
else
|
111
|
-
deps = check_local_repo_for_deps(
|
107
|
+
deps = check_local_repo_for_deps(opts[:local_repo], opts)
|
112
108
|
end
|
113
109
|
|
114
110
|
deps[:downloaded] = []
|
@@ -133,7 +129,7 @@ module Naether
|
|
133
129
|
data = http_client.get(maven_jar_url)
|
134
130
|
|
135
131
|
if data.ok?
|
136
|
-
open(maven_path,
|
132
|
+
open(maven_path, "wb") do |io|
|
137
133
|
io.print data.content
|
138
134
|
end
|
139
135
|
else
|
@@ -156,16 +152,15 @@ module Naether
|
|
156
152
|
# @param [String] local_repo
|
157
153
|
# @param [Hash] opts
|
158
154
|
# @return [Hash] with status of missing, downloaded, exists dependencies
|
159
|
-
def check_local_repo_for_deps(local_repo = nil, opts = {}
|
160
|
-
|
155
|
+
def check_local_repo_for_deps(local_repo = nil, opts = {})
|
161
156
|
local_repo = local_repo || default_local_repo
|
162
157
|
local_repo = File.expand_path(local_repo)
|
163
158
|
|
164
159
|
#puts "Checking #{local_repo} for jars to bootstrap Naether"
|
165
160
|
|
166
|
-
deps = {:exists => [], :missing => [], :downloaded => [] }
|
161
|
+
deps = { :exists => [], :missing => [], :downloaded => [] }
|
167
162
|
|
168
|
-
dependencies(
|
163
|
+
dependencies(opts[:dep_yaml]).each do |dep|
|
169
164
|
notation = dep.split(":")
|
170
165
|
group = notation[0].gsub("\.", File::SEPARATOR)
|
171
166
|
artifact = notation[1].gsub("\.", File::SEPARATOR)
|
@@ -181,7 +176,6 @@ module Naether
|
|
181
176
|
else
|
182
177
|
deps[:missing] << dep
|
183
178
|
end
|
184
|
-
|
185
179
|
end
|
186
180
|
deps
|
187
181
|
end
|
@@ -194,11 +188,10 @@ module Naether
|
|
194
188
|
# @param [Hash] opts
|
195
189
|
# @return [Naether]
|
196
190
|
#
|
197
|
-
def install_dependencies_to_local_repo(
|
198
|
-
|
191
|
+
def install_dependencies_to_local_repo(install_jars, naether_jars, opts = {})
|
199
192
|
require "#{File.dirname(__FILE__)}/../naether"
|
200
193
|
|
201
|
-
@naether = Naether.create_from_jars(
|
194
|
+
@naether = Naether.create_from_jars(naether_jars)
|
202
195
|
|
203
196
|
if opts[:local_repo]
|
204
197
|
@naether.local_repo_path = opts[:local_repo]
|
@@ -206,7 +199,7 @@ module Naether
|
|
206
199
|
|
207
200
|
install_jars.each do |dep|
|
208
201
|
notation, path = dep.to_a.first
|
209
|
-
@naether.install(
|
202
|
+
@naether.install(notation, nil, path)
|
210
203
|
end
|
211
204
|
|
212
205
|
@naether
|
@@ -26,7 +26,6 @@ module Naether
|
|
26
26
|
:gem_dir => gem_dir,
|
27
27
|
:naether_jar => File.join( gem_dir, "core-#{version}.jar"),
|
28
28
|
:platform => ($platform || RUBY_PLATFORM[/java/] || 'ruby'),
|
29
|
-
:version => version,
|
30
29
|
:dependencies_yml => File.expand_path("#{File.dirname( __FILE__ )}/../../jar_dependencies.yml")
|
31
30
|
}
|
32
31
|
|
@@ -70,4 +69,4 @@ module Naether
|
|
70
69
|
end
|
71
70
|
end
|
72
71
|
|
73
|
-
end
|
72
|
+
end
|
data/lib/naether/runtime.rb
CHANGED
data/pom.xml
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
<modelVersion>4.0.0</modelVersion>
|
4
4
|
<groupId>com.tobedevoured.naether</groupId>
|
5
5
|
<artifactId>core</artifactId>
|
6
|
-
<version>0.15.
|
6
|
+
<version>0.15.8</version>
|
7
7
|
<name>Naether</name>
|
8
8
|
<packaging>jar</packaging>
|
9
9
|
<url>https://github.com/mguymon/naether</url>
|
@@ -36,7 +36,7 @@
|
|
36
36
|
<repository>
|
37
37
|
<id>nexus-releases</id>
|
38
38
|
<name>Nexus Release Repository</name>
|
39
|
-
<url>
|
39
|
+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
|
40
40
|
</repository>
|
41
41
|
</distributionManagement>
|
42
42
|
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naether
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.8
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Michael Guymon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
|
-
- -
|
16
|
+
- - ">="
|
17
17
|
- !ruby/object:Gem::Version
|
18
18
|
version: '0'
|
19
19
|
name: httpclient
|
20
|
-
prerelease: false
|
21
20
|
type: :runtime
|
21
|
+
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
33
|
-
name:
|
32
|
+
version: 12.3.3
|
33
|
+
name: rake
|
34
|
+
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
type: :development
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- -
|
44
|
+
- - ">"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 2.
|
47
|
-
name:
|
48
|
-
prerelease: false
|
46
|
+
version: '2.9'
|
47
|
+
name: rspec
|
49
48
|
type: :development
|
49
|
+
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 2.
|
54
|
+
version: '2.9'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- -
|
58
|
+
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
61
|
-
name:
|
62
|
-
prerelease: false
|
60
|
+
version: '2.1'
|
61
|
+
name: jeweler
|
63
62
|
type: :development
|
63
|
+
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '2.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
|
-
- -
|
72
|
+
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
|
-
name:
|
76
|
-
prerelease: false
|
75
|
+
name: yard
|
77
76
|
type: :development
|
77
|
+
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
requirement: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- -
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '0'
|
89
|
-
name:
|
90
|
-
prerelease: false
|
89
|
+
name: kramdown
|
91
90
|
type: :development
|
91
|
+
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: Java dependency resolver using Maven's Aether
|
@@ -109,7 +109,8 @@ files:
|
|
109
109
|
- README.md
|
110
110
|
- Rakefile
|
111
111
|
- VERSION
|
112
|
-
- core-0.15.
|
112
|
+
- core-0.15.7.jar
|
113
|
+
- core-0.15.8.jar
|
113
114
|
- jar_dependencies.yml
|
114
115
|
- lib/naether.rb
|
115
116
|
- lib/naether/bootstrap.rb
|
@@ -120,7 +121,6 @@ files:
|
|
120
121
|
- lib/naether/maven.rb
|
121
122
|
- lib/naether/notation.rb
|
122
123
|
- lib/naether/runtime.rb
|
123
|
-
- naether.gemspec
|
124
124
|
- pom.xml
|
125
125
|
homepage: http://github.com/mguymon/naether
|
126
126
|
licenses:
|
@@ -132,17 +132,16 @@ require_paths:
|
|
132
132
|
- lib
|
133
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- -
|
135
|
+
- - ">="
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
139
139
|
requirements:
|
140
|
-
- -
|
140
|
+
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
142
|
version: '0'
|
143
143
|
requirements: []
|
144
|
-
|
145
|
-
rubygems_version: 2.1.9
|
144
|
+
rubygems_version: 3.0.6
|
146
145
|
signing_key:
|
147
146
|
specification_version: 4
|
148
147
|
summary: Java dependency resolver using Maven's Aether
|
data/core-0.15.0.jar
DELETED
Binary file
|
data/naether.gemspec
DELETED
@@ -1,77 +0,0 @@
|
|
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
|
-
# stub: naether 0.15.0 java lib
|
6
|
-
|
7
|
-
Gem::Specification.new do |s|
|
8
|
-
s.name = "naether"
|
9
|
-
s.version = "0.15.0"
|
10
|
-
s.platform = "java"
|
11
|
-
|
12
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
13
|
-
s.authors = ["Michael Guymon"]
|
14
|
-
s.date = "2015-06-03"
|
15
|
-
s.description = "Java dependency resolver using Maven's Aether"
|
16
|
-
s.email = "michael@tobedevoured.com"
|
17
|
-
s.extensions = ["Rakefile"]
|
18
|
-
s.extra_rdoc_files = [
|
19
|
-
"LICENSE",
|
20
|
-
"README.md"
|
21
|
-
]
|
22
|
-
s.files = [
|
23
|
-
"Gemfile",
|
24
|
-
"Gemfile.lock",
|
25
|
-
"LICENSE",
|
26
|
-
"README.md",
|
27
|
-
"Rakefile",
|
28
|
-
"VERSION",
|
29
|
-
"core-0.15.0.jar",
|
30
|
-
"jar_dependencies.yml",
|
31
|
-
"lib/naether.rb",
|
32
|
-
"lib/naether/bootstrap.rb",
|
33
|
-
"lib/naether/configuration.rb",
|
34
|
-
"lib/naether/java.rb",
|
35
|
-
"lib/naether/java/jruby.rb",
|
36
|
-
"lib/naether/java/ruby.rb",
|
37
|
-
"lib/naether/maven.rb",
|
38
|
-
"lib/naether/notation.rb",
|
39
|
-
"lib/naether/runtime.rb",
|
40
|
-
"naether.gemspec",
|
41
|
-
"pom.xml"
|
42
|
-
]
|
43
|
-
s.homepage = "http://github.com/mguymon/naether"
|
44
|
-
s.licenses = ["Apache"]
|
45
|
-
s.require_paths = ["lib"]
|
46
|
-
s.rubyforge_project = "naether"
|
47
|
-
s.rubygems_version = "2.1.9"
|
48
|
-
s.summary = "Java dependency resolver using Maven's Aether"
|
49
|
-
|
50
|
-
if s.respond_to? :specification_version then
|
51
|
-
s.specification_version = 4
|
52
|
-
|
53
|
-
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
54
|
-
s.add_runtime_dependency(%q<httpclient>, [">= 0"])
|
55
|
-
s.add_development_dependency(%q<rspec>, ["> 2.9.0"])
|
56
|
-
s.add_development_dependency(%q<jeweler>, ["~> 2.0.0"])
|
57
|
-
s.add_development_dependency(%q<yard>, [">= 0"])
|
58
|
-
s.add_development_dependency(%q<kramdown>, [">= 0"])
|
59
|
-
s.add_development_dependency(%q<jruby-openssl>, [">= 0"])
|
60
|
-
else
|
61
|
-
s.add_dependency(%q<httpclient>, [">= 0"])
|
62
|
-
s.add_dependency(%q<rspec>, ["> 2.9.0"])
|
63
|
-
s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
|
64
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
65
|
-
s.add_dependency(%q<kramdown>, [">= 0"])
|
66
|
-
s.add_dependency(%q<jruby-openssl>, [">= 0"])
|
67
|
-
end
|
68
|
-
else
|
69
|
-
s.add_dependency(%q<httpclient>, [">= 0"])
|
70
|
-
s.add_dependency(%q<rspec>, ["> 2.9.0"])
|
71
|
-
s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
|
72
|
-
s.add_dependency(%q<yard>, [">= 0"])
|
73
|
-
s.add_dependency(%q<kramdown>, [">= 0"])
|
74
|
-
s.add_dependency(%q<jruby-openssl>, [">= 0"])
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|