bin/cobench in cobench-0.0.6 vs bin/cobench in cobench-0.0.7
- old
+ new
@@ -99,10 +99,10 @@
type = "Cobench::#{name.capitalize}"
loog.info("Reading #{u}/#{name}...")
require_relative f
m = type.split('::').reduce(Module, :const_get).new(api, u, opts)
if opts.dry?
- v, t = [42, 'https://github.com/']
+ v, t = [Random.new.rand(100), 'https://github.com/']
else
v, t = m.take(loog)
end
data[u][name] = [v, t]
loog.info("The value of #{u}/#{name} is #{v}")