web47core 3.2.3.18 → 3.2.3.20
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 +4 -4
- data/app/helpers/core_table_action_helper.rb +2 -2
- data/lib/app/models/notification.rb +2 -2
- data/lib/web47core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca1c7f8861898914693cbdf182defb1771d5d03ac936a90f44939c83685917f7
|
|
4
|
+
data.tar.gz: 3a09e1cb6ae3ada711258323319f490647a34b453ceefd0a1bebaa620a611425
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67fd9a02ce60c644ba51c690310935a8c175c07183735530ca1066b19f55ca464f7d21febea736dca25b5e766a23121b543f8ae43e48924ec72c6bd0b5c49330
|
|
7
|
+
data.tar.gz: 405c00bd405e4dafad3fb53a4400ef4fcb9d38a9058be791e77372286f491ea6a24179585008ef07c35c75e2715bda1b6720d2821b6a29f19dcdffc349608055
|
|
@@ -103,7 +103,7 @@ module CoreTableActionHelper
|
|
|
103
103
|
def table_action_download_tag(record, options = {})
|
|
104
104
|
return unless can?(:read, record)
|
|
105
105
|
|
|
106
|
-
link_classes =
|
|
106
|
+
link_classes = table_tooltip_data(options, 'Download')
|
|
107
107
|
content_tag(:a, href: download_polymorphic_path(record), class: link_classes.join(' ')) do
|
|
108
108
|
svg_icon('download', type: options[:type] || :outline)
|
|
109
109
|
end
|
|
@@ -111,7 +111,7 @@ module CoreTableActionHelper
|
|
|
111
111
|
|
|
112
112
|
private
|
|
113
113
|
|
|
114
|
-
def
|
|
114
|
+
def table_tooltip_data(options, default_title)
|
|
115
115
|
classes = ['btn-floating', 'btn-small']
|
|
116
116
|
classes << 'tooltipped' unless options[:no_tooltip]
|
|
117
117
|
classes << options[:class] if options[:class]
|
|
@@ -256,11 +256,11 @@ class Notification
|
|
|
256
256
|
|
|
257
257
|
#
|
|
258
258
|
# Only send a message if this message is associated with an account
|
|
259
|
-
# and that has an active smtp configuration
|
|
259
|
+
# and that has an active smtp configuration,
|
|
260
260
|
# otherwise send it to support for the environment
|
|
261
261
|
#
|
|
262
262
|
def notify_failure(error)
|
|
263
|
-
if account.nil? || !account.
|
|
263
|
+
if account.nil? || !account.fetch_smtp_configuration.use?
|
|
264
264
|
error_email = EmailNotification.new
|
|
265
265
|
params = { company_name: SystemConfiguration.company_name,
|
|
266
266
|
error_message: error.message,
|
data/lib/web47core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: web47core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.3.
|
|
4
|
+
version: 3.2.3.20
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chris Schroeder
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|