cracklib_reloaded 0.1.0 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/.rspec +3 -0
- data/.travis.yml +20 -2
- data/CHANGELOG.md +1 -0
- data/README.md +8 -5
- data/cracklib_reloaded.gemspec +16 -11
- data/lib/cracklib_reloaded/version.rb +1 -1
- metadata +103 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbdca8fca4ca6b153c31d290305c343adf72daf8
|
4
|
+
data.tar.gz: 9d65fd961d37a20aa02ed56724d857306d48f3f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 150089f0ce091702be740c83a0486e36147ff3193a2cb4fd9017f976e99e6128f2d2f4bb2860cfd0e620b1c572e95f2c2fd23ac0831d5f26ba9e91ca30cf9ef7
|
7
|
+
data.tar.gz: ab0fd73eefcc864f6714899d7f5c3c97b6591d3bf1e13d58591417607633e1f430138fa195abab754be55a389a5c6fbf5ef301a23374897c7892ca045c8895dd
|
data/.gitignore
CHANGED
@@ -95,7 +95,8 @@ Temporary Items
|
|
95
95
|
### Rails ###
|
96
96
|
*.rbc
|
97
97
|
capybara-*.html
|
98
|
-
.rspec
|
98
|
+
# use .rspec-local to override
|
99
|
+
# .rspec
|
99
100
|
/log
|
100
101
|
/tmp
|
101
102
|
/db/*.sqlite3
|
@@ -121,6 +122,7 @@ config/initializers/secret_token.rb
|
|
121
122
|
/vendor/bundle
|
122
123
|
|
123
124
|
# these should all be checked in to normalize the environment:
|
125
|
+
# but not if this is a gem:
|
124
126
|
Gemfile.lock
|
125
127
|
.ruby-version
|
126
128
|
.ruby-gemset
|
data/.rspec
ADDED
data/.travis.yml
CHANGED
@@ -1,5 +1,23 @@
|
|
1
|
-
sudo:
|
1
|
+
sudo: required
|
2
2
|
language: ruby
|
3
3
|
rvm:
|
4
4
|
- 2.4.0
|
5
|
-
|
5
|
+
addons:
|
6
|
+
apt:
|
7
|
+
packages:
|
8
|
+
- language-pack-en
|
9
|
+
- language-pack-en-base
|
10
|
+
- libcrack2
|
11
|
+
- cracklib-runtime
|
12
|
+
env:
|
13
|
+
global:
|
14
|
+
- LANG=en_US.UTF-8
|
15
|
+
- LC_ALL=en_US.UTF-8
|
16
|
+
- LANGUAGE=en_US.UTF-8
|
17
|
+
# `cache` is only available for private projects
|
18
|
+
cache: bundler
|
19
|
+
before_install:
|
20
|
+
- gem update --system --no-doc
|
21
|
+
- gem install bundler -v 1.14.6 --no-doc
|
22
|
+
after_success:
|
23
|
+
- bundle exec codeclimate-test-reporter
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,12 @@
|
|
1
|
-
# CracklibReloaded
|
1
|
+
# CracklibReloaded [![Gem Version](https://badge.fury.io/rb/cracklib_reloaded.svg)](https://badge.fury.io/rb/cracklib_reloaded) [![Build Status](https://travis-ci.org/efigence/cracklib_reloaded.svg?branch=master)](https://travis-ci.org/efigence/cracklib_reloaded) [![Coverage Status](https://coveralls.io/repos/github/efigence/cracklib_reloaded/badge.svg?branch=master)](https://coveralls.io/github/efigence/cracklib_reloaded?branch=master) [![Code Climate](https://codeclimate.com/github/efigence/cracklib_reloaded/badges/gpa.svg)](https://codeclimate.com/github/efigence/cracklib_reloaded)
|
2
2
|
|
3
|
-
|
3
|
+
CrackLib is a library for checking that a password is not based on a simple character pattern or on a dictionary word.
|
4
4
|
|
5
|
-
|
5
|
+
## Dependencies
|
6
|
+
|
7
|
+
* CENTOS 6.x: sudo yum install cracklib cracklib-devel
|
8
|
+
* UBUNTU: sudo apt-get install libcrack2 cracklib-devel
|
9
|
+
* MAC: sudo port install cracklib cracklib-words
|
6
10
|
|
7
11
|
## Installation
|
8
12
|
|
@@ -62,10 +66,9 @@ Equivalent of ActiveModel::Errors#messages
|
|
62
66
|
|
63
67
|
## Contributing
|
64
68
|
|
65
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
69
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/efigence/cracklib_reloaded. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
66
70
|
|
67
71
|
|
68
72
|
## License
|
69
73
|
|
70
74
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
71
|
-
|
data/cracklib_reloaded.gemspec
CHANGED
@@ -36,22 +36,27 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
37
37
|
spec.require_paths = ['lib']
|
38
38
|
|
39
|
-
spec.add_dependency 'ffi'
|
39
|
+
spec.add_dependency 'ffi', '~> 1.9', '>= 1.9.18'
|
40
40
|
|
41
|
+
# http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
|
41
42
|
spec.add_development_dependency 'bundler', '~> 1.14'
|
42
43
|
spec.add_development_dependency 'rake', '~> 10.0'
|
43
44
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
44
|
-
spec.add_development_dependency 'github_changelog_generator'
|
45
|
-
spec.add_development_dependency 'fuubar'
|
46
|
-
spec.add_development_dependency 'guard'
|
47
|
-
spec.add_development_dependency 'guard-bundler'
|
48
|
-
spec.add_development_dependency 'guard-reek'
|
49
|
-
spec.add_development_dependency 'guard-rspec'
|
50
|
-
spec.add_development_dependency 'guard-rubocop'
|
51
|
-
spec.add_development_dependency 'rubocop'
|
45
|
+
spec.add_development_dependency 'github_changelog_generator', '~> 1'
|
46
|
+
spec.add_development_dependency 'fuubar', '~> 2'
|
47
|
+
spec.add_development_dependency 'guard', '~> 2'
|
48
|
+
spec.add_development_dependency 'guard-bundler', '~> 2'
|
49
|
+
spec.add_development_dependency 'guard-reek', '~> 1'
|
50
|
+
spec.add_development_dependency 'guard-rspec', '~> 4'
|
51
|
+
spec.add_development_dependency 'guard-rubocop', '~> 1'
|
52
|
+
spec.add_development_dependency 'rubocop', '~> 0.48.1'
|
52
53
|
# rubocop + rubocop-rspec used by text editor from specific rvm ruby
|
53
54
|
# gem uninstall rubocop && gem install rubocop -v='0.39'
|
54
55
|
# https://github.com/backus/rubocop-rspec/issues/153
|
55
|
-
spec.add_development_dependency 'rubocop-rspec'
|
56
|
-
spec.add_development_dependency 'rubygems-manifest'
|
56
|
+
spec.add_development_dependency 'rubocop-rspec', '~> 1'
|
57
|
+
spec.add_development_dependency 'rubygems-manifest', '~> 0'
|
58
|
+
spec.add_development_dependency 'coveralls', '0.8.19'
|
59
|
+
spec.add_development_dependency 'simplecov', '0.12.0'
|
60
|
+
spec.add_development_dependency 'simplecov-console', '~> 0'
|
61
|
+
spec.add_development_dependency 'codeclimate-test-reporter', '0.4.8'
|
57
62
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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.3
|
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-
|
11
|
+
date: 2017-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
17
20
|
- - ">="
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 1.9.18
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.9'
|
24
30
|
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 1.9.18
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: bundler
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,142 +76,198 @@ dependencies:
|
|
70
76
|
name: github_changelog_generator
|
71
77
|
requirement: !ruby/object:Gem::Requirement
|
72
78
|
requirements:
|
73
|
-
- - "
|
79
|
+
- - "~>"
|
74
80
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
81
|
+
version: '1'
|
76
82
|
type: :development
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
79
85
|
requirements:
|
80
|
-
- - "
|
86
|
+
- - "~>"
|
81
87
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
88
|
+
version: '1'
|
83
89
|
- !ruby/object:Gem::Dependency
|
84
90
|
name: fuubar
|
85
91
|
requirement: !ruby/object:Gem::Requirement
|
86
92
|
requirements:
|
87
|
-
- - "
|
93
|
+
- - "~>"
|
88
94
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
95
|
+
version: '2'
|
90
96
|
type: :development
|
91
97
|
prerelease: false
|
92
98
|
version_requirements: !ruby/object:Gem::Requirement
|
93
99
|
requirements:
|
94
|
-
- - "
|
100
|
+
- - "~>"
|
95
101
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
102
|
+
version: '2'
|
97
103
|
- !ruby/object:Gem::Dependency
|
98
104
|
name: guard
|
99
105
|
requirement: !ruby/object:Gem::Requirement
|
100
106
|
requirements:
|
101
|
-
- - "
|
107
|
+
- - "~>"
|
102
108
|
- !ruby/object:Gem::Version
|
103
|
-
version: '
|
109
|
+
version: '2'
|
104
110
|
type: :development
|
105
111
|
prerelease: false
|
106
112
|
version_requirements: !ruby/object:Gem::Requirement
|
107
113
|
requirements:
|
108
|
-
- - "
|
114
|
+
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
|
-
version: '
|
116
|
+
version: '2'
|
111
117
|
- !ruby/object:Gem::Dependency
|
112
118
|
name: guard-bundler
|
113
119
|
requirement: !ruby/object:Gem::Requirement
|
114
120
|
requirements:
|
115
|
-
- - "
|
121
|
+
- - "~>"
|
116
122
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
123
|
+
version: '2'
|
118
124
|
type: :development
|
119
125
|
prerelease: false
|
120
126
|
version_requirements: !ruby/object:Gem::Requirement
|
121
127
|
requirements:
|
122
|
-
- - "
|
128
|
+
- - "~>"
|
123
129
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
130
|
+
version: '2'
|
125
131
|
- !ruby/object:Gem::Dependency
|
126
132
|
name: guard-reek
|
127
133
|
requirement: !ruby/object:Gem::Requirement
|
128
134
|
requirements:
|
129
|
-
- - "
|
135
|
+
- - "~>"
|
130
136
|
- !ruby/object:Gem::Version
|
131
|
-
version: '
|
137
|
+
version: '1'
|
132
138
|
type: :development
|
133
139
|
prerelease: false
|
134
140
|
version_requirements: !ruby/object:Gem::Requirement
|
135
141
|
requirements:
|
136
|
-
- - "
|
142
|
+
- - "~>"
|
137
143
|
- !ruby/object:Gem::Version
|
138
|
-
version: '
|
144
|
+
version: '1'
|
139
145
|
- !ruby/object:Gem::Dependency
|
140
146
|
name: guard-rspec
|
141
147
|
requirement: !ruby/object:Gem::Requirement
|
142
148
|
requirements:
|
143
|
-
- - "
|
149
|
+
- - "~>"
|
144
150
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
151
|
+
version: '4'
|
146
152
|
type: :development
|
147
153
|
prerelease: false
|
148
154
|
version_requirements: !ruby/object:Gem::Requirement
|
149
155
|
requirements:
|
150
|
-
- - "
|
156
|
+
- - "~>"
|
151
157
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
158
|
+
version: '4'
|
153
159
|
- !ruby/object:Gem::Dependency
|
154
160
|
name: guard-rubocop
|
155
161
|
requirement: !ruby/object:Gem::Requirement
|
156
162
|
requirements:
|
157
|
-
- - "
|
163
|
+
- - "~>"
|
158
164
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
165
|
+
version: '1'
|
160
166
|
type: :development
|
161
167
|
prerelease: false
|
162
168
|
version_requirements: !ruby/object:Gem::Requirement
|
163
169
|
requirements:
|
164
|
-
- - "
|
170
|
+
- - "~>"
|
165
171
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
172
|
+
version: '1'
|
167
173
|
- !ruby/object:Gem::Dependency
|
168
174
|
name: rubocop
|
169
175
|
requirement: !ruby/object:Gem::Requirement
|
170
176
|
requirements:
|
171
|
-
- - "
|
177
|
+
- - "~>"
|
172
178
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
179
|
+
version: 0.48.1
|
174
180
|
type: :development
|
175
181
|
prerelease: false
|
176
182
|
version_requirements: !ruby/object:Gem::Requirement
|
177
183
|
requirements:
|
178
|
-
- - "
|
184
|
+
- - "~>"
|
179
185
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
186
|
+
version: 0.48.1
|
181
187
|
- !ruby/object:Gem::Dependency
|
182
188
|
name: rubocop-rspec
|
183
189
|
requirement: !ruby/object:Gem::Requirement
|
184
190
|
requirements:
|
185
|
-
- - "
|
191
|
+
- - "~>"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '1'
|
194
|
+
type: :development
|
195
|
+
prerelease: false
|
196
|
+
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - "~>"
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: '1'
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
name: rubygems-manifest
|
203
|
+
requirement: !ruby/object:Gem::Requirement
|
204
|
+
requirements:
|
205
|
+
- - "~>"
|
186
206
|
- !ruby/object:Gem::Version
|
187
207
|
version: '0'
|
188
208
|
type: :development
|
189
209
|
prerelease: false
|
190
210
|
version_requirements: !ruby/object:Gem::Requirement
|
191
211
|
requirements:
|
192
|
-
- - "
|
212
|
+
- - "~>"
|
193
213
|
- !ruby/object:Gem::Version
|
194
214
|
version: '0'
|
195
215
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
216
|
+
name: coveralls
|
197
217
|
requirement: !ruby/object:Gem::Requirement
|
198
218
|
requirements:
|
199
|
-
- -
|
219
|
+
- - '='
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: 0.8.19
|
222
|
+
type: :development
|
223
|
+
prerelease: false
|
224
|
+
version_requirements: !ruby/object:Gem::Requirement
|
225
|
+
requirements:
|
226
|
+
- - '='
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
version: 0.8.19
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: simplecov
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - '='
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: 0.12.0
|
236
|
+
type: :development
|
237
|
+
prerelease: false
|
238
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - '='
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: 0.12.0
|
243
|
+
- !ruby/object:Gem::Dependency
|
244
|
+
name: simplecov-console
|
245
|
+
requirement: !ruby/object:Gem::Requirement
|
246
|
+
requirements:
|
247
|
+
- - "~>"
|
200
248
|
- !ruby/object:Gem::Version
|
201
249
|
version: '0'
|
202
250
|
type: :development
|
203
251
|
prerelease: false
|
204
252
|
version_requirements: !ruby/object:Gem::Requirement
|
205
253
|
requirements:
|
206
|
-
- - "
|
254
|
+
- - "~>"
|
207
255
|
- !ruby/object:Gem::Version
|
208
256
|
version: '0'
|
257
|
+
- !ruby/object:Gem::Dependency
|
258
|
+
name: codeclimate-test-reporter
|
259
|
+
requirement: !ruby/object:Gem::Requirement
|
260
|
+
requirements:
|
261
|
+
- - '='
|
262
|
+
- !ruby/object:Gem::Version
|
263
|
+
version: 0.4.8
|
264
|
+
type: :development
|
265
|
+
prerelease: false
|
266
|
+
version_requirements: !ruby/object:Gem::Requirement
|
267
|
+
requirements:
|
268
|
+
- - '='
|
269
|
+
- !ruby/object:Gem::Version
|
270
|
+
version: 0.4.8
|
209
271
|
description: CrackLib is a library for checking that a password is not based on a
|
210
272
|
simple character pattern or on a dictionary word.
|
211
273
|
email:
|