ahoy_captain 1.0.2 → 1.1.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c44fd981b9fbb2d42bcc2494bb85a6610f0f46dc412bff5f6f2ad71d3e1d7f9e
|
4
|
+
data.tar.gz: 7ce88012a9fdb001ec6c4bdaf8253dd9ce4224e69c3730d1e82ce4fa892daf4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6181e69c70815a29acfcd0aa55ed86590262e9b0e4865c8700322c9657717588b079e5c3521daffd91550abaf91a8440e293e534317a81a15f7d658cb098b709
|
7
|
+
data.tar.gz: b1ef9c796a4582282c7629bf360a8b13e463f76ee9f2d45ecab3f0009eca46a42d17621cb0a40e3d9d6e6a9e7891c94faf9fdeba37d9e2072a1ed75a1e17a728
|
@@ -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,14 @@
|
|
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.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- joshmn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '3'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '3'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: importmap-rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -530,6 +530,8 @@ files:
|
|
530
530
|
- app/views/ahoy_captain/goals/index.html.erb
|
531
531
|
- app/views/ahoy_captain/layouts/application.html.erb
|
532
532
|
- app/views/ahoy_captain/layouts/shared/_tile_loader.html.erb
|
533
|
+
- app/views/ahoy_captain/layouts/shared/_widget_disabled.html+details.erb
|
534
|
+
- app/views/ahoy_captain/layouts/shared/_widget_disabled.html.erb
|
533
535
|
- app/views/ahoy_captain/locations/cities/index.html+details.erb
|
534
536
|
- app/views/ahoy_captain/locations/cities/index.html.erb
|
535
537
|
- app/views/ahoy_captain/locations/countries/index.html+details.erb
|