better_mailer_previews 0.2.28 → 0.2.30

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: 8b69a7e6cf0bfd892b006a6cb3fbf95ac2fe67beb51882baca76310471e1f0e8
4
+ data.tar.gz: 96e7341144c8b995f6036aff7daaf3a56b7a8864714b710b6bc7f111ff6fd65c
5
5
  SHA512:
6
- metadata.gz: '08de5907815e0f6977a13f000f1f24caa69b6a5b0cd0622970dfcd2f4e39c47e52c9428910e68772b6576f7a9fa0300068c2714d009ee8ff23983ecfd7d9d7db'
7
- data.tar.gz: 338158e8cb7bbb5dae4ed2d3dbb71f25525e561514c0941c24bb1908e747d2c5fcaa9b53b30a858c7bb056bcdb7ee2e40fb16175f662050974b41743c5cc122a
6
+ metadata.gz: ac1acb09231a4bccc01de215200a2067b7a0c61be1b4408fac15458b7c1b5a0082bdf08821eeaff2067c5f45c6873fd296cf83b0235ce925140b89a55ada47a1
7
+ data.tar.gz: 95d4a6a587d7b63f660d8a2a6c62267c126f6530445437d24d1d7b38654aaaf3dbc8eae242fb446370ddca18f998374868be5d1ee2f9695b07061191d19130bb
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 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.30"
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.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Harrison Broadbent