web47core 3.2.3.19 → 3.2.3.21

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: b8c29beafdaac61eeb927fb4252c31ab4b4a54af7d9c0215963fea7dade02341
4
- data.tar.gz: dfb353a8fd04ee44f07ef3a28b67cdda8b1067ac69de02a3734cd69574a66b51
3
+ metadata.gz: 96617e4b5114564358a5845a1907cea6ea09fa64d5e0b5c27015766f31ee7043
4
+ data.tar.gz: a12a58c8f63fbca854409224431e617e874595ca8ffe4b2553ebf52da30b0fcf
5
5
  SHA512:
6
- metadata.gz: f649a6e4cc61b8faf0972674a782a3299f0c91910a8747def6c1a0ea8816d950c3207c39ff78eb3401115ba1419307a715ffa1ed175c062c90f621cb4b3de714
7
- data.tar.gz: 4448b98e2006a48eff039773655792344969a12288d6181b487bf490837997635730f52260bdd74562baec1570aa249170b66c2d95e80f38b43add6aa055c363
6
+ metadata.gz: 2a0271b0b92ad4d8e47c80b468253b68fe1ad74a99330676698dc2c4750d2d96e79662cd049e0961ce32cf0e98a1e294440f11e5bf5ee061207570425e6a4494
7
+ data.tar.gz: 1a662452387bcc8c36580ac3b4b4c158688c78bfda0fb2531a203cc959e9bd723cbe732470520510a5111ed371aa8a26de5fb62fe718bf3c79c679e507e9d5f3
@@ -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 = tooltip_data(options, 'Download')
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 tooltip_data(options, default_title)
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]
@@ -195,8 +195,9 @@ class Notification
195
195
 
196
196
  def message_from_haml_text(haml_text, locals)
197
197
  locals[:base_url] = SystemConfiguration.base_url
198
- engine = Haml::Engine.new(haml_text)
199
- self.message = engine.render(Object.new, locals)
198
+
199
+ template = Haml::Template.new { haml_text }
200
+ self.message = template.render(Object.new, locals)
200
201
  end
201
202
 
202
203
  def message_from_haml_file(file_name, locals)
@@ -0,0 +1,10 @@
1
+ !!!
2
+ %html{lang: :en}
3
+ %head
4
+ %meta{content: 'text/html; charset=UTF-8'}
5
+ %body{style: 'margin:20px'}
6
+ %p Failed to send the following notification due to the following error:
7
+ %ul{style: 'list-style-type:none; margin:25px 15px;'}
8
+ %li
9
+ %b="Error: #{error_message}"
10
+ %b="Notification: #{notification_url}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Web47core
4
- VERSION = '3.2.3.19'
4
+ VERSION = '3.2.3.21'
5
5
  end
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.19
4
+ version: 3.2.3.21
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-18 00:00:00.000000000 Z
11
+ date: 2025-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -6623,6 +6623,7 @@ files:
6623
6623
  - lib/merge_coverage.rb
6624
6624
  - lib/templates/email/notification_failure.liquid
6625
6625
  - lib/templates/email/notification_failure.subject.liquid
6626
+ - lib/templates/email/verify_notification.haml
6626
6627
  - lib/templates/slack/error_message.liquid
6627
6628
  - lib/templates/slack/failed_delayed_job.liquid
6628
6629
  - lib/update_icons.rb