web47core 2.3.0 → 2.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app/models/concerns/ses_configuration.rb +1 -3
- data/lib/web47core/version.rb +1 -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: ec10c4b909d94d3ffe33d295d3cace71d6df32f9f8423135a3fdeef751bc14a9
|
4
|
+
data.tar.gz: 31abe0ad43e31f3aaa772d0fa26c4812a0275c60dce07462fbc38197f327d7d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6975394b7b1db273ac3b4a271272db7c06a1b3e19256ec907619e0be32562030912994d0a7bf4193a785954adaf9e90dc3f7c7724cd94fc9538838e7ed789c3b
|
7
|
+
data.tar.gz: f2c84558a2de039603cff80a8907de0995d9033e2e6899b136648ebe759513fe3f160d4792c44ef82c68c2cc41a6081ebfe49c2442b9a8f19c4f7477ef0b9dcb
|
@@ -11,7 +11,6 @@ module SesConfiguration
|
|
11
11
|
#
|
12
12
|
# Fields
|
13
13
|
#
|
14
|
-
field :ses_source, type: String
|
15
14
|
field :ses_source_arn_prefix, type: String
|
16
15
|
field :ses_bounce_queue_name, type: String
|
17
16
|
field :ses_region, type: String
|
@@ -23,12 +22,11 @@ module SesConfiguration
|
|
23
22
|
#
|
24
23
|
def ses_configured?
|
25
24
|
aws_configured? &&
|
26
|
-
ses_source.present? &&
|
27
25
|
ses_source_arn_prefix.present? &&
|
28
26
|
(ses_region.present? || aws_region.present?)
|
29
27
|
end
|
30
28
|
|
31
|
-
def ses_source_arn(source =
|
29
|
+
def ses_source_arn(source = default_email)
|
32
30
|
[ses_source_arn_prefix, source].compact.join('/')
|
33
31
|
end
|
34
32
|
|
data/lib/web47core/version.rb
CHANGED
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: 2.3.
|
4
|
+
version: 2.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Schroeder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|