fluent-plugin-clickhouse-output 0.0.2 → 0.0.4

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
  SHA256:
3
- metadata.gz: f3b8c77b050b4181339da242a1e39b6bd3019ff0046404395723e57a207e389d
4
- data.tar.gz: 674c5dcdc0a8b839482afcd6c646cd5821e0ecd9558ce65aca2f0487eee2824c
3
+ metadata.gz: f772a8a2bfb855d327f4fe8e663fbaaadfc9226bf9e3618d4198192c230c5c3f
4
+ data.tar.gz: 1aed66f3d04b357f59549c62c5b0c6ac9752ad6f56a7c395dc648441adb91c18
5
5
  SHA512:
6
- metadata.gz: bff6c90bd1af01fd3218e8afe72764c6ded856a1cf99c87e0318ad076759f284a2c4f43a899c85736ea824c8c6f5f474744a99dc530e03d5e182feeaedc6cae7
7
- data.tar.gz: 0b540b0d0e2c3d228f8d0a548c436096c92850cc6ebbd11af6daa698db131d107cdcff7299b323db8bc06336a8c5e1e667b9d1388f1b5fef8d1b03feeaaf7514
6
+ metadata.gz: e07bc57b438ade9a8ffa8460654e164980cae7143cf548d0ae703e5b667e1d369ab06e38e07f56b29dbec3edcfa57798eeb055b481ca0fc6beafd91990800b3d
7
+ data.tar.gz: 397a03a034a18cb9b2636799dd2bff43f186a7c42650ddd5b4785855f49c118022f32ee9976a1996519c71c31c7049795375a0a90991cc82d8ea001f807de557
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fluent-plugin-clickhouse-output (0.0.2)
4
+ fluent-plugin-clickhouse-output (0.0.4)
5
5
  clickhouse (~> 0.1)
6
6
  fluentd (~> 1.12)
7
7
 
@@ -64,6 +64,7 @@ GEM
64
64
  mustermann (1.1.1)
65
65
  ruby2_keywords (~> 0.0.1)
66
66
  pond (0.5.0)
67
+ power_assert (2.0.0)
67
68
  public_suffix (4.0.6)
68
69
  rack (2.2.3)
69
70
  rack-protection (2.1.0)
@@ -79,6 +80,8 @@ GEM
79
80
  rack-protection (= 2.1.0)
80
81
  tilt (~> 2.0)
81
82
  strptime (0.2.5)
83
+ test-unit (3.4.2)
84
+ power_assert
82
85
  thor (1.1.0)
83
86
  tilt (2.0.10)
84
87
  tzinfo (2.0.4)
@@ -97,6 +100,7 @@ DEPENDENCIES
97
100
  bundler (~> 1.17)
98
101
  fluent-plugin-clickhouse-output!
99
102
  rake (~> 10.0)
103
+ test-unit
100
104
 
101
105
  BUNDLED WITH
102
106
  1.17.3
data/Rakefile ADDED
@@ -0,0 +1,11 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
3
+
4
+ require 'rake/testtask'
5
+ Rake::TestTask.new(:test) do |test|
6
+ test.libs << 'lib' << 'test'
7
+ test.pattern = 'test/**/test_*.rb'
8
+ test.verbose = true
9
+ end
10
+
11
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "fluent/plugin/out_clickhouse"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'fluent-plugin-clickhouse-output'
8
- spec.version = '0.0.2'
8
+ spec.version = '0.0.4'
9
9
  spec.authors = ['Alex Malyi']
10
10
  spec.email = ['am@pixelx.pro']
11
11
 
@@ -26,6 +26,7 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.add_development_dependency 'bundler', '~> 1.17'
28
28
  spec.add_development_dependency 'rake', '~> 10.0'
29
+ spec.add_development_dependency "test-unit"
29
30
 
30
31
  spec.add_runtime_dependency 'fluentd', '~> 1.12'
31
32
  spec.add_runtime_dependency 'clickhouse', '~> 0.1'
@@ -2,13 +2,13 @@
2
2
 
3
3
  module Fluent
4
4
  class ClickHouseOutput < Fluent::BufferedOutput
5
- Fluent::Plugin.register_output('clickhouse-output', self)
5
+ Fluent::Plugin.register_output('clickhouse', self)
6
6
 
7
7
  include Fluent::SetTimeKeyMixin
8
8
  include Fluent::SetTagKeyMixin
9
9
 
10
10
  config_param :host, :string, :default => 'localhost'
11
- config_param :port, :string, :default => 8192
11
+ config_param :port, :string, :default => 8123
12
12
  config_param :urls, :string, :default => nil
13
13
  config_param :database, :string, :default => 'default'
14
14
  config_param :username, :string, :default => 'default'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-clickhouse-output
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Malyi
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: test-unit
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: fluentd
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -78,6 +92,9 @@ files:
78
92
  - Gemfile
79
93
  - Gemfile.lock
80
94
  - README.md
95
+ - Rakefile
96
+ - bin/console
97
+ - bin/setup
81
98
  - fluent-plugin-clickhouse-output.gemspec
82
99
  - lib/fluent/plugin/out_clickhouse.rb
83
100
  homepage: https://github.com/amlivedn/fluentd-plugin-clickhouse-output