Skip to content

Commit

Permalink
Merge pull request #4093 from envato/bootsnap
Browse files Browse the repository at this point in the history
Bump bootsnap from 1.6.0 to 1.18.3
  • Loading branch information
grosser authored Feb 11, 2024
2 parents 429bffc + 4208503 commit 2573f04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,8 @@ GEM
bigdecimal (3.1.6)
binding_of_caller (0.8.0)
debug_inspector (>= 0.0.1)
bootsnap (1.6.0)
msgpack (~> 1.0)
bootsnap (1.18.3)
msgpack (~> 1.2)
bootstrap-sass (3.4.1)
autoprefixer-rails (>= 5.2.1)
sassc (>= 2.0.0)
Expand Down
1 change: 0 additions & 1 deletion config/boot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
cache_dir: 'tmp/bootsnap', # Path to your cache
development_mode: rails_env == "development",
load_path_cache: true, # optimizes the LOAD_PATH with a cache
autoload_paths_cache: true, # optimizes ActiveSupport autoloads with cache
compile_cache_iseq: (rails_env != "test"), # compiles Ruby code into ISeq cache .. breaks coverage reporting
compile_cache_yaml: true # compiles YAML into a cache
)
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def stub_const(base, name, value)

def self.only_callbacks_for_plugin(callback)
line = caller(1..1).first
plugin_name = line[/\/plugins\/([^\/]+)/, 1] || raise("not called from a plugin not #{line}")
plugin_name = line[/^plugins\/([^\/]+)/, 1] || raise("not called from a plugin not #{line}")
around { |t| Samson::Hooks.only_callbacks_for_plugin(plugin_name, callback, &t) }
end

Expand Down

0 comments on commit 2573f04

Please sign in to comment.