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 +4 -4
- data/ext/rakefile.rb +14 -0
- 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: da8f3c58778973dfd69af84646060dd8aa36fbed
|
4
|
+
data.tar.gz: eab8122a417eb9abd8b6b11c7f076aefbe77d9a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c49192d5df47438a2a6c8f1422e361dec0bc88110aa11e5f0e949742f2db8ac3469ce3d2b5f92086da72fb099124fdf20bc06fe907db145242827fe445394e2
|
7
|
+
data.tar.gz: ab228a027cb25b75e6097400b5976ec4208d3a647e3942283814b3042b2011dea0dc046125ef0632fd0948c67eb642d9274f5ba9e7ccc04db319a36a05b68bae
|
data/ext/rakefile.rb
CHANGED
@@ -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
|
|
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.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.
|
981
|
+
rubygems_version: 2.2.5
|
982
982
|
signing_key:
|
983
983
|
specification_version: 4
|
984
984
|
summary: Virgil Crypto library wrapper
|