ocra 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.txt +4 -0
- data/bin/ocra +5 -4
- 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
- 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: 35f41c76f1adc5a5b46ce7ee53bb10da26f1471b
|
4
|
+
data.tar.gz: 1ffe2519a16aea51a66a1e3ae2cf2901313ad158
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7835c15dd3714c76abfcab1cd588b5aeb87e6910b6c19f86f6751b7fb21f9a6f663956b443f95538395614e535e1b7a2dd210d9a44fc73c527f6b1cbeca9bd11
|
7
|
+
data.tar.gz: 699fe3cedc9f647c1bd0848d1020bd5662d20b29c77d668df346db44a2f73506380d277579d3bb7c43e5403f87c3498f3356d8fb0e1151391212fe8741669784
|
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.8"
|
183
183
|
|
184
184
|
IGNORE_MODULES = /\/(enumerator.so|rational.so|complex.so|thread.rb)$/
|
185
185
|
|
@@ -960,7 +960,7 @@ EOF
|
|
960
960
|
require 'Win32API'
|
961
961
|
|
962
962
|
enumprocessmodules = Win32API.new('psapi', 'EnumProcessModules', ['L','P','L','P'], 'L')
|
963
|
-
getmodulefilename = Win32API.new('kernel32', '
|
963
|
+
getmodulefilename = Win32API.new('kernel32', 'GetModuleFileNameW', ['L','P','L'], 'L')
|
964
964
|
getcurrentprocess = Win32API.new('kernel32', 'GetCurrentProcess', [], 'L')
|
965
965
|
|
966
966
|
bytes_needed = 4 * 32
|
@@ -976,9 +976,10 @@ EOF
|
|
976
976
|
|
977
977
|
handles = module_handle_buffer.unpack("I*")
|
978
978
|
handles.select { |handle| handle > 0 }.map do |handle|
|
979
|
-
str = "\x00" * 256
|
979
|
+
str = "\x00\x00" * 256
|
980
980
|
modulefilename_length = getmodulefilename.call(handle, str, str.size)
|
981
|
-
|
981
|
+
modulefilename = str[0, modulefilename_length * 2].force_encoding('UTF-16LE').encode('UTF-8')
|
982
|
+
Ocra.Pathname(modulefilename)
|
982
983
|
end
|
983
984
|
end
|
984
985
|
|
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
|
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.8
|
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-
|
11
|
+
date: 2017-03-03 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.9'
|
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.9'
|
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.15'
|
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.15'
|
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.
|
103
|
+
rubygems_version: 2.6.7
|
104
104
|
signing_key:
|
105
105
|
specification_version: 4
|
106
106
|
summary: OCRA (One-Click Ruby Application) builds Windows executables from Ruby source
|