argon2 2.1.3 → 2.2.0

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: 117208813bd32c3221d1553b236a99c1bdff7bb67b2043df81f3d6da452c0673
4
- data.tar.gz: cd12a36287b85e5406bbdeaa9e92a69051c6f1877560063ac38acedcaf1aaa6d
3
+ metadata.gz: f926025634562667dbc1575383b09a6d3178248f1551325726f1dc194472b0e5
4
+ data.tar.gz: a4876cbbaf99df1062ac39f668e3af254c5b45b1d431bf5e7180e3076fd20d3d
5
5
  SHA512:
6
- metadata.gz: adc5da0bf66689aa8d601521b0aebaf2a25c467d5c9e8d1d81fbb1efa6882f75d7330f25221b21b789dd6a34359a1af08aa4a49d188718aada38c4acec3b1690
7
- data.tar.gz: 57484f607bca24b01fb63e4892037333fc089a0fd253e1771d2cf0b0f06aa18339108fd8d796bbca8201bca2e48e5729551803f92d74601449fd1082a002a7a5
6
+ metadata.gz: e5c592dc870390af4ad6fbce1ea4b3b4b5be6fa25574f18ac44d0509dab1adef3bb21e1e1c5a84b01d364e335f4b4b01460a0a4207c96734ae67f0b4ff12289a
7
+ data.tar.gz: c59f5baeea0c7ff436f77a4dadc267c5619ceccf2749ee25a428173abbf4842606a48bbd90f74a89cbd6347cc31dc643447b926cb6caccdcbcf04d7eabfb19a8
data/bin/setup CHANGED
@@ -10,5 +10,6 @@ git submodule update --init --recursive
10
10
  # Build the Argon2 C Library. Git submodules must be initialized first!
11
11
  bundle install
12
12
  cd ext/argon2_wrap/
13
+ ruby extconf.rb
13
14
  make
14
15
  cd ../..
@@ -60,6 +60,7 @@ LIB_SH := lib$(LIB_NAME).$(LIB_EXT)
60
60
  all: libs
61
61
  libs: $(SRC)
62
62
  $(CC) $(CFLAGS) $(LIB_CFLAGS) $^ -o libargon2_wrap.$(LIB_EXT)
63
+ cp libargon2_wrap.$(LIB_EXT) ../../lib
63
64
 
64
65
  #Deliberately avoiding the CFLAGS for our test cases - disable optimise and
65
66
  #C89
Binary file
@@ -1,2 +1,5 @@
1
1
  # frozen_string_literal: true
2
- #I must admit I have no understanding of why this empty file works.
2
+
3
+ require 'mkmf'
4
+
5
+ File.rename('Makefile.real', 'Makefile')
@@ -3,5 +3,5 @@
3
3
  # Standard Gem version constant.
4
4
 
5
5
  module Argon2
6
- VERSION = "2.1.3"
6
+ VERSION = "2.2.0"
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: argon2
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Technion
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-26 00:00:00.000000000 Z
11
+ date: 2022-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -160,10 +160,10 @@ files:
160
160
  - bin/console
161
161
  - bin/setup
162
162
  - bin/test
163
- - ext/argon2_wrap/Makefile
163
+ - ext/argon2_wrap/Makefile.real
164
164
  - ext/argon2_wrap/argon_wrap.c
165
+ - ext/argon2_wrap/argon_wrap.o
165
166
  - ext/argon2_wrap/extconf.rb
166
- - ext/argon2_wrap/libargon2_wrap.so
167
167
  - ext/argon2_wrap/test.c
168
168
  - ext/phc-winner-argon2/.git
169
169
  - ext/phc-winner-argon2/.gitattributes
Binary file