aibika 1.3.12 → 1.3.13

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: 7a7afbad2bb83690244e71550732784e9f6159f63ddb4751bd003d95ca483fa4
4
+ data.tar.gz: 8320e64fca547ed411f14fa92c26916cfb6b7533d002e66f06035a78acbda234
5
5
  SHA512:
6
- metadata.gz: 0c49f268bacd3d814ef2140e0d0c09edf74761ca401b7ff25a9527f6b0e6e8a6adfeadbafdbcde90888d85678d916e46ad94aaadc94010863e7da77731976e85
7
- data.tar.gz: 2180f0045cd4c738381fdbc7d863e71a42519110be60d6b17256fe9ee9b01e234c3659c3fa53a5661d8b948219a6750d42b782acef62aff3015b1a265d0723b1
6
+ metadata.gz: 4d16229417657d575a7e78dd5cdd23fb439e4a8d70aed8cd230177be22436e8f8380b9b83bbbab74cd65786ade505d58d8af28cae9e92ac710a956db7edf97bb
7
+ data.tar.gz: 7f9ed4ff3200b561cf51c7c05725544361688bb8c52612f71cfa17128652035aa0abd08203546b783d7cd726fdf4edb6cc3a4afca33fb21cad8257900dde8668
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,6 +32,7 @@ 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
38
  spec.require_paths = %w[bin lib samples share src]
@@ -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.13'
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.13
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
@@ -106,4 +97,3 @@ signing_key:
106
97
  specification_version: 4
107
98
  summary: Ruby applications packager to a single executable on Windows
108
99
  test_files: []
109
- ...