Merge pull request #471 from mbj/fix/kill-mutations-in-zombifier
Kill mutations in Zombifier and Reporter
This commit is contained in:
commit
2ce570b648
4 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
threshold: 18
|
||||
total_score: 1244
|
||||
total_score: 1248
|
||||
|
|
|
@ -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|
|
||||
|
|
|
@ -41,7 +41,7 @@ module Mutant
|
|||
#
|
||||
# @api private
|
||||
def object
|
||||
super.payload
|
||||
super().payload
|
||||
end
|
||||
end # StatusProgressive
|
||||
end # Printer
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue