ravanello 0.1.0 → 0.1.1
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/ravanello/version.rb +1 -1
- data/ravanello.gemspec +31 -2
- metadata +13 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: eb5e11211e15e3b64e0260b3838ede5d5b0d5b7621e7ca1c9a788a4c522409f8
|
4
|
+
data.tar.gz: 090741f6acf88736967635a7507ca2df9be271624b2841b24e39bd83a29dbd7b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dfb36832754d79b0acdb006c388f4661bec8bb28adf7b9f79043c9cfb7bf868b0727416327f0ec3b94bed758527e3dcd90f77fe88b40a4f720b4d215147cd9a
|
7
|
+
data.tar.gz: d8f2da14f4561764cbd15eda179e62d272c04a22dbebb574641e9ed3633a1029c143d3ebf61d40e1607660b1e569f6ced8d0996a47f33b19f22089cce7dd2701
|
data/lib/ravanello/version.rb
CHANGED
data/ravanello.gemspec
CHANGED
@@ -9,8 +9,37 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Salahutdinov Dmitry"]
|
10
10
|
spec.email = ["dsalahutdinov@gmail.com"]
|
11
11
|
|
12
|
-
spec.summary = %q{Ravanello
|
13
|
-
spec.description = %
|
12
|
+
spec.summary = %q{Ravanello is the cli for analyzing redis keys (using debug)}
|
13
|
+
spec.description = %{
|
14
|
+
Ravanello is the cli for analyze keys in redis and size of it's values.
|
15
|
+
|
16
|
+
Example of usage:
|
17
|
+
```bash
|
18
|
+
gem install ravanello
|
19
|
+
ravanello --version
|
20
|
+
REDIS_URL="redis://localhost/db" ravanello analyze --rules rules.yml
|
21
|
+
```
|
22
|
+
|
23
|
+
The rules files specifies the structure of the redis keys (splitted by :)
|
24
|
+
and should looks like this:
|
25
|
+
```yml
|
26
|
+
rules:
|
27
|
+
resque:
|
28
|
+
- 'delayed'
|
29
|
+
- 'resque-retry'
|
30
|
+
- 'timestamps'
|
31
|
+
- 'lock'
|
32
|
+
- 'meta'
|
33
|
+
```
|
34
|
+
|
35
|
+
After analyzing you will get the report in console:
|
36
|
+
```
|
37
|
+
Q-ty Size Key (sample)
|
38
|
+
4 24 * (hello)
|
39
|
+
1 6 denormalized:companies:* (denormalized:companies:99585213)
|
40
|
+
```
|
41
|
+
|
42
|
+
}
|
14
43
|
spec.homepage = "https://github.com/dsalahutdinov/ravanello"
|
15
44
|
spec.license = "MIT"
|
16
45
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ravanello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Salahutdinov Dmitry
|
@@ -122,7 +122,16 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
description: Ravanello
|
125
|
+
description: "\n Ravanello is the cli for analyze keys in redis and size of it's
|
126
|
+
values.\n\n Example of usage:\n ```bash\n gem install ravanello\n ravanello
|
127
|
+
--version\n REDIS_URL=\"redis://localhost/db\" ravanello analyze --rules rules.yml\n
|
128
|
+
\ ```\n\n The rules files specifies the structure of the redis keys (splitted
|
129
|
+
by :)\n and should looks like this:\n ```yml\n rules:\n resque:\n
|
130
|
+
\ - 'delayed'\n - 'resque-retry'\n - 'timestamps'\n -
|
131
|
+
'lock'\n - 'meta'\n ```\n\n After analyzing you will get the report
|
132
|
+
in console:\n ```\n Q-ty Size Key (sample)\n 4 24 * (hello)\n
|
133
|
+
\ 1 6 denormalized:companies:* (denormalized:companies:99585213)\n ```\n\n
|
134
|
+
\ "
|
126
135
|
email:
|
127
136
|
- dsalahutdinov@gmail.com
|
128
137
|
executables:
|
@@ -181,8 +190,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
190
|
version: '0'
|
182
191
|
requirements: []
|
183
192
|
rubyforge_project:
|
184
|
-
rubygems_version: 2.
|
193
|
+
rubygems_version: 2.7.3
|
185
194
|
signing_key:
|
186
195
|
specification_version: 4
|
187
|
-
summary: Ravanello
|
196
|
+
summary: Ravanello is the cli for analyzing redis keys (using debug)
|
188
197
|
test_files: []
|