virgil-crypto 2.0.2b0 → 2.0.2b1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/native/extconf.rb +10 -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: 0e5006131e2f4e416d2f08d9829970d74dd8865b
|
4
|
+
data.tar.gz: c12ee7c1257ce0dad589ab7ce08dcb6763a52f9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a99673aafe067be313e8b4bc7c816b141d54e9494b224707ccce316ad7f2763340a17c367814e57763e30c9dbf864f8eb7f727fbe1b084416b485c183088eb2
|
7
|
+
data.tar.gz: 2e77da51249e963e5f0be71d94d6646655d33cde18d470d3a1fe4182ebdf76843c18fce0665f3bca823d0a67cc36a4588c72694c1c8b9c1c6e972773bd1a77d9
|
data/ext/native/extconf.rb
CHANGED
@@ -8,10 +8,20 @@ SRC_DIR = File.join(SCRIPT_DIR, 'src')
|
|
8
8
|
CURRENT_DIR = Dir.pwd
|
9
9
|
LIB_DIR = File.expand_path('../../lib', SCRIPT_DIR)
|
10
10
|
INSTALL_DIR = File.join(LIB_DIR, 'virgil', 'crypto')
|
11
|
+
INCLUDE_DIRS = [
|
12
|
+
RUBY_INCLUDE_DIR = RbConfig::CONFIG['rubyhdrdir'],
|
13
|
+
RUBY_CONFIG_INCLUDE_DIR=RbConfig::CONFIG['rubyarchhdrdir']
|
14
|
+
].join(' ').quote
|
15
|
+
RUBY_LIB_DIR = RbConfig::CONFIG['libdir']
|
11
16
|
|
12
17
|
CMAKE_COMMAND = [
|
13
18
|
CMAKE,
|
14
19
|
'-DCMAKE_BUILD_TYPE=Release',
|
20
|
+
"-DRUBY_VERSION=#{RUBY_VERSION}",
|
21
|
+
"-DRUBY_INCLUDE_DIR=#{RUBY_INCLUDE_DIR}",
|
22
|
+
"-DRUBY_CONFIG_INCLUDE_DIR=#{RUBY_CONFIG_INCLUDE_DIR}",
|
23
|
+
"-DRUBY_INCLUDE_DIRS=#{INCLUDE_DIRS}",
|
24
|
+
"-DRUBY_LIBRARY=#{RUBY_LIB_DIR}",
|
15
25
|
'-DRUBY_LIB_NAME=native',
|
16
26
|
'-DSWIG_MODULE_NAME=\"virgil::crypto::native\"',
|
17
27
|
'-DCMAKE_SWIG_FLAGS=-autorename',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.2b1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Dudkin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|