dedup 0.1.1 → 0.1.2

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: 91eb8e60b92d6a376dba3dbe54d31789ea0559aa9dddedd4fac0925b9d2d83b7
4
- data.tar.gz: dd78dc9ac880f51d7628061f976bab522095e6b14fca4dc0421cf3cdb709076c
3
+ metadata.gz: 7182ca37ab628a9ad67504166c3610a98d9a8264cf6e7811bd0fc95c35cda905
4
+ data.tar.gz: c716c11db4396e0cbf93a32fe779968db93e1c0953003960d0a2fc7b56bd28c6
5
5
  SHA512:
6
- metadata.gz: 054a342aa3ed77c45ffbffc9f3123919cb341f03a75d8d04cb181e6cbd1597e82334eeb8a3f1008b0e6b4c4ac98059d29d25194b00e7da490328ec5091590e60
7
- data.tar.gz: f6ecd33a43180033346416ce94a1ac4b18137d92e563b274ee7deab4ff0ede09a57b37eb2d381ec5d6318e0a39cc26c5363818ddc6975ee910b7f127935a8c3d
6
+ metadata.gz: 1ec20f637cbf69957d81e9c6081bd3e2f5136d1f001ae2d547956d5ac4f82cc5fefd1b364ab9fa5bb007691979903d7afbfdd2680887f8b104ddcc45d0d554f9
7
+ data.tar.gz: 44dd3ded1123a3f0f324b35849c2f6588b5fe88e554ad65d5d00dbb2b67e6e1ea15687b68c5f947b7e08d58326b69afd7c02c814ec2cc6c5cb9a4bb6897cc846
@@ -2,6 +2,10 @@
2
2
 
3
3
  require 'mkmf'
4
4
 
5
- $CFLAGS = "-O3 -Wall"
6
-
7
- create_makefile('dedup/dedup')
5
+ # FIXME: should use have_func("rb_hash_bulk_insert", ["ruby.h"])
6
+ if RUBY_ENGINE == 'ruby' && RUBY_VERSION >= '2.7'
7
+ $CFLAGS = "-O3 -Wall"
8
+ create_makefile('dedup/dedup')
9
+ else
10
+ File.write("Makefile", dummy_makefile($srcdir).join(""))
11
+ end
Binary file
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dedup
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
 
6
6
  DEDUP_FROZEN_STRINGS = begin
7
7
  rand_string = rand.to_s
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dedup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean Boussier
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-08 00:00:00.000000000 Z
11
+ date: 2020-09-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: If your app keeps lots of static data in memory, such as i18n data or
14
14
  large configurations, this can reduce memory retention.
@@ -24,6 +24,7 @@ files:
24
24
  - ext/dedup/dedup.c
25
25
  - ext/dedup/extconf.rb
26
26
  - lib/dedup.rb
27
+ - lib/dedup/dedup.bundle
27
28
  - lib/dedup/version.rb
28
29
  homepage: https://github.com/Shopify/dedup
29
30
  licenses:
@@ -47,7 +48,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
48
  - !ruby/object:Gem::Version
48
49
  version: '0'
49
50
  requirements: []
50
- rubygems_version: 3.1.2
51
+ rubygems_version: 3.0.3
51
52
  signing_key:
52
53
  specification_version: 4
53
54
  summary: Fast object deduplication