tebako-runtime 0.5.3 → 0.5.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc9473e24e5664578ca501587c6a55dfcdc8852c3872f2e26d310201f738fa2c
|
4
|
+
data.tar.gz: 95e8bfc075a6e97461e495675a268b8fdc877f0ef7643c2a4fda00b97a41517c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1c0fdd8a3c0c08cbad7d4acf833ecaf7bb7e05672eb153efe3750c495c7edfbd57959119ba5fffe66a25521dd7332e796d37494f2115bc2ecd4a3b10c23b826
|
7
|
+
data.tar.gz: 610f4432bcf2a0c1f292cf9e833598217a4c9e1ce51d72b7de8092e6558eec0e4e57cf5fc5e68855d444ce9eb647ed37beffa712904d1b68e5bf04b88e2683d2
|
@@ -26,10 +26,27 @@
|
|
26
26
|
# POSSIBILITY OF SUCH DAMAGE.
|
27
27
|
|
28
28
|
# Unpack mn2pdf.jar
|
29
|
-
module Mn2pdf
|
30
|
-
remove_const("MN2PDF_JAR_PATH")
|
31
|
-
MN2PDF_JAR_PATH = TebakoRuntime.extract_memfs(File.join(TebakoRuntime.full_gem_path("mn2pdf"), "bin", "mn2pdf.jar"))
|
32
29
|
|
30
|
+
module TebakoRuntime
|
31
|
+
MN2PDF_J_PATH = TebakoRuntime.extract_memfs(File.join(TebakoRuntime.full_gem_path("mn2pdf"), "bin",
|
32
|
+
"mn2pdf.jar"))
|
33
|
+
end
|
34
|
+
|
35
|
+
if Mn2pdf.const_defined?("MN2PDF_JAR_PATH")
|
36
|
+
module Mn2pdf
|
37
|
+
remove_const("MN2PDF_JAR_PATH")
|
38
|
+
MN2PDF_JAR_PATH = TebakoRuntime::MN2PDF_J_PATH
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
if Jvm.const_defined?("MN2PDF_JAR_PATH")
|
43
|
+
module Jvm
|
44
|
+
remove_const("MN2PDF_JAR_PATH")
|
45
|
+
MN2PDF_JAR_PATH = TebakoRuntime::MN2PDF_J_PATH
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
module Mn2pdf
|
33
50
|
singleton_class.send(:alias_method, :convert_orig, :convert)
|
34
51
|
singleton_class.send(:remove_method, :convert)
|
35
52
|
|
@@ -27,7 +27,7 @@
|
|
27
27
|
|
28
28
|
# Unpack mn2pdf.jar
|
29
29
|
module MnConvert
|
30
|
-
remove_const("MNCONVERT_JAR_PATH")
|
30
|
+
remove_const("MNCONVERT_JAR_PATH") if const_defined?("MNCONVERT_JAR_PATH")
|
31
31
|
MNCONVERT_JAR_PATH = TebakoRuntime.extract_memfs(File.join(TebakoRuntime.full_gem_path("mnconvert"), "bin",
|
32
32
|
"mnconvert.jar"))
|
33
33
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tebako-runtime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|