Skip to content

Commit

Permalink
Remove another invalid super() mutation
Browse files Browse the repository at this point in the history
  • Loading branch information
mbj committed Jun 10, 2024
1 parent 1ced37f commit 0fc5a13
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 6 deletions.
8 changes: 7 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# v0.12.3 2024-06-10

* [#1451](https://github.com/mbj/mutant/pull/1451)

Remove another invalid mutation to super().

# v0.12.2 2024-06-09

+ [#1450](https://github.com/mbj/mutant/pull/1450)
* [#1450](https://github.com/mbj/mutant/pull/1450)

Remove invalid mutation operator.

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
mutant (0.12.2)
mutant (0.12.3)
diff-lcs (~> 1.3)
parser (~> 3.3.0)
regexp_parser (~> 2.9.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/mutant/cli/command/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Environment < self

private

def initialize(attributes)
def initialize(_attributes)
super
@config = Config::DEFAULT.with(
coverage_criteria: Config::CoverageCriteria::EMPTY
Expand Down
1 change: 0 additions & 1 deletion lib/mutant/mutator/node/zsuper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ class ZSuper < self

def dispatch
emit_singletons
emit(N_EMPTY_SUPER)
end

end # ZSuper
Expand Down
2 changes: 1 addition & 1 deletion lib/mutant/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

module Mutant
# Current mutant version
VERSION = '0.12.2'
VERSION = '0.12.3'
end # Mutant
1 change: 0 additions & 1 deletion meta/super.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
source 'super'

singleton_mutations
mutation 'super()'
end

Mutant::Meta::Example.add :super do
Expand Down

0 comments on commit 0fc5a13

Please sign in to comment.