bootstrap_form_extensions 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/bootstrap_form_extensions/arrayed_field.js +1 -1
- data/app/assets/javascripts/bootstrap_form_extensions/scheduler.js +1 -1
- data/app/assets/javascripts/bootstrap_form_extensions/select_or_new.js +1 -1
- data/app/assets/javascripts/bootstrap_form_extensions/time_picker.js +1 -1
- data/app/assets/javascripts/bootstrap_form_extensions/timespan.js +1 -1
- data/app/assets/stylesheets/bootstrap_form_extensions/duration.css +29 -7
- data/lib/bootstrap_form_extensions/duration.rb +1 -1
- data/lib/bootstrap_form_extensions/version.rb +1 -1
- data/test/dummy/log/test.log +698 -0
- data/test/duration_test.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6ef93f86039bd5a24ae5e01d075b8ac8bb46da7
|
4
|
+
data.tar.gz: 50cdb69d59133de470e49979c8be2abdd85e52e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7838a5ac614c649d0de352f192a367207683f69a4b2e0c3d31e211b64d54d518415dcc02cfbf0fd0ee38a9c292d29e2fc99b17e126d84e5238835db6cf8499d1
|
7
|
+
data.tar.gz: 90e2436481b01800e9d19ea53bb9d2ea2e57e4b02f5559930c19f48614c442011a90f4d060c5a73d19146774deee32b73fc8e787c193bfa47ef3c3597d2725e0
|
@@ -10,7 +10,7 @@
|
|
10
10
|
this.$container.on('click.bsfe.arrayedfield.data-api', '.remove-arrayed-field-row', this.removeRow.bind(this))
|
11
11
|
}
|
12
12
|
|
13
|
-
ArrayedField.VERSION = '1.1.
|
13
|
+
ArrayedField.VERSION = '1.1.1'
|
14
14
|
|
15
15
|
ArrayedField.prototype.addRow = function (event) {
|
16
16
|
var blueprint = this.$container.find(".blueprint-for-arrayed-field > .row").clone(true)
|
@@ -12,7 +12,7 @@
|
|
12
12
|
this.setInitialValues()
|
13
13
|
}
|
14
14
|
|
15
|
-
Scheduler.VERSION = '1.1.
|
15
|
+
Scheduler.VERSION = '1.1.1'
|
16
16
|
|
17
17
|
Scheduler.prototype.createEvents = function (event) {
|
18
18
|
this.$element.on('click.bsfe.scheduler.data-api', 'table.scheduler-badge', this.editSchedule.bind(this))
|
@@ -9,7 +9,7 @@
|
|
9
9
|
this.$container.on('change.bsfe.timespan.data-api', '.timespan-quantity, .timespan-unit', this.updateSeconds.bind(this))
|
10
10
|
}
|
11
11
|
|
12
|
-
Timespan.VERSION = '1.1.
|
12
|
+
Timespan.VERSION = '1.1.1'
|
13
13
|
|
14
14
|
Timespan.prototype.updateSeconds = function (event) {
|
15
15
|
var hidden = this.$container.find('.timespan-seconds')
|
@@ -1,12 +1,34 @@
|
|
1
|
-
.duration-group input
|
2
|
-
|
1
|
+
.duration-group input[type=number] {
|
2
|
+
display: inline;
|
3
|
+
-moz-appearance: textfield;
|
4
|
+
text-align: right;
|
5
|
+
}
|
6
|
+
.duration-group input[type=number]::-webkit-inner-spin-button, .duration-group input[type=number]::-webkit-outer-spin-button {
|
7
|
+
-webkit-appearance: none;
|
8
|
+
margin: 0;
|
3
9
|
}
|
4
|
-
.duration-group input.
|
5
|
-
width:
|
10
|
+
.duration-group input.hours {
|
11
|
+
width: 4.1em;
|
12
|
+
border-top-right-radius: 0px;
|
13
|
+
border-bottom-right-radius: 0px;
|
14
|
+
border-right-style: none;
|
15
|
+
padding-right: 5px;
|
16
|
+
margin-right: -3px;
|
6
17
|
}
|
7
|
-
.duration-group input.seconds {
|
8
|
-
width:
|
18
|
+
.duration-group input.minutes, .duration-group input.seconds {
|
19
|
+
width: 2.2em;
|
20
|
+
border-radius: 0;
|
21
|
+
border-left-style: none;
|
22
|
+
border-right-style: none;
|
23
|
+
padding-left: 0px;
|
24
|
+
margin-left: -1px;
|
25
|
+
margin-right: -9px;
|
9
26
|
}
|
10
27
|
.duration-group input.milliseconds {
|
11
|
-
width:
|
28
|
+
width: 2.9em;
|
29
|
+
border-top-left-radius: 0px;
|
30
|
+
border-bottom-left-radius: 0px;
|
31
|
+
border-left-style: none;
|
32
|
+
padding-left: 4px;
|
33
|
+
margin-left: -1px;
|
12
34
|
}
|
@@ -53,7 +53,7 @@ module BootstrapFormExtensions
|
|
53
53
|
|
54
54
|
def unit_field_builder unit, value, options
|
55
55
|
options[:class] = merge_css_classes options[:class], unit
|
56
|
-
options.merge! min: 0
|
56
|
+
options.merge! min: 0, pattern: '[0-9]*'
|
57
57
|
options.merge! max: (unit == 'milliseconds' ? 999 : 59) unless unit == 'hours'
|
58
58
|
field = @template.number_field_tag "#{object_name}[#{unit}]", value, options
|
59
59
|
separator = unit == 'milliseconds' ? '' : unit == 'seconds' ? '.' : ':'
|
data/test/dummy/log/test.log
CHANGED
@@ -13362,3 +13362,701 @@ SelectOrNewTest: test_display_new,_if_option_is_selected
|
|
13362
13362
|
SelectOrNewTest: test_add_a_css_class_to_the_select
|
13363
13363
|
---------------------------------------------------
|
13364
13364
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13365
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
13366
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13367
|
+
---------------------------------------
|
13368
|
+
BootstrapFormExtensionsTest: test_truth
|
13369
|
+
---------------------------------------
|
13370
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13371
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13372
|
+
-------------------------------------------------------------------------------------------------------
|
13373
|
+
DurationTest: test_duration_without_bootstrap_accepts_wrapper_class,_like_a_bootstrap_form's_form-group
|
13374
|
+
-------------------------------------------------------------------------------------------------------
|
13375
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13376
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13377
|
+
---------------------------
|
13378
|
+
DurationTest: test_duration
|
13379
|
+
---------------------------
|
13380
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13381
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13382
|
+
---------------------------------------------
|
13383
|
+
DurationTest: test_duration_without_bootstrap
|
13384
|
+
---------------------------------------------
|
13385
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13386
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13387
|
+
---------------------------------------------------------------------------------------------------------
|
13388
|
+
DurationTest: test_duration_without_bootstrap_accepts_wrapper_options,_like_a_bootstrap_form's_form-group
|
13389
|
+
---------------------------------------------------------------------------------------------------------
|
13390
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13391
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13392
|
+
-------------------------------------------------------------
|
13393
|
+
ArrayedFieldTest: test_arrayed_text_field_with_default_values
|
13394
|
+
-------------------------------------------------------------
|
13395
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13396
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13397
|
+
----------------------------------------------------------------------------------------------------
|
13398
|
+
ArrayedFieldTest: test_ArrayedField,_with_nonexistent_attribute,_assumes_the_value_is_an_empty_array
|
13399
|
+
----------------------------------------------------------------------------------------------------
|
13400
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13401
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13402
|
+
--------------------------------------------------------------------------------------------------
|
13403
|
+
ArrayedFieldTest: test_ArrayedField,_with_non-array_attribute,_assumes_the_value_is_an_empty_array
|
13404
|
+
--------------------------------------------------------------------------------------------------
|
13405
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13406
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13407
|
+
-------------------------------------------------------------
|
13408
|
+
ArrayedFieldTest: test_arrayed_json_field_with_default_values
|
13409
|
+
-------------------------------------------------------------
|
13410
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13411
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13412
|
+
-----------------------------------------------------------------
|
13413
|
+
ArrayedFieldTest: test_arrayed_json_field_with_custom_input_types
|
13414
|
+
-----------------------------------------------------------------
|
13415
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13416
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13417
|
+
------------------------------------------------------------
|
13418
|
+
ArrayedFieldTest: test_arrayed_url_field_with_default_values
|
13419
|
+
------------------------------------------------------------
|
13420
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13421
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13422
|
+
----------------------------------------------------------------------------
|
13423
|
+
ArrayedFieldTest: test_pass_options_to_the_form_group_in_the_an_ArrayedField
|
13424
|
+
----------------------------------------------------------------------------
|
13425
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13427
|
+
---------------------------------------------------
|
13428
|
+
SelectOrNewTest: test_add_a_css_class_to_the_select
|
13429
|
+
---------------------------------------------------
|
13430
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13431
|
+
[1m[35m (0.2ms)[0m begin transaction
|
13432
|
+
--------------------------------------------------------
|
13433
|
+
SelectOrNewTest: test_display_new,_if_option_is_selected
|
13434
|
+
--------------------------------------------------------
|
13435
|
+
[1m[36mCategory Load (14.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", 0]]
|
13436
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13437
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13438
|
+
-----------------------------------
|
13439
|
+
SelectOrNewTest: test_select_or_new
|
13440
|
+
-----------------------------------
|
13441
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13442
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13443
|
+
---------------------------------------------------------------------------------------------------------------------------------------------
|
13444
|
+
SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_yaml,_with_default_selection_to_false
|
13445
|
+
---------------------------------------------------------------------------------------------------------------------------------------------
|
13446
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13448
|
+
-----------------------------------------------------------------
|
13449
|
+
SchedulerSerializerTest: test_load_a_complete_schedule_from_array
|
13450
|
+
-----------------------------------------------------------------
|
13451
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13452
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13453
|
+
----------------------------------------------------------------------------------------------------------
|
13454
|
+
SchedulerSerializerTest: test_dump_string_with_incomplete_values,_and_default_selection_to_false,_as_array
|
13455
|
+
----------------------------------------------------------------------------------------------------------
|
13456
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13457
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13458
|
+
-----------------------------------------------------------------------
|
13459
|
+
SchedulerSerializerTest: test_dump_string_with_complete_values_as_array
|
13460
|
+
-----------------------------------------------------------------------
|
13461
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13462
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13463
|
+
-------------------------------------------------------------------------------------------------------------------------------------------
|
13464
|
+
SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_yaml,_with_default_selection_to_false
|
13465
|
+
-------------------------------------------------------------------------------------------------------------------------------------------
|
13466
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13468
|
+
-----------------------------------------------------------------------
|
13469
|
+
SchedulerSerializerTest: test_dump_array_with_incomplete_values_as_yaml
|
13470
|
+
-----------------------------------------------------------------------
|
13471
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13473
|
+
------------------------------------------------------------------------
|
13474
|
+
SchedulerSerializerTest: test_dump_string_with_incomplete_values_as_yaml
|
13475
|
+
------------------------------------------------------------------------
|
13476
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13478
|
+
-----------------------------------------------------------------------------------------------------------
|
13479
|
+
SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_array
|
13480
|
+
-----------------------------------------------------------------------------------------------------------
|
13481
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13482
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13483
|
+
---------------------------------------------------------------------------------------------------------
|
13484
|
+
SchedulerSerializerTest: test_dump_array_with_incomplete_values,_and_default_selection_to_false,_as_array
|
13485
|
+
---------------------------------------------------------------------------------------------------------
|
13486
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13487
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13488
|
+
---------------------------------------------------------------------------------------------------------
|
13489
|
+
SchedulerSerializerTest: test_dump_string_with_incomplete_values,_and_default_selection_to_false,_as_yaml
|
13490
|
+
---------------------------------------------------------------------------------------------------------
|
13491
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13492
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13493
|
+
----------------------------------------------------------------------------------------------------
|
13494
|
+
SchedulerSerializerTest: test_load_an_incomplete_schedule_from_yaml,_with_default_selection_to_false
|
13495
|
+
----------------------------------------------------------------------------------------------------
|
13496
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13497
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13498
|
+
------------------------------------------------------------------------------------------------------------
|
13499
|
+
SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_yaml
|
13500
|
+
------------------------------------------------------------------------------------------------------------
|
13501
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13502
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13503
|
+
----------------------------------------------------------------------
|
13504
|
+
SchedulerSerializerTest: test_dump_string_with_complete_values_as_yaml
|
13505
|
+
----------------------------------------------------------------------
|
13506
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13507
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13508
|
+
-------------------------------------------------------------------------
|
13509
|
+
SchedulerSerializerTest: test_dump_string_with_incomplete_values_as_array
|
13510
|
+
-------------------------------------------------------------------------
|
13511
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13512
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13513
|
+
--------------------------------------------------------------------------------------------------------
|
13514
|
+
SchedulerSerializerTest: test_dump_array_with_incomplete_values,_and_default_selection_to_false,_as_yaml
|
13515
|
+
--------------------------------------------------------------------------------------------------------
|
13516
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13518
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
13519
|
+
SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_array,_with_default_selection_to_false
|
13520
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
13521
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13522
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13523
|
+
----------------------------------------------------------------------------------------------------------
|
13524
|
+
SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_yaml
|
13525
|
+
----------------------------------------------------------------------------------------------------------
|
13526
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13528
|
+
------------------------------------------------------------------------
|
13529
|
+
SchedulerSerializerTest: test_dump_array_with_incomplete_values_as_array
|
13530
|
+
------------------------------------------------------------------------
|
13531
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13532
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13533
|
+
-----------------------------------------------------------------------------------------------------
|
13534
|
+
SchedulerSerializerTest: test_load_an_incomplete_schedule_from_array,_with_default_selection_to_false
|
13535
|
+
-----------------------------------------------------------------------------------------------------
|
13536
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13537
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13538
|
+
-------------------------------------------------------------------------------------------------------------
|
13539
|
+
SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_array
|
13540
|
+
-------------------------------------------------------------------------------------------------------------
|
13541
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13542
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13543
|
+
-------------------------------------------------------------------
|
13544
|
+
SchedulerSerializerTest: test_load_an_incomplete_schedule_from_yaml
|
13545
|
+
-------------------------------------------------------------------
|
13546
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13547
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13548
|
+
--------------------------------------------------------------------
|
13549
|
+
SchedulerSerializerTest: test_load_an_incomplete_schedule_from_array
|
13550
|
+
--------------------------------------------------------------------
|
13551
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13553
|
+
----------------------------------------------------------------
|
13554
|
+
SchedulerSerializerTest: test_load_a_complete_schedule_from_yaml
|
13555
|
+
----------------------------------------------------------------
|
13556
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13558
|
+
-----------------------------------------------
|
13559
|
+
TimespanTest: test_Timespan_with_default_values
|
13560
|
+
-----------------------------------------------
|
13561
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13562
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13563
|
+
-----------------------------------
|
13564
|
+
TimespanTest: test_specifying_units
|
13565
|
+
-----------------------------------
|
13566
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13567
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13568
|
+
---------------------------------------------------
|
13569
|
+
TimespanTest: test_specifying_quantity_html_options
|
13570
|
+
---------------------------------------------------
|
13571
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13572
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13573
|
+
-----------------------------------------------
|
13574
|
+
TimespanTest: test_specifying_unit_html_options
|
13575
|
+
-----------------------------------------------
|
13576
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13577
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13578
|
+
-----------------------------------
|
13579
|
+
TimespanTest: test_field_has_errors
|
13580
|
+
-----------------------------------
|
13581
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13582
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13583
|
+
----------------------------------------------
|
13584
|
+
SubmitBarTest: test_don't_show_the_submit_menu
|
13585
|
+
----------------------------------------------
|
13586
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (3.5ms)
|
13587
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13588
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13589
|
+
------------------------------------------------
|
13590
|
+
SubmitBarTest: test_don't_show_the_cancel_button
|
13591
|
+
------------------------------------------------
|
13592
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.1ms)
|
13593
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13595
|
+
--------------------------------------------------------------------------------------
|
13596
|
+
SubmitBarTest: test_cancel_button_points_to_the_index_url_when_the_object_is_persisted
|
13597
|
+
--------------------------------------------------------------------------------------
|
13598
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
13599
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "things" ("name", "duration_in_seconds", "urls", "list", "variables", "schedule", "start_at", "duration_in_seconds2") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["name", "Something"], ["duration_in_seconds", 3600], ["urls", "---\n- www.example1.com\n- www.example2.com\n"], ["list", "---\n- One\n- Two\n"], ["variables", "---\n- :name: var1\n :value: 1\n- :name: var2\n :value: 2\n"], ["schedule", "---\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n"], ["start_at", "1971-10-21 07:30:00.000000"], ["duration_in_seconds2", 5843.476]]
|
13600
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
13601
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13602
|
+
[1m[36m (38.6ms)[0m [1mrollback transaction[0m
|
13603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13604
|
+
---------------------------------------------------------------------------------
|
13605
|
+
SubmitBarTest: test_cancel_button_points_to_the_create_url_when_the_object_is_new
|
13606
|
+
---------------------------------------------------------------------------------
|
13607
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.4ms)
|
13608
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13609
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13610
|
+
------------------------------------------------
|
13611
|
+
SubmitBarTest: test_change_the_cancel_button_url
|
13612
|
+
------------------------------------------------
|
13613
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13614
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13616
|
+
-------------------------------------
|
13617
|
+
SubmitBarTest: test_add_extra_buttons
|
13618
|
+
-------------------------------------
|
13619
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13620
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13621
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13622
|
+
--------------------------------------------------------
|
13623
|
+
SubmitBarTest: test_don't_show_the_submit_and_new_button
|
13624
|
+
--------------------------------------------------------
|
13625
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13626
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13627
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13628
|
+
-------------------------------------------------
|
13629
|
+
SubmitBarTest: test_change_the_submit_button_text
|
13630
|
+
-------------------------------------------------
|
13631
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.3ms)
|
13632
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13633
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13634
|
+
---------------------------------------------------------------------------
|
13635
|
+
SubmitBarTest: test_cancel_button_text_changes_if_there_is_no_submit_button
|
13636
|
+
---------------------------------------------------------------------------
|
13637
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.3ms)
|
13638
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13639
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13640
|
+
-------------------------------------------------
|
13641
|
+
SubmitBarTest: test_SubmitBar_with_default_values
|
13642
|
+
-------------------------------------------------
|
13643
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13644
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13645
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13646
|
+
-------------------------------------------------
|
13647
|
+
SubmitBarTest: test_change_the_cancel_button_text
|
13648
|
+
-------------------------------------------------
|
13649
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13650
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13651
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13652
|
+
--------------------------------------------------------------
|
13653
|
+
SubmitBarTest: test_don't_show_the_submit_and_duplicate_button
|
13654
|
+
--------------------------------------------------------------
|
13655
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13656
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13657
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13658
|
+
------------------------------------------------
|
13659
|
+
SubmitBarTest: test_don't_show_the_submit_button
|
13660
|
+
------------------------------------------------
|
13661
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.1ms)
|
13662
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13663
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13664
|
+
--------------------------------------------------
|
13665
|
+
SubmitBarTest: test_add_extra_buttons_on_the_right
|
13666
|
+
--------------------------------------------------
|
13667
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13668
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13669
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13670
|
+
-------------------------------------
|
13671
|
+
DateTimePickersTest: test_date_picker
|
13672
|
+
-------------------------------------
|
13673
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13674
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13675
|
+
------------------------------------------
|
13676
|
+
DateTimePickersTest: test_date_time_picker
|
13677
|
+
------------------------------------------
|
13678
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13679
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13680
|
+
-----------------------------------------------------------------------------------
|
13681
|
+
DateTimePickersTest: test_add_an_option_to_the_time_control_in_the_date_time_picker
|
13682
|
+
-----------------------------------------------------------------------------------
|
13683
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13684
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13685
|
+
------------------------------------------------------
|
13686
|
+
DateTimePickersTest: test_add_an_option_to_time_picker
|
13687
|
+
------------------------------------------------------
|
13688
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13689
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13690
|
+
------------------------------------------------------
|
13691
|
+
DateTimePickersTest: test_add_an_option_to_date_picker
|
13692
|
+
------------------------------------------------------
|
13693
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
13694
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13695
|
+
-----------------------------------------------------------------------------
|
13696
|
+
DateTimePickersTest: test_overwrite_one_of_the_default_options_to_date_picker
|
13697
|
+
-----------------------------------------------------------------------------
|
13698
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13699
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13700
|
+
-----------------------------------------------------------------------------------
|
13701
|
+
DateTimePickersTest: test_add_an_option_to_the_date_control_in_the_date_time_picker
|
13702
|
+
-----------------------------------------------------------------------------------
|
13703
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13704
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13705
|
+
-------------------------------------
|
13706
|
+
DateTimePickersTest: test_time_picker
|
13707
|
+
-------------------------------------
|
13708
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13709
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13710
|
+
-----------------------------
|
13711
|
+
SchedulerTest: test_scheduler
|
13712
|
+
-----------------------------
|
13713
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13714
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
13715
|
+
[1m[35m (0.2ms)[0m begin transaction
|
13716
|
+
-----------------------------
|
13717
|
+
SchedulerTest: test_scheduler
|
13718
|
+
-----------------------------
|
13719
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13720
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13721
|
+
------------------------------------------------
|
13722
|
+
SubmitBarTest: test_change_the_cancel_button_url
|
13723
|
+
------------------------------------------------
|
13724
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (3.0ms)
|
13725
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13726
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13727
|
+
-------------------------------------
|
13728
|
+
SubmitBarTest: test_add_extra_buttons
|
13729
|
+
-------------------------------------
|
13730
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13731
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13732
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13733
|
+
--------------------------------------------------------------
|
13734
|
+
SubmitBarTest: test_don't_show_the_submit_and_duplicate_button
|
13735
|
+
--------------------------------------------------------------
|
13736
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13737
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13738
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13739
|
+
---------------------------------------------------------------------------------
|
13740
|
+
SubmitBarTest: test_cancel_button_points_to_the_create_url_when_the_object_is_new
|
13741
|
+
---------------------------------------------------------------------------------
|
13742
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13743
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13744
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13745
|
+
-------------------------------------------------
|
13746
|
+
SubmitBarTest: test_SubmitBar_with_default_values
|
13747
|
+
-------------------------------------------------
|
13748
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13749
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13750
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13751
|
+
------------------------------------------------
|
13752
|
+
SubmitBarTest: test_don't_show_the_cancel_button
|
13753
|
+
------------------------------------------------
|
13754
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13755
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13757
|
+
-------------------------------------------------
|
13758
|
+
SubmitBarTest: test_change_the_submit_button_text
|
13759
|
+
-------------------------------------------------
|
13760
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13761
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13762
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13763
|
+
--------------------------------------------------
|
13764
|
+
SubmitBarTest: test_add_extra_buttons_on_the_right
|
13765
|
+
--------------------------------------------------
|
13766
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13767
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13768
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13769
|
+
----------------------------------------------
|
13770
|
+
SubmitBarTest: test_don't_show_the_submit_menu
|
13771
|
+
----------------------------------------------
|
13772
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.3ms)
|
13773
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13774
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13775
|
+
--------------------------------------------------------------------------------------
|
13776
|
+
SubmitBarTest: test_cancel_button_points_to_the_index_url_when_the_object_is_persisted
|
13777
|
+
--------------------------------------------------------------------------------------
|
13778
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
13779
|
+
[1m[35mSQL (15.8ms)[0m INSERT INTO "things" ("name", "duration_in_seconds", "urls", "list", "variables", "schedule", "start_at", "duration_in_seconds2") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["name", "Something"], ["duration_in_seconds", 3600], ["urls", "---\n- www.example1.com\n- www.example2.com\n"], ["list", "---\n- One\n- Two\n"], ["variables", "---\n- :name: var1\n :value: 1\n- :name: var2\n :value: 2\n"], ["schedule", "---\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n- - false\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n - true\n"], ["start_at", "1971-10-21 07:30:00.000000"], ["duration_in_seconds2", 5843.476]]
|
13780
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
13781
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13782
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
13783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13784
|
+
-------------------------------------------------
|
13785
|
+
SubmitBarTest: test_change_the_cancel_button_text
|
13786
|
+
-------------------------------------------------
|
13787
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13788
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13789
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13790
|
+
------------------------------------------------
|
13791
|
+
SubmitBarTest: test_don't_show_the_submit_button
|
13792
|
+
------------------------------------------------
|
13793
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13794
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13795
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13796
|
+
---------------------------------------------------------------------------
|
13797
|
+
SubmitBarTest: test_cancel_button_text_changes_if_there_is_no_submit_button
|
13798
|
+
---------------------------------------------------------------------------
|
13799
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13800
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13801
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13802
|
+
--------------------------------------------------------
|
13803
|
+
SubmitBarTest: test_don't_show_the_submit_and_new_button
|
13804
|
+
--------------------------------------------------------
|
13805
|
+
Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
|
13806
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13807
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13808
|
+
---------------------------------------
|
13809
|
+
BootstrapFormExtensionsTest: test_truth
|
13810
|
+
---------------------------------------
|
13811
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13813
|
+
---------------------------------------------------------------------------------------------------------
|
13814
|
+
DurationTest: test_duration_without_bootstrap_accepts_wrapper_options,_like_a_bootstrap_form's_form-group
|
13815
|
+
---------------------------------------------------------------------------------------------------------
|
13816
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13817
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13818
|
+
---------------------------------------------
|
13819
|
+
DurationTest: test_duration_without_bootstrap
|
13820
|
+
---------------------------------------------
|
13821
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13823
|
+
-------------------------------------------------------------------------------------------------------
|
13824
|
+
DurationTest: test_duration_without_bootstrap_accepts_wrapper_class,_like_a_bootstrap_form's_form-group
|
13825
|
+
-------------------------------------------------------------------------------------------------------
|
13826
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
13828
|
+
---------------------------
|
13829
|
+
DurationTest: test_duration
|
13830
|
+
---------------------------
|
13831
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13832
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13833
|
+
---------------------------------------------------
|
13834
|
+
SelectOrNewTest: test_add_a_css_class_to_the_select
|
13835
|
+
---------------------------------------------------
|
13836
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
13837
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
13838
|
+
--------------------------------------------------------
|
13839
|
+
SelectOrNewTest: test_display_new,_if_option_is_selected
|
13840
|
+
--------------------------------------------------------
|
13841
|
+
[1m[35mCategory Load (0.5ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 0]]
|
13842
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13843
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13844
|
+
-----------------------------------
|
13845
|
+
SelectOrNewTest: test_select_or_new
|
13846
|
+
-----------------------------------
|
13847
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13849
|
+
-------------------------------------
|
13850
|
+
DateTimePickersTest: test_date_picker
|
13851
|
+
-------------------------------------
|
13852
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13853
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13854
|
+
------------------------------------------
|
13855
|
+
DateTimePickersTest: test_date_time_picker
|
13856
|
+
------------------------------------------
|
13857
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13858
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13859
|
+
-------------------------------------
|
13860
|
+
DateTimePickersTest: test_time_picker
|
13861
|
+
-------------------------------------
|
13862
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13863
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13864
|
+
------------------------------------------------------
|
13865
|
+
DateTimePickersTest: test_add_an_option_to_date_picker
|
13866
|
+
------------------------------------------------------
|
13867
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13868
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13869
|
+
-----------------------------------------------------------------------------------
|
13870
|
+
DateTimePickersTest: test_add_an_option_to_the_date_control_in_the_date_time_picker
|
13871
|
+
-----------------------------------------------------------------------------------
|
13872
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13873
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13874
|
+
-----------------------------------------------------------------------------------
|
13875
|
+
DateTimePickersTest: test_add_an_option_to_the_time_control_in_the_date_time_picker
|
13876
|
+
-----------------------------------------------------------------------------------
|
13877
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13878
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13879
|
+
------------------------------------------------------
|
13880
|
+
DateTimePickersTest: test_add_an_option_to_time_picker
|
13881
|
+
------------------------------------------------------
|
13882
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13883
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13884
|
+
-----------------------------------------------------------------------------
|
13885
|
+
DateTimePickersTest: test_overwrite_one_of_the_default_options_to_date_picker
|
13886
|
+
-----------------------------------------------------------------------------
|
13887
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13888
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13889
|
+
---------------------------------------------------
|
13890
|
+
TimespanTest: test_specifying_quantity_html_options
|
13891
|
+
---------------------------------------------------
|
13892
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13893
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13894
|
+
-----------------------------------------------
|
13895
|
+
TimespanTest: test_Timespan_with_default_values
|
13896
|
+
-----------------------------------------------
|
13897
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13899
|
+
-----------------------------------------------
|
13900
|
+
TimespanTest: test_specifying_unit_html_options
|
13901
|
+
-----------------------------------------------
|
13902
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13903
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13904
|
+
-----------------------------------
|
13905
|
+
TimespanTest: test_field_has_errors
|
13906
|
+
-----------------------------------
|
13907
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13908
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13909
|
+
-----------------------------------
|
13910
|
+
TimespanTest: test_specifying_units
|
13911
|
+
-----------------------------------
|
13912
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13914
|
+
-------------------------------------------------------------------------
|
13915
|
+
SchedulerSerializerTest: test_dump_string_with_incomplete_values_as_array
|
13916
|
+
-------------------------------------------------------------------------
|
13917
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13918
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13919
|
+
------------------------------------------------------------------------
|
13920
|
+
SchedulerSerializerTest: test_dump_array_with_incomplete_values_as_array
|
13921
|
+
------------------------------------------------------------------------
|
13922
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13923
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13924
|
+
----------------------------------------------------------------------
|
13925
|
+
SchedulerSerializerTest: test_dump_string_with_complete_values_as_yaml
|
13926
|
+
----------------------------------------------------------------------
|
13927
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13929
|
+
------------------------------------------------------------------------------------------------------------
|
13930
|
+
SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_yaml
|
13931
|
+
------------------------------------------------------------------------------------------------------------
|
13932
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13933
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13934
|
+
--------------------------------------------------------------------
|
13935
|
+
SchedulerSerializerTest: test_load_an_incomplete_schedule_from_array
|
13936
|
+
--------------------------------------------------------------------
|
13937
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13938
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13939
|
+
----------------------------------------------------------------------------------------------------------
|
13940
|
+
SchedulerSerializerTest: test_dump_string_with_incomplete_values,_and_default_selection_to_false,_as_array
|
13941
|
+
----------------------------------------------------------------------------------------------------------
|
13942
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13943
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13944
|
+
---------------------------------------------------------------------------------------------------------
|
13945
|
+
SchedulerSerializerTest: test_dump_array_with_incomplete_values,_and_default_selection_to_false,_as_array
|
13946
|
+
---------------------------------------------------------------------------------------------------------
|
13947
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13948
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13949
|
+
----------------------------------------------------------------
|
13950
|
+
SchedulerSerializerTest: test_load_a_complete_schedule_from_yaml
|
13951
|
+
----------------------------------------------------------------
|
13952
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13953
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13954
|
+
-------------------------------------------------------------------
|
13955
|
+
SchedulerSerializerTest: test_load_an_incomplete_schedule_from_yaml
|
13956
|
+
-------------------------------------------------------------------
|
13957
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13958
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13959
|
+
-------------------------------------------------------------------------------------------------------------------------------------------
|
13960
|
+
SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_yaml,_with_default_selection_to_false
|
13961
|
+
-------------------------------------------------------------------------------------------------------------------------------------------
|
13962
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13963
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13964
|
+
------------------------------------------------------------------------
|
13965
|
+
SchedulerSerializerTest: test_dump_string_with_incomplete_values_as_yaml
|
13966
|
+
------------------------------------------------------------------------
|
13967
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13968
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13969
|
+
----------------------------------------------------------------------------------------------------------
|
13970
|
+
SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_yaml
|
13971
|
+
----------------------------------------------------------------------------------------------------------
|
13972
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13973
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13974
|
+
---------------------------------------------------------------------------------------------------------
|
13975
|
+
SchedulerSerializerTest: test_dump_string_with_incomplete_values,_and_default_selection_to_false,_as_yaml
|
13976
|
+
---------------------------------------------------------------------------------------------------------
|
13977
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13978
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13979
|
+
----------------------------------------------------------------------------------------------------
|
13980
|
+
SchedulerSerializerTest: test_load_an_incomplete_schedule_from_yaml,_with_default_selection_to_false
|
13981
|
+
----------------------------------------------------------------------------------------------------
|
13982
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13983
|
+
[1m[35m (0.1ms)[0m begin transaction
|
13984
|
+
--------------------------------------------------------------------------------------------------------
|
13985
|
+
SchedulerSerializerTest: test_dump_array_with_incomplete_values,_and_default_selection_to_false,_as_yaml
|
13986
|
+
--------------------------------------------------------------------------------------------------------
|
13987
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13988
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13989
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
13990
|
+
SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_array,_with_default_selection_to_false
|
13991
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
13992
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
13993
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13994
|
+
-----------------------------------------------------------------------
|
13995
|
+
SchedulerSerializerTest: test_dump_array_with_incomplete_values_as_yaml
|
13996
|
+
-----------------------------------------------------------------------
|
13997
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
13998
|
+
[1m[35m (0.0ms)[0m begin transaction
|
13999
|
+
---------------------------------------------------------------------------------------------------------------------------------------------
|
14000
|
+
SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_yaml,_with_default_selection_to_false
|
14001
|
+
---------------------------------------------------------------------------------------------------------------------------------------------
|
14002
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14003
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14004
|
+
-------------------------------------------------------------------------------------------------------------
|
14005
|
+
SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_array
|
14006
|
+
-------------------------------------------------------------------------------------------------------------
|
14007
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14008
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14009
|
+
-----------------------------------------------------------------------------------------------------------
|
14010
|
+
SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_array
|
14011
|
+
-----------------------------------------------------------------------------------------------------------
|
14012
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14013
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14014
|
+
-----------------------------------------------------------------------------------------------------
|
14015
|
+
SchedulerSerializerTest: test_load_an_incomplete_schedule_from_array,_with_default_selection_to_false
|
14016
|
+
-----------------------------------------------------------------------------------------------------
|
14017
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
14018
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14019
|
+
-----------------------------------------------------------------
|
14020
|
+
SchedulerSerializerTest: test_load_a_complete_schedule_from_array
|
14021
|
+
-----------------------------------------------------------------
|
14022
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
14023
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14024
|
+
-----------------------------------------------------------------------
|
14025
|
+
SchedulerSerializerTest: test_dump_string_with_complete_values_as_array
|
14026
|
+
-----------------------------------------------------------------------
|
14027
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14028
|
+
[1m[35m (0.1ms)[0m begin transaction
|
14029
|
+
--------------------------------------------------------------------------------------------------
|
14030
|
+
ArrayedFieldTest: test_ArrayedField,_with_non-array_attribute,_assumes_the_value_is_an_empty_array
|
14031
|
+
--------------------------------------------------------------------------------------------------
|
14032
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14033
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14034
|
+
-----------------------------------------------------------------
|
14035
|
+
ArrayedFieldTest: test_arrayed_json_field_with_custom_input_types
|
14036
|
+
-----------------------------------------------------------------
|
14037
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14039
|
+
----------------------------------------------------------------------------
|
14040
|
+
ArrayedFieldTest: test_pass_options_to_the_form_group_in_the_an_ArrayedField
|
14041
|
+
----------------------------------------------------------------------------
|
14042
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14043
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14044
|
+
-------------------------------------------------------------
|
14045
|
+
ArrayedFieldTest: test_arrayed_text_field_with_default_values
|
14046
|
+
-------------------------------------------------------------
|
14047
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14049
|
+
-------------------------------------------------------------
|
14050
|
+
ArrayedFieldTest: test_arrayed_json_field_with_default_values
|
14051
|
+
-------------------------------------------------------------
|
14052
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14053
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14054
|
+
------------------------------------------------------------
|
14055
|
+
ArrayedFieldTest: test_arrayed_url_field_with_default_values
|
14056
|
+
------------------------------------------------------------
|
14057
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
14058
|
+
[1m[35m (0.0ms)[0m begin transaction
|
14059
|
+
----------------------------------------------------------------------------------------------------
|
14060
|
+
ArrayedFieldTest: test_ArrayedField,_with_nonexistent_attribute,_assumes_the_value_is_an_empty_array
|
14061
|
+
----------------------------------------------------------------------------------------------------
|
14062
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
data/test/duration_test.rb
CHANGED
@@ -8,12 +8,12 @@ class DurationTest < ActionView::TestCase
|
|
8
8
|
end
|
9
9
|
|
10
10
|
test "duration" do
|
11
|
-
expected = '<div class="form-group duration-group" data-duration="true"><label class="control-label col-sm-2" for="thing_duration_in_seconds2">Duration in seconds2</label><div class="col-sm-10 form-inline"><input class="duration-seconds" data-formatted="1:37:23.476" type="hidden" value="5843.476" name="thing[duration_in_seconds2]" id="thing_duration_in_seconds2" /><input type="number" name="thing[hours]" id="thing_hours" value="1" class="form-control hours" min="0" />:<input type="number" name="thing[minutes]" id="thing_minutes" value="37" class="form-control minutes" min="0" max="59" />:<input type="number" name="thing[seconds]" id="thing_seconds" value="23" class="form-control seconds" min="0" max="59" />.<input type="number" name="thing[milliseconds]" id="thing_milliseconds" value="476" class="form-control milliseconds" min="0" max="999" /></div></div>'
|
11
|
+
expected = '<div class="form-group duration-group" data-duration="true"><label class="control-label col-sm-2" for="thing_duration_in_seconds2">Duration in seconds2</label><div class="col-sm-10 form-inline"><input class="duration-seconds" data-formatted="1:37:23.476" type="hidden" value="5843.476" name="thing[duration_in_seconds2]" id="thing_duration_in_seconds2" /><input type="number" name="thing[hours]" id="thing_hours" value="1" class="form-control hours" min="0" pattern="[0-9]*" />:<input type="number" name="thing[minutes]" id="thing_minutes" value="37" class="form-control minutes" min="0" pattern="[0-9]*" max="59" />:<input type="number" name="thing[seconds]" id="thing_seconds" value="23" class="form-control seconds" min="0" pattern="[0-9]*" max="59" />.<input type="number" name="thing[milliseconds]" id="thing_milliseconds" value="476" class="form-control milliseconds" min="0" pattern="[0-9]*" max="999" /></div></div>'
|
12
12
|
assert_equal expected, @builder.duration(:duration_in_seconds2)
|
13
13
|
end
|
14
14
|
|
15
15
|
test "duration_without_bootstrap" do
|
16
|
-
expected = '<div class="duration-group" data-duration="true"><input class="duration-seconds" data-formatted="1:37:23.476" type="hidden" value="5843.476" name="thing[duration_in_seconds2]" id="thing_duration_in_seconds2" /><input type="number" name="thing[hours]" id="thing_hours" value="1" class="hours" min="0" />:<input type="number" name="thing[minutes]" id="thing_minutes" value="37" class="minutes" min="0" max="59" />:<input type="number" name="thing[seconds]" id="thing_seconds" value="23" class="seconds" min="0" max="59" />.<input type="number" name="thing[milliseconds]" id="thing_milliseconds" value="476" class="milliseconds" min="0" max="999" /></div>'
|
16
|
+
expected = '<div class="duration-group" data-duration="true"><input class="duration-seconds" data-formatted="1:37:23.476" type="hidden" value="5843.476" name="thing[duration_in_seconds2]" id="thing_duration_in_seconds2" /><input type="number" name="thing[hours]" id="thing_hours" value="1" class="hours" min="0" pattern="[0-9]*" />:<input type="number" name="thing[minutes]" id="thing_minutes" value="37" class="minutes" min="0" pattern="[0-9]*" max="59" />:<input type="number" name="thing[seconds]" id="thing_seconds" value="23" class="seconds" min="0" pattern="[0-9]*" max="59" />.<input type="number" name="thing[milliseconds]" id="thing_milliseconds" value="476" class="milliseconds" min="0" pattern="[0-9]*" max="999" /></div>'
|
17
17
|
assert_equal expected, @builder.duration_without_bootstrap(:duration_in_seconds2)
|
18
18
|
end
|
19
19
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_form_extensions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jesús Dugarte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootstrap_form
|