dumper 1.7.2 → 1.7.3
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 +5 -5
- data/lib/dumper/database/redis.rb +3 -1
- data/lib/dumper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: df9e19e6d10d8e16d3d02ef597f1036dfc37e4f599f7a81ccceac056e174e976
|
|
4
|
+
data.tar.gz: 1f543f4f4639543c44e2fc9a51fc7ba48ee756de4af770dcd01abdbf72406f96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 686009568251107588fbf8252326328ffc7dc7a03058ace06e58007ae64f9fcc0374d12c1ae56890a23148a27397b75a5e5f54e65ad8e47c028163e9bdb0152d
|
|
7
|
+
data.tar.gz: 3c2866316588614a7243a4d157aca6b0baf8b4eb7f1d6d96adbc8e30e799b3f13805face5192057db5ce1bdc03173aaf2300c3d74736c54947c24a527988502b
|
|
@@ -13,7 +13,9 @@ module Dumper
|
|
|
13
13
|
return unless defined?(::Redis) &&
|
|
14
14
|
(main_thread_redis = find_instance_in_object_space(::Redis))
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
# redis-rb v4 added CLIENT command support
|
|
17
|
+
m = main_thread_redis.respond_to?(:_client) ? :_client : :client
|
|
18
|
+
client = main_thread_redis.send(m)
|
|
17
19
|
|
|
18
20
|
# New connection for the agent thread
|
|
19
21
|
redis = ::Redis.new(:host => client.host, :port => client.port, :password => client.password, :db => client.db)
|
data/lib/dumper/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dumper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kenn Ejima
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-11-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: multi_json
|
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
192
192
|
version: '0'
|
|
193
193
|
requirements: []
|
|
194
194
|
rubyforge_project:
|
|
195
|
-
rubygems_version: 2.
|
|
195
|
+
rubygems_version: 2.7.0
|
|
196
196
|
signing_key:
|
|
197
197
|
specification_version: 4
|
|
198
198
|
summary: The Dumper Agent for Rails
|