spree_backend 4.8.2 → 4.8.3

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: 1fcf46360a990310f18e30818626389d5a0ccb1e0d91bcd470616dacb58ce6b4
4
- data.tar.gz: 2280d31a00c62784a613e6d4b0a1be265b5cb87298ef9aca924d4a844dddcb39
3
+ metadata.gz: dc203b751097dffcd1b783fa13a58ac6b1106fde42cc0c2e450d4e12f53c0de7
4
+ data.tar.gz: c2422ced02c35b6aa74d804de3f1e6ebd11e032d24c6f6eba15619f8dcf7c4ef
5
5
  SHA512:
6
- metadata.gz: 4fe9f868e598c4e5762a9508377d619a8bbbd24162dabe14c834b4da642e94a96fd481d2254727bdc77bf8a3321cf2ddb165c1e496402c4e85430f26890aa8fd
7
- data.tar.gz: c8efa862bf95922a2c17fa68d1719662e2e7515702ad4fb0a8432991e8148c1038ee764e0280e109204a99324bfa736a04a6cc06daf1e70392970f8c950c0d53
6
+ metadata.gz: fbdc71bc7b7adf140799626122c8e6445821240790b12457ceacb19ae0cb86de08db4f01d696c7c8e8bb21085a7ee660e54b88c779688b676e4b891d99b1bf72
7
+ data.tar.gz: 75d9c618e81a6a692adbd0037dd08237c941bd54eb623e81b3d68d9a6cc9b5f5237b8080fc66ddcc5a8bebe3fa4036ac27380533ace0858e41c9ef8cec758f28
@@ -1,8 +1,9 @@
1
1
  // we need to delete select2 instances before document is saved to cache
2
2
  // https://stackoverflow.com/questions/36497723/select2-with-ajax-gets-initialized-several-times-with-rails-turbolinks-events
3
3
  document.addEventListener("turbo:before-cache", function() {
4
- $('select.select2').select2('destroy')
5
- $('select.select2-clear').select2('destroy')
4
+ $('select.select2, select.select2-clear').each(function() {
5
+ $(this).select2('destroy')
6
+ })
6
7
  })
7
8
 
8
9
  document.addEventListener("spree:load", function() {
@@ -1,6 +1,6 @@
1
1
  module Spree
2
2
  module Backend
3
- VERSION = '4.8.2'.freeze
3
+ VERSION = '4.8.3'.freeze
4
4
 
5
5
  def self.version
6
6
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spree_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.8.2
4
+ version: 4.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Schofield
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-06-13 00:00:00.000000000 Z
12
+ date: 2024-07-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: spree
@@ -2488,9 +2488,9 @@ licenses:
2488
2488
  - BSD-3-Clause
2489
2489
  metadata:
2490
2490
  bug_tracker_uri: https://github.com/spree/spree_backend/issues
2491
- changelog_uri: https://github.com/spree/spree_backend/releases/tag/v4.8.2
2491
+ changelog_uri: https://github.com/spree/spree_backend/releases/tag/v4.8.3
2492
2492
  documentation_uri: https://docs.spreecommerce.org/
2493
- source_code_uri: https://github.com/spree/spree_backend/tree/v4.8.2
2493
+ source_code_uri: https://github.com/spree/spree_backend/tree/v4.8.3
2494
2494
  post_install_message:
2495
2495
  rdoc_options: []
2496
2496
  require_paths: