fluent-plugin-cassandra-driver 0.0.21 → 0.0.22
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/VERSION +1 -1
- data/fluent-plugin-cassandra-driver.gemspec +2 -2
- data/lib/fluent/plugin/out_cassandra_driver.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 96b5cb6dd1c862945bfcb9e2c46471000650de8b
|
|
4
|
+
data.tar.gz: b8e23dd5ede389467896af6123bd5c44ca204e43
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 08ff01005dd43c3e532f43682836a44b3015d02bc261135593ba3d67a1ede52d828a155b04f93e1ae8197751a00296d811cbade76c009fd3445d7f33cf8ee923
|
|
7
|
+
data.tar.gz: 6742746cf2c5a61946bf53bccc082c9eeab3c1dbd978aa4160cae0a595d3956bbf9421fb0e07a0af445ef9701fbb182852247152a6b582658f8b3bf6d20c0b74
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.22
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: fluent-plugin-cassandra-driver 0.0.
|
|
5
|
+
# stub: fluent-plugin-cassandra-driver 0.0.22 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "fluent-plugin-cassandra-driver".freeze
|
|
9
|
-
s.version = "0.0.
|
|
9
|
+
s.version = "0.0.22"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib".freeze]
|
|
@@ -111,7 +111,9 @@ module Fluent
|
|
|
111
111
|
[column_family_key, value]
|
|
112
112
|
}.to_h
|
|
113
113
|
|
|
114
|
-
self.schema.
|
|
114
|
+
self.schema.each_with_index { |column_family_key, mapping|
|
|
115
|
+
record.delete(mapping.class == Hash ? mapping.first.first : column_family_key)
|
|
116
|
+
} if self.pop_data_keys
|
|
115
117
|
|
|
116
118
|
# if we have one more data in record and json column
|
|
117
119
|
# then store all remaining data in that column
|