aws-crt 0.2.0-arm64-darwin → 0.3.0-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e3c95faad48afe007dd8fb0e81bf8defd665a776d84a99f08c351fb01617445
4
- data.tar.gz: b0679412c5c4ddadaed92814933ff428774efb1b4151d6231f59de8c1c45993c
3
+ metadata.gz: a38c14ee5793a1dbcd54995af75fc67ad465fd075d7599b0c8a04468a52901ac
4
+ data.tar.gz: 1db9ddd4a421db451551749874dbb30bfbb7d9a24d57e4bc26dfa13d708019fb
5
5
  SHA512:
6
- metadata.gz: 93f3119db21ea7b420ebd6678fbfbe1ea0deafa2446618b557f3f38a6efc6f2546ed189785dabc3246498a312869931ffcef4eaba67615ebc04279ce40ab2dc0
7
- data.tar.gz: 55eae5d715aae32d92edec7e1a463df511feb95d9c77b8278ccf2b77acbb4ca63dfc54e5408f86c477c8159682a1521acbb42f38f548eb2957a8d7d371843c60
6
+ metadata.gz: 719546e791e82eb4630e2f504b6f09cb17b558fc14e17d30aaf2a1d5e9f3ba40fb8aa5a40f6c7f9cc6c14c948bc9d217cf84649bf61c7d12766fbd04d601600a
7
+ data.tar.gz: 93c17c6ba5b5c7cf80a3d8788de099123042a169694d2f219e355f678c2a584ea8f3467e41bd815308cbdbc97d9e343914c2e7fed63514c20b741783a4ce515e
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 - support sigv4-s3express signing.
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 - fix `warning: method redefined` warnings.
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.2.0
1
+ 0.3.0
Binary file
@@ -19,6 +19,14 @@ module Aws
19
19
  previous
20
20
  )
21
21
  end
22
+
23
+ def self.crc64nvme(str, previous = 0)
24
+ Aws::Crt::Native.crc64nvme(
25
+ FFI::MemoryPointer.from_string(str),
26
+ str.size,
27
+ previous
28
+ )
29
+ end
22
30
  end
23
31
  end
24
32
  end
@@ -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(/AWS_ERROR_/, '').split('_').map(&:capitalize).join
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)
@@ -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(/aws_crt_/, '').to_sym
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.2.0
4
+ version: 0.3.0
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
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.1.6
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