xxhash 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +4 -7
- data/CHANGELOG.md +5 -0
- data/README.md +4 -5
- data/ext/xxhash/libxxhash.c +36 -881
- data/ext/xxhash/libxxhash.h +5452 -173
- data/ext/xxhash/xxhash.c +46 -10
- data/ext/xxhash/xxhash.h +0 -2
- data/lib/xxhash/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f3e664005ea4c04fd83b2a4eda15bf6441b3b2b7d4e2b412ea2cd166338159f
|
4
|
+
data.tar.gz: ec7c7d32df90931dd84427ded616e4743f20ee2e481baede58adf1e403416d8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e087365210b8f1cd51b03529848991e6505e8d8631d2abbd3074559d0c0f8fefe48708a59f39c099e8b3c2d5500278946f6a18e8df30ad4352d84d13ac342e47
|
7
|
+
data.tar.gz: 40d6b75717f0ff1ecc78ba423cdcf5d55dce1d7d29a5185121c290d2937dea8f3a6083b412771bc1e7cb25aa217af1815e3e2234c747b7c43f079559d82b2877
|
data/.github/workflows/ruby.yml
CHANGED
@@ -22,17 +22,14 @@ jobs:
|
|
22
22
|
runs-on: ubuntu-latest
|
23
23
|
strategy:
|
24
24
|
matrix:
|
25
|
-
ruby-version: ['
|
25
|
+
ruby-version: ['3.1', '3.2', '3.3']
|
26
26
|
|
27
27
|
steps:
|
28
|
-
- uses: actions/checkout@
|
28
|
+
- uses: actions/checkout@v4
|
29
29
|
- name: Set up Ruby
|
30
|
-
|
31
|
-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
32
|
-
# uses: ruby/setup-ruby@v1
|
33
|
-
uses: ruby/setup-ruby@2b019609e2b0f1ea1a2bc8ca11cb82ab46ada124
|
30
|
+
uses: ruby/setup-ruby@v1
|
34
31
|
with:
|
35
32
|
ruby-version: ${{ matrix.ruby-version }}
|
36
|
-
bundler-cache: true
|
33
|
+
bundler-cache: true
|
37
34
|
- name: Run tests
|
38
35
|
run: bundle exec rake
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
### 0.6.0 (December 19, 2024)
|
2
|
+
* Update libxxhash to 0.8.1
|
3
|
+
* Drop old Rubies. Support only MRI 3.1+
|
4
|
+
* Modernize Ruby C API ussage, fix related warnings. (by [@casperisfine](https://github.com/casperisfine) and [@byroot](https://github.com/byroot))
|
5
|
+
|
1
6
|
### 0.5.0 (July 28, 2022)
|
2
7
|
* Mark extension as Ractor-safe (by [@kreynolds](https://github.com/kreynolds))
|
3
8
|
* Add ability to hash files by path directly with `XXhash.xxh32_file` and `XXhash.xxh64_file` (by [@kreynolds](https://github.com/kreynolds))
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## xxHash [![
|
1
|
+
## xxHash [![Ruby](https://github.com/nashby/xxhash/actions/workflows/ruby.yml/badge.svg)](https://github.com/nashby/xxhash/actions/workflows/ruby.yml)
|
2
2
|
|
3
3
|
Ruby wrapper for [xxHash](https://github.com/Cyan4973/xxHash)
|
4
4
|
|
@@ -37,14 +37,13 @@ XXH64 is also supported: you can use `xxh64`, `xxh64_stream`, `.xxh64_file`.
|
|
37
37
|
|
38
38
|
### Supported Ruby versions
|
39
39
|
|
40
|
-
- MRI
|
41
|
-
- rbx-19mode
|
40
|
+
- MRI 3.1+
|
42
41
|
|
43
42
|
Note: It doesn't work on JRuby as it uses C extension.
|
44
43
|
|
45
44
|
### Versioning
|
46
45
|
|
47
|
-
Version 0.
|
46
|
+
Version 0.6.0 is equal to [0.8.1](https://github.com/Cyan4973/xxHash/tree/v0.8.1)
|
48
47
|
|
49
48
|
## Contributing
|
50
49
|
|
@@ -56,5 +55,5 @@ Version 0.5.0 is equal to [0.6.2](https://github.com/Cyan4973/xxHash/tree/v0.6.2
|
|
56
55
|
|
57
56
|
### Copyright
|
58
57
|
|
59
|
-
Copyright (c)
|
58
|
+
Copyright (c) 2024 Vasiliy Ermolovich. See LICENSE.txt for
|
60
59
|
further details.
|