tebako-runtime 0.2.0 → 0.3.0

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: 74c66dc071ea02c3a3aba65fb2bf9591bac42d9098fb1d8ff2f24d388dc81c7a
4
- data.tar.gz: 6fabb9d9af8db8f131bc57b92a0bd73d0c58cdb6c19eb9917f9248ef733b10a8
3
+ metadata.gz: fdc527ed0fd0427e155e79896af24308eaf556dee9ad64925f49a461613ddbab
4
+ data.tar.gz: 2c6604926cb1c26b9a4d1372790690f1d9d483ee0f8a4e453783b9fa022aada7
5
5
  SHA512:
6
- metadata.gz: 7ff49a2adf18263cc155e223b8f990ca4682ed5062968bf092a4c6015c5b6236450e21280049f7abd86cb6f5ff0fd887e993b9afef01d4a1833976df9f7e60f4
7
- data.tar.gz: 3fc3e4c34e979c33007835c8fa3bff2dd36008516a4049ea5d6c8cd64c2d648abf07ab841762469b99bb78b6dc12b5bfdef2bb1bb94b1e1a9e5f8e3395237580
6
+ metadata.gz: 287017ccabfa0afad80ab47b5649c819e16c19b2b2aa0af80dd3522516c5fe4d386eb791f13a08f45f5bfd436ea794309ca2468d7eb663ef67972be81393ca7c
7
+ data.tar.gz: 15923f5ff3ca0d7f63ba34d49b098d58dfdee594601aec7bdfcc8e1a4d920de2f6ea1888df844ec8a27c8178663a3a676c44abe645ba0646425a835ad5ad234d
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2023 [Ribose Inc](https://www.ribose.com).
3
+ # Copyright (c) 2023-2024 [Ribose Inc](https://www.ribose.com).
4
4
  # All rights reserved.
5
5
  # This file is a part of tebako
6
6
  #
@@ -35,7 +35,7 @@ require_relative "string"
35
35
  # Module TebakoRuntime
36
36
  # Methods to extract files from memfs to temporary folder
37
37
  module TebakoRuntime
38
- COMPILER_MEMFS = "/__tebako_memfs__"
38
+ COMPILER_MEMFS = RUBY_PLATFORM =~ /msys|mingw|cygwin/ ? "A:/__tebako_memfs__" : "/__tebako_memfs__"
39
39
  COMPILER_MEMFS_LIB_CACHE = Pathname.new(Dir.mktmpdir("tebako-runtime-"))
40
40
 
41
41
  class << self
@@ -34,6 +34,8 @@ module TebakoRuntime
34
34
  sevenz_path = File.join(full_gem_path("seven-zip"), "lib", "seven_zip_ruby", sevenz_lib)
35
35
  sevenz_new_folder = COMPILER_MEMFS_LIB_CACHE / "seven_zip_ruby"
36
36
  FileUtils.mkdir_p(sevenz_new_folder)
37
- FileUtils.cp(sevenz_path, sevenz_new_folder)
37
+ Dir.glob(sevenz_path).each do |file|
38
+ FileUtils.cp(file, sevenz_new_folder)
39
+ end
38
40
  $LOAD_PATH.unshift(COMPILER_MEMFS_LIB_CACHE)
39
41
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # Copyright (c) 2023 [Ribose Inc](https://www.ribose.com).
3
+ # Copyright (c) 2023-2024 [Ribose Inc](https://www.ribose.com).
4
4
  # All rights reserved.
5
5
  # This file is a part of tebako
6
6
  #
@@ -26,5 +26,5 @@
26
26
  # POSSIBILITY OF SUCH DAMAGE.
27
27
 
28
28
  module TebakoRuntime
29
- VERSION = "0.2.0"
29
+ VERSION = "0.3.0"
30
30
  end
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.email = ["open.source@ribose.com"]
35
35
  spec.license = "BSD-2-Clause"
36
36
 
37
- spec.summary = "Run-time support of tebako exxecutable packager"
37
+ spec.summary = "Run-time support of tebako executable packager"
38
38
  spec.description = <<~SUM
39
39
  Tebako (https://github.com/tamatebako/tebako) is an executable packager.
40
40
  tebako-runtime gem implements adapters for Ruby gems that shall be aware
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tebako-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-08 00:00:00.000000000 Z
11
+ date: 2024-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -168,7 +168,7 @@ licenses:
168
168
  metadata:
169
169
  homepage_uri: https://github.com/tamatebako/tebako-runtime
170
170
  source_code_uri: https://github.com/tamatebako/tebako-runtime
171
- post_install_message:
171
+ post_install_message:
172
172
  rdoc_options: []
173
173
  require_paths:
174
174
  - lib
@@ -183,8 +183,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubygems_version: 3.1.2
187
- signing_key:
186
+ rubygems_version: 3.5.3
187
+ signing_key:
188
188
  specification_version: 4
189
- summary: Run-time support of tebako exxecutable packager
189
+ summary: Run-time support of tebako executable packager
190
190
  test_files: []