fluent-plugin-storage-redis 0.0.4 → 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/fluent-plugin-storage-redis.gemspec +1 -1
- data/lib/fluent/plugin/storage_redis.rb +1 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97ac36f4f5276e643885fc3e6d6794cd38598a6f
|
4
|
+
data.tar.gz: 325e843315430d9264eb74c182ac5f46c1a604fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95a51b0c225bdedf36b510286d32dbe9ff8a74bcbd8a9584c0ec44b7b9a6a9f312c622c0b720659b6edd06480ccb0560d0b35a670bf030a4e5ad2161b7b10de0
|
7
|
+
data.tar.gz: 993e29fa80a147b06ec0fbca22f914cf9ec32e759408852b85c61e3e1ea1dfa0615587b835f7433b06a63eee6a88f35350b41b24976d8db7ddab49632497aba5
|
@@ -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-storage-redis"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.5"
|
8
8
|
spec.authors = ["Hiroshi Hatake"]
|
9
9
|
spec.email = ["cosmo0920.oucc@gmail.com"]
|
10
10
|
|
@@ -50,7 +50,7 @@ module Fluent
|
|
50
50
|
if object
|
51
51
|
begin
|
52
52
|
data = Yajl::Parser.parse(object)
|
53
|
-
raise Fluent::ConfigError, "Invalid contents (not object) in plugin redis storage: '#{@path}'" unless data.is_a?(Hash)
|
53
|
+
raise Fluent::ConfigError, "Invalid contents (not object) in plugin redis storage: '#{@path}'" unless data.is_a?(Hash)
|
54
54
|
rescue => e
|
55
55
|
log.error "failed to read data from plugin redis storage", path: @path, error: e
|
56
56
|
raise Fluent::ConfigError, "Unexpected error: failed to read data from plugin redis storage: '#{@path}'"
|
@@ -62,10 +62,6 @@ module Fluent
|
|
62
62
|
true
|
63
63
|
end
|
64
64
|
|
65
|
-
def persistent_always?
|
66
|
-
true
|
67
|
-
end
|
68
|
-
|
69
65
|
def load
|
70
66
|
begin
|
71
67
|
json_string = @redis.get(@path)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-storage-redis
|
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
|
- Hiroshi Hatake
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.6.
|
127
|
+
rubygems_version: 2.6.4
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: Fluentd storage plugin for Redis
|