carterdte_smtp_filter 0.0.5.2 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/carterdte_smtp_filter/message.rb +2 -0
- data/lib/carterdte_smtp_filter/version.rb +1 -1
- data/test/test_message.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3005aa1651c3cc6be6b5c82971cb227f4f45f847
|
4
|
+
data.tar.gz: ca3f3e2fa003714cb06bf4a56c38781e355ee3ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ed9b5a34693d4f46264643c356b344ceb0b8582aa85f067b2c0758ba67a056a220834d9e847d47e547814e89858c418b40a03ac0c1f373831ded90c3727e784
|
7
|
+
data.tar.gz: 26094512b674bb1ca05a1319df5f5c705abcd8b2b1fbe87143cf99b555aeaf7db15281dc9f67f7bfcc02fc042e3df12d6725b087bea3413e2cf1e12193c766f0
|
data/test/test_message.rb
CHANGED
@@ -47,6 +47,8 @@ class TestMessage < Minitest::Test
|
|
47
47
|
assert_equal(message.email.from.first, json["message"]["from"])
|
48
48
|
assert_equal(message.email.date.to_s, json["message"]["sent_date"])
|
49
49
|
assert_equal("96529310-8", json["message"]["dte_attributes"]["rut_emisor"])
|
50
|
+
assert_equal("96529310-8", json["message"]["rut_emisor"])
|
51
|
+
assert(json["message"]["rut_receptor"], "No tiene receptor")
|
50
52
|
assert(json["message"]["qid"])
|
51
53
|
end
|
52
54
|
|
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.
|
4
|
+
version: 0.0.6
|
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-
|
11
|
+
date: 2015-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mail
|