simple_form_password_with_hints 0.0.5 → 0.0.6
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: 411165d58276c0c20a5597ff5fdc7fb019952929d639770ea8d64bcd41ec6289
|
4
|
+
data.tar.gz: e4cd204922a412f181ba7bb598908a4c4daaa5902c86ebbf1707dc0a96cc906f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ff1c838a6d2a72d3232987fb7d6356b9e4122d15fc06321e0e089f951c6da79731ddc26052658c2f080f19d1ed73d5d169e2fe041f557a8aa6fb11b3332bf18
|
7
|
+
data.tar.gz: fecbacc41e06e575a289357e6e846fa993f41d2d5060e2504b6eaa64942d947acf1c1cda115450467354cac6301c30339c64056021d523b0efe29b45daca466d
|
data/Gemfile.lock
CHANGED
@@ -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.6
|
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: 2021-10-
|
11
|
+
date: 2021-10-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|