aws-crt 0.1.6-x86_64-linux → 0.1.8-x86_64-linux

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: 1f097f55e677d054b507867ee98dd6476a5df140cc64bcb7b817a15a58e3f4e9
4
- data.tar.gz: af117b991dc8edecc61fb22ec19341ddf3a344340df5a08f76e0aebd3c70af50
3
+ metadata.gz: 273c29dd82b7891299a98f1bbe799ad075e7ea303f0dbda5367b731a5d6bb314
4
+ data.tar.gz: 3d027d43249f52d3185f2245869ae7d7f7261c75cdd744ef7a7e0de262e1084e
5
5
  SHA512:
6
- metadata.gz: 631ff10fe267f17ddc54016a147495401a4fb6cbf5d7d023e70723778688d9c93397bfb09e35dc8526cd8df9680d786aacb893fb925389e42f0eb506e06632b5
7
- data.tar.gz: 80740672d63ec3c3c69283d96cbf854fe057871eca8cb841dfbaf0b8165eb96a5a46080d2196d1139f62ae4c5ef9b3ed28184ad8db3c3c9e903d2e85ccddf24e
6
+ metadata.gz: d1534deb710923746c2f13f1984a1226caee2457e5a640b266a95a4abd87994d710eed62c18bedcad3b189c52110e969a86898e6e185ec91bb0367bf98eacb44
7
+ data.tar.gz: 1b43b73a33a4f947beaccb3883c08be33d10a6c1d16a410644113ac8e1237365134eb79ed518ddda17b458879f1b59e01c73fbe5974117cdc8debf9a6d3dcd55
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-linux
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