Merge pull request #471 from mbj/fix/kill-mutations-in-zombifier

Kill mutations in Zombifier and Reporter
This commit is contained in:
Markus Schirp 2015-11-07 20:44:49 +00:00
commit 2ce570b648
4 changed files with 6 additions and 6 deletions

View file

@ -1,3 +1,3 @@
---
threshold: 18
total_score: 1244
total_score: 1248

View file

@ -41,9 +41,8 @@ module Mutant
# @return [Boolean]
#
# @api private
def tty?
@tty
end
alias_method :tty?, :tty
public :tty?
%i[puts write].each do |name|
define_method(name) do |*args, &block|

View file

@ -41,7 +41,7 @@ module Mutant
#
# @api private
def object
super.payload
super().payload
end
end # StatusProgressive
end # Printer

View file

@ -10,6 +10,7 @@ module Mutant
:root_require,
:pathname
)
private(*anima.attribute_names)
include AST::Sexp
@ -56,7 +57,7 @@ module Mutant
#
# @api private
def include?(logical_name)
!@zombified.include?(logical_name) && @includes =~ logical_name
!@zombified.include?(logical_name) && includes =~ logical_name
end
# Require file in zombie namespace