lib/arborist/dependency.rb in arborist-0.0.1.pre20160829140603 vs lib/arborist/dependency.rb in arborist-0.0.1.pre20161005112841

- old
+ new

@@ -229,18 +229,18 @@ msg = nil case self.behavior when :all msg = ids.first.dup if ids.size == 1 - msg << " is down" + msg << " is unavailable" else - msg << " (and %d other%s) are down" % [ ids.size - 1, ids.size == 2 ? '' : 's' ] + msg << " (and %d other%s) are unavailable" % [ ids.size - 1, ids.size == 2 ? '' : 's' ] end msg << " as of %s" % [ self.earliest_down_time ] when :any - msg = "%s are all down" % [ ids.to_a.join(', ') ] + msg = "%s are all unavailable" % [ ids.to_a.join(', ') ] msg << " as of %s" % [ self.latest_down_time ] else raise "Don't know how to build a description of down behavior for %p" % [ self.behavior ] end