bootstrap_form_extensions 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea6af13108876ac56e80ba60e7fe66997fd60f9c
4
- data.tar.gz: a6a298c8bf86d0c63781c7933ee374af8aa7667a
3
+ metadata.gz: 704f467bd7032a12bc1ece91d3be8df5eeff4dfd
4
+ data.tar.gz: a20d309775899898a577a92e60e1809ee98699e5
5
5
  SHA512:
6
- metadata.gz: af6cc3010a5f9917d8dd0968ca1eb977e092be3766bc985f4af6886f63f9517f6af1a8d51b685e2044d6fae43c518a3eb5bb927d262c6225fc9b21a1aeaa68f5
7
- data.tar.gz: 71b56995d40c105d8c07548adb7cd1443c24d7ca906c9054f7622230ee1fa94cdaf276b53a39b0c77b497919d11939d2ba905e05e671941d29d542ac799a80aa
6
+ metadata.gz: c4ab3f2b6be2aeefe3262744d1c2a2ead7a701b9fff657b2ee58c323f79017611ff102e53abe4e51d03c705c13874119c58490caa7d8233c0d343df190986d04
7
+ data.tar.gz: 9d427a27c4ff9cfcda1576350f17dc14502f24e2d737693a5685888061046ed216e7cdf565a9eede0972e73b526e593060eb962ada15709eaaa116153c53cbf0
@@ -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.2'
13
+ ArrayedField.VERSION = '1.2.0'
14
14
 
15
15
  ArrayedField.prototype.addRow = function (event) {
16
16
  var blueprint = this.$container.find(".blueprint-for-arrayed-field > .row").clone(true)
@@ -61,7 +61,7 @@
61
61
  // ARRAYED FIELD DATA-API
62
62
  // ======================
63
63
 
64
- $(window).on('load page:load page:restore', function () {
64
+ $(window).on('load page:load turbolinks:load page:restore', function () {
65
65
  $('[data-arrayed-field]').each(function () {
66
66
  Plugin.call(this)
67
67
  })
@@ -9,7 +9,7 @@
9
9
  this.$container.on('change.bsfe.duration.data-api', 'input.hours, input.minutes, input.seconds, input.milliseconds', this.updateSeconds.bind(this))
10
10
  }
11
11
 
12
- Duration.VERSION = '1.0.4'
12
+ Duration.VERSION = '1.2.0'
13
13
 
14
14
  Duration.prototype.updateSeconds = function (event) {
15
15
  var hidden = this.$container.find('input.duration-seconds')
@@ -55,7 +55,7 @@
55
55
  // DURATION DATA-API
56
56
  // =================
57
57
 
58
- $(window).on('load page:load page:restore', function () {
58
+ $(window).on('load page:load turbolinks:load page:restore', function () {
59
59
  $('[data-duration]').each(function () {
60
60
  Plugin.call(this)
61
61
  })
@@ -12,7 +12,7 @@
12
12
  this.setInitialValues()
13
13
  }
14
14
 
15
- Scheduler.VERSION = '1.1.2'
15
+ Scheduler.VERSION = '1.2.0'
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))
@@ -217,7 +217,7 @@
217
217
  // SCHEDULER DATA-API
218
218
  // ==================
219
219
 
220
- $(window).on('load page:load page:restore', function () {
220
+ $(window).on('load page:load turbolinks:load page:restore', function () {
221
221
  $('[data-scheduler]').each(function () {
222
222
  Plugin.call(this)
223
223
  })
@@ -13,7 +13,7 @@
13
13
  this.createEvents()
14
14
  }
15
15
 
16
- SelectOrNew.VERSION = '1.1.2'
16
+ SelectOrNew.VERSION = '1.2.0'
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))
@@ -67,7 +67,7 @@
67
67
  // SELECT-OR-NEW DATA-API
68
68
  // ======================
69
69
 
70
- $(window).on('load page:load page:restore', function () {
70
+ $(window).on('load page:load turbolinks:load page:restore', function () {
71
71
  $('[data-select-or-new]').each(function () {
72
72
  Plugin.call(this)
73
73
  })
@@ -16,7 +16,7 @@
16
16
  $(element).timepicker($.extend(defaults, options))
17
17
  }
18
18
 
19
- TimePicker.VERSION = '1.1.2'
19
+ TimePicker.VERSION = '1.2.0'
20
20
 
21
21
 
22
22
  // TIME PICKER PLUGIN DEFINITION
@@ -49,7 +49,7 @@
49
49
  // TIME PICKER DATA-API
50
50
  // ====================
51
51
 
52
- $(window).on('load page:load page:restore', function () {
52
+ $(window).on('load page:load turbolinks:load page:restore', function () {
53
53
  $('[data-provide="timepicker"]').each(function () {
54
54
  var $picker = $(this)
55
55
  var options = $picker.html5data('time')
@@ -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.2'
12
+ Timespan.VERSION = '1.2.0'
13
13
 
14
14
  Timespan.prototype.updateSeconds = function (event) {
15
15
  var hidden = this.$container.find('.timespan-seconds')
@@ -51,7 +51,7 @@
51
51
  // TIMESPAN DATA-API
52
52
  // =================
53
53
 
54
- $(window).on('load page:load page:restore', function () {
54
+ $(window).on('load page:load turbolinks:load page:restore', function () {
55
55
  $('[data-timespan]').each(function () {
56
56
  Plugin.call(this)
57
57
  })
@@ -1,3 +1,3 @@
1
1
  module BootstrapFormExtensions
2
- VERSION = "1.1.2"
2
+ VERSION = "1.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap_form_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jesús Dugarte