scout 4.0.0 → 4.0.1
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/CHANGELOG +4 -0
- data/lib/scout.rb +1 -1
- data/lib/scout/server.rb +7 -2
- metadata +2 -2
data/CHANGELOG
CHANGED
data/lib/scout.rb
CHANGED
data/lib/scout/server.rb
CHANGED
|
@@ -151,8 +151,13 @@ module Scout
|
|
|
151
151
|
info "Plugin completed its run."
|
|
152
152
|
|
|
153
153
|
%w[report alert error summary].each do |type|
|
|
154
|
-
plural
|
|
155
|
-
|
|
154
|
+
plural = "#{type}s".sub(/ys\z/, "ies").to_sym
|
|
155
|
+
reports = data[plural].is_a?(Array) ? data[plural] :
|
|
156
|
+
[data[plural]].compact
|
|
157
|
+
if report = data[type.to_sym]
|
|
158
|
+
reports << report
|
|
159
|
+
end
|
|
160
|
+
reports.each do |fields|
|
|
156
161
|
@checkin[plural] << build_report(plugin['id'], fields)
|
|
157
162
|
end
|
|
158
163
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: scout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Highgroove Studios
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-09-
|
|
12
|
+
date: 2009-09-15 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|