bard-staging_banner 0.3.1 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bard/staging_banner/version.rb +1 -1
- data/lib/bard/staging_banner.rb +3 -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: 7faba5e3a067948f8088c0a61b032aabfde7ce4906f0949859a2412551de3c3b
|
4
|
+
data.tar.gz: a3672ee8a2172e225ba8243106255cb70c18e4d19b326d4265c62873ce614086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7e98793d18ee6469ceb1ae6f7cfbdc264ad8c5f30796e29c2b13c648c781eee8740c086bd32f430b0a887054534e2ee417d0aba199684b4304c61876f61987e
|
7
|
+
data.tar.gz: 532aa9963e105a697b05c35aa710e8f7b4b3f23ae2d87c58fb4d1199bf0a592b483f780863dd8b23ea3f9b87f32d3d150ee34e7859e1d0d795ec6c84522d6704
|
data/lib/bard/staging_banner.rb
CHANGED
@@ -8,7 +8,9 @@ module Bard
|
|
8
8
|
config.app_middleware.use Middleware
|
9
9
|
end
|
10
10
|
|
11
|
-
if
|
11
|
+
if defined?(ActionMailer) && %w[development staging].include?(Rails.env)
|
12
|
+
require "letter_opener_web"
|
13
|
+
|
12
14
|
initializer "bard-staging_banner.mount_letter_opener_web" do |app|
|
13
15
|
require "letter_opener_web"
|
14
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bard-staging_banner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Micah Geisel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: letter_opener_web
|