aibika 1.3.12 → 1.3.14

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
  SHA256:
3
- metadata.gz: 45a7c4faea0c698abc763710655152f95267f6dd7c2af2f7785756695e11c930
4
- data.tar.gz: 5080fb38acdb7cddd124e92d9926e90f29904d36681e9d29b42fff9481de5b09
3
+ metadata.gz: acc854ad1c209f43426e6022c724b6326fe61a9a1c9a775e47124caa8ef08faf
4
+ data.tar.gz: 44dfe387fbf926690e300c9b02d3b49028f46fc01a4d9997f25cc21c1536c2dc
5
5
  SHA512:
6
- metadata.gz: 0c49f268bacd3d814ef2140e0d0c09edf74761ca401b7ff25a9527f6b0e6e8a6adfeadbafdbcde90888d85678d916e46ad94aaadc94010863e7da77731976e85
7
- data.tar.gz: 2180f0045cd4c738381fdbc7d863e71a42519110be60d6b17256fe9ee9b01e234c3659c3fa53a5661d8b948219a6750d42b782acef62aff3015b1a265d0723b1
6
+ metadata.gz: c48d432cc33ddd1fd0273f47287c3935916c59d053889d6973fba7c797c2d05f355c143243070431ddb18687a81158b14fabbb772f9e1084489ad74e1925992c
7
+ data.tar.gz: 6c0432bbe9e33faeb4a6c54f41b31a6eff7f9c08c53486daf963239afcd7e5fcda673ccc21ee5e46bbbcf2cecf36b56b1b2fc21737354c0d2852f64f354a2c9b
data/Rakefile CHANGED
@@ -22,6 +22,7 @@ file 'share/aibika/stubw.exe' => :build_stub
22
22
  file 'share/aibika/edicon.exe' => :build_stub
23
23
 
24
24
  task test: :build_stub
25
+ task build: :build_stub
25
26
 
26
27
  task :clean do
27
28
  rm_f Dir['{bin,samples}/*.exe']
data/aibika.gemspec CHANGED
@@ -12,23 +12,11 @@ Gem::Specification.new do |spec|
12
12
  spec.summary = 'Ruby applications packager to a single executable on Windows'
13
13
  spec.description = <<~SUM
14
14
  Aibika packages a Ruby application into a single executable for the Windows
15
- platform.
16
-
17
- The resulting executable is self-extracting and self-running, containing:
18
-
19
- * the Ruby interpreter;
20
- * packaged Ruby source code; and
21
- * any additionally needed Ruby libraries or DLLs.
22
-
23
- NOTE: Aibika was created from the Metanorma-enhanced fork of the
24
- https://github.com/larsch/ocra[One-click Ruby Application "Ocra" packager].
25
- The first Aibkika version was launched as 1.3.12. The last version of Ocra
26
- was 1.3.11 from 2020.
27
-
28
- NOTE: Aibika is considered a temporary solution to the full-fledged
29
- functionality of https://github.com/tamatebako/tebako[Tebako], which provides a
30
- user-space mounted-disk experience with minimal intervention.
31
-
15
+ platform. The resulting executable is self-extracting and self-running, containing the Ruby interpreter;
16
+ packaged Ruby source code; and any additionally needed Ruby libraries or DLLs.
17
+ Aibika was created from the Metanorma-enhanced fork of the One-click Ruby Application "Ocra" packager (https://github.com/larsch/ocra).
18
+ It is considered a temporary solution to the full-fledged functionality of Tebako (https://github.com/tamatebako/tebako),
19
+ which provides a user-space mounted-disk experience with minimal intervention.
32
20
  SUM
33
21
  spec.homepage = 'https://github.com/tamatebako/aibika'
34
22
  spec.required_ruby_version = '>= 2.7.0'
@@ -44,7 +32,8 @@ Gem::Specification.new do |spec|
44
32
  f.match(%r{\A(?:(?:test)/|\.(?:git|cirrus|autotest|rubocop))})
45
33
  end
46
34
  end
35
+ spec.files += Dir.glob('share/aibika/**')
47
36
  spec.bindir = 'bin'
48
37
  spec.executables = spec.files.grep(%r{\Abin/}) { |f| File.basename(f) }
49
- spec.require_paths = %w[bin lib samples share src]
38
+ spec.require_paths = %w[lib]
50
39
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aibika
4
- VERSION = '1.3.12'
4
+ VERSION = '1.3.14'
5
5
  end
data/lib/aibika.rb CHANGED
@@ -103,7 +103,7 @@ module Aibika
103
103
  end
104
104
 
105
105
  # Returns a binary blob store embedded in the current Ruby script.
106
- def self.get_next_embedded_image
106
+ def self.next_embedded_image
107
107
  DATA.read(DATA.readline.to_i).unpack1('m')
108
108
  end
109
109
 
@@ -122,12 +122,12 @@ module Aibika
122
122
 
123
123
  def self.find_stubs
124
124
  if defined?(DATA)
125
- @stubimage = get_next_embedded_image
126
- @stubwimage = get_next_embedded_image
127
- lzmaimage = get_next_embedded_image
125
+ @stubimage = next_embedded_image
126
+ @stubwimage = next_embedded_image
127
+ lzmaimage = next_embedded_image
128
128
  @lzmapath = Host.tempdir / 'lzma.exe'
129
129
  File.open(@lzmapath, 'wb') { |file| file << lzmaimage }
130
- ediconimage = get_next_embedded_image
130
+ ediconimage = next_embedded_image
131
131
  @ediconpath = Host.tempdir / 'edicon.exe'
132
132
  File.open(@ediconpath, 'wb') { |file| file << ediconimage }
133
133
  else
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aibika
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.12
4
+ version: 1.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -10,25 +10,13 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2023-08-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: |+
13
+ description: |
14
14
  Aibika packages a Ruby application into a single executable for the Windows
15
- platform.
16
-
17
- The resulting executable is self-extracting and self-running, containing:
18
-
19
- * the Ruby interpreter;
20
- * packaged Ruby source code; and
21
- * any additionally needed Ruby libraries or DLLs.
22
-
23
- NOTE: Aibika was created from the Metanorma-enhanced fork of the
24
- https://github.com/larsch/ocra[One-click Ruby Application "Ocra" packager].
25
- The first Aibkika version was launched as 1.3.12. The last version of Ocra
26
- was 1.3.11 from 2020.
27
-
28
- NOTE: Aibika is considered a temporary solution to the full-fledged
29
- functionality of https://github.com/tamatebako/tebako[Tebako], which provides a
30
- user-space mounted-disk experience with minimal intervention.
31
-
15
+ platform. The resulting executable is self-extracting and self-running, containing the Ruby interpreter;
16
+ packaged Ruby source code; and any additionally needed Ruby libraries or DLLs.
17
+ Aibika was created from the Metanorma-enhanced fork of the One-click Ruby Application "Ocra" packager (https://github.com/larsch/ocra).
18
+ It is considered a temporary solution to the full-fledged functionality of Tebako (https://github.com/tamatebako/tebako),
19
+ which provides a user-space mounted-disk experience with minimal intervention.
32
20
  email:
33
21
  - open.source@ribose.com
34
22
  executables:
@@ -66,7 +54,10 @@ files:
66
54
  - samples/win32_api_sample.rb
67
55
  - samples/win32ole.rb
68
56
  - samples/wxruby_sample.rbw
57
+ - share/aibika/edicon.exe
69
58
  - share/aibika/lzma.exe
59
+ - share/aibika/stub.exe
60
+ - share/aibika/stubw.exe
70
61
  - src/Makefile
71
62
  - src/edicon.c
72
63
  - src/lzma/LzmaDec.c
@@ -85,11 +76,7 @@ metadata:
85
76
  post_install_message:
86
77
  rdoc_options: []
87
78
  require_paths:
88
- - bin
89
79
  - lib
90
- - samples
91
- - share
92
- - src
93
80
  required_ruby_version: !ruby/object:Gem::Requirement
94
81
  requirements:
95
82
  - - ">="
@@ -106,4 +93,3 @@ signing_key:
106
93
  specification_version: 4
107
94
  summary: Ruby applications packager to a single executable on Windows
108
95
  test_files: []
109
- ...