fluent-plugin-logentries-simple-config 0.2.14y → 0.2.14y1

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
- SHA1:
3
- metadata.gz: d9f713571d4f8880deb56e85945dadfa8a97f645
4
- data.tar.gz: fb85fccf39bad163d1c4ca8e654dee329229ce3b
2
+ SHA256:
3
+ metadata.gz: fdb7cbf3a3148e8efd41ceab1f8fe16a3dc059b2e18275ac353dc48b6e3a33be
4
+ data.tar.gz: f33c669aafebdf64609758071817e040669389ea8e1f3dace6f1cc7fc653cef4
5
5
  SHA512:
6
- metadata.gz: d08871eaf7d8e48b39ba833c4cfc171a6fd16a8eba36b2b114c3e80291b9ac899e6007373ae6375d428acc3624f0120b5e7ee82210b6f5161226da5f5f984cb6
7
- data.tar.gz: 4d3547374b45818032b8dec12bc36837e96fdac191e8e7d4836032031710eb3342220a3c33e5c52dcccbc3e26dda390db317919f01730b54faee4cce4fd4a4aa
6
+ metadata.gz: acbc0a195b3ee2796d7a9aee0a58a6c444b9ffdc7f33d7617b03f445c0d861b406c3ed23fea1ada567f5fb8079edffb379682243e433468c26ed43b743ceaeb7
7
+ data.tar.gz: 311609e670dc8b5b8d1731b0d3f221de56cea25b38ab88181e282912e875af44ee1a586260c256b819a0fcdd127722b8a5cbe08f6251bc15586a195ac66ad203
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-logentries-simple-config"
7
- spec.version = "0.2.14y"
7
+ spec.version = "0.2.14y1"
8
8
  spec.authors = ["notmaxx"]
9
9
  spec.email = ["notmaxx@gmail.com"]
10
10
  spec.summary = "Logentries output plugin for Fluent event"
@@ -26,7 +26,7 @@ class Fluent::LogentriesOutput < Fluent::BufferedOutput
26
26
  def start
27
27
  @app_tokens = if @extra_tokens.present?
28
28
  puts "extra_tokens: #{@extra_tokens}"
29
- token_apps = (@extra_tokens.split(' ')&.select { |v| v&.strip&.presence })&.compact
29
+ token_apps = (@extra_tokens.split(' ')&.select { |v| (v&.strip&.size || 0) > 0 })&.compact
30
30
  puts "token_apps: #{token_apps}"
31
31
  if token_apps.present?
32
32
  {}.tap do |total_apps|
@@ -35,7 +35,7 @@ class Fluent::LogentriesOutput < Fluent::BufferedOutput
35
35
  token, apps = token_app.split(':')
36
36
  puts "token, apps: #{token}, #{apps}"
37
37
  if token.present? && apps.present?
38
- apps_list = (apps&.split(',')&.select { |v| v&.strip&.presence })&.compact
38
+ apps_list = (apps&.split(',')&.select { |v| (v&.strip&.size || 0) > 0 })&.compact
39
39
  puts "apps_list: #{apps_list}"
40
40
  if apps_list.present?
41
41
  apps_list.each { |app| total_apps[app] = token }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-logentries-simple-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.14y
4
+ version: 0.2.14y1
5
5
  platform: ruby
6
6
  authors:
7
7
  - notmaxx
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2020-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,8 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
58
  - !ruby/object:Gem::Version
59
59
  version: 1.3.1
60
60
  requirements: []
61
- rubyforge_project:
62
- rubygems_version: 2.4.8
61
+ rubygems_version: 3.0.6
63
62
  signing_key:
64
63
  specification_version: 4
65
64
  summary: Logentries output plugin for Fluent event