pg_rails 7.3.4 → 7.3.5

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
  SHA256:
3
- metadata.gz: 7b6625d4eea069719a53935223e89933c45ea8193b707a0a601646cf1c7d4d28
4
- data.tar.gz: 8fc921c742a0dd8c2d361b8844a36d04f92ca03617cec64dd178bf043ae11781
3
+ metadata.gz: 78a7c2d3d7277352e4c78b167e2d106a0d6fe1be83a1f5f27d3eacd00c0fb6f7
4
+ data.tar.gz: a066552a098bf72375cb3957a53b3f4db473d640ceeeaee833942e181ff057d5
5
5
  SHA512:
6
- metadata.gz: 42908b6091fa4b5d36cc10bcdc19c6665171c107f73c0dd7b2457355550e931e8bec5d212de311a8bb667090531506b2aab8ce30c101829566e8acd20b8f260f
7
- data.tar.gz: deba07fbf28846fb3a536ebc4d0002965cc131c4ad6bb626d4242c49ba9a45d303ccd85ccebec6f75cbd8eab6c3dea58159588541db785f4320e4fbdff0f5c7e
6
+ metadata.gz: edd3474ce84d32bddd24aa4b010c77c909534874eb8e8101468c7e5ebdf83b9b3db43c245049fae39ca716b79cc582315c81c14b5cdde6117d474b5c2aafeec3
7
+ data.tar.gz: cf514c46e8737deaac130cef0049b9e2fec7852948e946cff30b94a97134dbb8dd938b1be95a2e86a140152ad20c396508776a0e86c3bac8f21db5272435b0d1
@@ -31,7 +31,7 @@ document.addEventListener('turbo:before-fetch-request', (ev) => {
31
31
  // on successful redirect no haya posibilidad de que se abra un modal
32
32
  // FIXME: buscar una manera mejor de hacerlo porque es para problemas
33
33
  // quizás, con la movida de abrir modales desde JS
34
- if (ev.detail.fetchOptions.method === 'post') {
34
+ if (ev.detail.fetchOptions.method.toLowerCase() === 'post') {
35
35
  ev.detail.fetchOptions.headers.Accept = 'text/html, application/xhtml+xml'
36
36
  }
37
37
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PgRails
4
- VERSION = '7.3.4'
4
+ VERSION = '7.3.5'
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.3.4
4
+ version: 7.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martín Rosso