xxhash 0.5.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 +4 -4
- data/.github/workflows/ruby.yml +4 -7
- data/CHANGELOG.md +8 -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 +58 -22
- data/ext/xxhash/xxhash.h +0 -2
- data/lib/xxhash/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e6c0cb36eac2a40c9a5e88eb77e0ef0688c9a1b919ffae6f0e1897c96c24abb
|
4
|
+
data.tar.gz: d64886d34148f1b539bf84409946f06c943db50570aedbbeae02af27a48cd8b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f67f04939f64b070521e7a5cbbd7cd835ad3a0ce88c91450a211684b271970c3ca799a3e72fafa67dc1cb5d2dd5ff9a87b5b0b61407ade4ebc319f5cb1a839b
|
7
|
+
data.tar.gz: 81fa03cf2af04c0d32897cc8fc3db49e182a47d6cf005f4a9b0d2b3d11f3a211041f0864372cc0c2d908e0b89a3a50a069cacca8d59743e624c88f6f4b74294a
|
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,11 @@
|
|
1
|
+
### 0.7.0 (August 11, 2025)
|
2
|
+
* Make it compatible with gcc 15 (by [@lemmuh](https://github.com/lemmuh))
|
3
|
+
|
4
|
+
### 0.6.0 (December 19, 2024)
|
5
|
+
* Update libxxhash to 0.8.1
|
6
|
+
* Drop old Rubies. Support only MRI 3.1+
|
7
|
+
* Modernize Ruby C API ussage, fix related warnings. (by [@casperisfine](https://github.com/casperisfine) and [@byroot](https://github.com/byroot))
|
8
|
+
|
1
9
|
### 0.5.0 (July 28, 2022)
|
2
10
|
* Mark extension as Ractor-safe (by [@kreynolds](https://github.com/kreynolds))
|
3
11
|
* 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 [](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.7.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.
|