dboard 3.2.1 → 3.2.2
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.
- checksums.yaml +4 -4
- data/lib/collector.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cf9252b64db369ffc253e270f6fffaf640b552dd6baf6afb46d19925a5d0141
|
|
4
|
+
data.tar.gz: 9f531c357070278e600b2a31a7eb2a0020069d4aef969bab1bdb7ddbd3c50b2d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e94447daf4a183474fa0648b56a85135618b7378dbc0bfa0251ac41eae69193e096f1a19f28c4cd092e49deeb063f6a19b4e677f1188a01a676e6ee29804d3e1
|
|
7
|
+
data.tar.gz: d0faa64446c6544422d5bc235387c6981742190756118cd9a391439973cb2e9d4b5f7bdccca10355a64e122b0b5b6842ff3a124a4db080813cddb086388082f7
|
data/lib/collector.rb
CHANGED
|
@@ -119,7 +119,7 @@ module Dboard
|
|
|
119
119
|
end
|
|
120
120
|
|
|
121
121
|
def describe_batch(batch)
|
|
122
|
-
full_batch?(batch) ?
|
|
122
|
+
full_batch?(batch) ? nil : "(#{batch.join(", ")})"
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
def decide_request(active, last_update_at, floor, now)
|
|
@@ -189,7 +189,7 @@ module Dboard
|
|
|
189
189
|
|
|
190
190
|
started = monotonic_now
|
|
191
191
|
update_source(source, instance, batch)
|
|
192
|
-
puts "#{source} refreshed
|
|
192
|
+
puts [ "#{source} refreshed", describe_batch(batch), "in #{(monotonic_now - started).round(1)}s" ].compact.join(" ")
|
|
193
193
|
true
|
|
194
194
|
}
|
|
195
195
|
end
|
data/lib/version.rb
CHANGED