fluent-plugin-norikra 0.4.1 → 0.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f1ea13e9d2fec372cc11bd8a570af75ae57eb53
|
4
|
+
data.tar.gz: ab9f0364488b5efccc642ce161fcf610a10e2259
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6cddf277969c8940c6eb1fbb9ed155ab3a3d8faadd721c4e291d3fda611e431be42efd87c2353672ab2e00b3539779bcf27182bb9a2d1e17c2f0c408f90283d
|
7
|
+
data.tar.gz: 8ce86cbedd2e34ec295498c02f4836fbdb5fbf5cd0c932569b4107217811e46861659ce10f974c524322c59f93ff956c5a88d48ff133af0dbbbba6d6c460cd52
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "fluent-plugin-norikra"
|
5
|
-
spec.version = "0.4.
|
5
|
+
spec.version = "0.4.2"
|
6
6
|
spec.authors = ["TAGOMORI Satoshi"]
|
7
7
|
spec.email = ["tagomoris@gmail.com"]
|
8
8
|
spec.description = %q{process events on fluentd with SQL like query, with built-in Norikra server if needed.}
|
@@ -15,6 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
16
16
|
spec.require_paths = ["lib"]
|
17
17
|
|
18
|
+
spec.add_runtime_dependency "rack", "~> 1.6" # to prevent to install rack 2.0 (it requires ruby 2.2.2 or later)
|
18
19
|
spec.add_runtime_dependency "norikra-client", ">= 1.4.0"
|
19
20
|
spec.add_runtime_dependency "fluentd"
|
20
21
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'fluent/output'
|
1
2
|
require_relative 'norikra/output'
|
2
3
|
|
3
4
|
require 'norikra-client'
|
@@ -43,15 +44,6 @@ module Fluent
|
|
43
44
|
raise Fluent::ConfigError, 'target naming not specified (target_map_tag/target_map_key/target_string)'
|
44
45
|
end
|
45
46
|
|
46
|
-
conf.elements.each do |element|
|
47
|
-
case element.name
|
48
|
-
when 'default', 'target'
|
49
|
-
# ignore: processed in OutputMixin
|
50
|
-
else
|
51
|
-
raise Fluent::ConfigError, "unknown configuration section name for this plugin: #{element.name}"
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
47
|
setup_output(conf, false) # <query> disabled in <default> and <target TARGET>
|
56
48
|
end
|
57
49
|
|
@@ -1,3 +1,4 @@
|
|
1
|
+
require 'fluent/output'
|
1
2
|
require_relative 'norikra/input'
|
2
3
|
require_relative 'norikra/output'
|
3
4
|
|
@@ -70,17 +71,11 @@ module Fluent
|
|
70
71
|
|
71
72
|
conf.elements.each do |element|
|
72
73
|
case element.name
|
73
|
-
when 'default', 'target'
|
74
|
-
# ignore: processed in OutputMixin
|
75
|
-
when 'fetch'
|
76
|
-
# ignore: processed in InputMixin, and set @fetch_queue
|
77
74
|
when 'server'
|
78
75
|
@execute_server = true
|
79
76
|
@execute_jruby_path = element['jruby']
|
80
77
|
@execute_server_path = element['path']
|
81
78
|
@execute_server_opts = element['opts']
|
82
|
-
else
|
83
|
-
raise Fluent::ConfigError, "unknown configuration section name for this plugin: #{element.name}"
|
84
79
|
end
|
85
80
|
end
|
86
81
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-norikra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TAGOMORI Satoshi
|
@@ -10,6 +10,20 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2016-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rack
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.6'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: norikra-client
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -144,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
158
|
version: '0'
|
145
159
|
requirements: []
|
146
160
|
rubyforge_project:
|
147
|
-
rubygems_version: 2.
|
161
|
+
rubygems_version: 2.2.3
|
148
162
|
signing_key:
|
149
163
|
specification_version: 4
|
150
164
|
summary: Fluentd plugin to do CEP with norikra
|
@@ -158,4 +172,3 @@ test_files:
|
|
158
172
|
- test/test_query_generator.rb
|
159
173
|
- test/test_record_filter.rb
|
160
174
|
- test/test_target.rb
|
161
|
-
has_rdoc:
|