aws-crt 0.2.1-x86_64-linux → 0.4.0-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -3
- data/VERSION +1 -1
- data/bin/x86_64/libaws-crt-ffi.so +0 -0
- data/lib/aws-crt/checksums/crc.rb +8 -0
- data/lib/aws-crt/errors.rb +1 -1
- data/lib/aws-crt/native.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08a6917ade054b7a5750fd87dde4580649ebd42991ecf9d41508bccda370f4cc'
|
4
|
+
data.tar.gz: b553de4a6304f5f1efed33df6888e45035efb603d9578c24d803e00a5d22205e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3aecde16d2c5b1c79a4086046c03d858ee6d1a59719d58d4b1d2a51481c30c29ede540273830de5239e89d064cd367bc7e8429ecb70f47144ec93fdf08ac067
|
7
|
+
data.tar.gz: 68ca05d3ade2ad432a4f67e73ec72e3a246989e8c9af231c8bf26f4b37d4130cff210fbc788786f64fe4bdf1e53e714ec12db43b97f93c52cda29a35aab41bf3
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,29 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
-
|
4
|
+
0.4.0 (2024-10-23)
|
5
|
+
------------------
|
6
|
+
* Issue - Update CMake to 3.9
|
7
|
+
|
8
|
+
0.3.1 (2024-10-22)
|
9
|
+
------------------
|
10
|
+
* Issue - Prebuild s2n & aws-lc
|
11
|
+
|
12
|
+
|
13
|
+
0.3.0 (2024-09-16)
|
14
|
+
------------------
|
15
|
+
|
16
|
+
* Feature - Support CRC64NVME checksums.
|
17
|
+
|
18
|
+
0.2.1 (2024-06-13)
|
19
|
+
------------------
|
20
|
+
|
21
|
+
* Issue - Update to the latest aws-crt-ffi.
|
5
22
|
|
6
23
|
0.2.0 (2023-11-28)
|
7
24
|
------------------
|
8
25
|
|
9
|
-
* Feature -
|
26
|
+
* Feature - Support sigv4-s3express signing.
|
10
27
|
|
11
28
|
0.1.9 (2023-10-16)
|
12
29
|
------------------
|
@@ -16,12 +33,13 @@ Unreleased Changes
|
|
16
33
|
0.1.8 (2023-03-28)
|
17
34
|
------------------
|
18
35
|
|
19
|
-
* Issue -
|
36
|
+
* Issue - Fix `warning: method redefined` warnings.
|
20
37
|
|
21
38
|
0.1.7 (2023-02-03)
|
22
39
|
------------------
|
23
40
|
|
24
41
|
* Issue - Update to the latest aws-crt-ffi.
|
42
|
+
*
|
25
43
|
* Issue - Add support for overriding crt_bin_dir with `AWS_CRT_RUBY_BIN_DIR`.
|
26
44
|
|
27
45
|
0.1.6 (2022-08-12)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
Binary file
|
data/lib/aws-crt/errors.rb
CHANGED
@@ -52,7 +52,7 @@ module Aws
|
|
52
52
|
# This requires filtering non-safe characters from the constant
|
53
53
|
# name and ensuring it begins with an uppercase letter.
|
54
54
|
def self.error_class_constant(error_name)
|
55
|
-
error_name.to_s.gsub(
|
55
|
+
error_name.to_s.gsub('AWS_ERROR_', '').split('_').map(&:capitalize).join
|
56
56
|
end
|
57
57
|
|
58
58
|
def self.add_error_constant(constant)
|
data/lib/aws-crt/native.rb
CHANGED
@@ -76,7 +76,7 @@ module Aws
|
|
76
76
|
# = false)
|
77
77
|
# 3. Creates a bang method that does not do automatic error checking.
|
78
78
|
def self.attach_function(c_name, params, returns, options = {})
|
79
|
-
ruby_name = c_name.to_s.sub(
|
79
|
+
ruby_name = c_name.to_s.sub('aws_crt_', '').to_sym
|
80
80
|
raise_errors = options.fetch(:raise, true)
|
81
81
|
options.delete(:raise)
|
82
82
|
unless raise_errors
|
@@ -215,6 +215,7 @@ module Aws
|
|
215
215
|
# Checksums
|
216
216
|
attach_function :aws_crt_crc32, %i[pointer size_t uint32], :uint32, raise: false
|
217
217
|
attach_function :aws_crt_crc32c, %i[pointer size_t uint32], :uint32, raise: false
|
218
|
+
attach_function :aws_crt_crc64nvme, %i[pointer size_t uint64], :uint64, raise: false
|
218
219
|
|
219
220
|
# Internal testing API
|
220
221
|
attach_function :aws_crt_test_error, [:int], :int
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-crt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|