ravanello 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 8d2b644636451aefc6032e65d19e307985675eca
4
- data.tar.gz: 76dffe8e4b8d8c710026534f2647bebe5d0605bf
2
+ SHA256:
3
+ metadata.gz: eb5e11211e15e3b64e0260b3838ede5d5b0d5b7621e7ca1c9a788a4c522409f8
4
+ data.tar.gz: 090741f6acf88736967635a7507ca2df9be271624b2841b24e39bd83a29dbd7b
5
5
  SHA512:
6
- metadata.gz: d3b9a2d2db2810a631da81244ea9657d3386292aa622a97d558f5dbbe891a323f2fc0d7f4405962f287b4542d63eafa194fe0d52eec8e18ec324d182ee264cfa
7
- data.tar.gz: 3d66ba4267857646b1e4df69e79705a03fcd4a32e219e52279825960029b721696ad516a63d503efaa788cc8e5d6fa16dc07eab27f2074e59e79f68fbe8e0e57
6
+ metadata.gz: 4dfb36832754d79b0acdb006c388f4661bec8bb28adf7b9f79043c9cfb7bf868b0727416327f0ec3b94bed758527e3dcd90f77fe88b40a4f720b4d215147cd9a
7
+ data.tar.gz: d8f2da14f4561764cbd15eda179e62d272c04a22dbebb574641e9ed3633a1029c143d3ebf61d40e1607660b1e569f6ced8d0996a47f33b19f22089cce7dd2701
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ravanello
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
@@ -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 gem}
13
- spec.description = %q{Ravanello gem}
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.0
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 gem
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.6.11
193
+ rubygems_version: 2.7.3
185
194
  signing_key:
186
195
  specification_version: 4
187
- summary: Ravanello gem
196
+ summary: Ravanello is the cli for analyzing redis keys (using debug)
188
197
  test_files: []