aws-crt 0.2.1-x64-mingw32 → 0.4.0-x64-mingw32

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: cce9d5517ac0bef4108fa9546bccf280164844e0bba543d22567515eac08db5d
4
- data.tar.gz: 374a529b529a3765f282983511e869a6c0e7f29ecb90fec1f394dc2f3af2d939
3
+ metadata.gz: 16c9723bf614132581d83edf41b1f974a29b38f76bdaa52a892644293acaf54d
4
+ data.tar.gz: 3a43fafff181be9ed45bab0eeffc099c184f39df279e4d456eaaa1d9a78669d6
5
5
  SHA512:
6
- metadata.gz: 0143b5e0ba8ece8a1bc6e90646216e43918e854977100683c7680f3b550e8c0bbca523284f00ede3c481df1c9676e64dcdcd1fec41ef359fa7bfc8bdc092a56b
7
- data.tar.gz: 0eeb73ae2d9b25b7eb5bf84ee0fb962a61c052157a63364f02c0c29585fafe2a5b7985bd21153ebf60714da7f53d9df88d2ac3e201fe5273ae64260e2a8dec9b
6
+ metadata.gz: d97fc5aae8964aeea4f3f433e0f213fa13dd1a248f41cef4594a63d89e250e431448cea12176c3c52a2f94382f5c61cd9706731898b7e25fedb7183dec796ad4
7
+ data.tar.gz: 1996750a410895fc6f094e1bd958340e54326ab37833be4061027f18c69e9bef24954db87d19fb4e04db4f69f9a40a8806c1162ccce7e403d90cd853f232081d
data/CHANGELOG.md CHANGED
@@ -1,12 +1,29 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
- * Issue - update to the latest aws-crt-ffi.
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 - support sigv4-s3express signing.
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 - fix `warning: method redefined` warnings.
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.2.1
1
+ 0.4.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.1
4
+ version: 0.4.0
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-13 00:00:00.000000000 Z
11
+ date: 2024-10-23 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