fluent-plugin-qqwry 0.0.3 → 0.0.5

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
2
  SHA1:
3
- metadata.gz: 505fcdc20fa75757cf8c9d349095fbf4d42700b1
4
- data.tar.gz: 0b3e80923b8b88d682ab5a477fd9f2a2f5023c3b
3
+ metadata.gz: b7a8ab5c454e3c5a201ba6828bbce69f13ba2a4b
4
+ data.tar.gz: b26b3a93a455259a96e4995099f9476b80fded10
5
5
  SHA512:
6
- metadata.gz: b6f7ffb3ac83a10302cc19cc050b5778dd3c6fc27a965b68ece2aca21712b287a9ad43da31f246bdc1ae82f9ecb660c1bebf7b15da42af401ab8292ce4a5cf2e
7
- data.tar.gz: 163fb0b66d43ccf4faec488195bdd31d66a665c87640c4ffdedf04f8e712d940c41c9e878be44dcd2d5df91d8aea3cd43328bd05ddcf439a41c681ebc1db4f3a
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
@@ -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.3"
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/qqwry.dat'
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.3
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/qqwry.dat
95
+ - data/qqwry_2013.dat
96
96
  - fluent-plugin-qqwry.gemspec
97
97
  - lib/fluent/plugin/out_qqwry.rb
98
98
  - test/helper.rb