bind_log_analyzer 0.2.2 → 0.2.3
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.
- data/README.md +8 -0
- data/doc/BindLogAnalyzer.html +2 -2
- data/doc/BindLogAnalyzer/Base.html +1 -1
- data/doc/BindLogAnalyzer/Connector.html +1 -1
- data/doc/BindLogAnalyzer/DatabaseConfsNotValid.html +1 -1
- data/doc/BindLogAnalyzer/LogUtils.html +1 -1
- data/doc/BindLogAnalyzer/WebServer.html +1 -1
- data/doc/Log.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +9 -1
- data/doc/index.html +9 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/bind_log_analyzer/version.rb +1 -1
- metadata +13 -13
data/README.md
CHANGED
|
@@ -140,6 +140,14 @@ which is equivalent to ±706 query/sec.
|
|
|
140
140
|
|
|
141
141
|
## Changelog
|
|
142
142
|
|
|
143
|
+
### 0.2.3
|
|
144
|
+
|
|
145
|
+
Added the -u|--uniqueness flag to check if a record exists in the db before inserting a new one
|
|
146
|
+
|
|
147
|
+
### 0.2.2
|
|
148
|
+
|
|
149
|
+
Added the new BindLogAnalyzer::LogUtils module and the Logger support in various parts of the code
|
|
150
|
+
|
|
143
151
|
### 0.2.1
|
|
144
152
|
|
|
145
153
|
If the **-c, --config CONFIG** parameter is not specified, it tries to use a *database.yml* file in the directory from where the gem was launched
|
data/doc/BindLogAnalyzer.html
CHANGED
|
@@ -141,7 +141,7 @@ supported by ActiveRecord.</p>
|
|
|
141
141
|
|
|
142
142
|
</div>
|
|
143
143
|
</dt>
|
|
144
|
-
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.2.
|
|
144
|
+
<dd><pre class="code"><span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>0.2.3</span><span class='tstring_end'>"</span></span></pre></dd>
|
|
145
145
|
|
|
146
146
|
</dl>
|
|
147
147
|
|
|
@@ -157,7 +157,7 @@ supported by ActiveRecord.</p>
|
|
|
157
157
|
</div>
|
|
158
158
|
|
|
159
159
|
<div id="footer">
|
|
160
|
-
Generated on Tue Apr 10 16:
|
|
160
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
161
161
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
162
162
|
0.7.5 (ruby-1.9.3).
|
|
163
163
|
</div>
|
|
@@ -957,7 +957,7 @@ flag is set</p>
|
|
|
957
957
|
</div>
|
|
958
958
|
|
|
959
959
|
<div id="footer">
|
|
960
|
-
Generated on Tue Apr 10 16:
|
|
960
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
961
961
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
962
962
|
0.7.5 (ruby-1.9.3).
|
|
963
963
|
</div>
|
|
@@ -768,7 +768,7 @@ if requested, loads the Log ActiveRecord model and setups the logger.</p>
|
|
|
768
768
|
</div>
|
|
769
769
|
|
|
770
770
|
<div id="footer">
|
|
771
|
-
Generated on Tue Apr 10 16:
|
|
771
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
772
772
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
773
773
|
0.7.5 (ruby-1.9.3).
|
|
774
774
|
</div>
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div id="footer">
|
|
121
|
-
Generated on Tue Apr 10 16:
|
|
121
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
122
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
123
123
|
0.7.5 (ruby-1.9.3).
|
|
124
124
|
</div>
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
</div>
|
|
234
234
|
|
|
235
235
|
<div id="footer">
|
|
236
|
-
Generated on Tue Apr 10 16:
|
|
236
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
237
237
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
238
238
|
0.7.5 (ruby-1.9.3).
|
|
239
239
|
</div>
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div id="footer">
|
|
121
|
-
Generated on Tue Apr 10 16:
|
|
121
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
122
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
123
123
|
0.7.5 (ruby-1.9.3).
|
|
124
124
|
</div>
|
data/doc/Log.html
CHANGED
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
</div>
|
|
260
260
|
|
|
261
261
|
<div id="footer">
|
|
262
|
-
Generated on Tue Apr 10 16:
|
|
262
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
263
263
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
264
264
|
0.7.5 (ruby-1.9.3).
|
|
265
265
|
</div>
|
data/doc/_index.html
CHANGED
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
</div>
|
|
170
170
|
|
|
171
171
|
<div id="footer">
|
|
172
|
-
Generated on Tue Apr 10 16:
|
|
172
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
173
173
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
174
174
|
0.7.5 (ruby-1.9.3).
|
|
175
175
|
</div>
|
data/doc/file.README.html
CHANGED
|
@@ -209,6 +209,14 @@ bind_log_analyzer -f query.log -c database.yml 322,44s user 22,90s system 76% c
|
|
|
209
209
|
|
|
210
210
|
<h2>Changelog</h2>
|
|
211
211
|
|
|
212
|
+
<h3>0.2.3</h3>
|
|
213
|
+
|
|
214
|
+
<p>Added the -u|--uniqueness flag to check if a record exists in the db before inserting a new one</p>
|
|
215
|
+
|
|
216
|
+
<h3>0.2.2</h3>
|
|
217
|
+
|
|
218
|
+
<p>Added the new BindLogAnalyzer::LogUtils module and the Logger support in various parts of the code</p>
|
|
219
|
+
|
|
212
220
|
<h3>0.2.1</h3>
|
|
213
221
|
|
|
214
222
|
<p>If the <strong>-c, --config CONFIG</strong> parameter is not specified, it tries to use a <em>database.yml</em> file in the directory from where the gem was launched</p>
|
|
@@ -223,7 +231,7 @@ bind_log_analyzer -f query.log -c database.yml 322,44s user 22,90s system 76% c
|
|
|
223
231
|
</div></div>
|
|
224
232
|
|
|
225
233
|
<div id="footer">
|
|
226
|
-
Generated on Tue Apr 10 16:
|
|
234
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
227
235
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
228
236
|
0.7.5 (ruby-1.9.3).
|
|
229
237
|
</div>
|
data/doc/index.html
CHANGED
|
@@ -209,6 +209,14 @@ bind_log_analyzer -f query.log -c database.yml 322,44s user 22,90s system 76% c
|
|
|
209
209
|
|
|
210
210
|
<h2>Changelog</h2>
|
|
211
211
|
|
|
212
|
+
<h3>0.2.3</h3>
|
|
213
|
+
|
|
214
|
+
<p>Added the -u|--uniqueness flag to check if a record exists in the db before inserting a new one</p>
|
|
215
|
+
|
|
216
|
+
<h3>0.2.2</h3>
|
|
217
|
+
|
|
218
|
+
<p>Added the new BindLogAnalyzer::LogUtils module and the Logger support in various parts of the code</p>
|
|
219
|
+
|
|
212
220
|
<h3>0.2.1</h3>
|
|
213
221
|
|
|
214
222
|
<p>If the <strong>-c, --config CONFIG</strong> parameter is not specified, it tries to use a <em>database.yml</em> file in the directory from where the gem was launched</p>
|
|
@@ -223,7 +231,7 @@ bind_log_analyzer -f query.log -c database.yml 322,44s user 22,90s system 76% c
|
|
|
223
231
|
</div></div>
|
|
224
232
|
|
|
225
233
|
<div id="footer">
|
|
226
|
-
Generated on Tue Apr 10 16:
|
|
234
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
227
235
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
228
236
|
0.7.5 (ruby-1.9.3).
|
|
229
237
|
</div>
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
</div>
|
|
99
99
|
|
|
100
100
|
<div id="footer">
|
|
101
|
-
Generated on Tue Apr 10 16:
|
|
101
|
+
Generated on Tue Apr 10 16:20:33 2012 by
|
|
102
102
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
103
103
|
0.7.5 (ruby-1.9.3).
|
|
104
104
|
</div>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bind_log_analyzer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.3
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -13,7 +13,7 @@ date: 2012-04-10 00:00:00.000000000 Z
|
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activerecord
|
|
16
|
-
requirement: &
|
|
16
|
+
requirement: &11031580 !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
19
|
- - ! '>='
|
|
@@ -21,10 +21,10 @@ dependencies:
|
|
|
21
21
|
version: '0'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
|
-
version_requirements: *
|
|
24
|
+
version_requirements: *11031580
|
|
25
25
|
- !ruby/object:Gem::Dependency
|
|
26
26
|
name: json
|
|
27
|
-
requirement: &
|
|
27
|
+
requirement: &11031060 !ruby/object:Gem::Requirement
|
|
28
28
|
none: false
|
|
29
29
|
requirements:
|
|
30
30
|
- - ! '>='
|
|
@@ -32,10 +32,10 @@ dependencies:
|
|
|
32
32
|
version: '0'
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
|
-
version_requirements: *
|
|
35
|
+
version_requirements: *11031060
|
|
36
36
|
- !ruby/object:Gem::Dependency
|
|
37
37
|
name: sinatra
|
|
38
|
-
requirement: &
|
|
38
|
+
requirement: &11131100 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
41
|
- - ! '>='
|
|
@@ -43,10 +43,10 @@ dependencies:
|
|
|
43
43
|
version: '0'
|
|
44
44
|
type: :runtime
|
|
45
45
|
prerelease: false
|
|
46
|
-
version_requirements: *
|
|
46
|
+
version_requirements: *11131100
|
|
47
47
|
- !ruby/object:Gem::Dependency
|
|
48
48
|
name: haml
|
|
49
|
-
requirement: &
|
|
49
|
+
requirement: &11130560 !ruby/object:Gem::Requirement
|
|
50
50
|
none: false
|
|
51
51
|
requirements:
|
|
52
52
|
- - ! '>='
|
|
@@ -54,10 +54,10 @@ dependencies:
|
|
|
54
54
|
version: '0'
|
|
55
55
|
type: :runtime
|
|
56
56
|
prerelease: false
|
|
57
|
-
version_requirements: *
|
|
57
|
+
version_requirements: *11130560
|
|
58
58
|
- !ruby/object:Gem::Dependency
|
|
59
59
|
name: rspec
|
|
60
|
-
requirement: &
|
|
60
|
+
requirement: &11130060 !ruby/object:Gem::Requirement
|
|
61
61
|
none: false
|
|
62
62
|
requirements:
|
|
63
63
|
- - ! '>='
|
|
@@ -65,10 +65,10 @@ dependencies:
|
|
|
65
65
|
version: '0'
|
|
66
66
|
type: :development
|
|
67
67
|
prerelease: false
|
|
68
|
-
version_requirements: *
|
|
68
|
+
version_requirements: *11130060
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: simplecov
|
|
71
|
-
requirement: &
|
|
71
|
+
requirement: &11129560 !ruby/object:Gem::Requirement
|
|
72
72
|
none: false
|
|
73
73
|
requirements:
|
|
74
74
|
- - ! '>='
|
|
@@ -76,7 +76,7 @@ dependencies:
|
|
|
76
76
|
version: '0'
|
|
77
77
|
type: :development
|
|
78
78
|
prerelease: false
|
|
79
|
-
version_requirements: *
|
|
79
|
+
version_requirements: *11129560
|
|
80
80
|
description: BindLogAnalyzer analyzes a Bind query log file and stores its data into
|
|
81
81
|
a SQL database using ActiveRecord. It provides a fancy web interface to show some
|
|
82
82
|
query stats and graphs.
|