aws-crt 0.1.0.pre-x64-mingw32 → 0.1.1.pre-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/bin/x64/aws-crt.dll +0 -0
- data/lib/aws-crt/managed_native.rb +5 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf2b6d0d49226485190fa278952197681c03748305967d159ce159445554de51
|
4
|
+
data.tar.gz: dc9cc8aab116560f7492e889aed4c40269b4a7814efab34ee71339a92208350c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 623d0bd571f31c092adb1bcc6769211e23efc1827e9e7c4acfa2b85c3bc6c5c42a8f0407a79ae085f3950bc88527cfc83d4f0aba66099c2bb1c72280bcccf23e
|
7
|
+
data.tar.gz: 6bd3886f2877998154909459279b5d09d86af4c618633cd085a7b0ed502b70a197f954933bb2894365e67ac0e6984c268dc3253fa55df2134db5d66ed09fd097
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1.pre
|
data/bin/x64/aws-crt.dll
CHANGED
Binary file
|
@@ -28,8 +28,8 @@ module Aws
|
|
28
28
|
# check that a destructor has been registered
|
29
29
|
unless self.class.instance_variable_get('@destructor')
|
30
30
|
raise 'No native destructor registered. use native_destroy to ' \
|
31
|
-
|
32
|
-
|
31
|
+
'set the method used to cleanup the native object this ' \
|
32
|
+
'class manages.'
|
33
33
|
end
|
34
34
|
native = block.call
|
35
35
|
@native = FFI::AutoPointer.new(native, self.class.method(:on_release))
|
@@ -69,8 +69,9 @@ module Aws
|
|
69
69
|
# native_destroy Aws::Crt::Native.method(:test_release)
|
70
70
|
def native_destroy(destructor)
|
71
71
|
unless destructor.is_a?(Method)
|
72
|
-
raise ArgumentError,
|
73
|
-
|
72
|
+
raise ArgumentError,
|
73
|
+
'destructor must be a Method. ' \
|
74
|
+
'Use object.method(:method_name)'
|
74
75
|
end
|
75
76
|
@destructor = destructor
|
76
77
|
end
|
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.
|
4
|
+
version: 0.1.1.pre
|
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: 2021-
|
11
|
+
date: 2021-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|