virgil-crypto 2.0.6r2 → 2.0.6r3

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: 4cedb11750f1faf6b7df10ac5efae4fb7c303ba2
4
- data.tar.gz: a913852e553eed719354f90b6dc1063e69f54864
3
+ metadata.gz: da8f3c58778973dfd69af84646060dd8aa36fbed
4
+ data.tar.gz: eab8122a417eb9abd8b6b11c7f076aefbe77d9a3
5
5
  SHA512:
6
- metadata.gz: d2d889e52c5de33047868ef400fb39e555dcd103870b44de5a9e5d8f46f2455fb7cb9ca2f39ad044d82be1f5564ad680df481a1eda078c9c68a816d0cf473b46
7
- data.tar.gz: 126edafbc8cdb7513d9c1a3504c30fb674617068845d5cadca3c33cbd51cb4e71adf10fda7b1928ee0b2331e438278ed1c373bd47fd8be02ca07152bfb56b847
6
+ metadata.gz: 3c49192d5df47438a2a6c8f1422e361dec0bc88110aa11e5f0e949742f2db8ac3469ce3d2b5f92086da72fb099124fdf20bc06fe907db145242827fe445394e2
7
+ data.tar.gz: ab228a027cb25b75e6097400b5976ec4208d3a647e3942283814b3042b2011dea0dc046125ef0632fd0948c67eb642d9274f5ba9e7ccc04db319a36a05b68bae
@@ -27,6 +27,7 @@ task :default do
27
27
  CMAKE = find_executable "cmake"
28
28
  abort "cmake >= 3.2 is required" unless CMAKE
29
29
 
30
+ check_cmake_version
30
31
 
31
32
  INCLUDE_DIRS = [
32
33
  RUBY_INCLUDE_DIR = RbConfig::CONFIG['rubyhdrdir'],
@@ -60,4 +61,17 @@ task :default do
60
61
 
61
62
  end
62
63
 
64
+ def check_cmake_version
65
+ cmake_version_info = `cmake --version`
66
+ if cmake_version_info =~ /(\d+)\.(\d+)\./
67
+ major_version = Regexp.last_match(1).to_i
68
+ minor_version = Regexp.last_match(2).to_i
69
+ abort "cmake >= 3.2 is required" unless (major_version >= 3 && minor_version >= 2)
70
+ else
71
+ abort "Unknown cmake version. cmake >= 3.2 is required"
72
+ end
73
+
74
+ end
75
+
76
+
63
77
 
@@ -1,5 +1,5 @@
1
1
  module Virgil
2
2
  module Crypto
3
- VERSION = "2.0.6r2"
3
+ VERSION = "2.0.6r3"
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.6r2
4
+ version: 2.0.6r3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Dudkin
@@ -978,7 +978,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
978
978
  version: 1.3.1
979
979
  requirements: []
980
980
  rubyforge_project:
981
- rubygems_version: 2.6.10
981
+ rubygems_version: 2.2.5
982
982
  signing_key:
983
983
  specification_version: 4
984
984
  summary: Virgil Crypto library wrapper