ghazel-rack-bug 0.3.0.3 → 0.3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rack/bug/panels/sql_panel/sql_extension.rb +8 -0
- data/lib/rack/bug/views/panels/execute_sql.html.erb +2 -2
- data/lib/rack/bug/views/panels/explain_sql.html.erb +2 -2
- data/lib/rack/bug/views/panels/profile_sql.html.erb +2 -2
- data/rack-bug.gemspec +1 -1
- data/spec/rack/bug/panels/sql_panel_spec.rb +1 -2
- metadata +58 -24
data/rack-bug.gemspec
CHANGED
@@ -47,10 +47,9 @@ class Rack::Bug
|
|
47
47
|
|
48
48
|
def stub_result(results = [[]])
|
49
49
|
columns = results.first
|
50
|
-
fields = columns.map { |c| stub("field", :name => c) }
|
51
50
|
rows = results[1..-1]
|
52
51
|
|
53
|
-
result = stub("result", :
|
52
|
+
result = stub("result", :fields => columns)
|
54
53
|
result.stub!(:each).and_yield(*rows)
|
55
54
|
return result
|
56
55
|
end
|
metadata
CHANGED
@@ -1,7 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghazel-rack-bug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 95
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
- 4
|
11
|
+
version: 0.3.0.4
|
5
12
|
platform: ruby
|
6
13
|
authors:
|
7
14
|
- Bryan Helmkamp
|
@@ -14,54 +21,75 @@ default_executable:
|
|
14
21
|
dependencies:
|
15
22
|
- !ruby/object:Gem::Dependency
|
16
23
|
name: rack
|
17
|
-
|
18
|
-
|
19
|
-
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
20
27
|
requirements:
|
21
28
|
- - ">="
|
22
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 15
|
31
|
+
segments:
|
32
|
+
- 1
|
33
|
+
- 0
|
23
34
|
version: "1.0"
|
24
|
-
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
25
37
|
- !ruby/object:Gem::Dependency
|
26
38
|
name: webrat
|
27
|
-
|
28
|
-
|
29
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
30
42
|
requirements:
|
31
43
|
- - ">="
|
32
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 3
|
46
|
+
segments:
|
47
|
+
- 0
|
33
48
|
version: "0"
|
34
|
-
|
49
|
+
type: :development
|
50
|
+
version_requirements: *id002
|
35
51
|
- !ruby/object:Gem::Dependency
|
36
52
|
name: rspec
|
37
|
-
|
38
|
-
|
39
|
-
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
40
56
|
requirements:
|
41
57
|
- - ">="
|
42
58
|
- !ruby/object:Gem::Version
|
59
|
+
hash: 3
|
60
|
+
segments:
|
61
|
+
- 0
|
43
62
|
version: "0"
|
44
|
-
|
63
|
+
type: :development
|
64
|
+
version_requirements: *id003
|
45
65
|
- !ruby/object:Gem::Dependency
|
46
66
|
name: sinatra
|
47
|
-
|
48
|
-
|
49
|
-
|
67
|
+
prerelease: false
|
68
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
50
70
|
requirements:
|
51
71
|
- - ">="
|
52
72
|
- !ruby/object:Gem::Version
|
73
|
+
hash: 3
|
74
|
+
segments:
|
75
|
+
- 0
|
53
76
|
version: "0"
|
54
|
-
|
77
|
+
type: :development
|
78
|
+
version_requirements: *id004
|
55
79
|
- !ruby/object:Gem::Dependency
|
56
80
|
name: git
|
57
|
-
|
58
|
-
|
59
|
-
|
81
|
+
prerelease: false
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
83
|
+
none: false
|
60
84
|
requirements:
|
61
85
|
- - ">="
|
62
86
|
- !ruby/object:Gem::Version
|
87
|
+
hash: 3
|
88
|
+
segments:
|
89
|
+
- 0
|
63
90
|
version: "0"
|
64
|
-
|
91
|
+
type: :development
|
92
|
+
version_requirements: *id005
|
65
93
|
description:
|
66
94
|
email: bryan@brynary.com
|
67
95
|
executables: []
|
@@ -167,21 +195,27 @@ rdoc_options: []
|
|
167
195
|
require_paths:
|
168
196
|
- lib
|
169
197
|
required_ruby_version: !ruby/object:Gem::Requirement
|
198
|
+
none: false
|
170
199
|
requirements:
|
171
200
|
- - ">="
|
172
201
|
- !ruby/object:Gem::Version
|
202
|
+
hash: 3
|
203
|
+
segments:
|
204
|
+
- 0
|
173
205
|
version: "0"
|
174
|
-
version:
|
175
206
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
207
|
+
none: false
|
176
208
|
requirements:
|
177
209
|
- - ">="
|
178
210
|
- !ruby/object:Gem::Version
|
211
|
+
hash: 3
|
212
|
+
segments:
|
213
|
+
- 0
|
179
214
|
version: "0"
|
180
|
-
version:
|
181
215
|
requirements: []
|
182
216
|
|
183
217
|
rubyforge_project: rack-bug
|
184
|
-
rubygems_version: 1.
|
218
|
+
rubygems_version: 1.4.2
|
185
219
|
signing_key:
|
186
220
|
specification_version: 3
|
187
221
|
summary: Debugging toolbar for Rack applications implemented as middleware
|