Skip to content

Commit

Permalink
β„οΈπŸ Bootsnap Setup Convenience Require (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed Apr 26, 2021
1 parent 3f62bea commit 4fad4d7
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
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

0 comments on commit 4fad4d7

Please sign in to comment.