Skip to content

Commit

Permalink
Update specs for new bootsnap
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jan 7, 2025
1 parent ccea1a6 commit 654852c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions lib/dry/system/plugins/bootsnap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ module Bootsnap
DEFAULT_OPTIONS = {
load_path_cache: true,
compile_cache_iseq: true,
compile_cache_yaml: true,
autoload_paths_cache: false
compile_cache_yaml: true
}.freeze

# @api private
Expand Down
5 changes: 2 additions & 3 deletions spec/integration/container/plugins/bootsnap_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
config.bootsnap = {
load_path_cache: false,
compile_cache_iseq: true,
compile_cache_yaml: true,
autoload_paths_cache: false
compile_cache_yaml: true
}
end
end
end

let(:bootsnap_cache_file) do
system.root.join("tmp/cache/bootsnap-compile-cache")
system.root.join("tmp/cache/bootsnap")
end

before do
Expand Down

0 comments on commit 654852c

Please sign in to comment.