parsley_simple_form 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MDE4MGRhZDg3YTY3ZDBkZmY2ODk1YzBiNDM2MDk1NWZjYzIyOWVjNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MzBhNzFmMzM3ZTYyZDI0MjgzZjRjM2Y3OWE5MmNkZjdkN2ZjNzY3YQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmQ1NzIxMWFhZjRjMWE4ODRjOTZkMWFiNGE2ZmVjOWFhZDUzMTMyMDA4NGQz
|
10
|
+
OTZiZDc5MTFmZTZkODVmZWU1Mjk0MGFkYWFlOWQxOTZjODkzMmFhODRiYzA2
|
11
|
+
YjM1YjEyYTNhMWE0MTE3ZDI4NjFjZjdmNDUxZjllODUwOWU0ZDI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YzhjNjEyZWFhZGI5OGVjMTUzMWRlOTkyOWEzY2UyYzNhZWJjY2YzNzI2YTI0
|
14
|
+
ZDIwNTMwMjJkMDUyZDdjZmNmOGZhNjhmNTNmM2JmMmVjZDc2YzVjN2RlNjQ1
|
15
|
+
ZTMzMjkzYjgyZjFlMjhmOWYwMzQ3ZGZhZmZkMWM3ODE3YjRjNjY=
|
@@ -6,6 +6,7 @@ module ParsleySimpleForm
|
|
6
6
|
options[:builder] = ParsleySimpleForm::FormBuilder
|
7
7
|
options[:html] = {} if options[:html].nil?
|
8
8
|
options[:html][:"data-validate"] = "parsley"
|
9
|
+
options[:html][:novalidate] = true
|
9
10
|
simple_form_for(object, *(args << options), &block)
|
10
11
|
end
|
11
12
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -148,3 +148,93 @@ Connecting to database specified by database.yml
|
|
148
148
|
[1m[35m (0.0ms)[0m rollback transaction
|
149
149
|
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
150
150
|
[1m[35m (0.0ms)[0m rollback transaction
|
151
|
+
Connecting to database specified by database.yml
|
152
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
153
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
154
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
155
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
156
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
157
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
158
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
159
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
160
|
+
Connecting to database specified by database.yml
|
161
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
162
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
163
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
164
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
165
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
166
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
168
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
169
|
+
Connecting to database specified by database.yml
|
170
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
173
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
175
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
177
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
178
|
+
Connecting to database specified by database.yml
|
179
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
180
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
181
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
182
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
183
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
184
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
186
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
187
|
+
Connecting to database specified by database.yml
|
188
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
189
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
191
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
193
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
194
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
195
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
196
|
+
Connecting to database specified by database.yml
|
197
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
198
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
199
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
200
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
201
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
202
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
203
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
204
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
205
|
+
Connecting to database specified by database.yml
|
206
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
207
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
209
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
213
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
214
|
+
Connecting to database specified by database.yml
|
215
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
216
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
217
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
218
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
219
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
220
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
222
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
223
|
+
Connecting to database specified by database.yml
|
224
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
225
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
226
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
227
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
228
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
229
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
231
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
232
|
+
Connecting to database specified by database.yml
|
233
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
234
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
236
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
238
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
240
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
data/test/form_helper_test.rb
CHANGED
@@ -7,4 +7,12 @@ class FormHelperTest < ActionView::TestCase
|
|
7
7
|
assert f.instance_of?(ParsleySimpleForm::FormBuilder)
|
8
8
|
end
|
9
9
|
end
|
10
|
+
|
11
|
+
test 'form attribute novalidate as true' do
|
12
|
+
with_parsley_form_for @user do |f|
|
13
|
+
f.input :name
|
14
|
+
end
|
15
|
+
assert_select 'form[novalidate]'
|
16
|
+
end
|
17
|
+
|
10
18
|
end
|
data/test/test_helper.rb
CHANGED