bootsnap 1.4.3 → 1.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dcfde20655817d38584e7bb6181dfa1a0e449727f04b0f74dec2b0896c6a0080
4
- data.tar.gz: a0fb770ce0b63970d571ae0de6c55d3c2a67745365410405227984119f389661
3
+ metadata.gz: db7809e0e5fa0f4a018dd7254cb99619ada5c7c26947db858d9b56f29dc76249
4
+ data.tar.gz: 1d9d8eed648ce29ea43307d246089a9ea116c6148681a9c43393d458c77049dd
5
5
  SHA512:
6
- metadata.gz: 37ffec1d9c0475149010ba8f361b306c3b4bdd631b2a8d1365c97ea94e40ae4e2af237f37f20a107707ab2735810a3e8fd9a55f00e277633d5c169e1e8d03d71
7
- data.tar.gz: 2855cdfeb7eb491ba0e8b4dc7ddfba0a4a203afcdf4f0557240fc576cd9fe99e6f26210a23573f0aa5f5b23a551d588dd6c38b032d7464545cadde71f99c0f08
6
+ metadata.gz: fc0befd695ab9ef47a405fea7e83b856a422f70f8f59bd2737067b4951dc20c85210d562d332e5161a3dd7816258b14295e1a91a7e2ec62a8d8dc0e5bc0fb3bf
7
+ data.tar.gz: 7a408b74a5e57dc0feaf2fdfd47930a4f22f048888f0643b316e3a139fc35eaeec358599a8846dde45395db55e8f66d398704de651ba67f4cd0bdfc7d9190469
@@ -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: ruby
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
  name: bundler
@@ -167,7 +167,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  - !ruby/object:Gem::Version
168
168
  version: '0'
169
169
  requirements: []
170
- rubygems_version: 3.0.2
170
+ rubyforge_project:
171
+ rubygems_version: 2.7.6
171
172
  signing_key:
172
173
  specification_version: 4
173
174
  summary: Boot large ruby/rails apps faster