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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9d61ee354e6653faae0d73fec61c9db8c96fe1e
4
- data.tar.gz: 8be59f6b7b535d87ed81cf66f6a78aa0d37a456c
3
+ metadata.gz: 0d9cf7dbb03f7f64797279ed4a386adcc8ec1d11
4
+ data.tar.gz: 164b30dc0c97216a393a00bb27f56acc34a8cb95
5
5
  SHA512:
6
- metadata.gz: d08ec5c425bada573049e869ee5f85e5c9b8fee86d5f715d52729dee3b20ea1696bf4b5970c290b262227c1ceeeb6fee40b170060e2e54511839de0595496200
7
- data.tar.gz: 1412de4958d4f933f884f7a856535a718baa515b44b312e57e0fe1ae91cfdeb66f73d615941c1d37e9cb5001e6d3a59e9336453ac25f9c8ff721299da5322a64
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
- LIBCRACK_SO_PATH = [
10
- ENV['LIBCRACK_SO_PATH'].to_s,
11
- '/usr/lib/libcrack.so.2',
12
- '/usr/lib64/libcrack.so.2',
13
- '/usr/lib/x86_64-linux-gnu/libcrack.so.2'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CracklibReloaded
4
- VERSION = '0.1.4'
4
+ VERSION = '0.1.5'
5
5
  end
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
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-05-17 00:00:00.000000000 Z
11
+ date: 2017-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi