bootsnap 1.4.0-java → 1.4.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +7 -1
- data/lib/bootsnap/load_path_cache/change_observer.rb +1 -0
- data/lib/bootsnap/version.rb +1 -1
- data/shipit.rubygems.yml +0 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbe2d60be7b9970d1b993f144e28071bf85ebb528f24df8afbc00e5f4a1df6da
|
4
|
+
data.tar.gz: 2cda0fdec14bcedf1c6e232e75380ee7cabbdec2953428912563a83c39bb9472
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b8b3cb9986921f82c8c3489c37e33a576587d93ef09fc94b5c7e16e6682d86c54283b34bc659b2a5f1bb60f14d2c1ae272ef2e4a3089d623a36e6e4529c5629
|
7
|
+
data.tar.gz: 85efef308c58141634984fbda14d393f7555333456c57b99e10ae7f8ddc592c3623cbefd0ffc34c2217092407014667dad3744b4b86d367a0f91a82df3f9853c
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -24,6 +24,10 @@ If you are using Rails, add this to `config/boot.rb` immediately after `require
|
|
24
24
|
require 'bootsnap/setup'
|
25
25
|
```
|
26
26
|
|
27
|
+
Note that bootsnap writes to `tmp/cache`, and that directory *must* be writable. Rails will fail to
|
28
|
+
boot if it is not. If this is unacceptable (e.g. you are running in a read-only container and
|
29
|
+
unwilling to mount in a writable tmpdir), you should remove this line or wrap it in a conditional.
|
30
|
+
|
27
31
|
It's technically possible to simply specify `gem 'bootsnap', require: 'bootsnap/setup'`, but it's
|
28
32
|
important to load Bootsnap as early as possible to get maximum performance improvement.
|
29
33
|
|
@@ -41,12 +45,14 @@ Bootsnap.setup(
|
|
41
45
|
development_mode: env == 'development', # Current working environment, e.g. RACK_ENV, RAILS_ENV, etc
|
42
46
|
load_path_cache: true, # Optimize the LOAD_PATH with a cache
|
43
47
|
autoload_paths_cache: true, # Optimize ActiveSupport autoloads with cache
|
44
|
-
disable_trace: true, #
|
48
|
+
disable_trace: true, # Set `RubyVM::InstructionSequence.compile_option = { trace_instruction: false }`
|
45
49
|
compile_cache_iseq: true, # Compile Ruby code into ISeq cache, breaks coverage reporting.
|
46
50
|
compile_cache_yaml: true # Compile YAML into a cache
|
47
51
|
)
|
48
52
|
```
|
49
53
|
|
54
|
+
**Note that `disable_trace` will break debuggers and tracing.**
|
55
|
+
|
50
56
|
**Protip:** You can replace `require 'bootsnap'` with `BootLib::Require.from_gem('bootsnap',
|
51
57
|
'bootsnap')` using [this trick](https://github.com/Shopify/bootsnap/wiki/Bootlib::Require). This
|
52
58
|
will help optimize boot time further if you have an extremely large `$LOAD_PATH`.
|
data/lib/bootsnap/version.rb
CHANGED
data/shipit.rubygems.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootsnap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Burke Libbey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-02-
|
11
|
+
date: 2019-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|