bootsnap 1.4.3-java → 1.4.4-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1da2c9355b194f496d516037840a1853128f3e3b
4
- data.tar.gz: 310e93db85d4dc71647ab155e5a25b0af265533f
2
+ SHA256:
3
+ metadata.gz: 7fbe5730c11c8b3d6088b4a328a05e5cf3a364e949f3df1a68412d6e4331da9b
4
+ data.tar.gz: c45de758cc5b2649b54e57f4e8b56959f2138834f75ec13588fa203c3ed58a18
5
5
  SHA512:
6
- metadata.gz: 37ae91b0e6b0cc9fa79f6e3745888dde06b6d3d69f06fa9a6c41b551d9b5a914438475c2999da8e9812fdb665d580467d3659e86e5c3fe9570795cb2095df418
7
- data.tar.gz: f7803683394dda64d2c68c9c3fc0d8868183f35fe0b56d8867c02bdbb597e86d843bd5c35de04730dc3f866afc77b9b5de376783582ac2515625bff08429cd3b
6
+ metadata.gz: 5df01b2d8caa55aaae85f8d3144d03805b2e964fb0da7178601d8771a3414001fdd914a3973d508d15d733db6fbfe27617a8d0ffe8a18f6dd6c052d872530c55
7
+ data.tar.gz: 8b3d127f57624a9bd2faaf61f87573fc938b1bce59b56b65cd5fc817230b399f2d4b42002f0bd2695b04a9be1247d3c8e4d2e2faf6a49500443a246807287cdd
@@ -1,3 +1,7 @@
1
+ # 1.4.4
2
+
3
+ * Disable ISeq cache in `bootsnap/setup` by default in Ruby 2.5
4
+
1
5
  # 1.4.3
2
6
 
3
7
  * Fix some cache permissions and umask issues after switch to mkstemp
@@ -24,12 +24,15 @@ unless cache_dir
24
24
  cache_dir = File.join(app_root, 'tmp', 'cache')
25
25
  end
26
26
 
27
+ ruby_version = Gem::Version.new(RUBY_VERSION)
28
+ iseq_cache_enabled = ruby_version < Gem::Version.new('2.5.0') || ruby_version >= Gem::Version.new('2.6.0')
29
+
27
30
  Bootsnap.setup(
28
31
  cache_dir: cache_dir,
29
32
  development_mode: development_mode,
30
33
  load_path_cache: true,
31
34
  autoload_paths_cache: true, # assume rails. open to PRs to impl. detection
32
35
  disable_trace: false,
33
- compile_cache_iseq: true,
36
+ compile_cache_iseq: iseq_cache_enabled,
34
37
  compile_cache_yaml: true,
35
38
  )
@@ -1,3 +1,3 @@
1
1
  module Bootsnap
2
- VERSION = "1.4.3"
2
+ VERSION = "1.4.4"
3
3
  end
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.3
4
+ version: 1.4.4
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-04-08 00:00:00.000000000 Z
11
+ date: 2019-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  version: '0'
168
168
  requirements: []
169
169
  rubyforge_project:
170
- rubygems_version: 2.4.8
170
+ rubygems_version: 2.7.6
171
171
  signing_key:
172
172
  specification_version: 4
173
173
  summary: Boot large ruby/rails apps faster