pg_rails 7.1.15 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/pg_engine/app/views/admin/eventos/new.html.slim +2 -0
- data/pg_engine/lib/pg_engine.rb +0 -1
- data/pg_layout/app/javascript/config/turbo_rails/index.js +1 -0
- data/pg_layout/app/javascript/config/turbo_rails/progress_bar.js +17 -0
- data/pg_rails/lib/version.rb +1 -1
- metadata +29 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 682cb0d34f5b9fd5b90c73dab52290c14f5a916727e2ad42ff93931529e9a0ad
|
4
|
+
data.tar.gz: 5d5403222c95b985435129b7a6c089bd0923c752805a1c497dc20ea9278e2655
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5103978d4427bda089782ab1930ca058e2f759c0e17ab7d7e3326b126b8e7803cb7903ddc7e167ff4e866c0a58b57b73ac87b082cffae20cdd0c63cd8781caca
|
7
|
+
data.tar.gz: 17816668dcb26c86e1b5abc881276b25eea748a8dfe28196dd1d67e70fc15072408ffdbd98b173cebdc6502e47de79f35a7f7a32551ed9d00c71b3bd4639e3ba
|
@@ -3,8 +3,10 @@
|
|
3
3
|
|
4
4
|
= f.input :type, as: :select, collection: @notifier_types
|
5
5
|
- if params[:plain_text]
|
6
|
+
= link_to 'Change to rich text', url_for
|
6
7
|
= f.input :message, as: :text
|
7
8
|
- else
|
9
|
+
= link_to 'Change to plain text', url_for(plain_text: true)
|
8
10
|
= f.rich_text_area :message
|
9
11
|
= f.input :message_text, as: :text, hint: 'Solo para emails, para la plain/text part'
|
10
12
|
= f.input :tooltip
|
data/pg_engine/lib/pg_engine.rb
CHANGED
@@ -0,0 +1,17 @@
|
|
1
|
+
// app/javascript/turbo_progress_bar.js
|
2
|
+
import { Turbo } from '@hotwired/turbo-rails'
|
3
|
+
|
4
|
+
const adapter = Turbo.navigator.delegate.adapter
|
5
|
+
|
6
|
+
document.addEventListener('turbo:before-fetch-request', function (event) {
|
7
|
+
const target = event.target
|
8
|
+
if (!(target instanceof HTMLElement)) return
|
9
|
+
|
10
|
+
if (target.getAttribute('data-turbo-action') === 'advance') {
|
11
|
+
adapter.formSubmissionStarted(this)
|
12
|
+
}
|
13
|
+
})
|
14
|
+
|
15
|
+
document.addEventListener('turbo:before-fetch-response', function (event) {
|
16
|
+
adapter.formSubmissionFinished(this)
|
17
|
+
})
|
data/pg_rails/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martín Rosso
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.
|
19
|
+
version: 7.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.
|
26
|
+
version: 7.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: anycable
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.5.
|
33
|
+
version: 1.5.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.5.
|
40
|
+
version: 1.5.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: anycable-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +212,14 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - "~>"
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 2.
|
215
|
+
version: 2.8.1
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - "~>"
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 2.
|
222
|
+
version: 2.8.1
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: nokogiri
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
@@ -296,14 +296,14 @@ dependencies:
|
|
296
296
|
requirements:
|
297
297
|
- - "~>"
|
298
298
|
- !ruby/object:Gem::Version
|
299
|
-
version: 5.
|
299
|
+
version: 5.7.0
|
300
300
|
type: :runtime
|
301
301
|
prerelease: false
|
302
302
|
version_requirements: !ruby/object:Gem::Requirement
|
303
303
|
requirements:
|
304
304
|
- - "~>"
|
305
305
|
- !ruby/object:Gem::Version
|
306
|
-
version: 5.
|
306
|
+
version: 5.7.0
|
307
307
|
- !ruby/object:Gem::Dependency
|
308
308
|
name: pundit
|
309
309
|
requirement: !ruby/object:Gem::Requirement
|
@@ -366,14 +366,14 @@ dependencies:
|
|
366
366
|
requirements:
|
367
367
|
- - "~>"
|
368
368
|
- !ruby/object:Gem::Version
|
369
|
-
version: 3.
|
369
|
+
version: '3.5'
|
370
370
|
type: :runtime
|
371
371
|
prerelease: false
|
372
372
|
version_requirements: !ruby/object:Gem::Requirement
|
373
373
|
requirements:
|
374
374
|
- - "~>"
|
375
375
|
- !ruby/object:Gem::Version
|
376
|
-
version: 3.
|
376
|
+
version: '3.5'
|
377
377
|
- !ruby/object:Gem::Dependency
|
378
378
|
name: jsbundling-rails
|
379
379
|
requirement: !ruby/object:Gem::Requirement
|
@@ -528,6 +528,20 @@ dependencies:
|
|
528
528
|
- - "~>"
|
529
529
|
- !ruby/object:Gem::Version
|
530
530
|
version: 2.3.6
|
531
|
+
- !ruby/object:Gem::Dependency
|
532
|
+
name: ransack
|
533
|
+
requirement: !ruby/object:Gem::Requirement
|
534
|
+
requirements:
|
535
|
+
- - "~>"
|
536
|
+
- !ruby/object:Gem::Version
|
537
|
+
version: 4.2.1
|
538
|
+
type: :runtime
|
539
|
+
prerelease: false
|
540
|
+
version_requirements: !ruby/object:Gem::Requirement
|
541
|
+
requirements:
|
542
|
+
- - "~>"
|
543
|
+
- !ruby/object:Gem::Version
|
544
|
+
version: 4.2.1
|
531
545
|
- !ruby/object:Gem::Dependency
|
532
546
|
name: ransack_memory
|
533
547
|
requirement: !ruby/object:Gem::Requirement
|
@@ -548,14 +562,14 @@ dependencies:
|
|
548
562
|
requirements:
|
549
563
|
- - "~>"
|
550
564
|
- !ruby/object:Gem::Version
|
551
|
-
version: 3.
|
565
|
+
version: '3.13'
|
552
566
|
type: :runtime
|
553
567
|
prerelease: false
|
554
568
|
version_requirements: !ruby/object:Gem::Requirement
|
555
569
|
requirements:
|
556
570
|
- - "~>"
|
557
571
|
- !ruby/object:Gem::Version
|
558
|
-
version: 3.
|
572
|
+
version: '3.13'
|
559
573
|
- !ruby/object:Gem::Dependency
|
560
574
|
name: noticed
|
561
575
|
requirement: !ruby/object:Gem::Requirement
|
@@ -826,6 +840,7 @@ files:
|
|
826
840
|
- pg_layout/app/javascript/config/rollbar.js
|
827
841
|
- pg_layout/app/javascript/config/tooltips.js
|
828
842
|
- pg_layout/app/javascript/config/turbo_rails/index.js
|
843
|
+
- pg_layout/app/javascript/config/turbo_rails/progress_bar.js
|
829
844
|
- pg_layout/app/javascript/config/turbo_rails/set_consumer.js
|
830
845
|
- pg_layout/app/javascript/controllers/application.js
|
831
846
|
- pg_layout/app/javascript/controllers/clear_timeout_controller.js
|