postfix_status_line 0.1.3 → 0.1.4

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: 6e0228c71c5531a6bc5859266242b3c31e6e6479
4
- data.tar.gz: cc24c357e37e617b4e50bad0d7480584391f99db
3
+ metadata.gz: 931d2af96a39af0fb8fa223ec41ea3f90eb32237
4
+ data.tar.gz: 7d652ef403719f485738635c9c5073a8c4e643ad
5
5
  SHA512:
6
- metadata.gz: a2010e03c30750c4cf8234b6c35bf6f04bc9617f10621c3cf8544cdf993abb49cc2088b008c68130fb238b8187b0343463093a4464636485ad842b7ad9bf4c2b
7
- data.tar.gz: b7a7a09bb7c84721ea0bc7d9c5d81881f965b586b3d3dfb64641422695a50bbbd488c41707d4bc11de0cf2f71a6d63b18fbbdad56495e073b50e68f2eb3448dd
6
+ metadata.gz: 9756a89c6c9f256ea90e408eaf9f7198e7639a17b3dd0f301b633784602dc6fbc616e09c820e9dd91064b1b42ae3f0030514ec624d8d4426663a220f90189469
7
+ data.tar.gz: 0eccdae53fab91c7182fc25767fb484f3a84a553390eec59d73acb5ec96d8c21e5f5890438db279dc4cd40ecf08dc9f609ce0c16d8a2b2eefe9985e7837875cd
data/README.md CHANGED
@@ -36,8 +36,10 @@ PostfixStatusLine.parse(status_line)
36
36
  # "process" => "postfix/smtp[26490]",
37
37
  # "queue_id" => "D53A72713E5",
38
38
  # "relay" => "gateway-f1.isp.att.net[204.127.217.16]:25",
39
- # "status" => "sent (250 ok ; id=20120227140036M0700qer4ne)",
39
+ # "status" => "sent",
40
+ # "status_detail" => "(250 ok ; id=20120227140036M0700qer4ne)",
40
41
  # "time" => "Feb 27 09:02:37",
41
- # "to" => "<*******@bellsouth.net>"
42
+ # "to" => "<*******@bellsouth.net>",
43
+ # "domain" => "bellsouth.net"
42
44
  # }
43
45
  ```
@@ -132,7 +132,7 @@ static void put_status(char *value, VALUE hash) {
132
132
  if (reason != NULL) {
133
133
  *reason = '\0';
134
134
  reason++;
135
- rb_hash_aset(hash, rb_str_new2("reason"), rb_str_new2(reason));
135
+ rb_hash_aset(hash, rb_str_new2("status_detail"), rb_str_new2(reason));
136
136
  }
137
137
 
138
138
  rb_hash_aset(hash, rb_str_new2("status"), rb_str_new2(value));
@@ -1,3 +1,3 @@
1
1
  module PostfixStatusLine
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: postfix_status_line
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara