legionio 1.5.9 → 1.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e7ed91b745c34247336b6d3c1d040b6773d21d531445ea7b42149cdbf4bfc170
4
- data.tar.gz: 1eedc2e5b6011c0ed4a9b35d65e9be14bb474b46851720a30667e1167060633a
3
+ metadata.gz: a667cd060abef4731373441c150267a5cfff9851061823edf4ba2f11af957958
4
+ data.tar.gz: 667fa1b3e3779215514cbade8b8062a1e5a219fdbea51bbbae4e4e5a69c43c12
5
5
  SHA512:
6
- metadata.gz: d89facba54ed5b92539bb40615837412b6e091283ce13fcfa6a4ac460fd204a80e103327c873afedaf62f81aa45a6a4390f97c6a945841b8fef9cc25c6a7a699
7
- data.tar.gz: c298fc10efbc5a2d0a3ce69ccdc2c36976fc2f86700f3d7589ac060e97a3517cc47ea22807c9755da25390d8b2d22080abe523feba9e4b3aa6406a0ddd83ce0d
6
+ metadata.gz: 5bae139c1dc0209987800907ce76b4c198ffff24de925e7fdfd2d2d0603bfbb6c095c4e863cc32510cac62fbf820ed850d8a05023d659a70c9bfd234c754f603
7
+ data.tar.gz: eea81ebd4a661ecd921aaf48c08259757ff434baea7f4685859bd2df6cac912e7ac89b09e4c64c3edc315549c485d3b46501609cd3cf2cd7d0c60a12491700c1
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Legion Changelog
2
2
 
3
+ ## [1.5.10] - 2026-03-25
4
+
5
+ ### Changed
6
+ - Guard bootsnap behind `LEGION_BOOTSNAP=true` env var in `exe/legion` and `exe/legionio`, default to disabled
7
+ - Bootsnap also requires `~/.legionio` to exist (prevents premature directory creation on first run)
8
+
3
9
  ## [1.5.9] - 2026-03-25
4
10
 
5
11
  ### Fixed
data/exe/legion CHANGED
@@ -9,14 +9,16 @@ ENV['RUBY_GC_HEAP_FREE_SLOTS_MAX_RATIO'] ||= '0.40'
9
9
  ENV['RUBY_GC_MALLOC_LIMIT'] ||= '64000000'
10
10
  ENV['RUBY_GC_MALLOC_LIMIT_MAX'] ||= '128000000'
11
11
 
12
- require 'bootsnap'
13
- # Bootsnap.setup(
14
- # cache_dir: File.expand_path('~/.legionio/cache/bootsnap'),
15
- # development_mode: false,
16
- # load_path_cache: true,
17
- # compile_cache_iseq: true,
18
- # compile_cache_yaml: true
19
- # )
12
+ if ENV['LEGION_BOOTSNAP'] == 'true' && Dir.exist?(File.expand_path('~/.legionio'))
13
+ require 'bootsnap'
14
+ Bootsnap.setup(
15
+ cache_dir: File.expand_path('~/.legionio/cache/bootsnap'),
16
+ development_mode: false,
17
+ load_path_cache: true,
18
+ compile_cache_iseq: true,
19
+ compile_cache_yaml: true
20
+ )
21
+ end
20
22
 
21
23
  $LOAD_PATH.unshift(File.expand_path('../lib', __dir__))
22
24
 
data/exe/legionio CHANGED
@@ -9,14 +9,16 @@ ENV['RUBY_GC_HEAP_FREE_SLOTS_MAX_RATIO'] ||= '0.40'
9
9
  ENV['RUBY_GC_MALLOC_LIMIT'] ||= '64000000'
10
10
  ENV['RUBY_GC_MALLOC_LIMIT_MAX'] ||= '128000000'
11
11
 
12
- require 'bootsnap'
13
- # Bootsnap.setup(
14
- # cache_dir: File.expand_path('~/.legionio/cache/bootsnap'),
15
- # development_mode: false,
16
- # load_path_cache: true,
17
- # compile_cache_iseq: true,
18
- # compile_cache_yaml: true
19
- # )
12
+ if ENV['LEGION_BOOTSNAP'] == 'true' && Dir.exist?(File.expand_path('~/.legionio'))
13
+ require 'bootsnap'
14
+ Bootsnap.setup(
15
+ cache_dir: File.expand_path('~/.legionio/cache/bootsnap'),
16
+ development_mode: false,
17
+ load_path_cache: true,
18
+ compile_cache_iseq: true,
19
+ compile_cache_yaml: true
20
+ )
21
+ end
20
22
 
21
23
  $LOAD_PATH.unshift(File.expand_path('../lib', __dir__))
22
24
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Legion
4
- VERSION = '1.5.9'
4
+ VERSION = '1.5.10'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: legionio
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.9
4
+ version: 1.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esity