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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da8f3c58778973dfd69af84646060dd8aa36fbed
4
- data.tar.gz: eab8122a417eb9abd8b6b11c7f076aefbe77d9a3
3
+ metadata.gz: 837e2bedb1604622f58b3397be786c696fa67612
4
+ data.tar.gz: 312dcdd28712d3711885a0f4b43f1d42cfd8bb3d
5
5
  SHA512:
6
- metadata.gz: 3c49192d5df47438a2a6c8f1422e361dec0bc88110aa11e5f0e949742f2db8ac3469ce3d2b5f92086da72fb099124fdf20bc06fe907db145242827fe445394e2
7
- data.tar.gz: ab228a027cb25b75e6097400b5976ec4208d3a647e3942283814b3042b2011dea0dc046125ef0632fd0948c67eb642d9274f5ba9e7ccc04db319a36a05b68bae
6
+ metadata.gz: 32137058f47131c6942a2d6a286ab29d8aa240b6380d8ad0e4d6b8246c11294afddbde42b4a0a010e284c28eef635162633b3beffd6f3592059aec9b6c3a1048
7
+ data.tar.gz: edadf84230ee5ebed3df18f4a226127ba7ac43eda96aeeb3f1a641c15612929b47f33d483fcbf60b2212f39bc02f25a488c38967b2e3bd1a7e527c173b98507a
@@ -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
+
@@ -1,5 +1,5 @@
1
1
  module Virgil
2
2
  module Crypto
3
- VERSION = "2.0.6r3"
3
+ VERSION = "2.0.6r4"
4
4
  end
5
5
  end
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.6r3
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-02-28 00:00:00.000000000 Z
12
+ date: 2017-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler