lib/tracing.rb in tracing-2.0.6 vs lib/tracing.rb in tracing-2.0.7

- old
+ new

@@ -193,9 +193,10 @@ # Array#flatten calls to_ary, ignore it when it comes from Gem Specifications: return if NoMethodError === self && message =~ /^undefined method `to_ary' for \#<Gem::Specification/ # LoadErrors are not hard to diagnose, and polyglot uses them return if LoadError === self + return if self.message =~ /uninitialized constant Mini[Tt]est/ # From RSpec usually # The Array() method calls to_ary and/or to_a before making a new array, ignore that: clr = caller return if NoMethodError === self && clr.detect{|frame| frame =~ /in `Array'/}