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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6993b0274f26f6d02ee91279284d6eff35c8f34d
4
- data.tar.gz: 4412919a619556c4bdaf0b6a1cc8a93643491773
3
+ metadata.gz: a6ef93f86039bd5a24ae5e01d075b8ac8bb46da7
4
+ data.tar.gz: 50cdb69d59133de470e49979c8be2abdd85e52e2
5
5
  SHA512:
6
- metadata.gz: 3fc5abcbc306463ff5f323373a231e3bf102cc401dbed8d0dded27ef077f8e8e36b4ebd2dc5f87620db40601440c276a4c016c4527ebc53f1a5b7824061f2998
7
- data.tar.gz: 62e746c1b2eeb53bbb81fa3fcc2a1ac80be1dd4d1ab13baf5e9edb5fb664021449ff3ecb6a4a8d651f109bd81ba24980b11e085978d40aa222df5ca0b0928346
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.0'
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.0'
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))
@@ -13,7 +13,7 @@
13
13
  this.createEvents()
14
14
  }
15
15
 
16
- SelectOrNew.VERSION = '1.1.0'
16
+ SelectOrNew.VERSION = '1.1.1'
17
17
 
18
18
  SelectOrNew.prototype.createEvents = function () {
19
19
  this.$element.on('change.bsfe.select-or-new.data-api', 'select', this.changeSelection.bind(this))
@@ -16,7 +16,7 @@
16
16
  $(element).timepicker($.extend(defaults, options))
17
17
  }
18
18
 
19
- TimePicker.VERSION = '1.1.0'
19
+ TimePicker.VERSION = '1.1.1'
20
20
 
21
21
 
22
22
  // TIME PICKER PLUGIN DEFINITION
@@ -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.0'
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.hours {
2
- width: 6em;
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.minutes {
5
- width: 4em;
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: 4em;
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: 5em;
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' ? '.' : ':'
@@ -1,3 +1,3 @@
1
1
  module BootstrapFormExtensions
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -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
   (0.1ms) rollback transaction
13365
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
13366
+  (0.1ms) begin transaction
13367
+ ---------------------------------------
13368
+ BootstrapFormExtensionsTest: test_truth
13369
+ ---------------------------------------
13370
+  (0.1ms) rollback transaction
13371
+  (0.1ms) begin transaction
13372
+ -------------------------------------------------------------------------------------------------------
13373
+ DurationTest: test_duration_without_bootstrap_accepts_wrapper_class,_like_a_bootstrap_form's_form-group
13374
+ -------------------------------------------------------------------------------------------------------
13375
+  (0.2ms) rollback transaction
13376
+  (0.1ms) begin transaction
13377
+ ---------------------------
13378
+ DurationTest: test_duration
13379
+ ---------------------------
13380
+  (0.2ms) rollback transaction
13381
+  (0.1ms) begin transaction
13382
+ ---------------------------------------------
13383
+ DurationTest: test_duration_without_bootstrap
13384
+ ---------------------------------------------
13385
+  (0.2ms) rollback transaction
13386
+  (0.1ms) begin transaction
13387
+ ---------------------------------------------------------------------------------------------------------
13388
+ DurationTest: test_duration_without_bootstrap_accepts_wrapper_options,_like_a_bootstrap_form's_form-group
13389
+ ---------------------------------------------------------------------------------------------------------
13390
+  (0.1ms) rollback transaction
13391
+  (0.0ms) begin transaction
13392
+ -------------------------------------------------------------
13393
+ ArrayedFieldTest: test_arrayed_text_field_with_default_values
13394
+ -------------------------------------------------------------
13395
+  (0.1ms) rollback transaction
13396
+  (0.0ms) begin transaction
13397
+ ----------------------------------------------------------------------------------------------------
13398
+ ArrayedFieldTest: test_ArrayedField,_with_nonexistent_attribute,_assumes_the_value_is_an_empty_array
13399
+ ----------------------------------------------------------------------------------------------------
13400
+  (0.1ms) rollback transaction
13401
+  (0.1ms) begin transaction
13402
+ --------------------------------------------------------------------------------------------------
13403
+ ArrayedFieldTest: test_ArrayedField,_with_non-array_attribute,_assumes_the_value_is_an_empty_array
13404
+ --------------------------------------------------------------------------------------------------
13405
+  (0.1ms) rollback transaction
13406
+  (0.0ms) begin transaction
13407
+ -------------------------------------------------------------
13408
+ ArrayedFieldTest: test_arrayed_json_field_with_default_values
13409
+ -------------------------------------------------------------
13410
+  (0.1ms) rollback transaction
13411
+  (0.0ms) begin transaction
13412
+ -----------------------------------------------------------------
13413
+ ArrayedFieldTest: test_arrayed_json_field_with_custom_input_types
13414
+ -----------------------------------------------------------------
13415
+  (0.1ms) rollback transaction
13416
+  (0.0ms) begin transaction
13417
+ ------------------------------------------------------------
13418
+ ArrayedFieldTest: test_arrayed_url_field_with_default_values
13419
+ ------------------------------------------------------------
13420
+  (0.1ms) rollback transaction
13421
+  (0.0ms) begin transaction
13422
+ ----------------------------------------------------------------------------
13423
+ ArrayedFieldTest: test_pass_options_to_the_form_group_in_the_an_ArrayedField
13424
+ ----------------------------------------------------------------------------
13425
+  (0.1ms) rollback transaction
13426
+  (0.0ms) begin transaction
13427
+ ---------------------------------------------------
13428
+ SelectOrNewTest: test_add_a_css_class_to_the_select
13429
+ ---------------------------------------------------
13430
+  (0.1ms) rollback transaction
13431
+  (0.2ms) begin transaction
13432
+ --------------------------------------------------------
13433
+ SelectOrNewTest: test_display_new,_if_option_is_selected
13434
+ --------------------------------------------------------
13435
+ Category Load (14.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 0]]
13436
+  (0.1ms) rollback transaction
13437
+  (0.1ms) begin transaction
13438
+ -----------------------------------
13439
+ SelectOrNewTest: test_select_or_new
13440
+ -----------------------------------
13441
+  (0.1ms) rollback transaction
13442
+  (0.1ms) begin transaction
13443
+ ---------------------------------------------------------------------------------------------------------------------------------------------
13444
+ SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_yaml,_with_default_selection_to_false
13445
+ ---------------------------------------------------------------------------------------------------------------------------------------------
13446
+  (0.1ms) rollback transaction
13447
+  (0.0ms) begin transaction
13448
+ -----------------------------------------------------------------
13449
+ SchedulerSerializerTest: test_load_a_complete_schedule_from_array
13450
+ -----------------------------------------------------------------
13451
+  (0.0ms) rollback transaction
13452
+  (0.0ms) begin transaction
13453
+ ----------------------------------------------------------------------------------------------------------
13454
+ SchedulerSerializerTest: test_dump_string_with_incomplete_values,_and_default_selection_to_false,_as_array
13455
+ ----------------------------------------------------------------------------------------------------------
13456
+  (0.0ms) rollback transaction
13457
+  (0.0ms) begin transaction
13458
+ -----------------------------------------------------------------------
13459
+ SchedulerSerializerTest: test_dump_string_with_complete_values_as_array
13460
+ -----------------------------------------------------------------------
13461
+  (0.0ms) rollback transaction
13462
+  (0.0ms) begin transaction
13463
+ -------------------------------------------------------------------------------------------------------------------------------------------
13464
+ SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_yaml,_with_default_selection_to_false
13465
+ -------------------------------------------------------------------------------------------------------------------------------------------
13466
+  (0.1ms) rollback transaction
13467
+  (0.0ms) begin transaction
13468
+ -----------------------------------------------------------------------
13469
+ SchedulerSerializerTest: test_dump_array_with_incomplete_values_as_yaml
13470
+ -----------------------------------------------------------------------
13471
+  (0.1ms) rollback transaction
13472
+  (0.0ms) begin transaction
13473
+ ------------------------------------------------------------------------
13474
+ SchedulerSerializerTest: test_dump_string_with_incomplete_values_as_yaml
13475
+ ------------------------------------------------------------------------
13476
+  (0.1ms) rollback transaction
13477
+  (0.0ms) begin transaction
13478
+ -----------------------------------------------------------------------------------------------------------
13479
+ SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_array
13480
+ -----------------------------------------------------------------------------------------------------------
13481
+  (0.1ms) rollback transaction
13482
+  (0.1ms) begin transaction
13483
+ ---------------------------------------------------------------------------------------------------------
13484
+ SchedulerSerializerTest: test_dump_array_with_incomplete_values,_and_default_selection_to_false,_as_array
13485
+ ---------------------------------------------------------------------------------------------------------
13486
+  (0.1ms) rollback transaction
13487
+  (0.1ms) begin transaction
13488
+ ---------------------------------------------------------------------------------------------------------
13489
+ SchedulerSerializerTest: test_dump_string_with_incomplete_values,_and_default_selection_to_false,_as_yaml
13490
+ ---------------------------------------------------------------------------------------------------------
13491
+  (0.0ms) rollback transaction
13492
+  (0.0ms) begin transaction
13493
+ ----------------------------------------------------------------------------------------------------
13494
+ SchedulerSerializerTest: test_load_an_incomplete_schedule_from_yaml,_with_default_selection_to_false
13495
+ ----------------------------------------------------------------------------------------------------
13496
+  (0.0ms) rollback transaction
13497
+  (0.0ms) begin transaction
13498
+ ------------------------------------------------------------------------------------------------------------
13499
+ SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_yaml
13500
+ ------------------------------------------------------------------------------------------------------------
13501
+  (0.0ms) rollback transaction
13502
+  (0.0ms) begin transaction
13503
+ ----------------------------------------------------------------------
13504
+ SchedulerSerializerTest: test_dump_string_with_complete_values_as_yaml
13505
+ ----------------------------------------------------------------------
13506
+  (0.0ms) rollback transaction
13507
+  (0.0ms) begin transaction
13508
+ -------------------------------------------------------------------------
13509
+ SchedulerSerializerTest: test_dump_string_with_incomplete_values_as_array
13510
+ -------------------------------------------------------------------------
13511
+  (0.0ms) rollback transaction
13512
+  (0.0ms) begin transaction
13513
+ --------------------------------------------------------------------------------------------------------
13514
+ SchedulerSerializerTest: test_dump_array_with_incomplete_values,_and_default_selection_to_false,_as_yaml
13515
+ --------------------------------------------------------------------------------------------------------
13516
+  (0.0ms) rollback transaction
13517
+  (0.1ms) begin transaction
13518
+ --------------------------------------------------------------------------------------------------------------------------------------------
13519
+ SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_array,_with_default_selection_to_false
13520
+ --------------------------------------------------------------------------------------------------------------------------------------------
13521
+  (0.1ms) rollback transaction
13522
+  (0.0ms) begin transaction
13523
+ ----------------------------------------------------------------------------------------------------------
13524
+ SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_yaml
13525
+ ----------------------------------------------------------------------------------------------------------
13526
+  (0.1ms) rollback transaction
13527
+  (0.0ms) begin transaction
13528
+ ------------------------------------------------------------------------
13529
+ SchedulerSerializerTest: test_dump_array_with_incomplete_values_as_array
13530
+ ------------------------------------------------------------------------
13531
+  (0.0ms) rollback transaction
13532
+  (0.0ms) begin transaction
13533
+ -----------------------------------------------------------------------------------------------------
13534
+ SchedulerSerializerTest: test_load_an_incomplete_schedule_from_array,_with_default_selection_to_false
13535
+ -----------------------------------------------------------------------------------------------------
13536
+  (0.0ms) rollback transaction
13537
+  (0.0ms) begin transaction
13538
+ -------------------------------------------------------------------------------------------------------------
13539
+ SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_array
13540
+ -------------------------------------------------------------------------------------------------------------
13541
+  (0.1ms) rollback transaction
13542
+  (0.1ms) begin transaction
13543
+ -------------------------------------------------------------------
13544
+ SchedulerSerializerTest: test_load_an_incomplete_schedule_from_yaml
13545
+ -------------------------------------------------------------------
13546
+  (0.1ms) rollback transaction
13547
+  (0.1ms) begin transaction
13548
+ --------------------------------------------------------------------
13549
+ SchedulerSerializerTest: test_load_an_incomplete_schedule_from_array
13550
+ --------------------------------------------------------------------
13551
+  (0.0ms) rollback transaction
13552
+  (0.0ms) begin transaction
13553
+ ----------------------------------------------------------------
13554
+ SchedulerSerializerTest: test_load_a_complete_schedule_from_yaml
13555
+ ----------------------------------------------------------------
13556
+  (0.0ms) rollback transaction
13557
+  (0.0ms) begin transaction
13558
+ -----------------------------------------------
13559
+ TimespanTest: test_Timespan_with_default_values
13560
+ -----------------------------------------------
13561
+  (0.1ms) rollback transaction
13562
+  (0.0ms) begin transaction
13563
+ -----------------------------------
13564
+ TimespanTest: test_specifying_units
13565
+ -----------------------------------
13566
+  (0.1ms) rollback transaction
13567
+  (0.0ms) begin transaction
13568
+ ---------------------------------------------------
13569
+ TimespanTest: test_specifying_quantity_html_options
13570
+ ---------------------------------------------------
13571
+  (0.1ms) rollback transaction
13572
+  (0.0ms) begin transaction
13573
+ -----------------------------------------------
13574
+ TimespanTest: test_specifying_unit_html_options
13575
+ -----------------------------------------------
13576
+  (0.1ms) rollback transaction
13577
+  (0.0ms) begin transaction
13578
+ -----------------------------------
13579
+ TimespanTest: test_field_has_errors
13580
+ -----------------------------------
13581
+  (0.1ms) rollback transaction
13582
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
13588
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
13594
+  (0.0ms) begin transaction
13595
+ --------------------------------------------------------------------------------------
13596
+ SubmitBarTest: test_cancel_button_points_to_the_index_url_when_the_object_is_persisted
13597
+ --------------------------------------------------------------------------------------
13598
+  (0.1ms) SAVEPOINT active_record_1
13599
+ SQL (0.8ms) 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]]
13600
+  (0.1ms) 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
+  (38.6ms) rollback transaction
13603
+  (0.1ms) 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
+  (0.1ms) rollback transaction
13609
+  (0.1ms) 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
+  (0.1ms) rollback transaction
13615
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13621
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13627
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13633
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13639
+  (0.1ms) 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
+  (0.1ms) rollback transaction
13645
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13651
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13657
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13663
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13669
+  (0.1ms) begin transaction
13670
+ -------------------------------------
13671
+ DateTimePickersTest: test_date_picker
13672
+ -------------------------------------
13673
+  (0.1ms) rollback transaction
13674
+  (0.1ms) begin transaction
13675
+ ------------------------------------------
13676
+ DateTimePickersTest: test_date_time_picker
13677
+ ------------------------------------------
13678
+  (0.1ms) rollback transaction
13679
+  (0.0ms) begin transaction
13680
+ -----------------------------------------------------------------------------------
13681
+ DateTimePickersTest: test_add_an_option_to_the_time_control_in_the_date_time_picker
13682
+ -----------------------------------------------------------------------------------
13683
+  (0.1ms) rollback transaction
13684
+  (0.1ms) begin transaction
13685
+ ------------------------------------------------------
13686
+ DateTimePickersTest: test_add_an_option_to_time_picker
13687
+ ------------------------------------------------------
13688
+  (0.1ms) rollback transaction
13689
+  (0.0ms) begin transaction
13690
+ ------------------------------------------------------
13691
+ DateTimePickersTest: test_add_an_option_to_date_picker
13692
+ ------------------------------------------------------
13693
+  (0.2ms) rollback transaction
13694
+  (0.0ms) begin transaction
13695
+ -----------------------------------------------------------------------------
13696
+ DateTimePickersTest: test_overwrite_one_of_the_default_options_to_date_picker
13697
+ -----------------------------------------------------------------------------
13698
+  (0.1ms) rollback transaction
13699
+  (0.0ms) begin transaction
13700
+ -----------------------------------------------------------------------------------
13701
+ DateTimePickersTest: test_add_an_option_to_the_date_control_in_the_date_time_picker
13702
+ -----------------------------------------------------------------------------------
13703
+  (0.1ms) rollback transaction
13704
+  (0.0ms) begin transaction
13705
+ -------------------------------------
13706
+ DateTimePickersTest: test_time_picker
13707
+ -------------------------------------
13708
+  (0.1ms) rollback transaction
13709
+  (0.0ms) begin transaction
13710
+ -----------------------------
13711
+ SchedulerTest: test_scheduler
13712
+ -----------------------------
13713
+  (0.1ms) rollback transaction
13714
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
13715
+  (0.2ms) begin transaction
13716
+ -----------------------------
13717
+ SchedulerTest: test_scheduler
13718
+ -----------------------------
13719
+  (0.1ms) rollback transaction
13720
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13726
+  (0.1ms) 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
+  (0.1ms) rollback transaction
13732
+  (0.1ms) 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
+  (0.1ms) rollback transaction
13738
+  (0.1ms) 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
+  (0.1ms) rollback transaction
13744
+  (0.1ms) 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
+  (0.1ms) rollback transaction
13750
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13756
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13762
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13768
+  (0.1ms) 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
+  (0.1ms) rollback transaction
13774
+  (0.1ms) begin transaction
13775
+ --------------------------------------------------------------------------------------
13776
+ SubmitBarTest: test_cancel_button_points_to_the_index_url_when_the_object_is_persisted
13777
+ --------------------------------------------------------------------------------------
13778
+  (0.1ms) SAVEPOINT active_record_1
13779
+ SQL (15.8ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13781
+ Rendered /Users/jesus/Documents/rails-bootstrap-form-extensions/app/views/bootstrap_form_extensions/_submit_bar.html.erb (0.2ms)
13782
+  (0.5ms) rollback transaction
13783
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
13789
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
13795
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
13801
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
13807
+  (0.0ms) begin transaction
13808
+ ---------------------------------------
13809
+ BootstrapFormExtensionsTest: test_truth
13810
+ ---------------------------------------
13811
+  (0.0ms) rollback transaction
13812
+  (0.0ms) begin transaction
13813
+ ---------------------------------------------------------------------------------------------------------
13814
+ DurationTest: test_duration_without_bootstrap_accepts_wrapper_options,_like_a_bootstrap_form's_form-group
13815
+ ---------------------------------------------------------------------------------------------------------
13816
+  (0.1ms) rollback transaction
13817
+  (0.1ms) begin transaction
13818
+ ---------------------------------------------
13819
+ DurationTest: test_duration_without_bootstrap
13820
+ ---------------------------------------------
13821
+  (0.1ms) rollback transaction
13822
+  (0.0ms) begin transaction
13823
+ -------------------------------------------------------------------------------------------------------
13824
+ DurationTest: test_duration_without_bootstrap_accepts_wrapper_class,_like_a_bootstrap_form's_form-group
13825
+ -------------------------------------------------------------------------------------------------------
13826
+  (0.1ms) rollback transaction
13827
+  (0.1ms) begin transaction
13828
+ ---------------------------
13829
+ DurationTest: test_duration
13830
+ ---------------------------
13831
+  (0.1ms) rollback transaction
13832
+  (0.0ms) begin transaction
13833
+ ---------------------------------------------------
13834
+ SelectOrNewTest: test_add_a_css_class_to_the_select
13835
+ ---------------------------------------------------
13836
+  (0.1ms) rollback transaction
13837
+  (0.0ms) begin transaction
13838
+ --------------------------------------------------------
13839
+ SelectOrNewTest: test_display_new,_if_option_is_selected
13840
+ --------------------------------------------------------
13841
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 0]]
13842
+  (0.1ms) rollback transaction
13843
+  (0.1ms) begin transaction
13844
+ -----------------------------------
13845
+ SelectOrNewTest: test_select_or_new
13846
+ -----------------------------------
13847
+  (0.1ms) rollback transaction
13848
+  (0.1ms) begin transaction
13849
+ -------------------------------------
13850
+ DateTimePickersTest: test_date_picker
13851
+ -------------------------------------
13852
+  (0.1ms) rollback transaction
13853
+  (0.0ms) begin transaction
13854
+ ------------------------------------------
13855
+ DateTimePickersTest: test_date_time_picker
13856
+ ------------------------------------------
13857
+  (0.1ms) rollback transaction
13858
+  (0.0ms) begin transaction
13859
+ -------------------------------------
13860
+ DateTimePickersTest: test_time_picker
13861
+ -------------------------------------
13862
+  (0.1ms) rollback transaction
13863
+  (0.1ms) begin transaction
13864
+ ------------------------------------------------------
13865
+ DateTimePickersTest: test_add_an_option_to_date_picker
13866
+ ------------------------------------------------------
13867
+  (0.1ms) rollback transaction
13868
+  (0.0ms) begin transaction
13869
+ -----------------------------------------------------------------------------------
13870
+ DateTimePickersTest: test_add_an_option_to_the_date_control_in_the_date_time_picker
13871
+ -----------------------------------------------------------------------------------
13872
+  (0.1ms) rollback transaction
13873
+  (0.0ms) begin transaction
13874
+ -----------------------------------------------------------------------------------
13875
+ DateTimePickersTest: test_add_an_option_to_the_time_control_in_the_date_time_picker
13876
+ -----------------------------------------------------------------------------------
13877
+  (0.1ms) rollback transaction
13878
+  (0.0ms) begin transaction
13879
+ ------------------------------------------------------
13880
+ DateTimePickersTest: test_add_an_option_to_time_picker
13881
+ ------------------------------------------------------
13882
+  (0.1ms) rollback transaction
13883
+  (0.0ms) begin transaction
13884
+ -----------------------------------------------------------------------------
13885
+ DateTimePickersTest: test_overwrite_one_of_the_default_options_to_date_picker
13886
+ -----------------------------------------------------------------------------
13887
+  (0.1ms) rollback transaction
13888
+  (0.1ms) begin transaction
13889
+ ---------------------------------------------------
13890
+ TimespanTest: test_specifying_quantity_html_options
13891
+ ---------------------------------------------------
13892
+  (0.1ms) rollback transaction
13893
+  (0.0ms) begin transaction
13894
+ -----------------------------------------------
13895
+ TimespanTest: test_Timespan_with_default_values
13896
+ -----------------------------------------------
13897
+  (0.1ms) rollback transaction
13898
+  (0.0ms) begin transaction
13899
+ -----------------------------------------------
13900
+ TimespanTest: test_specifying_unit_html_options
13901
+ -----------------------------------------------
13902
+  (0.1ms) rollback transaction
13903
+  (0.1ms) begin transaction
13904
+ -----------------------------------
13905
+ TimespanTest: test_field_has_errors
13906
+ -----------------------------------
13907
+  (0.1ms) rollback transaction
13908
+  (0.0ms) begin transaction
13909
+ -----------------------------------
13910
+ TimespanTest: test_specifying_units
13911
+ -----------------------------------
13912
+  (0.1ms) rollback transaction
13913
+  (0.0ms) begin transaction
13914
+ -------------------------------------------------------------------------
13915
+ SchedulerSerializerTest: test_dump_string_with_incomplete_values_as_array
13916
+ -------------------------------------------------------------------------
13917
+  (0.0ms) rollback transaction
13918
+  (0.1ms) begin transaction
13919
+ ------------------------------------------------------------------------
13920
+ SchedulerSerializerTest: test_dump_array_with_incomplete_values_as_array
13921
+ ------------------------------------------------------------------------
13922
+  (0.0ms) rollback transaction
13923
+  (0.0ms) begin transaction
13924
+ ----------------------------------------------------------------------
13925
+ SchedulerSerializerTest: test_dump_string_with_complete_values_as_yaml
13926
+ ----------------------------------------------------------------------
13927
+  (0.0ms) rollback transaction
13928
+  (0.0ms) begin transaction
13929
+ ------------------------------------------------------------------------------------------------------------
13930
+ SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_yaml
13931
+ ------------------------------------------------------------------------------------------------------------
13932
+  (0.0ms) rollback transaction
13933
+  (0.0ms) begin transaction
13934
+ --------------------------------------------------------------------
13935
+ SchedulerSerializerTest: test_load_an_incomplete_schedule_from_array
13936
+ --------------------------------------------------------------------
13937
+  (0.1ms) rollback transaction
13938
+  (0.0ms) begin transaction
13939
+ ----------------------------------------------------------------------------------------------------------
13940
+ SchedulerSerializerTest: test_dump_string_with_incomplete_values,_and_default_selection_to_false,_as_array
13941
+ ----------------------------------------------------------------------------------------------------------
13942
+  (0.0ms) rollback transaction
13943
+  (0.0ms) begin transaction
13944
+ ---------------------------------------------------------------------------------------------------------
13945
+ SchedulerSerializerTest: test_dump_array_with_incomplete_values,_and_default_selection_to_false,_as_array
13946
+ ---------------------------------------------------------------------------------------------------------
13947
+  (0.0ms) rollback transaction
13948
+  (0.1ms) begin transaction
13949
+ ----------------------------------------------------------------
13950
+ SchedulerSerializerTest: test_load_a_complete_schedule_from_yaml
13951
+ ----------------------------------------------------------------
13952
+  (0.1ms) rollback transaction
13953
+  (0.0ms) begin transaction
13954
+ -------------------------------------------------------------------
13955
+ SchedulerSerializerTest: test_load_an_incomplete_schedule_from_yaml
13956
+ -------------------------------------------------------------------
13957
+  (0.0ms) rollback transaction
13958
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13963
+  (0.1ms) begin transaction
13964
+ ------------------------------------------------------------------------
13965
+ SchedulerSerializerTest: test_dump_string_with_incomplete_values_as_yaml
13966
+ ------------------------------------------------------------------------
13967
+  (0.0ms) rollback transaction
13968
+  (0.1ms) begin transaction
13969
+ ----------------------------------------------------------------------------------------------------------
13970
+ SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_yaml
13971
+ ----------------------------------------------------------------------------------------------------------
13972
+  (0.1ms) rollback transaction
13973
+  (0.0ms) begin transaction
13974
+ ---------------------------------------------------------------------------------------------------------
13975
+ SchedulerSerializerTest: test_dump_string_with_incomplete_values,_and_default_selection_to_false,_as_yaml
13976
+ ---------------------------------------------------------------------------------------------------------
13977
+  (0.0ms) rollback transaction
13978
+  (0.1ms) begin transaction
13979
+ ----------------------------------------------------------------------------------------------------
13980
+ SchedulerSerializerTest: test_load_an_incomplete_schedule_from_yaml,_with_default_selection_to_false
13981
+ ----------------------------------------------------------------------------------------------------
13982
+  (0.1ms) rollback transaction
13983
+  (0.1ms) begin transaction
13984
+ --------------------------------------------------------------------------------------------------------
13985
+ SchedulerSerializerTest: test_dump_array_with_incomplete_values,_and_default_selection_to_false,_as_yaml
13986
+ --------------------------------------------------------------------------------------------------------
13987
+  (0.1ms) rollback transaction
13988
+  (0.0ms) 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
+  (0.1ms) rollback transaction
13993
+  (0.0ms) begin transaction
13994
+ -----------------------------------------------------------------------
13995
+ SchedulerSerializerTest: test_dump_array_with_incomplete_values_as_yaml
13996
+ -----------------------------------------------------------------------
13997
+  (0.0ms) rollback transaction
13998
+  (0.0ms) 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
+  (0.1ms) rollback transaction
14003
+  (0.0ms) begin transaction
14004
+ -------------------------------------------------------------------------------------------------------------
14005
+ SchedulerSerializerTest: test_load_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_from_array
14006
+ -------------------------------------------------------------------------------------------------------------
14007
+  (0.1ms) rollback transaction
14008
+  (0.0ms) begin transaction
14009
+ -----------------------------------------------------------------------------------------------------------
14010
+ SchedulerSerializerTest: test_dump_blank_values_(nil,_empty_string,_empty_array),_or_invalid_type,_as_array
14011
+ -----------------------------------------------------------------------------------------------------------
14012
+  (0.1ms) rollback transaction
14013
+  (0.0ms) begin transaction
14014
+ -----------------------------------------------------------------------------------------------------
14015
+ SchedulerSerializerTest: test_load_an_incomplete_schedule_from_array,_with_default_selection_to_false
14016
+ -----------------------------------------------------------------------------------------------------
14017
+  (0.0ms) rollback transaction
14018
+  (0.1ms) begin transaction
14019
+ -----------------------------------------------------------------
14020
+ SchedulerSerializerTest: test_load_a_complete_schedule_from_array
14021
+ -----------------------------------------------------------------
14022
+  (0.0ms) rollback transaction
14023
+  (0.0ms) begin transaction
14024
+ -----------------------------------------------------------------------
14025
+ SchedulerSerializerTest: test_dump_string_with_complete_values_as_array
14026
+ -----------------------------------------------------------------------
14027
+  (0.1ms) rollback transaction
14028
+  (0.1ms) begin transaction
14029
+ --------------------------------------------------------------------------------------------------
14030
+ ArrayedFieldTest: test_ArrayedField,_with_non-array_attribute,_assumes_the_value_is_an_empty_array
14031
+ --------------------------------------------------------------------------------------------------
14032
+  (0.1ms) rollback transaction
14033
+  (0.0ms) begin transaction
14034
+ -----------------------------------------------------------------
14035
+ ArrayedFieldTest: test_arrayed_json_field_with_custom_input_types
14036
+ -----------------------------------------------------------------
14037
+  (0.1ms) rollback transaction
14038
+  (0.0ms) begin transaction
14039
+ ----------------------------------------------------------------------------
14040
+ ArrayedFieldTest: test_pass_options_to_the_form_group_in_the_an_ArrayedField
14041
+ ----------------------------------------------------------------------------
14042
+  (0.1ms) rollback transaction
14043
+  (0.0ms) begin transaction
14044
+ -------------------------------------------------------------
14045
+ ArrayedFieldTest: test_arrayed_text_field_with_default_values
14046
+ -------------------------------------------------------------
14047
+  (0.1ms) rollback transaction
14048
+  (0.0ms) begin transaction
14049
+ -------------------------------------------------------------
14050
+ ArrayedFieldTest: test_arrayed_json_field_with_default_values
14051
+ -------------------------------------------------------------
14052
+  (0.1ms) rollback transaction
14053
+  (0.0ms) begin transaction
14054
+ ------------------------------------------------------------
14055
+ ArrayedFieldTest: test_arrayed_url_field_with_default_values
14056
+ ------------------------------------------------------------
14057
+  (0.1ms) rollback transaction
14058
+  (0.0ms) begin transaction
14059
+ ----------------------------------------------------------------------------------------------------
14060
+ ArrayedFieldTest: test_ArrayedField,_with_nonexistent_attribute,_assumes_the_value_is_an_empty_array
14061
+ ----------------------------------------------------------------------------------------------------
14062
+  (0.1ms) rollback transaction
@@ -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.0
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-20 00:00:00.000000000 Z
11
+ date: 2015-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bootstrap_form