ocra 1.3.8 → 1.3.9
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/History.txt +4 -0
- data/bin/ocra +11 -1
- data/lib/ocra.rb +1 -1
- data/share/ocra/edicon.exe +0 -0
- data/share/ocra/stub.exe +0 -0
- data/share/ocra/stubw.exe +0 -0
- data/test/test_ocra.rb +0 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d39cc2c2502c3c19310430c5968e6ec68ce38d3
|
4
|
+
data.tar.gz: 4996817cb2821e188abc48f0b87ee830e0ce6280
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ceb5d5590f5961e46d078ff469f8ba9b079dd338c541c8d295da336162963e321dd8ca5cea52d4d321eef3b5ba4d31767dc1cd6fc364df2ecd94af06b7c3e0a
|
7
|
+
data.tar.gz: b68476c168a28e19966796002498267f2f53ceb750cb78b2e854d6680b874d4a5c4a96942964e5dfbb0b93fdde73cc75f67e5cfee9f875ffa2b27e8569a64ba6
|
data/History.txt
CHANGED
data/bin/ocra
CHANGED
@@ -179,7 +179,7 @@ module Ocra
|
|
179
179
|
a.sort.inject([]) { |r, e| r.last == e ? r : r << e }
|
180
180
|
end
|
181
181
|
|
182
|
-
VERSION = "1.3.
|
182
|
+
VERSION = "1.3.9"
|
183
183
|
|
184
184
|
IGNORE_MODULES = /\/(enumerator.so|rational.so|complex.so|thread.rb)$/
|
185
185
|
|
@@ -850,6 +850,9 @@ EOF
|
|
850
850
|
# Detect additional DLLs
|
851
851
|
dlls = Ocra.autodll ? LibraryDetector.detect_dlls : []
|
852
852
|
|
853
|
+
# Detect external manifests
|
854
|
+
manifests = Host.exec_prefix.find_all_files(/\.manifest$/)
|
855
|
+
|
853
856
|
executable = nil
|
854
857
|
if Ocra.output_override
|
855
858
|
executable = Ocra.output_override
|
@@ -911,6 +914,13 @@ EOF
|
|
911
914
|
sb.createfile(dll, target)
|
912
915
|
end
|
913
916
|
|
917
|
+
# Add external manifest files
|
918
|
+
manifests.each do |manifest|
|
919
|
+
Ocra.msg "Adding external manifest #{manifest}"
|
920
|
+
target = manifest.relative_path_from(Host.exec_prefix)
|
921
|
+
sb.createfile(manifest, target)
|
922
|
+
end
|
923
|
+
|
914
924
|
# Add extra DLLs specified on the command line
|
915
925
|
Ocra.extra_dlls.each do |dll|
|
916
926
|
Ocra.msg "Adding supplied DLL #{dll}"
|
data/lib/ocra.rb
CHANGED
data/share/ocra/edicon.exe
CHANGED
Binary file
|
data/share/ocra/stub.exe
CHANGED
Binary file
|
data/share/ocra/stubw.exe
CHANGED
Binary file
|
data/test/test_ocra.rb
CHANGED
@@ -21,7 +21,6 @@ class TestOcra < MiniTest::Test
|
|
21
21
|
# Default arguments for invoking OCRA when running tests.
|
22
22
|
DefaultArgs = [ '--no-lzma', '--verbose' ]
|
23
23
|
DefaultArgs << "--quiet" unless ENV["OCRA_VERBOSE_TEST"]
|
24
|
-
DefaultArgs.push '--no-autodll' if not $have_win32_api
|
25
24
|
|
26
25
|
# Name of the tested ocra script.
|
27
26
|
TESTED_OCRA = ENV['TESTED_OCRA'] || 'ocra'
|
@@ -475,7 +474,6 @@ class TestOcra < MiniTest::Test
|
|
475
474
|
def test_loadpath_mangling_path
|
476
475
|
with_fixture 'relloadpath' do
|
477
476
|
each_path_combo "bin/loadpath1.rb" do |script|
|
478
|
-
# p [Dir.pwd, script]
|
479
477
|
assert system('ruby', ocra, script, *DefaultArgs)
|
480
478
|
assert File.exist?('loadpath1.exe')
|
481
479
|
pristine_env "loadpath1.exe" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ocra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lars Christensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '5.
|
19
|
+
version: '5.10'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '5.
|
26
|
+
version: '5.10'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rdoc
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '3.
|
47
|
+
version: '3.16'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '3.
|
54
|
+
version: '3.16'
|
55
55
|
description: |-
|
56
56
|
OCRA (One-Click Ruby Application) builds Windows executables from Ruby
|
57
57
|
source code. The executable is a self-extracting, self-running
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.6.
|
103
|
+
rubygems_version: 2.6.11
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: OCRA (One-Click Ruby Application) builds Windows executables from Ruby source
|