ocran 1.3.13 → 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: b7de27881bd34052b90faa5618a30c4da84182ff53a5edc1adfc32db052e2aa1
4
- data.tar.gz: 16f25058a7a72073ade7050625a66bc2d41044db1cb704ad540210dcce1791b0
3
+ metadata.gz: 449194532d3384d90405c64c563178872353c0174ac273f6d139b5af97b74098
4
+ data.tar.gz: fd72ceea04583f1023000765017a70f12d87b517f847119b722d1af2810028ea
5
5
  SHA512:
6
- metadata.gz: 1b389b0744a54767cb7ba5187bfa3ce645dc2c71ce25adb6ce85bec94a7afa01f01ed4e055dec6df68818f7718d0418bd4b1bca5a151343bb624ab8126488744
7
- data.tar.gz: 35a2a1197eabcc3a28483101583729c8e905982153c028576a09a605a2e195b8b01949d2e90988e31cd0077a3fc96e469fb121a8e1d1744e8b28e597a3edf5b4
6
+ metadata.gz: e3f49d0fddb65df9b88ce81b21aecd8c27350afc8018c2899629830058e7f6e35fe03431d6448cd4a5343b2967d512d376a712a87939ffa847ce7913836188fb
7
+ data.tar.gz: f83fbb8cf6768d4f32e220a83ecb1f77468c27b4735f7a14f4a3fe3680e50587ad79ac0ba5c9c4912498ea9171bfd5c6aeb041b7f49bf5908d5b522dd1ea0051
data/bin/ocran CHANGED
@@ -187,7 +187,7 @@ module Ocran
187
187
  a.sort.inject([]) { |r, e| r.last == e ? r : r << e }
188
188
  end
189
189
 
190
- VERSION = "1.3.12"
190
+ VERSION = "1.3.14"
191
191
 
192
192
  IGNORE_MODULE_NAMES = /\/(enumerator.so|rational.so|complex.so|fiber.so|thread.rb|ruby2_keywords.rb)$/
193
193
 
@@ -230,6 +230,7 @@ module Ocran
230
230
  :force_windows => false,
231
231
  :force_console => false,
232
232
  :icon_filename => nil,
233
+ :rubyopt => nil,
233
234
  :gemfile => nil,
234
235
  :inno_script => nil,
235
236
  :quiet => false,
@@ -362,6 +363,7 @@ Executable options:
362
363
  --console Force console application (ruby.exe)
363
364
  --chdir-first When exe starts, change working directory to app dir.
364
365
  --icon <ico> Replace icon with a custom one.
366
+ --rubyopt <str> Set the RUBYOPT environment variable when running the executable
365
367
  --debug Executable will be verbose.
366
368
  --debug-extract Executable will unpack to local dir and not delete after.
367
369
  EOF
@@ -393,6 +395,8 @@ EOF
393
395
  when /\A--icon\z/
394
396
  @options[:icon_filename] = Pathname(argv.shift)
395
397
  Ocran.fatal_error "Icon file #{icon_filename} not found.\n" unless icon_filename.exist?
398
+ when /\A--rubyopt\z/
399
+ @options[:rubyopt] = argv.shift
396
400
  when /\A--gemfile\z/
397
401
  @options[:gemfile] = Pathname(argv.shift)
398
402
  Ocran.fatal_error "Gemfile #{gemfile} not found.\n" unless gemfile.exist?
@@ -979,7 +983,7 @@ EOF
979
983
  sb.createfile((Tempfile.new("msys-2.0.dll")).path.to_s, 'msys64/usr/bin/msys-2.0.dll') unless sb.files.keys.any? { |entry| entry.to_s.include?("msys-2.0.dll") }
980
984
 
981
985
  # Set environment variable
982
- sb.setenv("RUBYOPT", ENV["RUBYOPT"] || "")
986
+ sb.setenv("RUBYOPT", Ocran.rubyopt || ENV["RUBYOPT"] || "")
983
987
  sb.setenv("RUBYLIB", load_path.map { |path| path.to_native }.uniq.join(";"))
984
988
 
985
989
  sb.setenv("GEM_PATH", (TEMPDIR_ROOT / GEMHOMEDIR).to_native)
data/lib/ocran/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ocran
4
- VERSION = "1.3.13"
4
+ VERSION = "1.3.14"
5
5
  end
Binary file
data/share/ocran/stub.exe CHANGED
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocran
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.13
4
+ version: 1.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andi Idogawa
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-05-17 00:00:00.000000000 Z
12
+ date: 2023-09-08 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: "OCRAN (One-Click Ruby Application Next) builds Windows executables from
15
15
  Ruby source code. \n The executable is a self-extracting, self-running executable
@@ -40,7 +40,7 @@ licenses:
40
40
  metadata:
41
41
  homepage_uri: https://github.com/largo/ocran
42
42
  source_code_uri: https://github.com/largo/ocran
43
- changelog_uri: https://github.com/largo/ocran/History.txt
43
+ changelog_uri: https://github.com/largo/ocran/CHANGELOG.txt
44
44
  post_install_message:
45
45
  rdoc_options: []
46
46
  require_paths:
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  - !ruby/object:Gem::Version
57
57
  version: '0'
58
58
  requirements: []
59
- rubygems_version: 3.4.13
59
+ rubygems_version: 3.4.10
60
60
  signing_key:
61
61
  specification_version: 4
62
62
  summary: OCRAN (One-Click Ruby Application Next) builds Windows executables from Ruby