devise-secure-password 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Changelog.md +98 -0
- data/Dockerfile +44 -0
- data/Dockerfile.prev +44 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +272 -0
- data/LICENSE.txt +21 -0
- data/README.md +382 -0
- data/Rakefile +11 -0
- data/app/controllers/devise/passwords_with_policy_controller.rb +93 -0
- data/app/views/devise/passwords_with_policy/edit.html.erb +20 -0
- data/bin/console +14 -0
- data/bin/setup +6 -0
- data/config/locales/en.yml +84 -0
- data/devise-secure-password.gemspec +57 -0
- data/docker-entrypoint.sh +6 -0
- data/gemfiles/rails_5_1.gemfile +21 -0
- data/gemfiles/rails_5_2.gemfile +22 -0
- data/lib/devise/secure_password.rb +71 -0
- data/lib/devise/secure_password/controllers/devise_helpers.rb +23 -0
- data/lib/devise/secure_password/controllers/helpers.rb +58 -0
- data/lib/devise/secure_password/grammar.rb +13 -0
- data/lib/devise/secure_password/models/password_disallows_frequent_changes.rb +62 -0
- data/lib/devise/secure_password/models/password_disallows_frequent_reuse.rb +73 -0
- data/lib/devise/secure_password/models/password_has_required_content.rb +170 -0
- data/lib/devise/secure_password/models/password_requires_regular_updates.rb +54 -0
- data/lib/devise/secure_password/models/previous_password.rb +20 -0
- data/lib/devise/secure_password/routes.rb +11 -0
- data/lib/devise/secure_password/version.rb +5 -0
- data/lib/generators/devise/secure_password/install_generator.rb +30 -0
- data/lib/generators/devise/templates/README.txt +21 -0
- data/lib/generators/devise/templates/secure_password.rb +43 -0
- data/lib/support/string/character_counter.rb +55 -0
- data/pkg/devise-secure-password-1.1.1.gem +0 -0
- metadata +429 -0
Binary file
|
metadata
ADDED
@@ -0,0 +1,429 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: devise-secure-password
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mark Eissler
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-03-19 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: devise
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.0.0
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 5.0.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 4.0.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 5.0.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: railties
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 5.0.0
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 7.0.0
|
43
|
+
type: :runtime
|
44
|
+
prerelease: false
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: 5.0.0
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 7.0.0
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: bundler
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 1.16.1
|
60
|
+
type: :development
|
61
|
+
prerelease: false
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 1.16.1
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: capybara
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 2.16.1
|
74
|
+
- - "~>"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: '3.11'
|
77
|
+
type: :development
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 2.16.1
|
84
|
+
- - "~>"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '3.11'
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: capybara-screenshot
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.0.18
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 1.0.18
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: coffee-rails
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - "~>"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '4.2'
|
108
|
+
type: :development
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - "~>"
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '4.2'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: database_cleaner
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '1.6'
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.6.2
|
125
|
+
type: :development
|
126
|
+
prerelease: false
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.6'
|
132
|
+
- - ">="
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 1.6.2
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: devise
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - "~>"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '4.0'
|
142
|
+
type: :development
|
143
|
+
prerelease: false
|
144
|
+
version_requirements: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - "~>"
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '4.0'
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: flay
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
152
|
+
requirements:
|
153
|
+
- - ">="
|
154
|
+
- !ruby/object:Gem::Version
|
155
|
+
version: 2.10.0
|
156
|
+
type: :development
|
157
|
+
prerelease: false
|
158
|
+
version_requirements: !ruby/object:Gem::Requirement
|
159
|
+
requirements:
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 2.10.0
|
163
|
+
- !ruby/object:Gem::Dependency
|
164
|
+
name: launchy
|
165
|
+
requirement: !ruby/object:Gem::Requirement
|
166
|
+
requirements:
|
167
|
+
- - ">="
|
168
|
+
- !ruby/object:Gem::Version
|
169
|
+
version: 2.4.3
|
170
|
+
type: :development
|
171
|
+
prerelease: false
|
172
|
+
version_requirements: !ruby/object:Gem::Requirement
|
173
|
+
requirements:
|
174
|
+
- - ">="
|
175
|
+
- !ruby/object:Gem::Version
|
176
|
+
version: 2.4.3
|
177
|
+
- !ruby/object:Gem::Dependency
|
178
|
+
name: rails
|
179
|
+
requirement: !ruby/object:Gem::Requirement
|
180
|
+
requirements:
|
181
|
+
- - ">="
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: 5.2.0
|
184
|
+
- - "~>"
|
185
|
+
- !ruby/object:Gem::Version
|
186
|
+
version: '5.2'
|
187
|
+
type: :development
|
188
|
+
prerelease: false
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
190
|
+
requirements:
|
191
|
+
- - ">="
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: 5.2.0
|
194
|
+
- - "~>"
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '5.2'
|
197
|
+
- !ruby/object:Gem::Dependency
|
198
|
+
name: rake
|
199
|
+
requirement: !ruby/object:Gem::Requirement
|
200
|
+
requirements:
|
201
|
+
- - ">="
|
202
|
+
- !ruby/object:Gem::Version
|
203
|
+
version: '12.3'
|
204
|
+
type: :development
|
205
|
+
prerelease: false
|
206
|
+
version_requirements: !ruby/object:Gem::Requirement
|
207
|
+
requirements:
|
208
|
+
- - ">="
|
209
|
+
- !ruby/object:Gem::Version
|
210
|
+
version: '12.3'
|
211
|
+
- !ruby/object:Gem::Dependency
|
212
|
+
name: rspec
|
213
|
+
requirement: !ruby/object:Gem::Requirement
|
214
|
+
requirements:
|
215
|
+
- - ">="
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: '3.7'
|
218
|
+
type: :development
|
219
|
+
prerelease: false
|
220
|
+
version_requirements: !ruby/object:Gem::Requirement
|
221
|
+
requirements:
|
222
|
+
- - ">="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '3.7'
|
225
|
+
- !ruby/object:Gem::Dependency
|
226
|
+
name: rspec-rails
|
227
|
+
requirement: !ruby/object:Gem::Requirement
|
228
|
+
requirements:
|
229
|
+
- - ">="
|
230
|
+
- !ruby/object:Gem::Version
|
231
|
+
version: '3.7'
|
232
|
+
type: :development
|
233
|
+
prerelease: false
|
234
|
+
version_requirements: !ruby/object:Gem::Requirement
|
235
|
+
requirements:
|
236
|
+
- - ">="
|
237
|
+
- !ruby/object:Gem::Version
|
238
|
+
version: '3.7'
|
239
|
+
- !ruby/object:Gem::Dependency
|
240
|
+
name: rspec_junit_formatter
|
241
|
+
requirement: !ruby/object:Gem::Requirement
|
242
|
+
requirements:
|
243
|
+
- - ">="
|
244
|
+
- !ruby/object:Gem::Version
|
245
|
+
version: '0.3'
|
246
|
+
type: :development
|
247
|
+
prerelease: false
|
248
|
+
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
requirements:
|
250
|
+
- - ">="
|
251
|
+
- !ruby/object:Gem::Version
|
252
|
+
version: '0.3'
|
253
|
+
- !ruby/object:Gem::Dependency
|
254
|
+
name: rubocop
|
255
|
+
requirement: !ruby/object:Gem::Requirement
|
256
|
+
requirements:
|
257
|
+
- - ">="
|
258
|
+
- !ruby/object:Gem::Version
|
259
|
+
version: 0.74.0
|
260
|
+
type: :development
|
261
|
+
prerelease: false
|
262
|
+
version_requirements: !ruby/object:Gem::Requirement
|
263
|
+
requirements:
|
264
|
+
- - ">="
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
version: 0.74.0
|
267
|
+
- !ruby/object:Gem::Dependency
|
268
|
+
name: rubocop-rails
|
269
|
+
requirement: !ruby/object:Gem::Requirement
|
270
|
+
requirements:
|
271
|
+
- - ">="
|
272
|
+
- !ruby/object:Gem::Version
|
273
|
+
version: 2.3.2
|
274
|
+
type: :development
|
275
|
+
prerelease: false
|
276
|
+
version_requirements: !ruby/object:Gem::Requirement
|
277
|
+
requirements:
|
278
|
+
- - ">="
|
279
|
+
- !ruby/object:Gem::Version
|
280
|
+
version: 2.3.2
|
281
|
+
- !ruby/object:Gem::Dependency
|
282
|
+
name: rubocop-rspec
|
283
|
+
requirement: !ruby/object:Gem::Requirement
|
284
|
+
requirements:
|
285
|
+
- - ">="
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: 1.35.0
|
288
|
+
type: :development
|
289
|
+
prerelease: false
|
290
|
+
version_requirements: !ruby/object:Gem::Requirement
|
291
|
+
requirements:
|
292
|
+
- - ">="
|
293
|
+
- !ruby/object:Gem::Version
|
294
|
+
version: 1.35.0
|
295
|
+
- !ruby/object:Gem::Dependency
|
296
|
+
name: ruby2ruby
|
297
|
+
requirement: !ruby/object:Gem::Requirement
|
298
|
+
requirements:
|
299
|
+
- - ">="
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: 2.4.0
|
302
|
+
type: :development
|
303
|
+
prerelease: false
|
304
|
+
version_requirements: !ruby/object:Gem::Requirement
|
305
|
+
requirements:
|
306
|
+
- - ">="
|
307
|
+
- !ruby/object:Gem::Version
|
308
|
+
version: 2.4.0
|
309
|
+
- !ruby/object:Gem::Dependency
|
310
|
+
name: selenium-webdriver
|
311
|
+
requirement: !ruby/object:Gem::Requirement
|
312
|
+
requirements:
|
313
|
+
- - ">="
|
314
|
+
- !ruby/object:Gem::Version
|
315
|
+
version: 3.7.0
|
316
|
+
type: :development
|
317
|
+
prerelease: false
|
318
|
+
version_requirements: !ruby/object:Gem::Requirement
|
319
|
+
requirements:
|
320
|
+
- - ">="
|
321
|
+
- !ruby/object:Gem::Version
|
322
|
+
version: 3.7.0
|
323
|
+
- !ruby/object:Gem::Dependency
|
324
|
+
name: simplecov
|
325
|
+
requirement: !ruby/object:Gem::Requirement
|
326
|
+
requirements:
|
327
|
+
- - "~>"
|
328
|
+
- !ruby/object:Gem::Version
|
329
|
+
version: 0.18.2
|
330
|
+
type: :development
|
331
|
+
prerelease: false
|
332
|
+
version_requirements: !ruby/object:Gem::Requirement
|
333
|
+
requirements:
|
334
|
+
- - "~>"
|
335
|
+
- !ruby/object:Gem::Version
|
336
|
+
version: 0.18.2
|
337
|
+
- !ruby/object:Gem::Dependency
|
338
|
+
name: simplecov-console
|
339
|
+
requirement: !ruby/object:Gem::Requirement
|
340
|
+
requirements:
|
341
|
+
- - ">="
|
342
|
+
- !ruby/object:Gem::Version
|
343
|
+
version: 0.4.2
|
344
|
+
type: :development
|
345
|
+
prerelease: false
|
346
|
+
version_requirements: !ruby/object:Gem::Requirement
|
347
|
+
requirements:
|
348
|
+
- - ">="
|
349
|
+
- !ruby/object:Gem::Version
|
350
|
+
version: 0.4.2
|
351
|
+
- !ruby/object:Gem::Dependency
|
352
|
+
name: sqlite3
|
353
|
+
requirement: !ruby/object:Gem::Requirement
|
354
|
+
requirements:
|
355
|
+
- - ">="
|
356
|
+
- !ruby/object:Gem::Version
|
357
|
+
version: 1.3.13
|
358
|
+
type: :development
|
359
|
+
prerelease: false
|
360
|
+
version_requirements: !ruby/object:Gem::Requirement
|
361
|
+
requirements:
|
362
|
+
- - ">="
|
363
|
+
- !ruby/object:Gem::Version
|
364
|
+
version: 1.3.13
|
365
|
+
description: Adds configurable password policy enforcement to devise.
|
366
|
+
email:
|
367
|
+
- mark.eissler@valimail.com
|
368
|
+
executables: []
|
369
|
+
extensions: []
|
370
|
+
extra_rdoc_files: []
|
371
|
+
files:
|
372
|
+
- "./CODE_OF_CONDUCT.md"
|
373
|
+
- "./Changelog.md"
|
374
|
+
- "./Dockerfile"
|
375
|
+
- "./Dockerfile.prev"
|
376
|
+
- "./Gemfile"
|
377
|
+
- "./Gemfile.lock"
|
378
|
+
- "./LICENSE.txt"
|
379
|
+
- "./README.md"
|
380
|
+
- "./Rakefile"
|
381
|
+
- "./app/controllers/devise/passwords_with_policy_controller.rb"
|
382
|
+
- "./app/views/devise/passwords_with_policy/edit.html.erb"
|
383
|
+
- "./bin/console"
|
384
|
+
- "./bin/setup"
|
385
|
+
- "./config/locales/en.yml"
|
386
|
+
- "./devise-secure-password.gemspec"
|
387
|
+
- "./docker-entrypoint.sh"
|
388
|
+
- "./gemfiles/rails_5_1.gemfile"
|
389
|
+
- "./gemfiles/rails_5_2.gemfile"
|
390
|
+
- "./lib/devise/secure_password.rb"
|
391
|
+
- "./lib/devise/secure_password/controllers/devise_helpers.rb"
|
392
|
+
- "./lib/devise/secure_password/controllers/helpers.rb"
|
393
|
+
- "./lib/devise/secure_password/grammar.rb"
|
394
|
+
- "./lib/devise/secure_password/models/password_disallows_frequent_changes.rb"
|
395
|
+
- "./lib/devise/secure_password/models/password_disallows_frequent_reuse.rb"
|
396
|
+
- "./lib/devise/secure_password/models/password_has_required_content.rb"
|
397
|
+
- "./lib/devise/secure_password/models/password_requires_regular_updates.rb"
|
398
|
+
- "./lib/devise/secure_password/models/previous_password.rb"
|
399
|
+
- "./lib/devise/secure_password/routes.rb"
|
400
|
+
- "./lib/devise/secure_password/version.rb"
|
401
|
+
- "./lib/generators/devise/secure_password/install_generator.rb"
|
402
|
+
- "./lib/generators/devise/templates/README.txt"
|
403
|
+
- "./lib/generators/devise/templates/secure_password.rb"
|
404
|
+
- "./lib/support/string/character_counter.rb"
|
405
|
+
- "./pkg/devise-secure-password-1.1.1.gem"
|
406
|
+
homepage: https://github.com/valimail/devise-secure_password
|
407
|
+
licenses:
|
408
|
+
- MIT
|
409
|
+
metadata: {}
|
410
|
+
post_install_message:
|
411
|
+
rdoc_options: []
|
412
|
+
require_paths:
|
413
|
+
- lib
|
414
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
415
|
+
requirements:
|
416
|
+
- - ">="
|
417
|
+
- !ruby/object:Gem::Version
|
418
|
+
version: '2.4'
|
419
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
420
|
+
requirements:
|
421
|
+
- - ">="
|
422
|
+
- !ruby/object:Gem::Version
|
423
|
+
version: '0'
|
424
|
+
requirements: []
|
425
|
+
rubygems_version: 3.0.3
|
426
|
+
signing_key:
|
427
|
+
specification_version: 4
|
428
|
+
summary: A devise password policy enforcement extension.
|
429
|
+
test_files: []
|