aibika 1.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +11 -0
- data/History.txt +214 -0
- data/LICENSE.md +30 -0
- data/Manifest.txt +11 -0
- data/README.adoc +564 -0
- data/Rakefile +30 -0
- data/aibika.gemspec +50 -0
- data/bin/aibika +25 -0
- data/lib/aibika/aibika_builder.rb +191 -0
- data/lib/aibika/cli.rb +181 -0
- data/lib/aibika/host.rb +40 -0
- data/lib/aibika/library_detector.rb +88 -0
- data/lib/aibika/pathname.rb +158 -0
- data/lib/aibika/version.rb +5 -0
- data/lib/aibika.rb +675 -0
- data/samples/activerecord_sample.rb +6 -0
- data/samples/bundler_git/Gemfile +3 -0
- data/samples/bundler_git/bundler_git.rb +5 -0
- data/samples/mech.rb +8 -0
- data/samples/mime-types_sample.rb +4 -0
- data/samples/pg_sample.rb +4 -0
- data/samples/prawn_sample.rb +9 -0
- data/samples/readchar.rb +4 -0
- data/samples/sysproctable.rb +12 -0
- data/samples/tk.rb +13 -0
- data/samples/tkextlib.rb +4 -0
- data/samples/watir_sample.rb +31 -0
- data/samples/win32_api_sample.rb +5 -0
- data/samples/win32ole.rb +4 -0
- data/samples/wxruby_sample.rbw +29 -0
- data/share/aibika/lzma.exe +0 -0
- data/src/Makefile +37 -0
- data/src/edicon.c +146 -0
- data/src/lzma/LzmaDec.c +1007 -0
- data/src/lzma/LzmaDec.h +223 -0
- data/src/lzma/Types.h +208 -0
- data/src/seb.exe +0 -0
- data/src/stub.c +703 -0
- data/src/stub.rc +1 -0
- data/src/vit-ruby.ico +0 -0
- metadata +109 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 45a7c4faea0c698abc763710655152f95267f6dd7c2af2f7785756695e11c930
|
4
|
+
data.tar.gz: 5080fb38acdb7cddd124e92d9926e90f29904d36681e9d29b42fff9481de5b09
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0c49f268bacd3d814ef2140e0d0c09edf74761ca401b7ff25a9527f6b0e6e8a6adfeadbafdbcde90888d85678d916e46ad94aaadc94010863e7da77731976e85
|
7
|
+
data.tar.gz: 2180f0045cd4c738381fdbc7d863e71a42519110be60d6b17256fe9ee9b01e234c3659c3fa53a5661d8b948219a6750d42b782acef62aff3015b1a265d0723b1
|
data/Gemfile
ADDED
data/History.txt
ADDED
@@ -0,0 +1,214 @@
|
|
1
|
+
=== 1.3.12
|
2
|
+
|
3
|
+
=== 1.3.11
|
4
|
+
|
5
|
+
* Support Ruby 2.2-2.7
|
6
|
+
* Add ruby2_keywords.rb to ignored modules
|
7
|
+
* Update lzma.exe to version 19.00
|
8
|
+
* Workaround for warning about deprecated Object#=~
|
9
|
+
* Use Fiddle instead of Win32API
|
10
|
+
* Fix for invalid argument to relative_path_from
|
11
|
+
|
12
|
+
=== 1.3.10
|
13
|
+
|
14
|
+
* Reduce memory usage while building & compressing (avoids out of
|
15
|
+
memory issue on really big programs).
|
16
|
+
|
17
|
+
* Compile stub.exe with 32-bit compiler again
|
18
|
+
|
19
|
+
=== 1.3.9
|
20
|
+
|
21
|
+
* Support Ruby 2.4.1p111 (include manifest)
|
22
|
+
|
23
|
+
=== 1.3.8
|
24
|
+
|
25
|
+
* Use GetModuleFileNameW for DLL detection
|
26
|
+
|
27
|
+
=== 1.3.7
|
28
|
+
|
29
|
+
* Workaround for handling of file names and directory name with
|
30
|
+
non-ASCII characters (e.g. "invalid byte sequence in UTF-8")
|
31
|
+
|
32
|
+
=== 1.3.6
|
33
|
+
|
34
|
+
* More robust cleanup of temporary files. Deletes using manual
|
35
|
+
recursive method instead of using the shell. Will mark files for
|
36
|
+
later deletion both using Windows (requires Administrator
|
37
|
+
privileges) and a custom method that will remove old temporary files
|
38
|
+
when the executable is restarted.
|
39
|
+
|
40
|
+
=== 1.3.5
|
41
|
+
|
42
|
+
* Fixes for Ruby 2.2.2p95
|
43
|
+
|
44
|
+
=== 1.3.4
|
45
|
+
|
46
|
+
* Workarounds for Ruby 2.1.5
|
47
|
+
|
48
|
+
=== 1.3.3
|
49
|
+
|
50
|
+
* Rebuild executables with MinGW GCC 4.8.1-4.
|
51
|
+
|
52
|
+
=== 1.3.2
|
53
|
+
|
54
|
+
* Refactored Gemfile handling for better compatibility with Ruby
|
55
|
+
version.
|
56
|
+
|
57
|
+
=== 1.3.1
|
58
|
+
|
59
|
+
* Now includes $LOADED_FEATURES even when script is not run to check
|
60
|
+
dependencies. This fixes compatability with Ruby 1.9.3 where
|
61
|
+
rubygems is always loaded.
|
62
|
+
|
63
|
+
* Fixed compatability with Ruby 2.0.0: Temp-path alias in binary
|
64
|
+
changed to be valid UTF-8 character.
|
65
|
+
|
66
|
+
* README.txt updated related to --no-dep-run (karhatsu).
|
67
|
+
|
68
|
+
* Fixes for Bundler handling (DavidMikeSimon).
|
69
|
+
|
70
|
+
=== 1.3.0
|
71
|
+
|
72
|
+
* Fixed some additional corner cases with absolute and relative
|
73
|
+
require & load paths. Extended test suite to cover a lot more
|
74
|
+
cases.
|
75
|
+
|
76
|
+
* Now provides a meaningful exit status code (1 on error, 0 on
|
77
|
+
success). (DavidMikeSimon)
|
78
|
+
|
79
|
+
* New option to _not_ run the script to detect dependencies
|
80
|
+
(--no-dep-run). (DavidMikeSimon)
|
81
|
+
|
82
|
+
* Bundler support using the --gemfile option. (DavidMikeSimon)
|
83
|
+
|
84
|
+
* Debug mode support in the stub (--debug). Also --debug-extract to
|
85
|
+
keep extracted files from executable. (DavidMikeSimon)
|
86
|
+
|
87
|
+
* New gem behaviour yet again due to changes in Rubygems. See README
|
88
|
+
file.
|
89
|
+
|
90
|
+
=== 1.2.0
|
91
|
+
|
92
|
+
* Ignore console events (Ctrl-C, Ctrl-Break). Ruby process handles
|
93
|
+
them anyway and exist, allowing the stub to clean up temporary
|
94
|
+
files.
|
95
|
+
|
96
|
+
* Temporary memory used for decompression is now freed before the ruby
|
97
|
+
interpreter is launched by the stub.
|
98
|
+
|
99
|
+
* Progress dialog is no longer displayed when removing temporary
|
100
|
+
files.
|
101
|
+
|
102
|
+
* Now includes most files from any require'd Rubygem (Now works with
|
103
|
+
mime-types, oledb and other gems that load additional data files
|
104
|
+
from the Gem installation). Some files are still ignored
|
105
|
+
(e.g. Readme's). Use "--no-gem-filter" to make Ocra unconditionally
|
106
|
+
include all files listed in the Gem specification (Thanks to Jorge
|
107
|
+
L. Cangas for patch & ideas).
|
108
|
+
|
109
|
+
* NameErrors are now rescued when attempting to load autoloadable
|
110
|
+
constants. Hopefully resolves issues with ActiveRecord [#28488].
|
111
|
+
|
112
|
+
* Now works if the script changes environment or working directory
|
113
|
+
while running.
|
114
|
+
|
115
|
+
* Fixed a regression in 1.1.4 when resource files are specified;
|
116
|
+
directory layout would not be maintained, e.g. when running "ocra
|
117
|
+
bin/script share/data.dat".
|
118
|
+
|
119
|
+
* Added support for passing arguments to script. Specify argument to
|
120
|
+
your script after a "--" marker. Arguments will be passed both at
|
121
|
+
compile time and run time. (#27815)
|
122
|
+
|
123
|
+
* Now works if the source files are located beneath Ruby's
|
124
|
+
exec_prefix. (#28505)
|
125
|
+
|
126
|
+
=== 1.1.4
|
127
|
+
|
128
|
+
* The tempdir marker is now pretty-printed as "<tempdir>" in the
|
129
|
+
output.
|
130
|
+
|
131
|
+
* Fixed various issues with path and filenames being handled case
|
132
|
+
sensitive.
|
133
|
+
|
134
|
+
* Now uses config settings for Ruby executable names (should now also
|
135
|
+
work with ruby installations built with --program-suffix).
|
136
|
+
|
137
|
+
* Supported invoking ocra with an absolute path to the script. Will
|
138
|
+
assume that the script is in the root of the source hierachy.
|
139
|
+
|
140
|
+
=== 1.1.3
|
141
|
+
|
142
|
+
* Use Win32API (provided with Ruby) instead of win32-api (gem).
|
143
|
+
|
144
|
+
* No longer sets GEM_HOME (which would override the default gem
|
145
|
+
path). Instead sets GEM_PATH. Resolves issues with gems not loading
|
146
|
+
on Ruby 1.9.
|
147
|
+
|
148
|
+
=== 1.1.2
|
149
|
+
|
150
|
+
* Warnings can be disabled using --no-warnings.
|
151
|
+
|
152
|
+
* Fixed not .exe being generated when script calls 'exit'.
|
153
|
+
|
154
|
+
* Path to the generated executable is now avilable to the running
|
155
|
+
script in the OCRA_EXECUTABLE environment variable.
|
156
|
+
|
157
|
+
* Directories on the command line will now be created.
|
158
|
+
|
159
|
+
* Supports path globs, fx. "ocra script.rb assets/**/*.png". (See
|
160
|
+
documentation for Ruby's Dir class).
|
161
|
+
|
162
|
+
* Fixed issue with spaces in temporary path (TMP environment).
|
163
|
+
|
164
|
+
* Improved path comparison to ignore case (this is Windows after all)
|
165
|
+
and be a bit more robust.
|
166
|
+
|
167
|
+
* Added support for RubyGems installed in GEM_HOME (or other part
|
168
|
+
handled by RubyGems). If not installed in the Ruby hierarchy, they
|
169
|
+
will now be installed in a directory named 'gemhome' under the
|
170
|
+
temporary directory.
|
171
|
+
|
172
|
+
=== 1.1.1
|
173
|
+
|
174
|
+
* Fixed duplicate entries in the RUBYLIB environment variable.
|
175
|
+
|
176
|
+
* Another slight fix for relative load paths.
|
177
|
+
|
178
|
+
* RUBYOPT is now set to the value it had when OCRA was invoked.
|
179
|
+
|
180
|
+
=== 1.1.0
|
181
|
+
|
182
|
+
* Added an icon to the executable. Can be replaced from a .ico file
|
183
|
+
using the --icon <ico> option.
|
184
|
+
|
185
|
+
* Improved handling of load paths added either from the command line
|
186
|
+
(ruby -I), RUBYLIB environment variable or during the script (by
|
187
|
+
modifying $: or $LOAD_PATH).
|
188
|
+
|
189
|
+
* Now automatically detects loaded DLLs through Win32::API. Disable
|
190
|
+
with --no-autodll.
|
191
|
+
|
192
|
+
=== 1.0.3 / 2009-05-25
|
193
|
+
|
194
|
+
* Fixed invokation of executables with spaces in path names (#25966).
|
195
|
+
|
196
|
+
* Fixed inverted handling of --windows & --console (#25974)
|
197
|
+
|
198
|
+
* Fixed installation issue with RubyGems (missing "lib")
|
199
|
+
|
200
|
+
=== 1.0.2 / 2009-05-10
|
201
|
+
|
202
|
+
* Added stubw.exe to gem (was missing 1.0.1)
|
203
|
+
|
204
|
+
=== 1.0.1 / 2009-05-05
|
205
|
+
|
206
|
+
* Added stub with windows runtime for windowed applications
|
207
|
+
(e.g. wxRuby) and fixed issue where OCRA would use ruby.exe instead
|
208
|
+
of rubyw.exe for such programs. [#25774]
|
209
|
+
|
210
|
+
=== 1.0.0 / 2009-04-05
|
211
|
+
|
212
|
+
* 1 major enhancement
|
213
|
+
|
214
|
+
* Birthday!
|
data/LICENSE.md
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
Licenses & Copyright
|
2
|
+
====================
|
3
|
+
|
4
|
+
This license file adheres to the formatting guidelines of
|
5
|
+
[readable-licenses](https://github.com/nevir/readable-licenses).
|
6
|
+
|
7
|
+
|
8
|
+
MIT License
|
9
|
+
-----------------------------
|
10
|
+
|
11
|
+
Copyright (c) 2021-2023, [Ribose Inc.](https://www.ribose.com)
|
12
|
+
Copyright (c) 2009-2020 [Lars Christensen](https://github.com/larsch)
|
13
|
+
|
14
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
15
|
+
this software and associated documentation files (the "Software"), to deal in
|
16
|
+
the Software without restriction, including without limitation the rights to
|
17
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
18
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
19
|
+
subject to the following conditions:
|
20
|
+
|
21
|
+
The above copyright notice and this permission notice shall be included in all
|
22
|
+
copies or substantial portions of the Software.
|
23
|
+
|
24
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
25
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
26
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
27
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
28
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
29
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
30
|
+
|