rubymta 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5365c89f03c443c663b6910c77d8766e007428dc
4
- data.tar.gz: e15eb994bef497cde1e7035e729ba50e5109edf2
3
+ metadata.gz: 9f2f695c59541a20a8e34337ba317ed506f133cd
4
+ data.tar.gz: c8c8a8de990c8c5be242d9ebfd0045752412acb6
5
5
  SHA512:
6
- metadata.gz: 783ffeac1b863c66e6d81aa96f314aca7954029a7d6f1bc3aaf96c8aefd3edeb8c4332812efdcaabe913d9285577e96e6824a0eff565310831432ff57aa094da
7
- data.tar.gz: a83ca9f014ae626de9f52faba9f9fc622a1664889ceadbb4855a70f1c12709d14717a90ae9cafec6e7c5901deaa24e5460a9c8807b0b4440936b6916d1799e76
6
+ metadata.gz: 9278791fe76b519f1346170f53bdecd9d49c7016e932db7d3efdb9525c6482ae14d214303c40c8f1e4da2c2d78aeb3771e2db3a605755fb8724f2863ea679532
7
+ data.tar.gz: 95803e0c36063ec5b425cf374b345d547f7db38084be49eba421694798039e235b5172951d97803d9a5918ef76c77226db06726f78e48a7e8b4a14603537c746
@@ -1,3 +1,9 @@
1
+ # v0.0.12
2
+
3
+ * Fixed the `send_text` in `QueueRunner` to not echo the data into the log when `LogQueueRunnerConversation` is set to `true`.
4
+ * Changed the text of the `-< (email message)` in Receiver to be `-> (data)` to match the QueueRunner class.
5
+
6
+
1
7
  # v0.0.11
2
8
 
3
9
  * Changed the STARTTLS to return a 500 error and continue processing. Before this change, it just erred out and closed the port with no feedback to the client. Because this error returns a 500 level error, the client is (ideally) expected to quit or restart the attempt from the beginning (at EHLO).
@@ -27,11 +27,11 @@ class QueueRunner
27
27
  if text.class==Array
28
28
  text.each do |line|
29
29
  @connection.write(line+CRLF)
30
- LOG.info(@mail_id) {"<- %s"%text} if LogQueueRunnerConversation
30
+ LOG.info(@mail_id) {"<- %s"%text} if LogQueueRunnerConversation && echo==:command
31
31
  end
32
32
  else
33
33
  @connection.write(text+CRLF)
34
- LOG.info(@mail_id) {"<- %s"%text} if LogQueueRunnerConversation
34
+ LOG.info(@mail_id) {"<- %s"%text} if LogQueueRunnerConversation && echo==:command
35
35
  end
36
36
  end
37
37
 
@@ -439,7 +439,7 @@ class Receiver
439
439
  body[:value] = value # this should be nil -- no argument on the DATA command
440
440
  body[:text] = lines = []
441
441
  send_text("354 Enter message, ending with \".\" on a line by itself")
442
- LOG.info(@mail[:mail_id]) {" -> (email message)"} if LogReceiverConversation && !ShowIncomingData
442
+ LOG.info(@mail[:mail_id]) {" -> (data)"} if LogReceiverConversation && !ShowIncomingData
443
443
  while true
444
444
  text = recv_text(ShowIncomingData)
445
445
  if text.nil? # the client closed the channel abruptly
@@ -1,5 +1,5 @@
1
1
  module Version
2
- VERSION = "0.0.11"
3
- MODIFIED = "2017-10-21"
2
+ VERSION = "0.0.12"
3
+ MODIFIED = "2017-10-25"
4
4
  end
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubymta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael J. Welch, Ph.D.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-21 00:00:00.000000000 Z
11
+ date: 2017-10-25 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: RubyMta is an experimental mail transport agent written in Ruby. See
14
14
  the README.