fluent-plugin-mail 0.2.1 → 0.2.2
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 +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +5 -2
- data/fluent-plugin-mail.gemspec +1 -1
- data/lib/fluent/plugin/out_mail.rb +2 -2
- 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: 7bff3b6a307b6aeb3172ef9049d1346f6efb08b4
|
|
4
|
+
data.tar.gz: edb540a400e7aadd0e335ed10aa2414f7786678e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b4cecfcb8546c6862be3065d2f76ca085ec4590779a199913f635c51610865721800529f0144e9906220c213295d027f5c77b4c6f345cfeff7a7d607c5ba449c
|
|
7
|
+
data.tar.gz: 726943b2fec5b731ee109c7ca4e7911d87f8f94e3ff8a8ab74343ad75fb4337509d2ed3497560067039e8b978f29fc38718c3862e9e114ecf6cc860c67ce92d9
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -11,10 +11,13 @@ Or install it yourself as:
|
|
|
11
11
|
|
|
12
12
|
$ gem install fluent-plugin-mail
|
|
13
13
|
|
|
14
|
-
Or use td-agent : (on Ubuntu12.04)
|
|
14
|
+
Or use td-agent 2: (on Ubuntu12.04)
|
|
15
15
|
|
|
16
|
-
$ sudo /usr/
|
|
16
|
+
$ sudo /usr/sbin/td-agent-gem install fluent-plugin-mail
|
|
17
|
+
|
|
18
|
+
Or use td-agent 1: (not recommeded. Use td-agent 2 instead)
|
|
17
19
|
|
|
20
|
+
$ sudo /usr/lib/fluent/ruby/bin/fluent-gem install fluent-plugin-mail
|
|
18
21
|
|
|
19
22
|
## Mail Configuration with out_keys (no auth)
|
|
20
23
|
|
data/fluent-plugin-mail.gemspec
CHANGED
|
@@ -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.2.
|
|
15
|
+
gem.version = '0.2.2'
|
|
16
16
|
|
|
17
17
|
gem.add_runtime_dependency "fluentd"
|
|
18
18
|
gem.add_runtime_dependency "string-scrub" if RUBY_VERSION.to_f < 2.1
|
|
@@ -17,7 +17,7 @@ class Fluent::MailOutput < Fluent::Output
|
|
|
17
17
|
config_param :port, :integer, :default => 25
|
|
18
18
|
config_param :domain, :string, :default => 'localdomain'
|
|
19
19
|
config_param :user, :string, :default => nil
|
|
20
|
-
config_param :password, :string, :default => nil
|
|
20
|
+
config_param :password, :string, :default => nil, :secret => true
|
|
21
21
|
config_param :from, :string, :default => 'localhost@localdomain'
|
|
22
22
|
config_param :to, :string, :default => ''
|
|
23
23
|
config_param :cc, :string, :default => ''
|
|
@@ -100,7 +100,7 @@ class Fluent::MailOutput < Fluent::Output
|
|
|
100
100
|
def create_key_value_message(tag, time, record)
|
|
101
101
|
values = []
|
|
102
102
|
|
|
103
|
-
values
|
|
103
|
+
values = @out_keys.map do |key|
|
|
104
104
|
case key
|
|
105
105
|
when @time_key
|
|
106
106
|
format_time(time, @time_format)
|
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.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yuichi UEMURA
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-
|
|
12
|
+
date: 2015-08-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: fluentd
|