xxhash 0.6.0 → 0.7.0

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
  SHA256:
3
- metadata.gz: 5f3e664005ea4c04fd83b2a4eda15bf6441b3b2b7d4e2b412ea2cd166338159f
4
- data.tar.gz: ec7c7d32df90931dd84427ded616e4743f20ee2e481baede58adf1e403416d8b
3
+ metadata.gz: 9e6c0cb36eac2a40c9a5e88eb77e0ef0688c9a1b919ffae6f0e1897c96c24abb
4
+ data.tar.gz: d64886d34148f1b539bf84409946f06c943db50570aedbbeae02af27a48cd8b9
5
5
  SHA512:
6
- metadata.gz: e087365210b8f1cd51b03529848991e6505e8d8631d2abbd3074559d0c0f8fefe48708a59f39c099e8b3c2d5500278946f6a18e8df30ad4352d84d13ac342e47
7
- data.tar.gz: 40d6b75717f0ff1ecc78ba423cdcf5d55dce1d7d29a5185121c290d2937dea8f3a6083b412771bc1e7cb25aa217af1815e3e2234c747b7c43f079559d82b2877
6
+ metadata.gz: 9f67f04939f64b070521e7a5cbbd7cd835ad3a0ce88c91450a211684b271970c3ca799a3e72fafa67dc1cb5d2dd5ff9a87b5b0b61407ade4ebc319f5cb1a839b
7
+ data.tar.gz: 81fa03cf2af04c0d32897cc8fc3db49e182a47d6cf005f4a9b0d2b3d11f3a211041f0864372cc0c2d908e0b89a3a50a069cacca8d59743e624c88f6f4b74294a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ### 0.7.0 (August 11, 2025)
2
+ * Make it compatible with gcc 15 (by [@lemmuh](https://github.com/lemmuh))
3
+
1
4
  ### 0.6.0 (December 19, 2024)
2
5
  * Update libxxhash to 0.8.1
3
6
  * Drop old Rubies. Support only MRI 3.1+
data/README.md CHANGED
@@ -43,7 +43,7 @@ Note: It doesn't work on JRuby as it uses C extension.
43
43
 
44
44
  ### Versioning
45
45
 
46
- Version 0.6.0 is equal to [0.8.1](https://github.com/Cyan4973/xxHash/tree/v0.8.1)
46
+ Version 0.7.0 is equal to [0.8.1](https://github.com/Cyan4973/xxHash/tree/v0.8.1)
47
47
 
48
48
  ## Contributing
49
49
 
data/ext/xxhash/xxhash.c CHANGED
@@ -237,24 +237,24 @@ void Init_xxhash(void)
237
237
  mXXhash = rb_define_module("XXhash");
238
238
  mInternal = rb_define_module_under(mXXhash, "XXhashInternal");
239
239
 
240
- rb_define_singleton_method(mInternal, "xxh32", (ruby_method*) &xxhash_xxh32, 2);
241
- rb_define_singleton_method(mInternal, "xxh32_file", (ruby_method*) &xxhash_xxh32_file, 2);
242
- rb_define_singleton_method(mInternal, "xxh64", (ruby_method*) &xxhash_xxh64, 2);
243
- rb_define_singleton_method(mInternal, "xxh64_file", (ruby_method*) &xxhash_xxh64_file, 2);
240
+ rb_define_singleton_method(mInternal, "xxh32", xxhash_xxh32, 2);
241
+ rb_define_singleton_method(mInternal, "xxh32_file", xxhash_xxh32_file, 2);
242
+ rb_define_singleton_method(mInternal, "xxh64", xxhash_xxh64, 2);
243
+ rb_define_singleton_method(mInternal, "xxh64_file", xxhash_xxh64_file, 2);
244
244
 
245
245
  cStreamingHash = rb_define_class_under(mInternal, "StreamingHash32", rb_cObject);
246
246
  rb_undef_alloc_func(cStreamingHash);
247
247
 
248
- rb_define_singleton_method(cStreamingHash, "new", (ruby_method*) &xxhash32_streaming_hash_new, 1);
249
- rb_define_method(cStreamingHash, "update", (ruby_method*) &xxhash32_streaming_hash_update, 1);
250
- rb_define_method(cStreamingHash, "digest", (ruby_method*) &xxhash32_streaming_hash_digest, 0);
251
- rb_define_method(cStreamingHash, "reset", (ruby_method*) &xxhash32_streaming_hash_reset, 0);
248
+ rb_define_singleton_method(cStreamingHash, "new", xxhash32_streaming_hash_new, 1);
249
+ rb_define_method(cStreamingHash, "update", xxhash32_streaming_hash_update, 1);
250
+ rb_define_method(cStreamingHash, "digest", xxhash32_streaming_hash_digest, 0);
251
+ rb_define_method(cStreamingHash, "reset", xxhash32_streaming_hash_reset, 0);
252
252
 
253
253
  cStreamingHash64 = rb_define_class_under(mInternal, "StreamingHash64", rb_cObject);
254
254
  rb_undef_alloc_func(cStreamingHash64);
255
255
 
256
- rb_define_singleton_method(cStreamingHash64, "new", (ruby_method*) &xxhash64_streaming_hash_new, 1);
257
- rb_define_method(cStreamingHash64, "update", (ruby_method*) &xxhash64_streaming_hash_update, 1);
258
- rb_define_method(cStreamingHash64, "digest", (ruby_method*) &xxhash64_streaming_hash_digest, 0);
259
- rb_define_method(cStreamingHash64, "reset", (ruby_method*) &xxhash64_streaming_hash_reset, 0);
256
+ rb_define_singleton_method(cStreamingHash64, "new", xxhash64_streaming_hash_new, 1);
257
+ rb_define_method(cStreamingHash64, "update", xxhash64_streaming_hash_update, 1);
258
+ rb_define_method(cStreamingHash64, "digest", xxhash64_streaming_hash_digest, 0);
259
+ rb_define_method(cStreamingHash64, "reset", xxhash64_streaming_hash_reset, 0);
260
260
  }
@@ -1,3 +1,3 @@
1
1
  module XXhash
2
- VERSION = "0.6.0"
2
+ VERSION = "0.7.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xxhash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasiliy Ermolovich
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-19 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Ruby wrapper for xxHash lib
14
13
  email:
@@ -39,7 +38,6 @@ homepage: http://github.com/nashby/xxhash
39
38
  licenses:
40
39
  - MIT
41
40
  metadata: {}
42
- post_install_message:
43
41
  rdoc_options: []
44
42
  require_paths:
45
43
  - lib
@@ -54,8 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
52
  - !ruby/object:Gem::Version
55
53
  version: '0'
56
54
  requirements: []
57
- rubygems_version: 3.5.16
58
- signing_key:
55
+ rubygems_version: 3.7.1
59
56
  specification_version: 4
60
57
  summary: Ruby wrapper for xxHash lib
61
58
  test_files: