timely_reports 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/timely.rb +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODRmYTBhNDI1ODMxZTc3Mjc1M2EwYmM0OGUwZWE2MzYxZGFhNmI4YQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2U5MzI3MDZmZWM0NDExN2EyMWUzNzM3ZDYwM2IwNDkyNWZiMzg0Ng==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NzM0NTY3ZGYxMGVkZTE1ZGFlMmU3M2JjYjBiYjU4OWI3OTAxNTcwNDgwMTA0
|
10
|
+
NjNiMjQ2ZjQ0NzQxYzZlODgyNTgyNDdiMDNlNDcxNDMxODZiYjdlMTdlMTEz
|
11
|
+
OGZjNjQwYTI3OWY1YzM4OTQyNzhiZTVjYTBlMGVkNTIyZTkxNDU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWFmNGFjMDgyMGFiMzc2NTRmMjEyMTI2OWMyM2Y1ODlmNWRhY2IwOWY5OTcx
|
14
|
+
NjljZWZiNGEzMTg4ODE0NjBiN2Q2NjkwOTU2ZjM1OTIyNmQ2ZGVkYjMyOWVj
|
15
|
+
N2Y2NzIwODk0OTFlY2ExZTEwODAxNjUxZTc0NDZjNzQzYTM4Mzc=
|
data/lib/timely.rb
CHANGED
@@ -81,20 +81,20 @@ module Timely
|
|
81
81
|
case server
|
82
82
|
when String
|
83
83
|
if server =~ /redis\:\/\//
|
84
|
-
redis = Redis.connect(:
|
84
|
+
redis = Redis.connect(url: server, thread_safe: true)
|
85
85
|
else
|
86
86
|
server, namespace = server.split('/', 2)
|
87
87
|
host, port, db = server.split(':')
|
88
|
-
redis = Redis.new(:
|
89
|
-
:
|
88
|
+
redis = Redis.new(host: host, port: port,
|
89
|
+
thread_safe: true, db: db)
|
90
90
|
end
|
91
|
-
namespace ||= :
|
91
|
+
namespace ||= :timely
|
92
92
|
|
93
93
|
@redis = Redis::Namespace.new(namespace, :redis => redis)
|
94
94
|
when Redis::Namespace
|
95
95
|
@redis = server
|
96
96
|
else
|
97
|
-
@redis = Redis::Namespace.new(:
|
97
|
+
@redis = Redis::Namespace.new(:timely, :redis => server)
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timely_reports
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Ragaz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|