cracklib_reloaded 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/cracklib_reloaded/password.rb +6 -7
- data/lib/cracklib_reloaded/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: 0d9cf7dbb03f7f64797279ed4a386adcc8ec1d11
|
4
|
+
data.tar.gz: 164b30dc0c97216a393a00bb27f56acc34a8cb95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac4b4822970dd6394e771666041752ae0dbba1377456dfdded4a4e162ef6b9ea2728c58aacf382bee2c2828152e3ac824c9dfa2f84fef747bec5d40031a279cc
|
7
|
+
data.tar.gz: a293db95c3b01a016cefaa5419fa6c3fefe6c47ae8c41c2c52531b84b0691dc15645ad6c1460c3f91f8f81da444bbc02e6b519df73fb122eee16a6f797b31f74
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## [v0.1.4](https://github.com/efigence/cracklib_reloaded/tree/v0.1.4) (2017-05-17)
|
4
|
+
[Full Changelog](https://github.com/efigence/cracklib_reloaded/compare/v0.1.3...v0.1.4)
|
5
|
+
|
6
|
+
## [v0.1.3](https://github.com/efigence/cracklib_reloaded/tree/v0.1.3) (2017-05-17)
|
7
|
+
[Full Changelog](https://github.com/efigence/cracklib_reloaded/compare/v0.1.2...v0.1.3)
|
8
|
+
|
9
|
+
## [v0.1.2](https://github.com/efigence/cracklib_reloaded/tree/v0.1.2) (2017-05-17)
|
10
|
+
[Full Changelog](https://github.com/efigence/cracklib_reloaded/compare/0.1.0...v0.1.2)
|
11
|
+
|
3
12
|
## [0.1.0](https://github.com/efigence/cracklib_reloaded/tree/0.1.0) (2017-05-09)
|
4
13
|
|
5
14
|
|
@@ -5,13 +5,12 @@ require 'ffi'
|
|
5
5
|
module CracklibReloaded
|
6
6
|
module CracklibReloadedFfiMixin
|
7
7
|
extend FFI::Library
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
].select { |file| File.readable?(file) }.first.freeze
|
8
|
+
libcrack_so_paths = []
|
9
|
+
libcrack_so_paths << ENV['LIBCRACK_SO_PATH'].to_s
|
10
|
+
libcrack_so_paths << '/usr/lib/libcrack.so.2' if 0.to_i.size != 8
|
11
|
+
libcrack_so_paths << '/usr/lib64/libcrack.so.2'
|
12
|
+
libcrack_so_paths << '/usr/lib/x86_64-linux-gnu/libcrack.so.2'
|
13
|
+
LIBCRACK_SO_PATH = libcrack_so_paths.select { |file| File.readable?(file) }.first.freeze
|
15
14
|
|
16
15
|
ffi_lib LIBCRACK_SO_PATH
|
17
16
|
attach_function :cracklib_default_dict, :GetDefaultCracklibDict, [], :string
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cracklib_reloaded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcin Kalita
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|