aws-crt 0.1.0.pre → 0.1.1.pre

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: 2134c3fe37581825cbf70ed8da4cb10c795d784cee89a7cc4f2a994a65639029
4
- data.tar.gz: 25ddf894bcec5af1a38ce2bddd523894603afc4f8690e15307f197b9a449005e
3
+ metadata.gz: 8a19c3f8f99b383916342ac7a78f0fc4b1c48bc9161c1593ca843517f4dc81ff
4
+ data.tar.gz: 02dd9838c9ffcf184386f7606549f17bc1176e748e9744bea6206b462975c355
5
5
  SHA512:
6
- metadata.gz: c0e8df8722bd8d50782f74678058f30ac9dc04788699421f0ded346a10d8439d108b6b7b01bedbba6a25101a680d0094729801dac89115e2b168db9dadf5f902
7
- data.tar.gz: ada5ca5fc86bccfe4ecf15c13db669f4800b256d3fe134206a1c6875047de06b1316722bb187bae38875ac8e871803d26bbb86254aa97a2fa2be270abf714bfe
6
+ metadata.gz: 917b7fa35336acdd5f11b85da867f53f17b8bbd2a0684ede1556e520e5c20b377e5e0ce5853ba74b0620805ab0fdc880d6846adac1779541414cadfe859b646c
7
+ data.tar.gz: c90a48a035b267f68083127a146811349868271367e7034796e9eb5423c3accd1e17fa558cf28c6557fd651d43849d20eee832cced768d87abcc788ec9baf556
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0.pre
1
+ 0.1.1.pre
@@ -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
- 'set the method used to cleanup the native object this ' \
32
- 'class manages.'
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, 'destructor must be a Method. ' \
73
- 'Use object.method(:method_name)'
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
@@ -45,7 +45,12 @@ option(BUILD_TESTING OFF)
45
45
  add_subdirectory(crt/aws-c-common)
46
46
 
47
47
  if (UNIX AND NOT APPLE)
48
+ set(BUILD_LIBSSL OFF) # Don't need libssl from aws-lc, only need libcrypto
49
+ set(DISABLE_PERL ON) # Disable aws-lc codegen
50
+ set(DISABLE_GO ON) # Disable aws-lc codegen
48
51
  add_subdirectory(crt/aws-lc)
52
+
53
+ set(SEARCH_LIBCRYPTO OFF) # Let s2n use libcrypto from aws-lc
49
54
  add_subdirectory(crt/s2n)
50
55
  endif()
51
56
 
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.0.pre
4
+ version: 0.1.1.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-03 00:00:00.000000000 Z
11
+ date: 2021-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi