fluent-plugin-cassandra-cql 0.0.3 → 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.
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.4
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "fluent-plugin-cassandra-cql"
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["obie quelland"]
|
|
@@ -25,8 +25,8 @@ Gem::Specification.new do |s|
|
|
|
25
25
|
"Rakefile",
|
|
26
26
|
"VERSION",
|
|
27
27
|
"fluent-plugin-cassandra-cql.gemspec",
|
|
28
|
-
"lib/fluent/plugin/
|
|
29
|
-
"spec/
|
|
28
|
+
"lib/fluent/plugin/out_cassandra_cql.rb",
|
|
29
|
+
"spec/cassandra_cql_output_spec.rb",
|
|
30
30
|
"spec/spec.opts",
|
|
31
31
|
"spec/spec_helper.rb",
|
|
32
32
|
"spec/support/helpers.rb"
|
|
@@ -4,8 +4,8 @@ require 'json'
|
|
|
4
4
|
|
|
5
5
|
module Fluent
|
|
6
6
|
|
|
7
|
-
class
|
|
8
|
-
Fluent::Plugin.register_output('
|
|
7
|
+
class CassandraCqlOutput < BufferedOutput
|
|
8
|
+
Fluent::Plugin.register_output('cassandra_cql', self)
|
|
9
9
|
|
|
10
10
|
config_param :host, :string
|
|
11
11
|
config_param :port, :integer
|
|
@@ -15,13 +15,13 @@ CONFIG = %[
|
|
|
15
15
|
pop_data_keys true
|
|
16
16
|
]
|
|
17
17
|
|
|
18
|
-
describe Fluent::
|
|
18
|
+
describe Fluent::CassandraCqlOutput do
|
|
19
19
|
include Helpers
|
|
20
20
|
|
|
21
|
-
let(:driver) { Fluent::Test::BufferedOutputTestDriver.new(Fluent::
|
|
21
|
+
let(:driver) { Fluent::Test::BufferedOutputTestDriver.new(Fluent::CassandraCqlOutput, 'test') }
|
|
22
22
|
|
|
23
23
|
after(:each) do
|
|
24
|
-
d = Fluent::Test::BufferedOutputTestDriver.new(Fluent::
|
|
24
|
+
d = Fluent::Test::BufferedOutputTestDriver.new(Fluent::CassandraCqlOutput, 'test')
|
|
25
25
|
d.configure(CONFIG)
|
|
26
26
|
d.instance.connection.execute("TRUNCATE #{SPEC_COLUMN_FAMILY}")
|
|
27
27
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-cassandra-cql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -139,8 +139,8 @@ files:
|
|
|
139
139
|
- Rakefile
|
|
140
140
|
- VERSION
|
|
141
141
|
- fluent-plugin-cassandra-cql.gemspec
|
|
142
|
-
- lib/fluent/plugin/
|
|
143
|
-
- spec/
|
|
142
|
+
- lib/fluent/plugin/out_cassandra_cql.rb
|
|
143
|
+
- spec/cassandra_cql_output_spec.rb
|
|
144
144
|
- spec/spec.opts
|
|
145
145
|
- spec/spec_helper.rb
|
|
146
146
|
- spec/support/helpers.rb
|
|
@@ -159,7 +159,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
159
159
|
version: '0'
|
|
160
160
|
segments:
|
|
161
161
|
- 0
|
|
162
|
-
hash:
|
|
162
|
+
hash: -4372923918878550503
|
|
163
163
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
164
164
|
none: false
|
|
165
165
|
requirements:
|