ahoy_captain 1.0.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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8824fa0095690772cce4398a05e430b0eeca49906aa0168d61e9ffd56823956
|
|
4
|
+
data.tar.gz: 70f8db41482d24c7697d4d9911c82381fb0ab83c88ffcfe66231c04287b2fed1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c66a89ed4096fb6038f06d59c7545d3c5c5c7062f581699ed42b7ac75b9858cc8aa6fc8d7394cf5f2fe9d650308c75601d262c5e74315ae037e93c9679f5204a
|
|
7
|
+
data.tar.gz: 110a00721dd53babc226c4ed5194e1df1fbc7aed658f90526125c39f906d9b4574a0e0c3285421b54317ba1d60521e9dff7a85ab878ffb1609b4e9a127851ef4
|
|
@@ -18,7 +18,14 @@ module AhoyCaptain
|
|
|
18
18
|
before_action :act_like_an_spa
|
|
19
19
|
|
|
20
20
|
rescue_from Widget::WidgetDisabled do |e|
|
|
21
|
-
|
|
21
|
+
respond_to do |f|
|
|
22
|
+
f.turbo_stream do
|
|
23
|
+
render(partial: "ahoy_captain/layouts/shared/widget_disabled", locals: { frame: e.frame })
|
|
24
|
+
end
|
|
25
|
+
f.html do
|
|
26
|
+
render(partial: "ahoy_captain/layouts/shared/widget_disabled", locals: { frame: e.frame })
|
|
27
|
+
end
|
|
28
|
+
end
|
|
22
29
|
end
|
|
23
30
|
|
|
24
31
|
private
|
data/lib/ahoy_captain/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ahoy_captain
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- joshmn
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2026-01-19 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rails
|
|
@@ -58,14 +57,14 @@ dependencies:
|
|
|
58
57
|
requirements:
|
|
59
58
|
- - ">="
|
|
60
59
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
60
|
+
version: '3'
|
|
62
61
|
type: :runtime
|
|
63
62
|
prerelease: false
|
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
64
|
requirements:
|
|
66
65
|
- - ">="
|
|
67
66
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
67
|
+
version: '3'
|
|
69
68
|
- !ruby/object:Gem::Dependency
|
|
70
69
|
name: importmap-rails
|
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -348,7 +347,6 @@ dependencies:
|
|
|
348
347
|
version: '0'
|
|
349
348
|
description: A full-featured, mountable analytics dashboard for your Rails app, powered
|
|
350
349
|
by Ahoy.
|
|
351
|
-
email:
|
|
352
350
|
executables: []
|
|
353
351
|
extensions: []
|
|
354
352
|
extra_rdoc_files: []
|
|
@@ -530,6 +528,8 @@ files:
|
|
|
530
528
|
- app/views/ahoy_captain/goals/index.html.erb
|
|
531
529
|
- app/views/ahoy_captain/layouts/application.html.erb
|
|
532
530
|
- app/views/ahoy_captain/layouts/shared/_tile_loader.html.erb
|
|
531
|
+
- app/views/ahoy_captain/layouts/shared/_widget_disabled.html+details.erb
|
|
532
|
+
- app/views/ahoy_captain/layouts/shared/_widget_disabled.html.erb
|
|
533
533
|
- app/views/ahoy_captain/locations/cities/index.html+details.erb
|
|
534
534
|
- app/views/ahoy_captain/locations/cities/index.html.erb
|
|
535
535
|
- app/views/ahoy_captain/locations/countries/index.html+details.erb
|
|
@@ -569,14 +569,12 @@ files:
|
|
|
569
569
|
- lib/generators/ahoy_captain/migration_generator.rb
|
|
570
570
|
- lib/generators/ahoy_captain/templates/config.rb.tt
|
|
571
571
|
- lib/generators/ahoy_captain/templates/migration.rb.tt
|
|
572
|
-
homepage:
|
|
573
572
|
licenses:
|
|
574
573
|
- MIT
|
|
575
574
|
metadata:
|
|
576
575
|
homepage_uri: https://github.com/joshmn/ahoy_captain
|
|
577
576
|
source_code_uri: https://github.com/joshmn/ahoy_captain
|
|
578
577
|
changelog_uri: https://github.com/joshmn/ahoy_captain
|
|
579
|
-
post_install_message:
|
|
580
578
|
rdoc_options: []
|
|
581
579
|
require_paths:
|
|
582
580
|
- lib
|
|
@@ -591,8 +589,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
591
589
|
- !ruby/object:Gem::Version
|
|
592
590
|
version: '0'
|
|
593
591
|
requirements: []
|
|
594
|
-
rubygems_version: 3.
|
|
595
|
-
signing_key:
|
|
592
|
+
rubygems_version: 3.6.2
|
|
596
593
|
specification_version: 4
|
|
597
594
|
summary: A full-featured, mountable analytics dashboard for your Rails app, powered
|
|
598
595
|
by Ahoy.
|