mutant 0.11.33 → 0.11.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14a2999151fdced3adcf95c921ef755b416f3753bef2073c7eafb5648d5a1117
4
- data.tar.gz: 0e6587233ae3ff944daf6ad9740be5b16749da34b8312207b7827afd4a79efb3
3
+ metadata.gz: e98171c271934f978770ae00e52d0e3e801a4197fa4b5efb0a43f966ff5af54c
4
+ data.tar.gz: 0d2d7823052db9d2a46efcc0fdd11808d95510dd58a77933288c063f7195851f
5
5
  SHA512:
6
- metadata.gz: 477a3d6cf75df00b4b3732932aa0042c7b7b07cf2dea107ac3537c24be585e5d3f4d1a9fc76a26cf1e2fa317c16bb5b63b0a41352a18733dfcabe4be8312a17a
7
- data.tar.gz: a29d9393fab0760cd0c463d22d8f54b6f0b9578feb0da38068e20a075af21bd28cca417ea9820a5af1926eb37338754cf25cfbed4f60e491ebaa5267c7956ed2
6
+ metadata.gz: ba1991d33cb05098cb78bc5325d05c8b4dbe974752a276a5daf43139c1e1202bb5ce5505b2ce1072d8d86ca4ca6ca22a828d971589b1c22b13fd012703cf7ebf
7
+ data.tar.gz: 8e3f0a5ce588b5b49c08233bceb8c855c6b32ce7cbb4fb1a1056e981775e9007c7188b09e73438fb56d7faff64c6f13b280dbed580273b329b3981693123b3dd
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mutant
4
+ class Mutator
5
+ class Node
6
+ class ConstPattern < self
7
+ handle(:const_pattern)
8
+
9
+ children(:target, :pattern)
10
+
11
+ private
12
+
13
+ def dispatch; end
14
+
15
+ end # ConstPAttern
16
+ end # Node
17
+ end # Mutator
18
+ end # Mutant
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Mutant
4
4
  # Current mutant version
5
- VERSION = '0.11.33'
5
+ VERSION = '0.11.34'
6
6
  end # Mutant
data/lib/mutant.rb CHANGED
@@ -174,6 +174,7 @@ module Mutant
174
174
  require 'mutant/mutator/node/procarg_zero'
175
175
  require 'mutant/mutator/node/kwargs'
176
176
  require 'mutant/mutator/node/numblock'
177
+ require 'mutant/mutator/node/const_pattern'
177
178
  require 'mutant/mutator/regexp'
178
179
  require 'mutant/loader'
179
180
  require 'mutant/context'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.33
4
+ version: 0.11.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diff-lcs
@@ -240,6 +240,7 @@ files:
240
240
  - lib/mutant/mutator/node/class.rb
241
241
  - lib/mutant/mutator/node/conditional_loop.rb
242
242
  - lib/mutant/mutator/node/const.rb
243
+ - lib/mutant/mutator/node/const_pattern.rb
243
244
  - lib/mutant/mutator/node/define.rb
244
245
  - lib/mutant/mutator/node/defined.rb
245
246
  - lib/mutant/mutator/node/dynamic_literal.rb
@@ -365,7 +366,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
365
366
  - !ruby/object:Gem::Version
366
367
  version: '0'
367
368
  requirements: []
368
- rubygems_version: 3.5.3
369
+ rubygems_version: 3.3.25
369
370
  signing_key:
370
371
  specification_version: 4
371
372
  summary: ''