jar-dependencies 0.6.0.pre1 → 0.6.0.pre2
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 +4 -4
- data/Mavenfile +16 -27
- data/Rakefile +6 -2
- data/lib/jars/post_install_hook.rb +0 -1
- data/lib/jars/version.rb +1 -1
- metadata +9 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ee7540cc0e25cd3f1315a239116155c08fa1ac837684e7b8ee514dfb7dfe901
|
|
4
|
+
data.tar.gz: 6cb7c19d5e902031df4760f7f99fb6a137058a8cbd7377784caf780460a6e5db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c2cd4fac92fd9078e9c2a059a6b52be5636c62c9144c4cfd36996c0ec2968b4a72163f26617ef1736afbbaae78a729f4adb21bd47a647e283a28834ffa268f3f
|
|
7
|
+
data.tar.gz: 17dd9f17dec9c8e0211c384e52d49de78e55356f5b4e472e3798fd72365714dc2dec596c8abd1800d050bdb99f9e2e516ab9cc1a66ed2cafd4da962daa2b2bf9
|
data/Mavenfile
CHANGED
|
@@ -6,41 +6,30 @@ plugin_repository id: :mavengems, url: 'mavengem:https://rubygems.org'
|
|
|
6
6
|
|
|
7
7
|
jruby_plugin(:minitest, minispecDirectory: 'specs/*_spec.rb') do
|
|
8
8
|
execute_goals(:spec)
|
|
9
|
-
gem 'ruby-maven', '${ruby-maven.version}'
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
# retrieve the ruby-maven version
|
|
13
|
-
gemfile_profile = @model.profiles.detect do |p|
|
|
14
|
-
p.id.to_sym == :gemfile
|
|
15
|
-
end || @model
|
|
16
|
-
ruby_maven = gemfile_profile.dependencies.detect do |d|
|
|
17
|
-
d.artifact_id == 'ruby-maven'
|
|
18
9
|
end
|
|
19
10
|
|
|
20
11
|
properties('jruby.versions' => ['${jruby.version}'].join(','),
|
|
21
12
|
# just lock the version
|
|
22
13
|
'bundler.version' => '2.5.11',
|
|
23
|
-
'ruby-maven.version' => ruby_maven.version,
|
|
24
14
|
'jruby.version' => '9.4.8.0',
|
|
25
|
-
'jruby.plugins.version' => '3.0.
|
|
15
|
+
'jruby.plugins.version' => '3.0.6',
|
|
26
16
|
'push.skip' => true)
|
|
27
17
|
|
|
28
|
-
plugin :invoker, '1.8' do
|
|
29
|
-
execute_goals(:install, :run,
|
|
30
|
-
id: 'integration-tests',
|
|
31
|
-
projectsDirectory: 'integration',
|
|
32
|
-
streamLogs: true,
|
|
33
|
-
goals: ['install'],
|
|
34
|
-
preBuildHookScript: 'setup.bsh',
|
|
35
|
-
postBuildHookScript: 'verify.bsh',
|
|
36
|
-
cloneProjectsTo: '${project.build.directory}',
|
|
37
|
-
properties: { 'jar-dependencies.version' => '${project.version}',
|
|
38
|
-
# use an old jruby with old ruby-maven here
|
|
39
|
-
'jruby.version' => '${jruby.version}',
|
|
40
|
-
'jruby.plugins.version' => '${jruby.plugins.version}',
|
|
41
|
-
'bundler.version' => '${bundler.version}',
|
|
42
|
-
|
|
43
|
-
end
|
|
18
|
+
#plugin :invoker, '1.8' do
|
|
19
|
+
# execute_goals(:install, :run,
|
|
20
|
+
# id: 'integration-tests',
|
|
21
|
+
# projectsDirectory: 'integration',
|
|
22
|
+
# streamLogs: true,
|
|
23
|
+
# goals: ['install'],
|
|
24
|
+
# preBuildHookScript: 'setup.bsh',
|
|
25
|
+
# postBuildHookScript: 'verify.bsh',
|
|
26
|
+
# cloneProjectsTo: '${project.build.directory}',
|
|
27
|
+
# properties: { 'jar-dependencies.version' => '${project.version}',
|
|
28
|
+
# # use an old jruby with old ruby-maven here
|
|
29
|
+
# 'jruby.version' => '${jruby.version}',
|
|
30
|
+
# 'jruby.plugins.version' => '${jruby.plugins.version}',
|
|
31
|
+
# 'bundler.version' => '${bundler.version}', })
|
|
32
|
+
#end
|
|
44
33
|
|
|
45
34
|
distribution_management do
|
|
46
35
|
repository id: :ossrh, url: 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
|
data/Rakefile
CHANGED
|
@@ -3,10 +3,14 @@
|
|
|
3
3
|
task default: [:specs]
|
|
4
4
|
|
|
5
5
|
require 'bundler/gem_tasks'
|
|
6
|
-
require 'rubocop/rake_task'
|
|
7
6
|
require 'rake/clean'
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
begin
|
|
9
|
+
require 'rubocop/rake_task'
|
|
10
|
+
RuboCop::RakeTask.new
|
|
11
|
+
rescue LoadError
|
|
12
|
+
# RuboCop not available; skip defining the task
|
|
13
|
+
end
|
|
10
14
|
|
|
11
15
|
desc 'run specs'
|
|
12
16
|
task :specs do
|
|
@@ -26,7 +26,6 @@ if defined?(JRUBY_VERSION) && Gem.post_install_hooks.empty?
|
|
|
26
26
|
if ENV['JARS_SKIP'] != 'true' && ENV_JAVA['jars.skip'] != 'true'
|
|
27
27
|
require 'jars/installer'
|
|
28
28
|
jars = Jars::Installer.new(gem_installer.spec)
|
|
29
|
-
jars.ruby_maven_install_options = gem_installer.options || {}
|
|
30
29
|
jars.vendor_jars
|
|
31
30
|
end
|
|
32
31
|
end
|
data/lib/jars/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jar-dependencies
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.0.
|
|
4
|
+
version: 0.6.0.pre2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- christian meier
|
|
8
|
+
autorequire:
|
|
8
9
|
bindir: exe
|
|
9
10
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-30 00:00:00.000000000 Z
|
|
11
12
|
dependencies:
|
|
12
13
|
- !ruby/object:Gem::Dependency
|
|
13
|
-
name: minitest
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
18
|
version: '5.10'
|
|
19
|
+
name: minitest
|
|
19
20
|
type: :development
|
|
20
21
|
prerelease: false
|
|
21
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -68,6 +69,7 @@ licenses:
|
|
|
68
69
|
- MIT
|
|
69
70
|
metadata:
|
|
70
71
|
rubygems_mfa_required: 'true'
|
|
72
|
+
post_install_message:
|
|
71
73
|
rdoc_options: []
|
|
72
74
|
require_paths:
|
|
73
75
|
- lib
|
|
@@ -78,11 +80,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
78
80
|
version: '2.6'
|
|
79
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
82
|
requirements:
|
|
81
|
-
- - "
|
|
83
|
+
- - ">"
|
|
82
84
|
- !ruby/object:Gem::Version
|
|
83
|
-
version:
|
|
85
|
+
version: 1.3.1
|
|
84
86
|
requirements: []
|
|
85
|
-
rubygems_version: 3.
|
|
87
|
+
rubygems_version: 3.3.26
|
|
88
|
+
signing_key:
|
|
86
89
|
specification_version: 4
|
|
87
90
|
summary: manage jar dependencies for gems
|
|
88
91
|
test_files: []
|