fluent-plugin-mail 0.0.3 → 0.0.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: 08ceecd16cc939b91f13583cddc06d5c28a20b44
4
- data.tar.gz: 7e0ad279c8f9496e142dc6a7e188a91882dce0d5
3
+ metadata.gz: 5fb4a66df9f48748c3acbedab0915dfba8f4a257
4
+ data.tar.gz: 3beb51c6bc9be5041e1c3ca28a1e34b23e09ec46
5
5
  SHA512:
6
- metadata.gz: a551babe539ec1c50402f7493ef1f6b665f1746391ab7cf4e02d5927726dd0fc004dd37751b6bfd399598b071d2017864062e5f19bb3752a33b0e0cc8c580e98
7
- data.tar.gz: aeb29d542110009b5649596a95cc04d209b613e896dab30a0c11cccae6802325c4a40ce7b3770b8cdf95ce84726e6958537f0f5f1452163abd62d64af6b06d39
6
+ metadata.gz: 6bcdb05e89e5f84c07ee8d6e34da33c9bf6be22ad15fa614b93f6c5dba4e3b84a43d6ea7e189aeabf663cd8d4ee2c56f921958ba85dd1c9445d30beb34a33bca
7
+ data.tar.gz: d4e79e72bb217ce3559c991feff51b1e33fce365011028fb83b6fca2edcc74fc7195ec1d4922224177bc06fbcfd73c6affb824a0191c4fa25c9b519a0733e67f
data/README.md CHANGED
@@ -27,6 +27,7 @@ Or use td-agent : (on Ubuntu12.04)
27
27
  subject SUBJECT: %s
28
28
  subject_out_keys target_tag
29
29
  out_keys target_tag,pattern,value
30
+ time_locale UTC # optional
30
31
  </match>
31
32
 
32
33
  Email is sent like
@@ -55,6 +56,7 @@ You may use `message` parameter to define mail format as you like. Use `\n` to p
55
56
  subject_out_keys target_tag
56
57
  message %s %s\n%s
57
58
  message_out_keys target_tag,pattern,value
59
+ time_locale UTC # optional
58
60
  </match>
59
61
 
60
62
  Email is sent like
@@ -12,7 +12,7 @@ Gem::Specification.new do |gem|
12
12
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
13
13
  gem.name = "fluent-plugin-mail"
14
14
  gem.require_paths = ["lib"]
15
- gem.version = '0.0.3'
15
+ gem.version = '0.0.4'
16
16
  gem.add_development_dependency "fluentd"
17
17
  gem.add_development_dependency "rake"
18
18
  gem.add_runtime_dependency "fluentd"
@@ -164,8 +164,8 @@ class Fluent::MailOutput < Fluent::Output
164
164
  subject = subject.force_encoding('binary')
165
165
  body = msg.force_encoding('binary')
166
166
 
167
- if time_local
168
- date = Time::now.timezone(time_local)
167
+ if time_locale
168
+ date = Time::now.timezone(time_locale)
169
169
  else
170
170
  date = Time::now
171
171
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-mail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuichi UEMURA