hq-log-monitor-server 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -154,6 +154,13 @@ class Script
154
154
  ]
155
155
  html << "</tr>\n"
156
156
 
157
+ html << "<tr>\n"
158
+ html << "<th>Type</th>\n"
159
+ html << "<td>%s</td>\n" % [
160
+ esc_ht(event["type"]),
161
+ ]
162
+ html << "</tr>\n"
163
+
157
164
  html << "<tr>\n"
158
165
  html << "<th>Filename</th>\n"
159
166
  html << "<td>%s</td>\n" % [
@@ -89,6 +89,7 @@ class Script
89
89
  html << "<th>File</th>\n"
90
90
  html << "<th>Line</th>\n"
91
91
  html << "<th>Type</th>\n"
92
+ html << "<th>Status</th>\n"
92
93
  html << "<th>View</th>\n"
93
94
  html << "</tr>\n"
94
95
 
@@ -109,13 +110,17 @@ class Script
109
110
  ]
110
111
 
111
112
  html << "<td class=\"line\">%s</td>\n" % [
112
- esc_ht(event["location"]["line"].to_s),
113
+ esc_ht((event["location"]["line"] + 1).to_s),
113
114
  ]
114
115
 
115
116
  html << "<td class=\"type\">%s</td>\n" % [
116
117
  esc_ht(event["type"]),
117
118
  ]
118
119
 
120
+ html << "<td class=\"status\">%s</td>\n" % [
121
+ esc_ht(event["status"]),
122
+ ]
123
+
119
124
  html << "<td class=\"view\">%s</td>\n" % [
120
125
  "<a href=\"%s\">view</a>" % [
121
126
  "/event/%s" % [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hq-log-monitor-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: