Add magic encoding header to all ruby files

* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
This commit is contained in:
Dan Kubb 2013-07-28 16:03:06 -07:00
parent 1a329b63e8
commit 7293386c26
197 changed files with 394 additions and 0 deletions

View file

@ -1,3 +1,5 @@
# encoding: utf-8
require 'benchmark' require 'benchmark'
require 'set' require 'set'
require 'adamantium' require 'adamantium'

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# An AST cache # An AST cache
class Cache class Cache

View file

@ -1,3 +1,5 @@
# encoding: utf-8
require 'optparse' require 'optparse'
module Mutant module Mutant

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class CLI class CLI
# A classifier for input strings # A classifier for input strings

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class CLI class CLI
class Classifier class Classifier

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class CLI class CLI
class Classifier class Classifier

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class CLI class CLI
class Classifier class Classifier

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Class to colorize strings # Class to colorize strings
class Color class Color

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# The configuration of a mutator run # The configuration of a mutator run
class Config class Config

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
METHOD_POSTFIX_EXPANSIONS = { METHOD_POSTFIX_EXPANSIONS = {

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# An abstract context where mutations can be appied to. # An abstract context where mutations can be appied to.
class Context class Context

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Context class Context
# Scope context for mutation (Class or Module) # Scope context for mutation (Class or Module)

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Class to create diffs from source code # Class to create diffs from source code
class Differ class Differ

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Abstract base class for mutant killers # Abstract base class for mutant killers
class Killer class Killer

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Killer class Killer

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Killer class Killer

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Killer class Killer
# Runner for rspec tests # Runner for rspec tests

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Killer class Killer
# Abstract base class for killer with static result # Abstract base class for killer with static result

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Base class for code loaders # Base class for code loaders
class Loader class Loader

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Abstract matcher to find subjects to mutate # Abstract matcher to find subjects to mutate
class Matcher class Matcher

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Matcher class Matcher
# A chain of matchers # A chain of matchers

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Matcher class Matcher
# Matcher for subjects that are a specific method # Matcher for subjects that are a specific method

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Matcher class Matcher
class Method class Method

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Matcher class Matcher
class Method class Method

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Matcher class Matcher
class Method class Method

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Matcher class Matcher
# Abstract base class for matcher that returns method subjects from scope # Abstract base class for matcher that returns method subjects from scope

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Matcher class Matcher

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Matcher class Matcher
# Matcher for specific namespace # Matcher for specific namespace

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Represent a mutated node with its subject # Represent a mutated node with its subject
class Mutation class Mutation

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutation class Mutation
# Evul mutation # Evul mutation

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutation class Mutation
# Abstract filter for mutations # Abstract filter for mutations

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutation class Mutation
class Filter class Filter

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutation class Mutation
class Filter class Filter

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutation class Mutation
class Filter class Filter

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutation class Mutation
# Neutral mutation # Neutral mutation

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Generator for mutations # Generator for mutations
class Mutator class Mutator

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Generator for mutations # Generator for mutations
class Mutator class Mutator

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Node class Node

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
# Registry for mutators # Registry for mutators

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
# Namespace for utility mutators # Namespace for utility mutators

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Util class Util

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Mutator class Mutator
class Util class Util

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Mixin for node helpers # Mixin for node helpers
module NodeHelpers module NodeHelpers

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Module for generating random values # Module for generating random values
module Random module Random

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Abstract base class for reporters # Abstract base class for reporters
class Reporter class Reporter

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Reporter class Reporter
# Reporter that reports in human readable format # Reporter that reports in human readable format

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Reporter class Reporter
class CLI class CLI

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Reporter class Reporter
class CLI class CLI

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Reporter class Reporter
class CLI class CLI

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Reporter class Reporter
class CLI class CLI

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Reporter class Reporter
class CLI class CLI

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Reporter class Reporter

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Runner baseclass # Runner baseclass
class Runner class Runner

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Runner class Runner
# Runner for object config # Runner for object config

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Runner class Runner
# Mutation runner # Mutation runner

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Runner class Runner
# Subject specific runner # Subject specific runner

View file

@ -1,3 +1,5 @@
# encoding: utf-8
# Singleton methods are defined here so zombie can pick them up # Singleton methods are defined here so zombie can pick them up
module Mutant module Mutant

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Abstract base class for killing strategies # Abstract base class for killing strategies

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Strategy class Strategy
module MethodExpansion module MethodExpansion

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Strategy class Strategy

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Strategy class Strategy
class Rspec class Rspec

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Strategy class Strategy
class Rspec class Rspec

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Strategy class Strategy
class Rspec class Rspec

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
class Strategy class Strategy
# Static strategies # Static strategies

View file

@ -1,3 +1,5 @@
# encoding: utf-8
module Mutant module Mutant
# Subject of a mutation # Subject of a mutation
class Subject class Subject

Some files were not shown because too many files have changed in this diff Show more