bootsnap 1.1.0 → 1.1.1
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/ext/bootsnap/bootsnap.c +7 -2
- data/lib/bootsnap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ecc363422058c3f1f15e26b8aafa41d3abf3e67
|
4
|
+
data.tar.gz: 8dccbbc4ea0340eae49f8df2bf3295e16596d91f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a3ffe705bcc35a61bfdd1560ae3807172dc82532384ae9d87da91e790568c4e0abf925378f4f9d6611e8cea469dd8f70793ac4d2edc39f86181b3a6a2102049
|
7
|
+
data.tar.gz: bb19b804f025c65af27daedb086fdadd8b8978d3d404ccef045b0f3361ca2719ee961b5c66f81b608294d2191595875de47e06f816eb330ed97f2c33884e23e9
|
data/CHANGELOG.md
CHANGED
data/ext/bootsnap/bootsnap.c
CHANGED
@@ -148,12 +148,17 @@ Init_bootsnap(void)
|
|
148
148
|
/*
|
149
149
|
* Bootsnap's ruby code registers a hook that notifies us via this function
|
150
150
|
* when compile_option changes. These changes invalidate all existing caches.
|
151
|
+
*
|
152
|
+
* Note that on 32-bit platforms, a CRC32 can't be represented in a Fixnum, but
|
153
|
+
* can be represented by a uint.
|
151
154
|
*/
|
152
155
|
static VALUE
|
153
156
|
bs_compile_option_crc32_set(VALUE self, VALUE crc32_v)
|
154
157
|
{
|
155
|
-
|
156
|
-
|
158
|
+
if (!RB_TYPE_P(crc32_v, T_BIGNUM) && !RB_TYPE_P(crc32_v, T_FIXNUM)) {
|
159
|
+
Check_Type(crc32_v, T_FIXNUM);
|
160
|
+
}
|
161
|
+
current_compile_option_crc32 = NUM2UINT(crc32_v);
|
157
162
|
return Qnil;
|
158
163
|
}
|
159
164
|
|
data/lib/bootsnap/version.rb
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.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Burke Libbey
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-06-
|
11
|
+
date: 2017-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|