aws-crt 0.1.5-arm64-darwin → 0.1.7-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: a83fe0dd52deaf2a2a5295dadd3e44184b3f2b64e92ab7055b79b44aa81d2134
4
- data.tar.gz: 1780f7fe5f3730c1937bedd7d18be15b0a8a8680d1b251688a80f1952ea74a4d
3
+ metadata.gz: 00fc18ede657315859b349c381f9de8d04f9cbadf34b5e4a539b46c036ca85e2
4
+ data.tar.gz: a370cdb9bc0ecc850539f4e87ac28ed17b8636bf05122e976adc0f5d74f15e99
5
5
  SHA512:
6
- metadata.gz: d6424570a965e922a5aad41df20658a90255ef42cdab9f6a903f4dae166fdc2ddbbbc09e556dcdd5fc233f209b22e227997b9350b100748657ab1cb22780b43c
7
- data.tar.gz: 986f4beef06ad8400e18e5179252b0b34955d31a92983f8520a7c44af7c5c4b9d0de59249f11c1c2367c810467fc29528a1fe4e51d0036ce5ba36312ae6bf3be
6
+ metadata.gz: df671b5d21f16163e145f500fd010e2a26b87b1eaefc1cdc30e544fa67c2307fd086aa42e675e2c2de51723a3de51b0e4b254ec64a98cd76c8cbfa1e80d95ed8
7
+ data.tar.gz: '0914043fd326256207b126684273e7a4df0f1d3268d7d9a8c5e7ac4ebf122e31fbda12f0aa9a19c82c9a62fd2e11d1bf0d34ec61b27de73527e3dfda9964cc09'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 0.1.7 (2023-02-03)
5
+ ------------------
6
+
7
+ * Issue - Update to the latest aws-crt-ffi.
8
+ * Issue - Add support for overriding crt_bin_dir with `AWS_CRT_RUBY_BIN_DIR`.
9
+
10
+ 0.1.6 (2022-08-12)
11
+ ------------------
12
+
13
+ * Issue - Update to the latest aws-crt-ffi.
14
+
4
15
  0.1.5 (2022-04-05)
5
16
  ------------------
6
17
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.5
1
+ 0.1.7
Binary file
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'time'
4
+ require 'set'
4
5
 
5
6
  module Aws
6
7
  module Crt
@@ -27,7 +27,9 @@ end
27
27
 
28
28
  # @return [String] return the directory of the CRT library for the platform
29
29
  def crt_bin_dir(platform)
30
- File.expand_path("../../bin/#{platform.cpu}", File.dirname(__FILE__))
30
+ ENV['AWS_CRT_RUBY_BIN_DIR'] ||
31
+ File.expand_path("../../bin/#{platform.cpu}",
32
+ File.dirname(__FILE__))
31
33
  end
32
34
 
33
35
  # @return [String] return the path to the CRT library for the platform
@@ -17,7 +17,7 @@ module Aws
17
17
  strings.each do |s|
18
18
  e = s.to_s.unpack('c*')
19
19
  buffer << [e.length].pack('N')
20
- buffer << (e).pack('c*')
20
+ buffer << e.pack('c*')
21
21
  end
22
22
  buffer.string.unpack('c*')
23
23
  end
@@ -31,8 +31,8 @@ module Aws
31
31
  i = 0
32
32
  while i < buffer.size
33
33
  len = buffer[i, 4].pack('c*').unpack1('N')
34
- strings << (buffer[i + 4, len].pack('c*'))
35
- .force_encoding(Encoding::UTF_8)
34
+ strings << buffer[i + 4, len].pack('c*')
35
+ .force_encoding(Encoding::UTF_8)
36
36
  i += len + 4
37
37
  end
38
38
  strings
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.1.5
4
+ version: 0.1.7
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: 2022-05-18 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi