rails_mail 0.10.0 → 0.10.1

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: 74639c1eeda1941950ff03fed49be529f335fc3e1e6e9896afd8ce9a636daaa6
4
- data.tar.gz: bd46e033763529b995f444ef78d0390404d088d816e46300cf59bec3efbf3719
3
+ metadata.gz: 713d9716c2e0f883038bb954b1266575fa1f254e04367fa116b25dde46a69bd6
4
+ data.tar.gz: 05f5791bb498a169f7ab2a90f8fa1165dba264666e39b3559ad1f25c4660970d
5
5
  SHA512:
6
- metadata.gz: 4d1899db5ec6f5d1373c50e3dcc737be3a0156c01bbb60c8291e32a9ca5a8f0902451c7c90478ff4967624d1e372e842862067e9229ae634757f2518f311f557
7
- data.tar.gz: 24845fe1ef0b59edcc0257f0b1cf695b2e5872b38d0dd8f5d5afb1989401684cc4e2aa0e5764ea74f90ec4279a829443ee42e6cde6eb9ec84a7d65e321f727bc
6
+ metadata.gz: 20b6563ee2449cd8cc9f76a43c79ae35514c30365ef832f89d773e0722967a27a2aebeb5b89da8999fc7be857263e698120be66673229d1715af612ffcf6c951
7
+ data.tar.gz: 17410e94c060fada4766fdd97238864386e2b4866ae4152b74b4279394448e1e6a9178df17c64cbd411e0f09ff69502569b9c393c3fed0fc419ec09eb948b66f
@@ -7,6 +7,9 @@ module RailsMail
7
7
  },
8
8
  js: {
9
9
  tailwind: RailsMail::Engine.root.join("app", "frontend", "rails_mail", "vendor", "tailwind", "tailwind.min.js")
10
+ },
11
+ png: {
12
+ rails_mail_logo: RailsMail::Engine.root.join("app", "assets", "images", "rails_mail", "rails-mail.png")
10
13
  }
11
14
  }.freeze
12
15
 
@@ -1,5 +1,5 @@
1
1
  <div class="flex flex-col items-center justify-center h-screen">
2
2
  <h1 class="text-2xl font-bold mb-4">No emails at the moment</h1>
3
3
  <h2 class="text-xl mb-16">Once emails are sent from your app, they will appear here</h2>
4
- <%= image_tag "rails_mail/rails-mail.png", class: "mb-16" %>
4
+ <%= image_tag frontend_static_path(:rails_mail_logo, format: :png, locale: nil), class: "mb-16" %>
5
5
  </div>
data/config/routes.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  RailsMail::Engine.routes.draw do
2
2
  scope :frontend, controller: :frontends do
3
3
  get "modules/*name", action: :module, as: :frontend_module, constraints: { format: "js" }
4
- get "static/:name", action: :static, as: :frontend_static, constraints: { format: %w[css js] }
4
+ get "static/:name", action: :static, as: :frontend_static, constraints: { format: %w[css js png] }
5
5
  end
6
6
 
7
7
  resources :emails, only: [ :index, :show, :destroy ] do
@@ -1,3 +1,3 @@
1
1
  module RailsMail
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_mail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Philips
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-14 00:00:00.000000000 Z
11
+ date: 2025-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails