wco_models 3.1.0.54 → 3.1.0.55

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 41ed3d61aaea366b6925edbffd7cc4cf955bfffaf21a46f029ab1e3d463e7e17
4
- data.tar.gz: efcfd16d8db203ab26fcbe58ea9b82cb08a4d32023c986de52a9a9f61d5eb740
3
+ metadata.gz: 5ae4d6cc7110308649e7a5712cbfe581d43d60020e4033bf2df363578ee65db2
4
+ data.tar.gz: 842a7799e8f0d6808b1899913ce4aeb6f6088e10df079c6ecdf845329ed566c0
5
5
  SHA512:
6
- metadata.gz: 2be84afa6c6de2b06ba0257553f100523fe052fabddc365292ae9cbe450070e95bb34e2a152eb026751f582e1167ea03b3253566448e42b4e69d2e485a2a6674
7
- data.tar.gz: 1a627331788250f7664b617dba05db34a74991aab270bc1604a2c3906860828a1940f8db049fc41ec7c335eaa15d38156bb3e8136bef46471450e62167fd7302
6
+ metadata.gz: 99f8d28d0370c8c0d080c3c622ef6f1f989c8384be29ba28ba062edd60a05f12183a7a37e73c4b19f9e05f10cd4c4d575e7d81ca5112a2c7d6497d793268f845
7
+ data.tar.gz: e85181146abbaf57ef9cbca611620fade206ea94ee0f0af5853ed912fa0647c181729e309f24080e3c278e6e9ceb2ddc67d8396eeaa4d9f6ece5437d6f9a0492
@@ -25,7 +25,7 @@ class WcoEmail::Context
25
25
  if self[:body].presence
26
26
  return self[:body]
27
27
  else
28
- return tmpl.body
28
+ return tmpl&.body || ''
29
29
  end
30
30
  end
31
31
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wco_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.54
4
+ version: 3.1.0.55
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor Pudeyev