naoki 1.0.16 → 1.0.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/data_secure_wrapper.rb +2 -1
- data/lib/{libICAPI.so → libICAPI_32.so} +0 -0
- data/lib/libICAPI_64.so +0 -0
- data/naoki.gemspec +1 -1
- metadata +6 -15
data/lib/data_secure_wrapper.rb
CHANGED
@@ -21,7 +21,8 @@ else
|
|
21
21
|
|
22
22
|
module DataSecureWrapper
|
23
23
|
extend FFI::Library
|
24
|
-
|
24
|
+
LIB_ICAPI_FILE = `uname -m`.match(/x86_64/) ? 'libICAPI_64.so' : 'libICAPI_32.so'
|
25
|
+
ffi_lib File.expand_path(File.join(File.dirname(__FILE__), LIB_ICAPI_FILE))
|
25
26
|
|
26
27
|
I_T_Init_File = 0
|
27
28
|
I_E_OK = 0
|
File without changes
|
data/lib/libICAPI_64.so
ADDED
Binary file
|
data/naoki.gemspec
CHANGED
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naoki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 16
|
9
|
-
version: 1.0.16
|
4
|
+
prerelease:
|
5
|
+
version: 1.0.18
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Chris Apolzon
|
@@ -15,7 +11,7 @@ autorequire:
|
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
13
|
|
18
|
-
date: 2011-
|
14
|
+
date: 2011-04-19 00:00:00 -07:00
|
19
15
|
default_executable:
|
20
16
|
dependencies:
|
21
17
|
- !ruby/object:Gem::Dependency
|
@@ -26,8 +22,6 @@ dependencies:
|
|
26
22
|
requirements:
|
27
23
|
- - ">="
|
28
24
|
- !ruby/object:Gem::Version
|
29
|
-
segments:
|
30
|
-
- 0
|
31
25
|
version: "0"
|
32
26
|
type: :runtime
|
33
27
|
version_requirements: *id001
|
@@ -44,7 +38,8 @@ files:
|
|
44
38
|
- .gitignore
|
45
39
|
- Gemfile
|
46
40
|
- lib/data_secure_wrapper.rb
|
47
|
-
- lib/
|
41
|
+
- lib/libICAPI_32.so
|
42
|
+
- lib/libICAPI_64.so
|
48
43
|
- lib/naoki.rb
|
49
44
|
- naoki.gemspec
|
50
45
|
- sample.rb
|
@@ -62,21 +57,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
57
|
requirements:
|
63
58
|
- - ">="
|
64
59
|
- !ruby/object:Gem::Version
|
65
|
-
segments:
|
66
|
-
- 0
|
67
60
|
version: "0"
|
68
61
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
69
62
|
none: false
|
70
63
|
requirements:
|
71
64
|
- - ">="
|
72
65
|
- !ruby/object:Gem::Version
|
73
|
-
segments:
|
74
|
-
- 0
|
75
66
|
version: "0"
|
76
67
|
requirements: []
|
77
68
|
|
78
69
|
rubyforge_project:
|
79
|
-
rubygems_version: 1.
|
70
|
+
rubygems_version: 1.5.2
|
80
71
|
signing_key:
|
81
72
|
specification_version: 3
|
82
73
|
summary: C bindings for SafeNet DataSecure ICAPI
|