carterdte_smtp_filter 0.0.6.1 → 0.0.6.2

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
  SHA1:
3
- metadata.gz: 7266dbb48c5a22de45bfc9755624444bb10241f2
4
- data.tar.gz: eb3a02c08f6ae91c7376db66d6e26b018ff0b34c
3
+ metadata.gz: c42e8cbd61e9e6b6bed182bdb11f79d4a7e234fe
4
+ data.tar.gz: 1f27736a7328ccedc5270b951994053b1011068a
5
5
  SHA512:
6
- metadata.gz: 87b3519720c732356c1a4fd8855882094725ac98b6d1a6a09246b38f3a8b2ce83b643c152dff698365fbbb945d649a9b9666c0da07f5382874d005ee12c5979e
7
- data.tar.gz: 88add1618bf54391abb0155de1c381228ea38fc6e4cfcec5ae578034999ac90bfc3c6dd6d2f5431442a17515872be6528edca73286af46d6dd9acc2eb7b60721
6
+ metadata.gz: 034603dbe675e1064c2eb9102426e55ad4a3619caf2d74e9e00efffbe2e02bfd60fb0c27bc6124b09f53868e705609a5787dcdce5523ffb2cabcb9215c310476
7
+ data.tar.gz: 0ba18c94d170f8b5a15b61c98b7370102b1631308ee7b751a8e9884f9238d0ca9b55c96e1c211ea2326712663d04ac7eb75d6ae42b6e03a307527578e2f61031
@@ -45,7 +45,9 @@ module CarterdteSmtpFilter
45
45
  end
46
46
 
47
47
  def get_data(data)
48
- @dte_xml.at_css(data).text
48
+ el = @dte_xml.at_css(data)
49
+ return el.text unless el.nil?
50
+ ""
49
51
  end
50
52
 
51
53
  def msg_type
@@ -1,3 +1,3 @@
1
1
  module CarterdteSmtpFilter
2
- VERSION = "0.0.6.1"
2
+ VERSION = "0.0.6.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carterdte_smtp_filter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6.1
4
+ version: 0.0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patricio Bruna
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-03 00:00:00.000000000 Z
11
+ date: 2015-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail