pg_rails 7.0.8.pre.alpha.64 → 7.0.8.pre.alpha.65

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
  SHA256:
3
- metadata.gz: 897b3e763decbc3633e769f5c80b03b2ac4beeb6d7870418205890f07be921a3
4
- data.tar.gz: bcb3121b4f5c7dbdbf43f7363121617fdc1576b37fae413b508e947e68b1789b
3
+ metadata.gz: c1b7d742107efb7bfdd00d458d0df8b298395702ae8aacaa1cf1ffe9083ca09e
4
+ data.tar.gz: 2592e3ec5a153c28314bab3c754c86dfee514fe5cf308380bae1324e14167565
5
5
  SHA512:
6
- metadata.gz: 14f270d418616143ce27842e5ea615760ad472fdd81f758a41303a3cb45173b57beaec9ff54cdea07ef0b1200f02cfe24e2e978476f41d82f74627ce1de4c34c
7
- data.tar.gz: e66b21ddb42ee202b0bcd62b5e6cb0a22f16e6f5561edbc4e142b12acdcc91bd0131402dfef49f20db159fff99b05b76d5f57db9a53acec4ad92251d3e46ee42
6
+ metadata.gz: 1022d09e2a8fad3a7bca4cf92038ed521951daca564ecbca33c52c440cf565bd71758edbc7445f68e023c1eea4292647f50350f378675063912d1c3556a26030
7
+ data.tar.gz: 10910645b466eeb4bcbaae5610977f4ed61fe4c5886e9562ac25d3a4970f3b9a3c2f3153843d0be3f3d69e2c829683f5b1178e1ed8bb2d56f770aae3b6a8724c
@@ -49,11 +49,11 @@ function bindToastElements () {
49
49
  const toastQuery = '.pg-toast:not(.hide):not(.show)'
50
50
 
51
51
  const toastElList = document.querySelectorAll(toastQuery)
52
- Array.from(toastElList).each(toastEl => {
53
- new bootstrap.Toast(toastEl).show()
52
+ Array.from(toastElList).map(toastEl => {
54
53
  toastEl.addEventListener('hidden.bs.toast', () => {
55
54
  toastEl.remove()
56
55
  })
56
+ return new bootstrap.Toast(toastEl).show()
57
57
  })
58
58
  }
59
59
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.0.8-alpha.64'
4
+ VERSION = '7.0.8-alpha.65'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.8.pre.alpha.64
4
+ version: 7.0.8.pre.alpha.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso