Skip to content

Commit

Permalink
Update bootsnap dependency to the latest
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoTrindade committed Aug 4, 2023
1 parent 07ca61f commit a4d242c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ eval_gemfile "Gemfile.devtools"
gemspec

# Remove verson constraint once latter versions release their -java packages
gem "bootsnap", "= 1.4.9"
gem "bootsnap", "= 1.16.0"
gem "dotenv"
gem "dry-types"
gem "dry-events"
gem "dry-monitor"
gem "zeitwerk"

6 changes: 2 additions & 4 deletions lib/dry/system/plugins/bootsnap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ module System
module Plugins
module Bootsnap
DEFAULT_OPTIONS = {
load_path_cache: true,
disable_trace: true,
load_path_cache: false,
compile_cache_iseq: true,
compile_cache_yaml: true,

Check failure on line 10 in lib/dry/system/plugins/bootsnap.rb

View workflow job for this annotation

GitHub Actions / Style

Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash.
autoload_paths_cache: false
}.freeze

# @api private
Expand Down Expand Up @@ -37,7 +35,7 @@ def setup_bootsnap

# @api private
def bootsnap_available?
RUBY_ENGINE == "ruby" && RUBY_VERSION >= "3.0.0" && RUBY_VERSION < "3.1.0"
RUBY_ENGINE == "ruby" && RUBY_VERSION >= "3.0.0"
end
end
end
Expand Down

0 comments on commit a4d242c

Please sign in to comment.