aws-crt 0.1.6-x64-mingw32 → 0.1.8-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: 31132df91573dcd6e8bcbcc3b80ce3756ae1b49a74de0744fdb51715781d3d64
4
- data.tar.gz: 54af56c674d3fc38e0c4a37701d08c0837ee4add13fe01d8ca67b4b7b3994d9c
3
+ metadata.gz: 63ec90efd9278a40c04a3f6eb230eecc8c3436daee576a54b07ce8153dc064d3
4
+ data.tar.gz: c9acd83a1a22209898d647bf8a4e3e900942c8f7ca884430e0249d4e07b97aa0
5
5
  SHA512:
6
- metadata.gz: bf4b64bdc3a8d338100e082527bf4733fea449c4976d9830c737ec27ea2eec8d263908b1ec7d662c99f532be980d0386cdef69de0957b8b410cf381202579b96
7
- data.tar.gz: 482264bbd60922c3f3f233057a270a6c2c3acbcb4618a1f8f53f1b1594accf38b4bf59c4a87c362a3cb64ac9eb6907a696cf7ab63d246fd2a770e50022c377f3
6
+ metadata.gz: 0a80f8b3136d25028d9cd99283155fdfd5b19933b24ec05fbb94ca07dd0f05d8aea72a3a6cff73a541c6d28c7601b6f8363e7295b57f9021423ae7d7bcd82993
7
+ data.tar.gz: d0a8f8728c109c814525b3df66d54cb4cb4213fa53437dfabd51060d84a9d56b233f5fb57dc2b90685b643a65cc73b8894e76f84406c164b86cde7d92c11e555
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: x64-mingw32
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