ocra 1.3.8 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35f41c76f1adc5a5b46ce7ee53bb10da26f1471b
4
- data.tar.gz: 1ffe2519a16aea51a66a1e3ae2cf2901313ad158
3
+ metadata.gz: 9d39cc2c2502c3c19310430c5968e6ec68ce38d3
4
+ data.tar.gz: 4996817cb2821e188abc48f0b87ee830e0ce6280
5
5
  SHA512:
6
- metadata.gz: 7835c15dd3714c76abfcab1cd588b5aeb87e6910b6c19f86f6751b7fb21f9a6f663956b443f95538395614e535e1b7a2dd210d9a44fc73c527f6b1cbeca9bd11
7
- data.tar.gz: 699fe3cedc9f647c1bd0848d1020bd5662d20b29c77d668df346db44a2f73506380d277579d3bb7c43e5403f87c3498f3356d8fb0e1151391212fe8741669784
6
+ metadata.gz: 3ceb5d5590f5961e46d078ff469f8ba9b079dd338c541c8d295da336162963e321dd8ca5cea52d4d321eef3b5ba4d31767dc1cd6fc364df2ecd94af06b7c3e0a
7
+ data.tar.gz: b68476c168a28e19966796002498267f2f53ceb750cb78b2e854d6680b874d4a5c4a96942964e5dfbb0b93fdde73cc75f67e5cfee9f875ffa2b27e8569a64ba6
@@ -1,3 +1,7 @@
1
+ === 1.3.9
2
+
3
+ * Support Ruby 2.4.1p111 (include manifest)
4
+
1
5
  === 1.3.8
2
6
 
3
7
  * Use GetModuleFileNameW for DLL detection
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.8"
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}"
@@ -1,3 +1,3 @@
1
1
  class Ocra
2
- VERSION = '1.3.8'
2
+ VERSION = '1.3.9'
3
3
  end
Binary file
Binary file
Binary file
@@ -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.8
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-03-03 00:00:00.000000000 Z
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.9'
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.9'
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.15'
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.15'
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.7
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