aws-crt 0.2.1-universal-java → 0.3.0-universal-java

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: 8f783e328e376a2ae81f5755e178060f7a0105c4c978612530a04945e59bec58
4
- data.tar.gz: 8f7dcc0c9066552bc26439485100da8a15119063540b91140c4777bcfbae0e19
3
+ metadata.gz: 78f89c4891fa5ad28858388f586bf1de0554167438dee0aef7768cd5256370a8
4
+ data.tar.gz: f21a79ebb56021e2553790b714cd3b89d4fb06d5f7e895aa3557f5127764aad8
5
5
  SHA512:
6
- metadata.gz: '09e956ee4ac56c8edc580f87639d1c71006ffd44dc735011d5da7e7e4a244f26848541a63af8178f8883edba754a09c2e936dfb05e940cd127e61534a076ea4d'
7
- data.tar.gz: e8df33fed65c278f9c1da11192c5518537deb38543b83a24491f826cd0b551488103a67dfa13570ea98e98d51ed90166f427fe7911c0b8069b4a2cf1d0922bd6
6
+ metadata.gz: 11f336f3e682247401a00ab711b0b1a52af9b076d0dc1963dd585809aa39a8ca3f2c33d8c758f49172e454d02115d51f2d2d1b394dd1730713b2c8163b76f34e
7
+ data.tar.gz: 0325c261e5c2c4d8040c855f67dd2de35e112af524b6144444f33d7b4206115f02b1bf58c65e022140b120db13a78b28cadec193368718646b8b6f6a6d6075da
data/CHANGELOG.md CHANGED
@@ -1,12 +1,20 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
- * Issue - update to the latest aws-crt-ffi.
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.
5
13
 
6
14
  0.2.0 (2023-11-28)
7
15
  ------------------
8
16
 
9
- * Feature - support sigv4-s3express signing.
17
+ * Feature - Support sigv4-s3express signing.
10
18
 
11
19
  0.1.9 (2023-10-16)
12
20
  ------------------
@@ -16,12 +24,13 @@ Unreleased Changes
16
24
  0.1.8 (2023-03-28)
17
25
  ------------------
18
26
 
19
- * Issue - fix `warning: method redefined` warnings.
27
+ * Issue - Fix `warning: method redefined` warnings.
20
28
 
21
29
  0.1.7 (2023-02-03)
22
30
  ------------------
23
31
 
24
32
  * Issue - Update to the latest aws-crt-ffi.
33
+ *
25
34
  * Issue - Add support for overriding crt_bin_dir with `AWS_CRT_RUBY_BIN_DIR`.
26
35
 
27
36
  0.1.6 (2022-08-12)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.3.0
Binary file
Binary file
Binary file
Binary file
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.3.0
5
5
  platform: universal-java
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-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
- rubygems_version: 3.1.6
91
+ rubygems_version: 3.5.16
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: AWS SDK for Ruby - Common Run Time