bootsnap 0.2.3 → 0.2.4

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
2
  SHA1:
3
- metadata.gz: 9174a4976d84e1e42b34f05435507819e1123ff9
4
- data.tar.gz: f7a197180352c89d4750238e82314398025fcea1
3
+ metadata.gz: 5f2ae1762883b8143628b1102008f9c54a6fedb9
4
+ data.tar.gz: 5b7398ee6e10fabd8a8aa3a2b9cc467875369d84
5
5
  SHA512:
6
- metadata.gz: '08f4a617b5e970819225ea72dcd332756f8cba844bbfa6c4f6a3fde790b679e00d90ffbb0d7e3adf9e77159f3411257e1964fe1d614370b8cddac6ee5cb22145'
7
- data.tar.gz: 6ee6f819a084e28ac05eace690d278e9f898d4695fc99dc5e2b9e6cdeb19020c418656a7c920f686b6c59e5e607e0aeea518263ae906d5bf0f93e28d7d6d76b1
6
+ metadata.gz: 40ad1d0dd3a9b3b5cbd01d909d35463af71778d55b9327915963e1b78988a0a86c9bc0d9886ec09fa6a8a8d143bcbd46dcc76460de281531a6805ec83fabca2b
7
+ data.tar.gz: b68ccc4e446299615a7b9096e7781ee02fd4e3d9f79972dc2c1850a5b4b3083f0b7535febcebf32e10ad01a0d9826d625360cad5328f6f9c8b8ffb96052e118a
@@ -5,6 +5,4 @@
5
5
  #include <sys/types.h>
6
6
  #include "ruby.h"
7
7
 
8
- uint32_t crc32(const char *bytes, size_t size);
9
-
10
8
  #endif /* BOOTSNAP_H */
@@ -1,6 +1,5 @@
1
1
  require "mkmf"
2
- $CFLAGS << ' -O3 -msse4.2 -std=c99'
3
- have_header('x86intrin.h')
2
+ $CFLAGS << ' -O3 -std=c99'
4
3
  $CFLAGS << ' -Wall -Wextra -Wpedantic -Werror'
5
4
  $CFLAGS << ' -Wno-unused-parameter' # VALUE self has to be there but we don't care what it is.
6
5
  $CFLAGS << ' -Wno-keyword-macro' # hiding return
@@ -1,3 +1,3 @@
1
1
  module Bootsnap
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.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: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burke Libbey
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-04-11 00:00:00.000000000 Z
11
+ date: 2017-04-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -130,7 +130,6 @@ files:
130
130
  - dev.yml
131
131
  - ext/bootsnap/bootsnap.c
132
132
  - ext/bootsnap/bootsnap.h
133
- - ext/bootsnap/crc32.c
134
133
  - ext/bootsnap/extconf.rb
135
134
  - lib/bootsnap.rb
136
135
  - lib/bootsnap/compile_cache.rb
data/ext/bootsnap/crc32.c DELETED
@@ -1,16 +0,0 @@
1
- #include "bootsnap.h"
2
-
3
- #include <x86intrin.h>
4
-
5
- uint32_t
6
- crc32(const char *bytes, size_t size)
7
- {
8
- size_t i;
9
- uint32_t hash = 0;
10
-
11
- for (i = 0; i < size; i++) {
12
- hash = _mm_crc32_u8(hash, bytes[i]);
13
- }
14
- return hash;
15
- }
16
-