fluent-plugin-qqwry 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -1
- data/data/{qqwry.dat → qqwry_2013.dat} +0 -0
- data/fluent-plugin-qqwry.gemspec +1 -1
- data/lib/fluent/plugin/out_qqwry.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7a8ab5c454e3c5a201ba6828bbce69f13ba2a4b
|
4
|
+
data.tar.gz: b26b3a93a455259a96e4995099f9476b80fded10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3aff9879fc7cd5b0b9a95ab72d1c466b5076156b5ee9ead7f24fc013ff9744cd88fa0fe2aa3575cee8944e8aed5c7ba9d93fed0a67654280895cbfae2389406a
|
7
|
+
data.tar.gz: d3c86e94734d4b197ace10c9b4784327e86f4fc66232adedda9d3534da5074a41547a7b130829ca017034f6cc9af1c1fd028326978009687208966a443225573
|
data/README.md
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
# fluent-plugin-qqwry
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/fluent-plugin-qqwry.svg)](http://badge.fury.io/rb/fluent-plugin-qqwry)
|
4
|
+
|
3
5
|
Fluentd Output plugin to add information about geographical location of IP addresses with QQWry databases.
|
4
6
|
|
5
|
-
fluent-plugin-geoip has bundled qqwry.dat
|
7
|
+
fluent-plugin-geoip has bundled qqwry.dat (http://www.cz88.net)
|
6
8
|
|
7
9
|
## Dependency
|
8
10
|
|
File without changes
|
data/fluent-plugin-qqwry.gemspec
CHANGED
@@ -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-qqwry"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.5"
|
8
8
|
spec.authors = ["Chris Song"]
|
9
9
|
spec.email = ["fakechris@gmail.com"]
|
10
10
|
spec.summary = %q{Fluentd Output plugin to add information about geographical location of IP addresses with QQWry databases.}
|
@@ -8,7 +8,7 @@ class Fluent::QQWryOutput < Fluent::BufferedOutput
|
|
8
8
|
REGEXP_PLACEHOLDER_SCAN = /(\$\{[^\}]+?\})/
|
9
9
|
QQWRY_KEYS = %w(area country)
|
10
10
|
|
11
|
-
config_param :qqwry_database, :string, :default => File.dirname(__FILE__) + '/../../../data/
|
11
|
+
config_param :qqwry_database, :string, :default => File.dirname(__FILE__) + '/../../../data/qqwry_2013.dat'
|
12
12
|
config_param :qqwry_lookup_key, :string, :default => 'host'
|
13
13
|
config_param :tag, :string, :default => nil
|
14
14
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-qqwry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Song
|
@@ -92,7 +92,7 @@ files:
|
|
92
92
|
- LICENSE
|
93
93
|
- README.md
|
94
94
|
- Rakefile
|
95
|
-
- data/
|
95
|
+
- data/qqwry_2013.dat
|
96
96
|
- fluent-plugin-qqwry.gemspec
|
97
97
|
- lib/fluent/plugin/out_qqwry.rb
|
98
98
|
- test/helper.rb
|