Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

鉂勶笍馃弫 Bootsnap Setup Convenience Require #81

Merged
merged 1 commit into from
Apr 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@

See this http://keepachangelog.com link for information on how we want this documented formatted.

## v2.6.3

#### Added

- Bootsnap setup convenience require.

## v2.6.2

- Fixed Rack::Deflate usage with an ALB.
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
lamby (2.6.2)
lamby (2.6.3)
rack

GEM
Expand Down
8 changes: 8 additions & 0 deletions lib/lamby/bootsnap.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
unless ENV['LAMBY_BOOTSNAP_PRECOMPILE']
require 'bootsnap'
Bootsnap::LoadPathCache::Store.class_eval do
def commit_transaction ; end
end
end
require 'bootsnap/bootsnap' # https://git.io/JOSzG
require 'bootsnap/setup'
2 changes: 1 addition & 1 deletion lib/lamby/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Lamby
VERSION = '2.6.2'
VERSION = '2.6.3'
end