aws-crt 0.1.6-x86_64-darwin → 0.1.8-x86_64-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: c9a40310d3e7774a8ffd7feb1c53a8293f5155e0682186d3d19dd43c1325b553
4
- data.tar.gz: d55947ff0f4b1d941c4bdf2979dda6df8d3b14b4f0caccd90b775f28f4140b2a
3
+ metadata.gz: b6f1eb7a7b6676f2aaeda36b907f7da6079d7ccc5ace81e045011fe6f0a476ca
4
+ data.tar.gz: f99ac2216fc9f328181b6f9d48c629841b3da38a9db5795f445670446da2b0a3
5
5
  SHA512:
6
- metadata.gz: 0bbcd326ee88c15dc4ff09e065bae0093fc5733608651972cc715d19d0740433e3280499d3c4960bc09561225faf635d449a6db19434fe12022b3a4711322cc6
7
- data.tar.gz: 36da3f60412f3352c16e68691e7e00bda7e63aead382b017ac1ea983b8b1c7f55283fc04ada562d56e0a87b5405d1595e002616ebba23f5095d2b871142ef8ee
6
+ metadata.gz: 102e3c737a3d57b65e0a2f5aaab38ccec05b339cb4af2beb6f1e07175c026765b319e11f0c4027666e77abd1f0503e79feed5fabdaafe9594fda17057bdea7b1
7
+ data.tar.gz: 18906a6299615e9366ecb7d83dde5eb7a91890146f6fb2662a9b9b5c3a7c270cd26397ee167de652b5f71b8f8b162fb9255cdd123ec1137f22ec21c1c0c6c3db
data/CHANGELOG.md CHANGED
@@ -1,6 +1,17 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 0.1.8 (2023-03-28)
5
+ ------------------
6
+
7
+ * Issue - fix `warning: method redefined` warnings.
8
+
9
+ 0.1.7 (2023-02-03)
10
+ ------------------
11
+
12
+ * Issue - Update to the latest aws-crt-ffi.
13
+ * Issue - Add support for overriding crt_bin_dir with `AWS_CRT_RUBY_BIN_DIR`.
14
+
4
15
  0.1.6 (2022-08-12)
5
16
  ------------------
6
17
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.8
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
@@ -84,9 +84,10 @@ module Aws
84
84
  end
85
85
 
86
86
  bang_name = "#{ruby_name}!"
87
+ no_raise_name = "#{ruby_name}_no_raise"
87
88
 
88
- super(ruby_name, c_name, params, returns, options)
89
- alias_method(bang_name, ruby_name)
89
+ super(no_raise_name, c_name, params, returns, options)
90
+ alias_method(bang_name, no_raise_name)
90
91
 
91
92
  define_method(ruby_name) do |*args, &block|
92
93
  res = public_send(bang_name, *args, &block)
@@ -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
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.6
4
+ version: 0.1.8
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: 2022-08-15 00:00:00.000000000 Z
11
+ date: 2023-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi