better_mailer_previews 0.2.28 → 0.2.29

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: 6b55ed293faad4b003956d26224117ad77520b892e8ce53672f7fdd80d4d705b
4
- data.tar.gz: 1ac4db58fc2d7908b6fff297b84abd78e7a5fbace0597c6770af752e2e7c1720
3
+ metadata.gz: ed2b8e431d05cc6cce1a49590111765e8d89edfb95af2ddd4f230bf875654e24
4
+ data.tar.gz: 79d319691b7b7c63db0c5304ecbe7f24a30aac358810d1d641f9e8b4409de456
5
5
  SHA512:
6
- metadata.gz: '08de5907815e0f6977a13f000f1f24caa69b6a5b0cd0622970dfcd2f4e39c47e52c9428910e68772b6576f7a9fa0300068c2714d009ee8ff23983ecfd7d9d7db'
7
- data.tar.gz: 338158e8cb7bbb5dae4ed2d3dbb71f25525e561514c0941c24bb1908e747d2c5fcaa9b53b30a858c7bb056bcdb7ee2e40fb16175f662050974b41743c5cc122a
6
+ metadata.gz: de462d3acc0e681fac6f96fce65ceac01ab3b2f20b3499949504d077fb6399c75a0a93b9c656c8f0770acaf4d9b60f1fc140fa68ddbfc0a35a329893379b8892
7
+ data.tar.gz: 7ede2f31ccae45095e56dbc70b324f83e9e92e224f1761bf6bf51127bd5aab991f41d7ded10f7fad94129c95ff3abcf1c93aca811890393c139e9d8bdc33794f
data/README.md CHANGED
@@ -78,6 +78,10 @@ This engine will display all the [Actionmailer Previews](https://guides.rubyonra
78
78
 
79
79
  For all the mailers you'd like to preview, you need to set up the corresponding `ActionMailer::Preview` class. Once you've done that, this engine will automatically pull them all in and let you preview them!
80
80
 
81
+ ## Other things to note
82
+
83
+ - You need an internet connection for this to engine to work properly. This engine tries to load the TailwindCSS package via a CDN, to handle the app styling. Your browser will cache the package after you first download it though, which is handy.
84
+
81
85
  ## More from me
82
86
 
83
87
  If you like this gem, you'll probably like some of my other work (all Ruby on Rails stuff) —
@@ -50,7 +50,7 @@ module BetterMailerPreviews
50
50
  body: html_content,
51
51
  ).deliver_now
52
52
 
53
- flash[:notice] = "sent #{preview_class.to_s}.#{preview_method} to #{email_address}"
53
+ flash[:notice] = "sent #{preview_class.to_s}.#{preview_method} to #{email_address} [via #{Rails.application.config.action_mailer.delivery_method}]"
54
54
  redirect_back(fallback_location: root_path)
55
55
  end
56
56
  end
@@ -1,3 +1,3 @@
1
1
  module BetterMailerPreviews
2
- VERSION = "0.2.28"
2
+ VERSION = "0.2.29"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: better_mailer_previews
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.28
4
+ version: 0.2.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harrison Broadbent