simple_form_password_with_hints 0.0.5 → 0.0.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea425bedb4777fa95771ace43f852c35d377e1e2a195608e92a7cb215425df92
|
4
|
+
data.tar.gz: 180140e175d6b610b45795b2f43da2e910e88a9294ea6acad44b9e553a3cb066
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f72ad22369f4d192c0ba501339392bbf4f830645b8f498f64f21fca98e6ec3ac7ff6ef3df77a1f958a4b27b8f28e6018fa00d1d9590e7237cbdcadf0eef9d32d
|
7
|
+
data.tar.gz: aed7b0f198145f35c572f1f485eab0c723d95fb46b0dec1216bce9b7da5b4393b6fffbdf17c2b6878d2966e08d631e28a9ea22d2286dad55c464dfde13665aa5
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
simple_form_password_with_hints (0.0.
|
4
|
+
simple_form_password_with_hints (0.0.7)
|
5
5
|
rails
|
6
6
|
simple_form
|
7
7
|
|
@@ -88,7 +88,7 @@ GEM
|
|
88
88
|
erubi (1.10.0)
|
89
89
|
execjs (2.8.1)
|
90
90
|
ffi (1.15.4)
|
91
|
-
globalid (0.
|
91
|
+
globalid (1.0.0)
|
92
92
|
activesupport (>= 5.0)
|
93
93
|
i18n (1.8.10)
|
94
94
|
concurrent-ruby (~> 1.0)
|
@@ -73,10 +73,12 @@ Element.prototype.parent = function (selector) {
|
|
73
73
|
|
74
74
|
check: function (container, key, value) {
|
75
75
|
var check = container.querySelector('.js-sfpwh-hint-' + key),
|
76
|
-
regexKey
|
77
|
-
regex
|
76
|
+
regexKey,
|
77
|
+
regex;
|
78
78
|
|
79
79
|
if (check) {
|
80
|
+
regexKey = this.getRegex(key, check);
|
81
|
+
regex = new RegExp(regexKey);
|
80
82
|
if (value.match(regex)) {
|
81
83
|
check.classList.remove('sfpwh-hint--invalid');
|
82
84
|
} else {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_form_password_with_hints
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pierre-andré Boissinot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|