fluent-plugin-woothee 0.2.0 → 0.2.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.
- checksums.yaml +4 -4
- data/.travis.yml +4 -1
- data/fluent-plugin-woothee.gemspec +2 -2
- data/lib/fluent/plugin/out_woothee.rb +5 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0c201cc1e9516daf291b1ff7d22472a618b40174
|
|
4
|
+
data.tar.gz: 519809403e2e68a7c6ac549ca855f7d688d90dd7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e6285cf1c8eea9a1f7f3a35069a2dc47635e42c545705f9374db5905009b00e8dd40f29d221f977dd53aa0fc884d4e5f049ace06c7476b941874ddb316eb048
|
|
7
|
+
data.tar.gz: 2199e3add880641eec75f66a57eb8d4d2d95a3a0e3ee0ede5ceb074c04d90d57a0bc08da227842db059244ea2fe776d156e5a1fcfd1bcabbfd68e31bb8c472ef
|
data/.travis.yml
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |gem|
|
|
4
4
|
gem.name = "fluent-plugin-woothee"
|
|
5
|
-
gem.version = "0.2.
|
|
5
|
+
gem.version = "0.2.1"
|
|
6
6
|
gem.authors = ["TAGOMORI Satoshi"]
|
|
7
7
|
gem.email = ["tagomoris@gmail.com"]
|
|
8
8
|
gem.description = %q{parsing by Project Woothee. See https://github.com/woothee/woothee }
|
|
9
9
|
gem.summary = %q{Fluentd plugin to parse UserAgent strings with woothee parser. It adds device information or filter records with specific device types.}
|
|
10
|
-
gem.homepage = "https://github.com/
|
|
10
|
+
gem.homepage = "https://github.com/woothee/fluent-plugin-woothee"
|
|
11
11
|
gem.license = "Apache-2.0"
|
|
12
12
|
|
|
13
13
|
gem.files = `git ls-files`.split($\)
|
|
@@ -7,6 +7,11 @@ class Fluent::WootheeOutput < Fluent::Output
|
|
|
7
7
|
define_method("router") { Fluent::Engine }
|
|
8
8
|
end
|
|
9
9
|
|
|
10
|
+
# Define `log` method for v0.10.42 or earlier
|
|
11
|
+
unless method_defined?(:log)
|
|
12
|
+
define_method("log") { $log }
|
|
13
|
+
end
|
|
14
|
+
|
|
10
15
|
config_param :tag, :string, :default => nil
|
|
11
16
|
config_param :remove_prefix, :string, :default => nil
|
|
12
17
|
config_param :add_prefix, :string, :default => nil
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-woothee
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TAGOMORI Satoshi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -85,7 +85,7 @@ files:
|
|
|
85
85
|
- test/helper.rb
|
|
86
86
|
- test/plugin/test_filter_woothee.rb
|
|
87
87
|
- test/plugin/test_out_woothee.rb
|
|
88
|
-
homepage: https://github.com/
|
|
88
|
+
homepage: https://github.com/woothee/fluent-plugin-woothee
|
|
89
89
|
licenses:
|
|
90
90
|
- Apache-2.0
|
|
91
91
|
metadata: {}
|
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
105
105
|
version: '0'
|
|
106
106
|
requirements: []
|
|
107
107
|
rubyforge_project:
|
|
108
|
-
rubygems_version: 2.
|
|
108
|
+
rubygems_version: 2.5.1
|
|
109
109
|
signing_key:
|
|
110
110
|
specification_version: 4
|
|
111
111
|
summary: Fluentd plugin to parse UserAgent strings with woothee parser. It adds device
|