tdes 3.0.5 → 3.0.7

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
  SHA256:
3
- metadata.gz: 1ae48de55f0b1e0889bf1956eb0745d34be42f8a29dcd22e379a2beec51e6abf
4
- data.tar.gz: 6f17a05730784dbac958c2cd4781d1172d587e32369994df9dd213042cdf4663
3
+ metadata.gz: 5ba14c79c4c49f185859af397b2ca76f6e163e7a5117199a6cf8d79e244c5974
4
+ data.tar.gz: 54bd939943be3d4ce25bfd445b61e715165c1f57a74d4faedfae6b515a948949
5
5
  SHA512:
6
- metadata.gz: 4e61f947fd99c9ff8d799a3a9fc7cd031fabb74b44d2171e086bd2ea9f03ea84650c3aa2134edadb91777257e10af248c4263d2fcd82e400a42b2783a471a434
7
- data.tar.gz: 5ccb4ad585a6a7111fa07be344adbd7c40a427dfa0c9ec863f2f19c54d7664e6da9f7930598182950c6a86a3aaee917a8ad5e23c2cf1e9f9d7e6da29b5a9524c
6
+ metadata.gz: 299096c2c0d270574a306bf7fce4c645dd001fbb4488cd15b97eb36a5bc9ed71cf4b041b6a99ca9242459f5a01816f26b3a694b8e56b62b357e97c9cb12d48f9
7
+ data.tar.gz: dd32f8a520b46701ee6b9abce03ad1ac2a2b727d08547f7b8e464bbc1f21f9ae7381f2aa7c5e000b8bdd9d183817e8293bd3e10960ebd9060dce26c424c4a490
data/ext/tdes/extconf.rb CHANGED
@@ -10,11 +10,14 @@ with_cflags(cflags) do
10
10
  abort 'missing openssl/des.h' unless have_header('openssl/des.h')
11
11
  abort 'missing type DES_key_schedule' unless have_type('DES_key_schedule', 'openssl/des.h')
12
12
  abort 'missing type DES_cblock' unless have_type('DES_cblock', 'openssl/des.h')
13
- abort 'missing DES_set_key_checked' unless have_func('DES_set_key_checked', 'openssl/des.h')
14
- abort 'missing DES_ecb3_encrypt' unless have_func('DES_ecb3_encrypt', 'openssl/des.h')
15
13
 
16
- # Check for a symbol/function specific to OpenSSL 3.x
17
- abort 'OpenSSL 3.x required (missing EVP_Cipher function)' unless have_func('EVP_Cipher')
14
+ # On MacOS, have_func does not work well because the default compiler is clang instead of gcc
15
+ unless RUBY_PLATFORM.downcase.include? 'darwin'
16
+ abort 'missing DES_set_key_checked' unless have_func('DES_set_key_checked', 'openssl/des.h')
17
+ abort 'missing DES_ecb3_encrypt' unless have_func('DES_ecb3_encrypt', 'openssl/des.h')
18
+ # Check for a symbol/function specific to OpenSSL 3.x
19
+ abort 'OpenSSL 3.x required (missing EVP_Cipher function)' unless have_func('EVP_Cipher')
20
+ end
18
21
 
19
22
  create_makefile 'tdes/tdes'
20
23
  end
data/lib/tdes/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tdes
4
- VERSION = '3.0.5'
4
+ VERSION = '3.0.7'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdes
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.5
4
+ version: 3.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Bastos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2024-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest