redlics 0.1.8 → 0.1.9
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/lib/redlics.rb +4 -1
- data/lib/redlics/version.rb +1 -1
- data/redlics.gemspec +3 -3
- metadata +4 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d0b6f9912012f2d12cbf81290ff72c26bdd49049
|
|
4
|
+
data.tar.gz: d7a9c1c243581911669e4e972f7fc087ad6a240e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd4973305a3682c412d506f194c789e71d3b862e01f7223bd810dc5d12589ff4fc8ada741a3da3033916e6a5971216c9654c23d3e2e168841a0805ef87244283
|
|
7
|
+
data.tar.gz: 309cb16e5f92297b665653cd3c80f7daa6e4124cbf381dd3fc1795fdcc43e7f62dff97fbb706192ab88b20ca973e396a71ada380e8234cc41de476f4f7ad8d9e
|
data/lib/redlics.rb
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
require 'active_support/core_ext/module/delegation'
|
|
2
|
+
require 'active_support/time'
|
|
1
3
|
require 'msgpack'
|
|
4
|
+
require 'ostruct'
|
|
2
5
|
require 'redlics/version'
|
|
3
6
|
require 'redlics/config'
|
|
4
7
|
require 'redlics/exception'
|
|
@@ -54,7 +57,7 @@ module Redlics
|
|
|
54
57
|
sha = cache[file]
|
|
55
58
|
else
|
|
56
59
|
src = File.read(file)
|
|
57
|
-
sha = redis { |r| r.script(:load, src) }
|
|
60
|
+
sha = redis { |r| r.redis.script(:load, src) }
|
|
58
61
|
cache[file] = sha
|
|
59
62
|
end
|
|
60
63
|
redis { |r| r.evalsha(sha, *args) }
|
data/lib/redlics/version.rb
CHANGED
data/redlics.gemspec
CHANGED
|
@@ -12,9 +12,9 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.date = Time.now.utc.strftime('%Y-%m-%d')
|
|
13
13
|
spec.homepage = "http://github.com/phlegx/#{spec.name}"
|
|
14
14
|
|
|
15
|
-
spec.summary =
|
|
16
|
-
spec.description =
|
|
17
|
-
|
|
15
|
+
spec.summary = 'Redis analytics with tracks and counts.'
|
|
16
|
+
spec.description = 'Redis analytics with tracks (using bitmaps) and counts (using buckets)' \
|
|
17
|
+
'encoding numbers in Redis keys and values.'
|
|
18
18
|
spec.license = 'MIT'
|
|
19
19
|
|
|
20
20
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: redlics
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Egon Zemmer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|
|
@@ -120,9 +120,8 @@ dependencies:
|
|
|
120
120
|
- - "~>"
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
122
|
version: '5.8'
|
|
123
|
-
description:
|
|
124
|
-
|
|
125
|
-
encoding numbers in Redis keys and values.
|
|
123
|
+
description: Redis analytics with tracks (using bitmaps) and counts (using buckets)encoding
|
|
124
|
+
numbers in Redis keys and values.
|
|
126
125
|
email:
|
|
127
126
|
- office@phlegx.com
|
|
128
127
|
executables: []
|