naether 0.15.8-java → 0.15.11-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bb6aad2e05697cdd7d0cdbd7bb14638907eaa79859697bb928e250dc1319902e
4
- data.tar.gz: c02d32bf1a95651627078cc6b4519df173743681ed0192e722d0c6930db5e62e
3
+ metadata.gz: 70dcae5813801dfaf097bc9a80be4c4d2bf01d5da52a907d6ea5d59e105d485c
4
+ data.tar.gz: cef4ce157a742390c53d97f5a8cb85c27814095d4ec18ec4a785302a7a8fa6a9
5
5
  SHA512:
6
- metadata.gz: 4f9c17b2061a421cd118c81383ad3a4230f7e96facbfa766ba01a068a8e004efb0963bd4c438007f707b8f79067b902f12d75116e415e2628b5db6131ec8df9d
7
- data.tar.gz: 1cf0e1f50dd089bbe5851c70f9b499adbaa3e045c2c26d1737ebd374d5d9b30c91d7e0b11b9bffc8978bb6b331a748ac40e980d86d218932bbd5aaef39bbe07c
6
+ metadata.gz: 6273f426fdc8eaf6e4c0ab940555d419c714eede1325ca9424bc63bcd824f4d3ac7778dc0d7aac20b13acefaaaad237ce54b8fca12102e647c45e6b695aba10d
7
+ data.tar.gz: ca8d3b966825b4465e98f877d336a0c06558d99c452fe030bd955a754370759f227f5d319cfeb40de6846430bf921c9dc92071ee3d3925aa933b2b70d51ae1a9
data/Gemfile CHANGED
@@ -2,15 +2,15 @@ source "http://rubygems.org"
2
2
 
3
3
  gem 'httpclient'
4
4
  gem 'rake', '>= 12.3.3'
5
+ gem 'mutex_m', '~> 0.2.0'
5
6
 
6
7
  platform = $platform || RUBY_PLATFORM[/java/] || 'ruby'
7
8
  if platform != 'java'
8
- gem 'rjb', '> 1.6'
9
+ gem 'rjb', '= 1.7.3'
9
10
  end
10
11
 
11
12
  group :development do
12
13
  gem "rspec", "> 2.9"
13
- gem "jeweler", "~> 2.1"
14
14
  gem "yard"
15
15
  gem "kramdown"
16
16
  end
data/README.md CHANGED
@@ -32,7 +32,7 @@ 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.15.6</version>
35
+ <version>0.15.7</version>
36
36
  </dependency>
37
37
 
38
38
  May have to add the Sonatype Repo if the sync to Maven Central is slow.
@@ -60,9 +60,9 @@ must be loaded for Naether to work. This is easily done with the [bootstrap help
60
60
 
61
61
  #### Resolving Dependencies
62
62
 
63
- require 'rubygems'
64
63
  require 'naether'
65
-
64
+ require 'naether/bootstrap'
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" ]
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.15.8
1
+ 0.15.11
data/core-0.15.10.jar ADDED
Binary file
data/core-0.15.11.jar ADDED
Binary file
data/jar_dependencies.yml CHANGED
@@ -18,7 +18,7 @@
18
18
  - org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
19
19
  - org.codehaus.plexus:plexus-interactivity-api:jar:1.0-alpha-6
20
20
  - org.codehaus.plexus:plexus-interpolation:jar:1.14
21
- - org.codehaus.plexus:plexus-utils:jar:3.0.8
21
+ - org.codehaus.plexus:plexus-utils:jar:3.0.16
22
22
  - org.jsoup:jsoup:jar:1.6.1
23
23
  - org.slf4j:slf4j-api:jar:1.7.6
24
24
  - org.slf4j:slf4j-simple:jar:1.7.6
@@ -95,7 +95,7 @@ module Naether
95
95
  # @param [Hash] opts
96
96
  # @return [Hash] with status of missing, downloaded, exists dependencies
97
97
  def download_dependencies(dest, opts = {})
98
- if !File.exists? dest
98
+ if !File.exist? dest
99
99
  FileUtils.mkdir_p(dest)
100
100
  end
101
101
 
@@ -123,7 +123,7 @@ module Naether
123
123
 
124
124
  maven_path = "#{dest}#{File::SEPARATOR}#{jar}"
125
125
 
126
- if !File.exists? maven_path
126
+ if !File.exist? maven_path
127
127
  maven_jar_url = "#{maven_url}/#{group}/#{artifact}/#{version}/#{jar}"
128
128
 
129
129
  data = http_client.get(maven_jar_url)
@@ -171,7 +171,7 @@ module Naether
171
171
 
172
172
  maven_path = "#{local_repo}#{File::SEPARATOR}#{group}#{File::SEPARATOR}#{artifact}#{File::SEPARATOR}#{version}#{File::SEPARATOR}#{jar}"
173
173
 
174
- if File.exists? maven_path
174
+ if File.exist? maven_path
175
175
  deps[:exists] << { dep => maven_path }
176
176
  else
177
177
  deps[:missing] << dep
@@ -191,6 +191,8 @@ module Naether
191
191
  def install_dependencies_to_local_repo(install_jars, naether_jars, opts = {})
192
192
  require "#{File.dirname(__FILE__)}/../naether"
193
193
 
194
+ # Load jars into main classpath first to ensure all dependencies are available
195
+ Naether::Java.load_paths(naether_jars)
194
196
  @naether = Naether.create_from_jars(naether_jars)
195
197
 
196
198
  if opts[:local_repo]
@@ -11,7 +11,7 @@ module Naether
11
11
  version = nil
12
12
 
13
13
  # Load VERSION file from gem to VERSION var
14
- if File.exists?( File.expand_path("#{File.dirname(__FILE__)}/../../VERSION") )
14
+ if File.exist?( File.expand_path("#{File.dirname(__FILE__)}/../../VERSION") )
15
15
  version = IO.read(File.expand_path("#{File.dirname(__FILE__)}/../../VERSION")).strip
16
16
 
17
17
  # VERSION file not found in gem dir, assume in current path, e.g.running from checkout
@@ -73,7 +73,7 @@ module Naether
73
73
 
74
74
  paths.each do |path|
75
75
  expanded_path = File.expand_path(path)
76
- if File.exists?( expanded_path )
76
+ if File.exist?( expanded_path )
77
77
  @class_loader.addPath( expanded_path )
78
78
 
79
79
  load_paths << expanded_path
@@ -96,7 +96,7 @@ module Naether
96
96
 
97
97
  paths.each do |path|
98
98
  expanded_path = File.expand_path(path)
99
- if !@loaded_paths.include?( expanded_path ) && File.exists?( expanded_path )
99
+ if !@loaded_paths.include?( expanded_path ) && File.exist?( expanded_path )
100
100
  $CLASSPATH << expanded_path
101
101
  load_paths << expanded_path
102
102
  @loaded_paths << expanded_path
@@ -107,7 +107,7 @@ module Naether
107
107
 
108
108
  paths.each do |path|
109
109
  expanded_path = File.expand_path(path)
110
- if File.exists?( expanded_path )
110
+ if File.exist?( expanded_path )
111
111
  @class_loader.addPath( path )
112
112
  loadable_paths << expanded_path
113
113
  end
@@ -129,7 +129,7 @@ module Naether
129
129
 
130
130
  paths.each do |path|
131
131
  expanded_path = File.expand_path(path)
132
- if !@loaded_paths.include?(expanded_path) && File.exists?( expanded_path )
132
+ if !@loaded_paths.include?(expanded_path) && File.exist?( expanded_path )
133
133
  @loaded_paths << expanded_path
134
134
  Rjb::add_jar( expanded_path )
135
135
  loadable_paths << expanded_path
data/lib/naether/java.rb CHANGED
@@ -20,7 +20,7 @@ module Naether
20
20
  def initialize()
21
21
  naether_jar = Naether::Configuration.naether_jar
22
22
 
23
- unless File.exists? naether_jar
23
+ unless File.exist? naether_jar
24
24
  raise "Cannot create Naether::Java: #{naether_jar} does not exist"
25
25
  end
26
26
 
data/naether.gemspec ADDED
@@ -0,0 +1,59 @@
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.11 java lib
6
+ # stub: Rakefile
7
+
8
+ Gem::Specification.new do |s|
9
+ s.name = "naether".freeze
10
+ s.version = "0.15.11".freeze
11
+ s.platform = "java".freeze
12
+
13
+ s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
14
+ s.require_paths = ["lib".freeze]
15
+ s.authors = ["Michael Guymon".freeze]
16
+ s.date = "1980-01-02"
17
+ s.description = "Java dependency resolver using Maven's Aether".freeze
18
+ s.email = "michael@tobedevoured.com".freeze
19
+ s.extensions = ["Rakefile".freeze]
20
+ s.extra_rdoc_files = [
21
+ "LICENSE",
22
+ "README.md"
23
+ ]
24
+ s.files = [
25
+ "Gemfile",
26
+ "LICENSE",
27
+ "README.md",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "core-0.15.10.jar",
31
+ "core-0.15.11.jar",
32
+ "jar_dependencies.yml",
33
+ "lib/naether.rb",
34
+ "lib/naether/bootstrap.rb",
35
+ "lib/naether/configuration.rb",
36
+ "lib/naether/java.rb",
37
+ "lib/naether/java/jruby.rb",
38
+ "lib/naether/java/ruby.rb",
39
+ "lib/naether/maven.rb",
40
+ "lib/naether/notation.rb",
41
+ "lib/naether/runtime.rb",
42
+ "naether.gemspec",
43
+ "pom.xml"
44
+ ]
45
+ s.homepage = "http://github.com/mguymon/naether".freeze
46
+ s.licenses = ["Apache".freeze]
47
+ s.rubygems_version = "3.6.9".freeze
48
+ s.summary = "Java dependency resolver using Maven's Aether".freeze
49
+
50
+ s.specification_version = 4
51
+
52
+ s.add_runtime_dependency(%q<httpclient>.freeze, [">= 0".freeze])
53
+ s.add_runtime_dependency(%q<rake>.freeze, [">= 12.3.3".freeze])
54
+ s.add_runtime_dependency(%q<mutex_m>.freeze, ["~> 0.2.0".freeze])
55
+ s.add_development_dependency(%q<rspec>.freeze, ["> 2.9".freeze])
56
+ s.add_development_dependency(%q<yard>.freeze, [">= 0".freeze])
57
+ s.add_development_dependency(%q<kramdown>.freeze, [">= 0".freeze])
58
+ end
59
+
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.8</version>
6
+ <version>0.15.11</version>
7
7
  <name>Naether</name>
8
8
  <packaging>jar</packaging>
9
9
  <url>https://github.com/mguymon/naether</url>
@@ -47,8 +47,8 @@
47
47
  <mavenVersion>3.0.3</mavenVersion>
48
48
  <wagonVersion>1.0</wagonVersion>
49
49
  <org.slf4j.version>1.7.6</org.slf4j.version>
50
- <maven.compiler.source>1.7</maven.compiler.source>
51
- <maven.compiler.target>1.7</maven.compiler.target>
50
+ <maven.compiler.source>1.8</maven.compiler.source>
51
+ <maven.compiler.target>1.8</maven.compiler.target>
52
52
  </properties>
53
53
 
54
54
  <dependencies>
@@ -124,7 +124,7 @@
124
124
  <dependency>
125
125
  <groupId>org.codehaus.plexus</groupId>
126
126
  <artifactId>plexus-utils</artifactId>
127
- <version>3.0.8</version>
127
+ <version>3.0.16</version>
128
128
  </dependency>
129
129
  <dependency>
130
130
  <groupId>org.apache.maven</groupId>
@@ -202,6 +202,7 @@
202
202
  <plugin>
203
203
  <groupId>org.apache.maven.plugins</groupId>
204
204
  <artifactId>maven-javadoc-plugin</artifactId>
205
+ <version>3.5.0</version>
205
206
  <executions>
206
207
  <execution>
207
208
  <id>attach-javadocs</id>
@@ -214,7 +215,7 @@
214
215
  <plugin>
215
216
  <groupId>org.apache.maven.plugins</groupId>
216
217
  <artifactId>maven-gpg-plugin</artifactId>
217
- <version>1.4</version>
218
+ <version>3.1.0</version>
218
219
  <executions>
219
220
  <execution>
220
221
  <id>sign-artifacts</id>
@@ -246,7 +247,15 @@
246
247
  </execution>
247
248
  </executions>
248
249
  </plugin>
249
-
250
+ <plugin>
251
+ <groupId>org.sonatype.central</groupId>
252
+ <artifactId>central-publishing-maven-plugin</artifactId>
253
+ <version>0.9.0</version>
254
+ <extensions>true</extensions>
255
+ <configuration>
256
+ <publishingServerId>central</publishingServerId>
257
+ </configuration>
258
+ </plugin>
250
259
  </plugins>
251
260
  </build>
252
261
 
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: naether
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.8
4
+ version: 0.15.11
5
5
  platform: java
6
6
  authors:
7
7
  - Michael Guymon
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2021-04-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  requirement: !ruby/object:Gem::Requirement
@@ -41,31 +40,31 @@ dependencies:
41
40
  - !ruby/object:Gem::Dependency
42
41
  requirement: !ruby/object:Gem::Requirement
43
42
  requirements:
44
- - - ">"
43
+ - - "~>"
45
44
  - !ruby/object:Gem::Version
46
- version: '2.9'
47
- name: rspec
48
- type: :development
45
+ version: 0.2.0
46
+ name: mutex_m
47
+ type: :runtime
49
48
  prerelease: false
50
49
  version_requirements: !ruby/object:Gem::Requirement
51
50
  requirements:
52
- - - ">"
51
+ - - "~>"
53
52
  - !ruby/object:Gem::Version
54
- version: '2.9'
53
+ version: 0.2.0
55
54
  - !ruby/object:Gem::Dependency
56
55
  requirement: !ruby/object:Gem::Requirement
57
56
  requirements:
58
- - - "~>"
57
+ - - ">"
59
58
  - !ruby/object:Gem::Version
60
- version: '2.1'
61
- name: jeweler
59
+ version: '2.9'
60
+ name: rspec
62
61
  type: :development
63
62
  prerelease: false
64
63
  version_requirements: !ruby/object:Gem::Requirement
65
64
  requirements:
66
- - - "~>"
65
+ - - ">"
67
66
  - !ruby/object:Gem::Version
68
- version: '2.1'
67
+ version: '2.9'
69
68
  - !ruby/object:Gem::Dependency
70
69
  requirement: !ruby/object:Gem::Requirement
71
70
  requirements:
@@ -104,13 +103,12 @@ extra_rdoc_files:
104
103
  - README.md
105
104
  files:
106
105
  - Gemfile
107
- - Gemfile.lock
108
106
  - LICENSE
109
107
  - README.md
110
108
  - Rakefile
111
109
  - VERSION
112
- - core-0.15.7.jar
113
- - core-0.15.8.jar
110
+ - core-0.15.10.jar
111
+ - core-0.15.11.jar
114
112
  - jar_dependencies.yml
115
113
  - lib/naether.rb
116
114
  - lib/naether/bootstrap.rb
@@ -121,12 +119,12 @@ files:
121
119
  - lib/naether/maven.rb
122
120
  - lib/naether/notation.rb
123
121
  - lib/naether/runtime.rb
122
+ - naether.gemspec
124
123
  - pom.xml
125
124
  homepage: http://github.com/mguymon/naether
126
125
  licenses:
127
126
  - Apache
128
127
  metadata: {}
129
- post_install_message:
130
128
  rdoc_options: []
131
129
  require_paths:
132
130
  - lib
@@ -141,8 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
139
  - !ruby/object:Gem::Version
142
140
  version: '0'
143
141
  requirements: []
144
- rubygems_version: 3.0.6
145
- signing_key:
142
+ rubygems_version: 3.6.9
146
143
  specification_version: 4
147
144
  summary: Java dependency resolver using Maven's Aether
148
145
  test_files: []
data/Gemfile.lock DELETED
@@ -1,88 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- addressable (2.4.0)
5
- builder (3.2.4)
6
- descendants_tracker (0.0.4)
7
- thread_safe (~> 0.3, >= 0.3.1)
8
- diff-lcs (1.3)
9
- faraday (0.9.2)
10
- multipart-post (>= 1.2, < 3)
11
- git (1.5.0)
12
- github_api (0.16.0)
13
- addressable (~> 2.4.0)
14
- descendants_tracker (~> 0.0.4)
15
- faraday (~> 0.8, < 0.10)
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)
24
- builder
25
- bundler
26
- git (>= 1.2.5)
27
- github_api (~> 0.16.0)
28
- highline (>= 1.6.15)
29
- nokogiri (>= 1.5.10)
30
- psych
31
- rake
32
- rdoc
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)
47
- multi_json (~> 1.3)
48
- multi_xml (~> 0.5)
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)
73
-
74
- PLATFORMS
75
- java
76
- ruby
77
- universal-java-15
78
-
79
- DEPENDENCIES
80
- httpclient
81
- jeweler (~> 2.1)
82
- kramdown
83
- rake (>= 12.3.3)
84
- rspec (> 2.9)
85
- yard
86
-
87
- BUNDLED WITH
88
- 2.2.16
data/core-0.15.7.jar DELETED
Binary file
data/core-0.15.8.jar DELETED
Binary file