virgil-crypto 2.0.6r3 → 2.0.6r4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/rakefile.rb +4 -2
- data/lib/virgil/crypto/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 837e2bedb1604622f58b3397be786c696fa67612
|
4
|
+
data.tar.gz: 312dcdd28712d3711885a0f4b43f1d42cfd8bb3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32137058f47131c6942a2d6a286ab29d8aa240b6380d8ad0e4d6b8246c11294afddbde42b4a0a010e284c28eef635162633b3beffd6f3592059aec9b6c3a1048
|
7
|
+
data.tar.gz: edadf84230ee5ebed3df18f4a226127ba7ac43eda96aeeb3f1a641c15612929b47f33d483fcbf60b2212f39bc02f25a488c38967b2e3bd1a7e527c173b98507a
|
data/ext/rakefile.rb
CHANGED
@@ -11,9 +11,9 @@ task :default do
|
|
11
11
|
LIB_DIR = File.join(ROOT_DIR, "lib")
|
12
12
|
INSTALL_DIR = File.join(LIB_DIR, 'virgil', 'crypto')
|
13
13
|
|
14
|
+
ext = OS.linux? ? "so" : "bundle"
|
14
15
|
begin
|
15
16
|
NativeCrypto.load_library
|
16
|
-
ext = OS.linux? ? "so" : "bundle"
|
17
17
|
raise "Native library wasn't loaded" unless File.exists?(File.join(INSTALL_DIR, "virgil_crypto_ruby.#{ext}"))
|
18
18
|
rescue
|
19
19
|
|
@@ -54,10 +54,10 @@ task :default do
|
|
54
54
|
system(CMAKE_COMMAND)
|
55
55
|
system('make -j4')
|
56
56
|
system('make install')
|
57
|
-
|
58
57
|
cd '../'
|
59
58
|
rm_rf BUILD_DIR
|
60
59
|
end
|
60
|
+
abort "ERROR! virgil-crypto gem can't be installed because native library wasn't built. Please look at the output above. " unless File.exists?(File.join(INSTALL_DIR, "virgil_crypto_ruby.#{ext}"))
|
61
61
|
|
62
62
|
end
|
63
63
|
|
@@ -75,3 +75,5 @@ end
|
|
75
75
|
|
76
76
|
|
77
77
|
|
78
|
+
|
79
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: virgil-crypto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.6r4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Dudkin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-03-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|