client_side_validations-formtastic 2.0.0.beta.1 → 2.0.0.beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/client_side_validations-formtastic.gemspec +1 -2
- data/lib/client_side_validations/formtastic/engine.rb +2 -0
- data/lib/client_side_validations/formtastic/version.rb +1 -1
- data/lib/client_side_validations/formtastic.rb +1 -0
- data/{test/formtastic/cases/helper.rb → lib/client_side_validations-formtastic.rb} +0 -3
- data/vendor/assets/javascripts/rails.validations.formtastic.js +9 -0
- metadata +29 -50
- data/test/action_view/models/post.rb +0 -35
- data/test/action_view/models.rb +0 -2
- data/test/action_view/test_helper.rb +0 -42
- data/test/base_helper.rb +0 -6
- data/test/formtastic/cases/test_form_builder.rb +0 -11
- data/test/formtastic/cases/test_form_helpers.rb +0 -30
- data/test/javascript/config.ru +0 -3
- data/test/javascript/public/test/form_builders/validateFormtastic.js +0 -54
- data/test/javascript/public/test/settings.js +0 -15
- data/test/javascript/public/vendor/jquery.metadata.js +0 -122
- data/test/javascript/public/vendor/qunit.css +0 -196
- data/test/javascript/public/vendor/qunit.js +0 -1374
- data/test/javascript/server.rb +0 -136
- data/test/javascript/views/index.erb +0 -22
- data/test/javascript/views/layout.erb +0 -22
- data/test/test_loader.rb +0 -4
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
/** Font Family and Sizes */
|
|
2
|
-
|
|
3
|
-
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
|
|
4
|
-
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
|
|
8
|
-
#qunit-tests { font-size: smaller; }
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
/** Resets */
|
|
12
|
-
|
|
13
|
-
#qunit-tests, #qunit-tests ol, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult {
|
|
14
|
-
margin: 0;
|
|
15
|
-
padding: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/** Header */
|
|
20
|
-
|
|
21
|
-
#qunit-header {
|
|
22
|
-
padding: 0.5em 0 0.5em 1em;
|
|
23
|
-
|
|
24
|
-
color: #8699a4;
|
|
25
|
-
background-color: #0d3349;
|
|
26
|
-
|
|
27
|
-
font-size: 1.5em;
|
|
28
|
-
line-height: 1em;
|
|
29
|
-
font-weight: normal;
|
|
30
|
-
|
|
31
|
-
border-radius: 15px 15px 0 0;
|
|
32
|
-
-moz-border-radius: 15px 15px 0 0;
|
|
33
|
-
-webkit-border-top-right-radius: 15px;
|
|
34
|
-
-webkit-border-top-left-radius: 15px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
#qunit-header a {
|
|
38
|
-
text-decoration: none;
|
|
39
|
-
color: #c2ccd1;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
#qunit-header a:hover,
|
|
43
|
-
#qunit-header a:focus {
|
|
44
|
-
color: #fff;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
#qunit-banner {
|
|
48
|
-
height: 5px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
#qunit-testrunner-toolbar {
|
|
52
|
-
padding: 0em 0 0.5em 2em;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
#qunit-userAgent {
|
|
56
|
-
padding: 0.5em 0 0.5em 2.5em;
|
|
57
|
-
background-color: #2b81af;
|
|
58
|
-
color: #fff;
|
|
59
|
-
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
/** Tests: Pass/Fail */
|
|
64
|
-
|
|
65
|
-
#qunit-tests {
|
|
66
|
-
list-style-position: inside;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
#qunit-tests li {
|
|
70
|
-
padding: 0.4em 0.5em 0.4em 2.5em;
|
|
71
|
-
border-bottom: 1px solid #fff;
|
|
72
|
-
list-style-position: inside;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
#qunit-tests li strong {
|
|
76
|
-
cursor: pointer;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
#qunit-tests ol {
|
|
80
|
-
margin-top: 0.5em;
|
|
81
|
-
padding: 0.5em;
|
|
82
|
-
|
|
83
|
-
background-color: #fff;
|
|
84
|
-
|
|
85
|
-
border-radius: 15px;
|
|
86
|
-
-moz-border-radius: 15px;
|
|
87
|
-
-webkit-border-radius: 15px;
|
|
88
|
-
|
|
89
|
-
box-shadow: inset 0px 2px 13px #999;
|
|
90
|
-
-moz-box-shadow: inset 0px 2px 13px #999;
|
|
91
|
-
-webkit-box-shadow: inset 0px 2px 13px #999;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
#qunit-tests table {
|
|
95
|
-
border-collapse: collapse;
|
|
96
|
-
margin-top: .2em;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
#qunit-tests th {
|
|
100
|
-
text-align: right;
|
|
101
|
-
vertical-align: top;
|
|
102
|
-
padding: 0 .5em 0 0;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
#qunit-tests td {
|
|
106
|
-
vertical-align: top;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
#qunit-tests pre {
|
|
110
|
-
margin: 0;
|
|
111
|
-
white-space: pre-wrap;
|
|
112
|
-
word-wrap: break-word;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
#qunit-tests del {
|
|
116
|
-
background-color: #e0f2be;
|
|
117
|
-
color: #374e0c;
|
|
118
|
-
text-decoration: none;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
#qunit-tests ins {
|
|
122
|
-
background-color: #ffcaca;
|
|
123
|
-
color: #500;
|
|
124
|
-
text-decoration: none;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/*** Test Counts */
|
|
128
|
-
|
|
129
|
-
#qunit-tests b.counts { color: black; }
|
|
130
|
-
#qunit-tests b.passed { color: #5E740B; }
|
|
131
|
-
#qunit-tests b.failed { color: #710909; }
|
|
132
|
-
|
|
133
|
-
#qunit-tests li li {
|
|
134
|
-
margin: 0.5em;
|
|
135
|
-
padding: 0.4em 0.5em 0.4em 0.5em;
|
|
136
|
-
background-color: #fff;
|
|
137
|
-
border-bottom: none;
|
|
138
|
-
list-style-position: inside;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/*** Passing Styles */
|
|
142
|
-
|
|
143
|
-
#qunit-tests li li.pass {
|
|
144
|
-
color: #5E740B;
|
|
145
|
-
background-color: #fff;
|
|
146
|
-
border-left: 26px solid #C6E746;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
|
|
150
|
-
#qunit-tests .pass .test-name { color: #366097; }
|
|
151
|
-
|
|
152
|
-
#qunit-tests .pass .test-actual,
|
|
153
|
-
#qunit-tests .pass .test-expected { color: #999999; }
|
|
154
|
-
|
|
155
|
-
#qunit-banner.qunit-pass { background-color: #C6E746; }
|
|
156
|
-
|
|
157
|
-
/*** Failing Styles */
|
|
158
|
-
|
|
159
|
-
#qunit-tests li li.fail {
|
|
160
|
-
color: #710909;
|
|
161
|
-
background-color: #fff;
|
|
162
|
-
border-left: 26px solid #EE5757;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
#qunit-tests .fail { color: #000000; background-color: #EE5757; }
|
|
166
|
-
#qunit-tests .fail .test-name,
|
|
167
|
-
#qunit-tests .fail .module-name { color: #000000; }
|
|
168
|
-
|
|
169
|
-
#qunit-tests .fail .test-actual { color: #EE5757; }
|
|
170
|
-
#qunit-tests .fail .test-expected { color: green; }
|
|
171
|
-
|
|
172
|
-
#qunit-banner.qunit-fail,
|
|
173
|
-
#qunit-testrunner-toolbar { background-color: #EE5757; }
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
/** Footer */
|
|
177
|
-
|
|
178
|
-
#qunit-testresult {
|
|
179
|
-
padding: 0.5em 0.5em 0.5em 2.5em;
|
|
180
|
-
|
|
181
|
-
color: #2b81af;
|
|
182
|
-
background-color: #D2E0E6;
|
|
183
|
-
|
|
184
|
-
border-radius: 0 0 15px 15px;
|
|
185
|
-
-moz-border-radius: 0 0 15px 15px;
|
|
186
|
-
-webkit-border-bottom-right-radius: 15px;
|
|
187
|
-
-webkit-border-bottom-left-radius: 15px;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/** Fixture */
|
|
191
|
-
|
|
192
|
-
#qunit-fixture {
|
|
193
|
-
position: absolute;
|
|
194
|
-
top: -10000px;
|
|
195
|
-
left: -10000px;
|
|
196
|
-
}
|