redlics 0.1.3 → 0.1.4
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/README.md +5 -4
- data/lib/redlics/key.rb +1 -1
- data/lib/redlics/query.rb +1 -1
- data/lib/redlics/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 03c354152044a62cf2a313e57b2abdd007ec99c8
|
|
4
|
+
data.tar.gz: 6da2368b9fd7fa34c3269cc0fba59a3244b3014e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 07719d523d0675359e319e65bacaf189328c9f1bbbfc7a3da8bde6410aff6d357cdfecf6131da71a5a0748053f9e9787a9aed8026de035aa64cea79871562866
|
|
7
|
+
data.tar.gz: cad96df38256ea283ccdc5ddf5fb6ff7e06ed4b8feddcd6fcaaec2a46c5e39c588b9a163c8f4ffb2c052ffb11bee0141cae964623b8f4003b05cdb6d87e0a792
|
data/README.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
# Redlics
|
|
2
2
|
|
|
3
3
|
[](https://rubygems.org/gems/redlics)
|
|
4
|
+
[](https://rubygems.org/gems/redlics)
|
|
4
5
|
[](https://travis-ci.org/phlegx/redlics)
|
|
5
6
|
[](https://codeclimate.com/github/phlegx/redlics)
|
|
6
7
|
[](http://inch-ci.org/github/phlegx/redlics)
|
|
7
8
|
[](https://gemnasium.com/phlegx/redlics)
|
|
8
9
|
[](http://opensource.org/licenses/MIT)
|
|
9
10
|
|
|
10
|
-
Redis analytics with tracks (using bitmaps) and counts (using buckets) encoding numbers in Redis keys and values.
|
|
11
|
+
Record millions of tracks and counts consuming low memory! Redlics is a gem for Redis analytics with tracks (using bitmaps) and counts (using buckets) encoding numbers in Redis keys and values.
|
|
11
12
|
|
|
12
13
|
## Features
|
|
13
14
|
|
|
@@ -80,7 +81,7 @@ end
|
|
|
80
81
|
|
|
81
82
|
#### Buckets
|
|
82
83
|
|
|
83
|
-
If Redlics is configured to use buckets please configure Redis to allow an ideal size of list entries.
|
|
84
|
+
If Redlics is configured to use buckets, please configure Redis to allow an ideal size of list entries.
|
|
84
85
|
|
|
85
86
|
```ruby
|
|
86
87
|
# Redlics config
|
|
@@ -107,10 +108,10 @@ Read more:
|
|
|
107
108
|
* **Id:** 1234
|
|
108
109
|
* **Bucket size**: 1000
|
|
109
110
|
|
|
110
|
-
|
|
111
|
+
results in:
|
|
111
112
|
|
|
112
113
|
* **Bucket nr.:** 1 (part of Redis key)
|
|
113
|
-
* **Bucket entry nr.:** 234 (part of Redis value)
|
|
114
|
+
* **Bucket entry nr.:** 234 (part of Redis value as hash key)
|
|
114
115
|
|
|
115
116
|
#### Encoding
|
|
116
117
|
|
data/lib/redlics/key.rb
CHANGED
data/lib/redlics/query.rb
CHANGED
|
@@ -187,7 +187,7 @@ module Redlics
|
|
|
187
187
|
# @return [Integer] result of Redis delete keys
|
|
188
188
|
# @return [NilClass] nil if namespaces are empty
|
|
189
189
|
def finalize(namespaces)
|
|
190
|
-
proc { reset_redis_namespaces(namespaces)
|
|
190
|
+
proc { reset_redis_namespaces(namespaces) }
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
|
data/lib/redlics/version.rb
CHANGED
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.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Egon Zemmer
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-04-
|
|
11
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|