jarbler 0.3.1 → 0.3.2
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/lib/jarbler/JarMain.java +5 -2
- data/lib/jarbler/version.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d57d186383ffc6bf5de8396b10fa81aa47947bedb96f36ef67d4cbecef2ca2fb
|
4
|
+
data.tar.gz: 64c3888a99ec67bbf0e4ac0c3c85a5d2f8cd042a84403ad879a02476c8c62a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ef50f2616b885cca428943bcc6baf4d0db106da0e7620339981378ef2321ccd6b336c7c992a10531e670b6c63baa80d14f37512e8890b9136593047267adbcb
|
7
|
+
data.tar.gz: f4b1644168cdc90c5314b65cf616b1d096bec65888de485b490744f68b9577867c9a3625f8dbc7e443c11c7b57ea125210ce45a159f3e8ad477f559d8610f910
|
data/lib/jarbler/JarMain.java
CHANGED
@@ -56,9 +56,12 @@ class JarMain {
|
|
56
56
|
jarPath = jarPath.substring(1); // remove the leading slash
|
57
57
|
}
|
58
58
|
|
59
|
+
// get the absolute path of the jar file, especially if it contains spaces in Windows
|
60
|
+
String aboluteJarPath = new File(jarPath).getAbsolutePath();
|
61
|
+
|
59
62
|
// extract the jarFile by unzipping it (not using the jar utility which may not be available)
|
60
|
-
System.out.println("Extracting files from "+
|
61
|
-
unzip(
|
63
|
+
System.out.println("Extracting files from "+aboluteJarPath+" to "+ newFolder.getAbsolutePath());
|
64
|
+
unzip(aboluteJarPath, newFolder.getAbsolutePath());
|
62
65
|
|
63
66
|
String app_root = newFolder.getAbsolutePath()+File.separator+"app_root";
|
64
67
|
|
data/lib/jarbler/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jarbler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Ramm
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Pack a Ruby app combined with JRuby runtime and all its Gem dependencies
|
14
14
|
into a jar file to simply run the app on any Java platform by '> java -jar file.jar'
|
@@ -42,7 +42,7 @@ metadata:
|
|
42
42
|
homepage_uri: https://github.com/rammpeter/jarbler
|
43
43
|
source_code_uri: https://github.com/rammpeter/jarbler
|
44
44
|
changelog_uri: https://github.com/rammpeter/jarbler/CHANGELOG.md
|
45
|
-
post_install_message:
|
45
|
+
post_install_message:
|
46
46
|
rdoc_options: []
|
47
47
|
require_paths:
|
48
48
|
- lib
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
60
|
rubygems_version: 3.3.27
|
61
|
-
signing_key:
|
61
|
+
signing_key:
|
62
62
|
specification_version: 4
|
63
63
|
summary: Pack a Ruby app into a Java jar file
|
64
64
|
test_files: []
|