aez 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/aezv5/extconf.rb +1 -1
- data/lib/aez.rb +1 -10
- data/lib/aez/version.rb +1 -1
- 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: d4d9d48389f2162b6f1a464a21210c9367f8d758ff1de3a5c0d96579566772b1
|
4
|
+
data.tar.gz: 254a014f98f11cf439e214ce7411505b40bc0878454446581519fee9bd7b1090
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33c95c2759ac30f4124d699ac4d6ecef9628f7aa640b6457b8c4ae8b1306cd6e9ef50f91e652f2cb2ec9c553e25c43f84200306301a473d549099b44fc4bc79e
|
7
|
+
data.tar.gz: 7066a35211317b055bdb7dd24d4339057c23cff863cdd51b6a04f858a7fc6052cae4503456832aa93c571b61edf17090b95413f29bad9efe398e21b24882cfd7
|
data/ext/aezv5/extconf.rb
CHANGED
data/lib/aez.rb
CHANGED
@@ -13,16 +13,7 @@ module AEZ
|
|
13
13
|
|
14
14
|
extend FFI::Library
|
15
15
|
|
16
|
-
|
17
|
-
file_name =
|
18
|
-
case RbConfig::CONFIG['host_os'].downcase
|
19
|
-
when /darwin|mac os/
|
20
|
-
"#{lib_name}.dylib"
|
21
|
-
when /linux/
|
22
|
-
"#{lib_name}.so"
|
23
|
-
end
|
24
|
-
|
25
|
-
ffi_lib File.expand_path(file_name, __dir__)
|
16
|
+
ffi_lib File.expand_path("aez/aezv5.#{FFI::Platform::LIBSUFFIX}", __dir__)
|
26
17
|
|
27
18
|
attach_function :aez_setup, [:pointer, :ulong_long, :pointer], :int
|
28
19
|
attach_function :aez_encrypt, [:pointer, :pointer, :uint, :pointer, :uint, :uint, :pointer, :uint, :pointer], :int
|
data/lib/aez/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aez
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shigeyuki Azuchi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|