fluent-plugin-mail 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e95e49ae368e3fbb82e5ebef940f54d0187b452
4
- data.tar.gz: cd188023e90cc9cddfbe4cf65b9005325fa7a14d
3
+ metadata.gz: 7bff3b6a307b6aeb3172ef9049d1346f6efb08b4
4
+ data.tar.gz: edb540a400e7aadd0e335ed10aa2414f7786678e
5
5
  SHA512:
6
- metadata.gz: b2c6932d1e8d6af85fb3b26620d09da99b593c9449b9ff70c8ceadf6ed16df54fe1046ffc6ba02b867d88d3b15d0d3be69197dafdebf12c0089c9950515ccbc3
7
- data.tar.gz: 7c88b18676f9e33e0d283f1e878915f72531301600df010af4f4237a004f9d341461b98c685956cd1166cd9fb7a57b205b531a30c4f64d2711c9d896b12cfa43
6
+ metadata.gz: b4cecfcb8546c6862be3065d2f76ca085ec4590779a199913f635c51610865721800529f0144e9906220c213295d027f5c77b4c6f345cfeff7a7d607c5ba449c
7
+ data.tar.gz: 726943b2fec5b731ee109c7ca4e7911d87f8f94e3ff8a8ab74343ad75fb4337509d2ed3497560067039e8b978f29fc38718c3862e9e114ecf6cc860c67ce92d9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.2.2
2
+
3
+ Enhancements:
4
+
5
+ * Support secret parameter for `password` option (thanks to cosmo0920)
6
+
1
7
  # 0.2.1
2
8
 
3
9
  Fixes:
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/lib/fluent/ruby/bin/fluent-gem install fluent-plugin-mail
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
 
@@ -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.1'
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 << @out_keys.map do |key|
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.1
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-07-03 00:00:00.000000000 Z
12
+ date: 2015-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd