marty 1.0.44 → 1.0.46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/Gemfile.lock +4 -2
- data/app/controllers/marty/diagnostic_controller.rb +324 -72
- data/app/controllers/marty/rpc_controller.rb +10 -4
- data/app/models/marty/data_grid.rb +47 -95
- data/app/views/marty/diagnostic/op.html.erb +58 -0
- data/config/routes.rb +1 -2
- data/db/js/errinfo_v1.js +16 -0
- data/db/js/lookup_grid_distinct_v1.js +64 -0
- data/db/js/query_grid_dir_v1.js +61 -0
- data/db/migrate/400_create_dg_plv8_v1_fns.rb +12 -0
- data/lib/marty/migrations.rb +20 -0
- data/lib/marty/schema_helper.rb +41 -0
- data/lib/marty/version.rb +1 -1
- data/spec/controllers/diagnostic_controller_spec.rb +157 -67
- data/spec/controllers/rpc_controller_spec.rb +45 -10
- data/spec/dummy/public/{404.html → 400.html} +0 -0
- data/spec/lib/logger_spec.rb +1 -0
- data/spec/models/data_grid_spec.rb +0 -1
- metadata +8 -4
- data/app/views/marty/diagnostic/diagnostic.html.erb +0 -15
@@ -1,15 +0,0 @@
|
|
1
|
-
<h1><%= Rails.application.class.parent %> Diagnostics</h1>
|
2
|
-
|
3
|
-
<table>
|
4
|
-
<th width=20%>Diagnostic Name</th>
|
5
|
-
<th width=10%>Status</th>
|
6
|
-
<th width=70%>Description</th>
|
7
|
-
<% @details.each do |d| %>
|
8
|
-
<tr class="<%= d.status_css %>">
|
9
|
-
<td><%= d.name %></td>
|
10
|
-
<td><%= d.status_text %></td>
|
11
|
-
<td class="desc"><%= d.description %></td>
|
12
|
-
</tr>
|
13
|
-
<% end %>
|
14
|
-
</table>
|
15
|
-
|