aws-crt 0.1.6-arm64-darwin → 0.1.8-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: 1bffe0c2d9a9799d352157afa3624d395277c2a76166a3e295d0e131e85afa70
4
- data.tar.gz: c4f70103555f32e63147c69119961ab815f9d7ac033a877506e6545d97862689
3
+ metadata.gz: 8307b9de1ccc7f2a3b001ef680317d7f9759cf8da7b4ec041f494be5c089fb0b
4
+ data.tar.gz: 80515f12bdfead455bdc3d7d2bca8410f8a6d8d0ecc32cf91feb0f2682b83e51
5
5
  SHA512:
6
- metadata.gz: 9777568a207a703e9c8e268890928c7b889eca48dc89febc66c98668555ff5cd27aaffcef05ba04715a4ce4ed8dd720f3d38ca15d82c15074d57e31e786677f6
7
- data.tar.gz: 4cfb4f972acb049b5fba0df86b6a2298b33cb9efbd9f9efdb6536edf1a47411957bfa776abeb6941dd0b489ec524eb97ab9729d43c02465f98ab924e0558b801
6
+ metadata.gz: a829fb4b34d418698c829243241ad5d165c0642d6dada9a2a0d790a37baf6d38d1d847040af68b868fb5ebf899b69ec2a59e7af88fe177565c84583f3a2fce4e
7
+ data.tar.gz: 22f9e22f125d030baa4369eae01db9fbfa416d952082b06bfe575f42a7b72683b467bb15279617baf0dfe7a4de37eac5b9b7be71f6c2811e044bd4d2fcb35fcd
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: arm64-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