password_strength 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/.travis.yml +8 -6
- data/Gemfile +1 -1
- data/README.md +31 -5
- data/Rakefile +2 -0
- data/app/assets/javascripts/jquery_strength.js +10 -2
- data/app/assets/javascripts/password_strength.js +24 -3
- data/gemfiles/{ar_3_2.gemfile → am_3_2.gemfile} +1 -1
- data/gemfiles/{ar_4_0.gemfile → am_4_0.gemfile} +1 -1
- data/gemfiles/{ar_4_1.gemfile → am_4_1.gemfile} +1 -1
- data/gemfiles/am_4_2.gemfile +4 -0
- data/lib/password_strength/active_model.rb +1 -1
- data/lib/password_strength/base.rb +8 -0
- data/lib/password_strength/version.rb +2 -2
- data/package.json +11 -0
- data/password_strength.gemspec +2 -4
- data/support/common.txt +14 -14
- data/test/active_model_test.rb +2 -3
- data/test/password_strength_test.html +12 -34
- data/test/password_strength_test.js +321 -251
- data/test/password_strength_test.rb +8 -2
- data/test/test_helper.rb +14 -5
- data/test/user.rb +14 -1
- data/test/validators/windows2008_test.rb +1 -1
- metadata +11 -49
- data/Gemfile.lock +0 -64
- data/test/jquery-1.4.2.js +0 -6240
- data/test/jquery_strength_test.html +0 -43
- data/test/jquery_strength_test.js +0 -105
- data/test/jsunittest/jsunittest.js +0 -1017
- data/test/jsunittest/unittest.css +0 -54
- data/test/schema.rb +0 -8
@@ -1,54 +0,0 @@
|
|
1
|
-
body, div, p, h1, h2, h3, ul, ol, span, a, table, td, form, img, li {
|
2
|
-
font-family: sans-serif;
|
3
|
-
}
|
4
|
-
|
5
|
-
body {
|
6
|
-
font-size:0.8em;
|
7
|
-
}
|
8
|
-
|
9
|
-
#log {
|
10
|
-
padding-bottom: 1em;
|
11
|
-
border-bottom: 2px solid #000;
|
12
|
-
margin-bottom: 2em;
|
13
|
-
}
|
14
|
-
|
15
|
-
.logsummary {
|
16
|
-
margin-top: 1em;
|
17
|
-
margin-bottom: 1em;
|
18
|
-
padding: 1ex;
|
19
|
-
border: 1px solid #000;
|
20
|
-
font-weight: bold;
|
21
|
-
}
|
22
|
-
|
23
|
-
.logtable {
|
24
|
-
width:100%;
|
25
|
-
border-collapse: collapse;
|
26
|
-
border: 1px dotted #666;
|
27
|
-
}
|
28
|
-
|
29
|
-
.logtable td, .logtable th {
|
30
|
-
text-align: left;
|
31
|
-
padding: 3px 8px;
|
32
|
-
border: 1px dotted #666;
|
33
|
-
}
|
34
|
-
|
35
|
-
.logtable .passed {
|
36
|
-
background-color: #cfc;
|
37
|
-
}
|
38
|
-
|
39
|
-
.logtable .failed, .logtable .error {
|
40
|
-
background-color: #fcc;
|
41
|
-
}
|
42
|
-
|
43
|
-
.logtable .warning {
|
44
|
-
background-color: #FC6;
|
45
|
-
}
|
46
|
-
|
47
|
-
.logtable td div.action_buttons {
|
48
|
-
display: inline;
|
49
|
-
}
|
50
|
-
|
51
|
-
.logtable td div.action_buttons input {
|
52
|
-
margin: 0 5px;
|
53
|
-
font-size: 10px;
|
54
|
-
}
|