logstash-input-imap 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: 0d08520ac7ed68b83b07fc11f7d1b0c8c75a04a5
4
- data.tar.gz: 33c835a208fdcfaf07ea1535537ceda3b03d44d3
3
+ metadata.gz: 01c89c04b97c3871ddce87a351573eb2cb403d34
4
+ data.tar.gz: 4b7a2352c58ae6b1c7bdcdf87fea766d0b142ef1
5
5
  SHA512:
6
- metadata.gz: 07b830caaf8c7136e385e80e74733a1b2f0c8604f971b430ca60406141602fb1e432dd3bba6beb498fc1f346ed8777478c71ca08b62fd6c2e42237d04bac4c51
7
- data.tar.gz: b3493f455831759f8fb84da13ba1bde2b49e21a115efea31d79a7682cd34489d81ae9080c8ecc76fa11570a7a436a09033f2212b316adf395d3108d910547a69
6
+ metadata.gz: 9decd5d094a322c6f4bb1bc03b1466863953f7527c4815e017a591393d709b36bca681af98d1faf963c6ac985445b58b5fc0559d17b85e571393cd64b0083a0f
7
+ data.tar.gz: 7669772a24317c004d5542edd379004156d0850274a0e179e90ed2e725ba2a348a0751aa3018c95ce39a711670a9f4f19ab4edb5b8f6600fe6bf14f2120c51ee
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012-2015 Elasticsearch <http://www.elasticsearch.org>
1
+ Copyright (c) 20122015 Elasticsearch <http://www.elastic.co>
2
2
 
3
3
  Licensed under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License.
@@ -154,6 +154,8 @@ class LogStash::Inputs::IMAP < LogStash::Inputs::Base
154
154
  # the mail gem will set the correct encoding on header strings decoding
155
155
  # and we want to transcode it to utf8
156
156
  def transcode_to_utf8(s)
157
- s.encode(Encoding::UTF_8, :invalid => :replace, :undef => :replace)
157
+ unless s.nil?
158
+ s.encode(Encoding::UTF_8, :invalid => :replace, :undef => :replace)
159
+ end
158
160
  end
159
161
  end # class LogStash::Inputs::IMAP
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-imap'
4
- s.version = '0.1.3'
4
+ s.version = '0.1.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Read mail from IMAP servers"
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
8
- s.authors = ["Elasticsearch"]
9
- s.email = 'info@elasticsearch.com'
10
- s.homepage = "http://www.elasticsearch.org/guide/en/logstash/current/index.html"
8
+ s.authors = ["Elastic"]
9
+ s.email = 'info@elastic.co'
10
+ s.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-imap
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
- - Elasticsearch
7
+ - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-26 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -87,7 +87,7 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
90
- email: info@elasticsearch.com
90
+ email: info@elastic.co
91
91
  executables: []
92
92
  extensions: []
93
93
  extra_rdoc_files: []
@@ -101,7 +101,7 @@ files:
101
101
  - lib/logstash/inputs/imap.rb
102
102
  - logstash-input-imap.gemspec
103
103
  - spec/inputs/imap_spec.rb
104
- homepage: http://www.elasticsearch.org/guide/en/logstash/current/index.html
104
+ homepage: http://www.elastic.co/guide/en/logstash/current/index.html
105
105
  licenses:
106
106
  - Apache License (2.0)
107
107
  metadata:
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  version: '0'
124
124
  requirements: []
125
125
  rubyforge_project:
126
- rubygems_version: 2.4.5
126
+ rubygems_version: 2.1.9
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: Read mail from IMAP servers