aws-crt 0.1.6-universal-java → 0.1.8-universal-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d6f2ffb361875b976f0b2715783d1b2ef3020136b7cc6af458bd6e61b1ee228
4
- data.tar.gz: 5e08db11ca760bdc4dc51ca064bd8a800f84027384719e9f0fe927e2cf8e3499
3
+ metadata.gz: de181eef7ef0b7a1832a6dc435fcc22d9bd65e239ba184ae2cffedd8c6473dd6
4
+ data.tar.gz: f9f39c66c59564fbcc4f1e13fa43923af1a8e10ab0e22323e578b36147b74e35
5
5
  SHA512:
6
- metadata.gz: 046dff4beaaf904501ad4356d46b901ae4012d57f76c1a8ed2a9ec639589f5547467fcf58a1cd2f0731b629019f8f2ecd938de5d7dcd4a0861af609a2e384b61
7
- data.tar.gz: da1e88bb4c9feadfdb490c66c434328bec1ad3d69b49f73cb2fc63c8c18a09979cbbfcd7b8ca8f87cbbee19f22cbcba442d492876f3dcf64a36b90056932aa43
6
+ metadata.gz: 932547ff276f6359bad4686b63c108b505cd81f0d16a4b2909586f1dae01aa6bb57322f7b0caa42c2beec4d499f47f534cbd553f9c1c7b8677ee7e1969da37e5
7
+ data.tar.gz: c117b7501b1efd37495cd819ca6b308548832117f6b97f3a68429a6a1b1cf0a2d69d0aab1435eb3a97ec7fc0717d719ab17231b5df87f06d5d307ef5a872fafe
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
Binary file
Binary file
Binary file
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: universal-java
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