aws-crt 0.2.0-x86_64-darwin → 0.3.0-x86_64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -2
- data/VERSION +1 -1
- data/bin/x86_64/libaws-crt-ffi.dylib +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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2949375754979e2c1574b691364238a90300e25410052c49608cb257322f9a55
|
4
|
+
data.tar.gz: c88c0f322bcc1ef813472d6c007bb268a56674746edb9a5ab5b2bfb06d7e0e4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7c6991c736e000bf93317f1ef01e0c2b86731ebaf8771f5eddb4f50e3b43e7c114b518848ee89cc86e8a5eda310e296a8ab08fe0f96e22acf6463603ff7af51
|
7
|
+
data.tar.gz: 4d19b54a66a281ee916b2ed0037de5c31d32637ab9fa7574206c650d4e326c526ee0fb76a671e8f81fdc10fef519973fd0399ef9d9fb22f3088c2faca9661030
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,20 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
0.3.0 (2024-09-16)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Support CRC64NVME checksums.
|
8
|
+
|
9
|
+
0.2.1 (2024-06-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Update to the latest aws-crt-ffi.
|
13
|
+
|
4
14
|
0.2.0 (2023-11-28)
|
5
15
|
------------------
|
6
16
|
|
7
|
-
* Feature -
|
17
|
+
* Feature - Support sigv4-s3express signing.
|
8
18
|
|
9
19
|
0.1.9 (2023-10-16)
|
10
20
|
------------------
|
@@ -14,12 +24,13 @@ Unreleased Changes
|
|
14
24
|
0.1.8 (2023-03-28)
|
15
25
|
------------------
|
16
26
|
|
17
|
-
* Issue -
|
27
|
+
* Issue - Fix `warning: method redefined` warnings.
|
18
28
|
|
19
29
|
0.1.7 (2023-02-03)
|
20
30
|
------------------
|
21
31
|
|
22
32
|
* Issue - Update to the latest aws-crt-ffi.
|
33
|
+
*
|
23
34
|
* Issue - Add support for overriding crt_bin_dir with `AWS_CRT_RUBY_BIN_DIR`.
|
24
35
|
|
25
36
|
0.1.6 (2022-08-12)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.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.3.0
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '0'
|
86
86
|
requirements: []
|
87
|
-
rubygems_version: 3.
|
87
|
+
rubygems_version: 3.5.16
|
88
88
|
signing_key:
|
89
89
|
specification_version: 4
|
90
90
|
summary: AWS SDK for Ruby - Common Run Time
|