tdes 2.0.1 → 3.0.4

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: 3c6c14c10e550e551c174f5f7bb326b1f776f438ad24dad86560bf5c1124213a
4
- data.tar.gz: c415c650eabd30d776aa3f536be207218c4c666873f5f5c830958995f88d79bc
3
+ metadata.gz: 0c6a15fe6685b2e065b51b8e278fae90d5a976a182ef8c2e396d33a42d9a3e6d
4
+ data.tar.gz: 39aaef3ddf48bddac9c6ebee5a73a10f34cd9c4adb606c190dd89aadfffb3a18
5
5
  SHA512:
6
- metadata.gz: 02faa963d70d327db66a18c0879c2af94531a1ca5964d5475ab3668d433b565fa6b3561a2921388267170c746eb48c829b07c961d5b65c8b891cc83250399370
7
- data.tar.gz: 0a509a2623c042b551a84f049d35217736f19591f22c4e29b0f9c34a6ed045ce104cd762b5f8b669ac172aab92fcabfb0bd115b0100b599e077ecd219e464941
6
+ metadata.gz: bce3f20a2499f7c323fcf2b6b67d2f75edfdc25c695d9938b0602a602cc48d67d8257d99cead3873b6e83604b46fb877eb9badfed83c44b46cb5d8248914337a
7
+ data.tar.gz: b741d267f9823511ce01fdec8fc48b376bc468285e8260462a9505b2d6c3b7f11df9daf1082b6d390b898f98a4d306cf66efe9fcdb67ca7ef6970c9f2cdace06
data/ext/tdes/extconf.rb CHANGED
@@ -13,6 +13,9 @@ with_cflags(cflags) do
13
13
  abort 'missing DES_set_key_checked' unless have_func('DES_set_key_checked', 'openssl/des.h')
14
14
  abort 'missing DES_ecb3_encrypt' unless have_func('DES_ecb3_encrypt', 'openssl/des.h')
15
15
 
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')
18
+
16
19
  create_makefile 'tdes/tdes'
17
20
  end
18
21
  end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Tdes
4
+ VERSION = '3.0.4'
5
+ end
data/lib/tdes.rb CHANGED
@@ -1 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tdes/version'
4
+
5
+ # loads the C extension
1
6
  require 'tdes/tdes'
metadata CHANGED
@@ -1,44 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tdes
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriel Bastos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-07 00:00:00.000000000 Z
11
+ date: 2024-08-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: rake-compiler
14
+ name: minitest
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '5'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: '5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: jeweler
28
+ name: rake-compiler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '1'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
41
- description: triple DES encryption implemented in C using openssl
40
+ version: '1'
41
+ description: 'triple DES encryption implemented in C using openssl
42
+
43
+ '
42
44
  email: gabriel.bastos@cloudwalk.io
43
45
  executables: []
44
46
  extensions:
@@ -52,26 +54,30 @@ files:
52
54
  - ext/tdes/tdes_class.c
53
55
  - ext/tdes/tdes_class.h
54
56
  - lib/tdes.rb
57
+ - lib/tdes/version.rb
55
58
  homepage: https://github.com/cloudwalk/ruby-3des
56
59
  licenses:
57
60
  - MIT
58
- metadata: {}
61
+ metadata:
62
+ rubygems_mfa_required: 'true'
59
63
  post_install_message:
60
- rdoc_options: []
64
+ rdoc_options:
65
+ - "--main"
66
+ - readme.md
61
67
  require_paths:
62
68
  - lib
63
69
  required_ruby_version: !ruby/object:Gem::Requirement
64
70
  requirements:
65
71
  - - ">="
66
72
  - !ruby/object:Gem::Version
67
- version: '0'
73
+ version: '2.7'
68
74
  required_rubygems_version: !ruby/object:Gem::Requirement
69
75
  requirements:
70
76
  - - ">="
71
77
  - !ruby/object:Gem::Version
72
78
  version: '0'
73
79
  requirements: []
74
- rubygems_version: 3.2.3
80
+ rubygems_version: 3.3.7
75
81
  signing_key:
76
82
  specification_version: 4
77
83
  summary: triple DES encryption implemented in C