aws-crt 0.1.0.pre-universal-java → 0.1.1.pre-universal-java
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/bin/x64/aws-crt.pdb +0 -0
- data/bin/x86_64/libaws-crt.so +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: 75b18b7e0436e44d03291c6436719159a6b83550c70697033d78ec5e333e4d9a
|
4
|
+
data.tar.gz: 436812879403dd5cfd463c394b0169b88ec3e62c87722a48dd5f08ab5457674e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86912c78ade13cba469b69114993adbba629b3905d1a3c3b13a025c7eb0018db77dabfdf8a3f08f5e55920c0ae9fb3dcc379faec78a05415c6df095f12690d5a
|
7
|
+
data.tar.gz: aebbb2382d8a8291aec277128ee78345ef93cf76c1cbea37790f0b2705d0e14526f86d2dc857bcdea9fd9de639333f3bffc0c44589eeb023bdfc98f632dc7a80
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1.pre
|
data/bin/x64/aws-crt.dll
CHANGED
Binary file
|
data/bin/x64/aws-crt.pdb
CHANGED
Binary file
|
data/bin/x86_64/libaws-crt.so
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: universal-java
|
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
|