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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 33415e876ce6c7856104bc8952f10a25c779fb24
4
- data.tar.gz: 50a03ef7a054678c816dd290e98528b447da17af
3
+ metadata.gz: 0e5006131e2f4e416d2f08d9829970d74dd8865b
4
+ data.tar.gz: c12ee7c1257ce0dad589ab7ce08dcb6763a52f9a
5
5
  SHA512:
6
- metadata.gz: 73ae7a4db00f8b0a506950cf05f472cd9240f061afc786311f8a12be73dce97769552bf35e64235bc81878396ab4e736ca87cb678710898b5f3ea78d6f5980a2
7
- data.tar.gz: 9331654af1fb70fc60813f6fd4acc651a9c8a163c2ff26b82e754376ff42488ecb9204a9afb5c4ae2cddad68ecc5fa6decbf730da6cfc6474eb2d19ec5eee206
6
+ metadata.gz: 0a99673aafe067be313e8b4bc7c816b141d54e9494b224707ccce316ad7f2763340a17c367814e57763e30c9dbf864f8eb7f727fbe1b084416b485c183088eb2
7
+ data.tar.gz: 2e77da51249e963e5f0be71d94d6646655d33cde18d470d3a1fe4182ebdf76843c18fce0665f3bca823d0a67cc36a4588c72694c1c8b9c1c6e972773bd1a77d9
@@ -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',
@@ -1,5 +1,5 @@
1
1
  module Virgil
2
2
  module Crypto
3
- VERSION = "2.0.2b0"
3
+ VERSION = "2.0.2b1"
4
4
  end
5
5
  end
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.2b0
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-22 00:00:00.000000000 Z
11
+ date: 2016-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler