fluent-plugin-eventlastvalue 0.0.5 → 0.0.5.1
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.
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fluent-plugin-eventlastvalue (0.0.
|
4
|
+
fluent-plugin-eventlastvalue (0.0.5)
|
5
5
|
fluentd
|
6
6
|
redis
|
7
7
|
|
@@ -10,7 +10,7 @@ GEM
|
|
10
10
|
specs:
|
11
11
|
cool.io (1.3.0)
|
12
12
|
diff-lcs (1.2.4)
|
13
|
-
fluentd (0.12.
|
13
|
+
fluentd (0.12.13)
|
14
14
|
cool.io (>= 1.2.2, < 2.0.0)
|
15
15
|
http_parser.rb (>= 0.5.1, < 0.7.0)
|
16
16
|
json (>= 1.4.3)
|
@@ -21,10 +21,10 @@ GEM
|
|
21
21
|
tzinfo-data (>= 1.0.0)
|
22
22
|
yajl-ruby (~> 1.0)
|
23
23
|
http_parser.rb (0.6.0)
|
24
|
-
json (1.8.
|
24
|
+
json (1.8.3)
|
25
25
|
msgpack (0.5.11)
|
26
26
|
rake (10.3.2)
|
27
|
-
redis (3.
|
27
|
+
redis (3.2.1)
|
28
28
|
rspec (2.14.1)
|
29
29
|
rspec-core (~> 2.14.0)
|
30
30
|
rspec-expectations (~> 2.14.0)
|
@@ -35,12 +35,12 @@ GEM
|
|
35
35
|
rspec-mocks (2.14.1)
|
36
36
|
sigdump (0.2.2)
|
37
37
|
string-scrub (0.0.5)
|
38
|
-
thread_safe (0.3.
|
38
|
+
thread_safe (0.3.5)
|
39
39
|
tzinfo (1.2.2)
|
40
40
|
thread_safe (~> 0.1)
|
41
41
|
tzinfo-data (1.2015.2)
|
42
42
|
tzinfo (>= 1.0.0)
|
43
|
-
yajl-ruby (1.1
|
43
|
+
yajl-ruby (1.2.1)
|
44
44
|
|
45
45
|
PLATFORMS
|
46
46
|
ruby
|
@@ -1,12 +1,12 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |gem|
|
3
3
|
gem.name = "fluent-plugin-eventlastvalue"
|
4
|
-
gem.version = "0.0.5"
|
5
|
-
gem.authors = ["Michael Arick", "
|
6
|
-
gem.email = ["marick@change.org"
|
4
|
+
gem.version = "0.0.5.1"
|
5
|
+
gem.authors = ["Michael Arick", "Change.org"]
|
6
|
+
gem.email = ["marick@change.org"]
|
7
7
|
gem.homepage = "https://github.com/change/fluent-plugin-eventlastvalue"
|
8
|
-
gem.summary = %q{Fluentd plugin to find the last value in a time-period of a field and emit it}
|
9
|
-
gem.description = %q{Fluentd plugin to find the last value in a time-period of a field and emit it}
|
8
|
+
gem.summary = %q{Fluentd plugin to find the last value in a time-period of a field and emit it or write it to redis}
|
9
|
+
gem.description = %q{Fluentd plugin to find the last value in a time-period of a field and emit it or write it to redis}
|
10
10
|
gem.license = "MIT"
|
11
11
|
|
12
12
|
gem.files = `git ls-files`.split("\n")
|
@@ -20,7 +20,7 @@ class Fluent::EventLastValueOutput < Fluent::BufferedOutput
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def format(tag, time, record)
|
23
|
-
return '' unless @last_value_key
|
23
|
+
return '' unless @last_value_key.nil? || record[@last_value_key]
|
24
24
|
[record[@id_key], record, (record[@comparator_key] || 0).to_f].to_json + "\n"
|
25
25
|
end
|
26
26
|
|
metadata
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-eventlastvalue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.5
|
4
|
+
version: 0.0.5.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Arick
|
9
|
-
- Sean Dick
|
10
9
|
- Change.org
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
@@ -94,10 +93,9 @@ dependencies:
|
|
94
93
|
- !ruby/object:Gem::Version
|
95
94
|
version: '0'
|
96
95
|
description: Fluentd plugin to find the last value in a time-period of a field and
|
97
|
-
emit it
|
96
|
+
emit it or write it to redis
|
98
97
|
email:
|
99
98
|
- marick@change.org
|
100
|
-
- sean@change.org
|
101
99
|
executables: []
|
102
100
|
extensions: []
|
103
101
|
extra_rdoc_files: []
|
@@ -135,7 +133,7 @@ rubygems_version: 1.8.23
|
|
135
133
|
signing_key:
|
136
134
|
specification_version: 3
|
137
135
|
summary: Fluentd plugin to find the last value in a time-period of a field and emit
|
138
|
-
it
|
136
|
+
it or write it to redis
|
139
137
|
test_files:
|
140
138
|
- spec/out_eventlastvalue_spec.rb
|
141
139
|
- spec/spec_helper.rb
|