node_mutation 1.4.0 → 1.4.2
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 +4 -4
 - data/CHANGELOG.md +8 -0
 - data/Gemfile.lock +1 -1
 - data/lib/node_mutation/result.rb +4 -0
 - data/lib/node_mutation/version.rb +1 -1
 - data/lib/node_mutation.rb +6 -0
 - data/sig/node_mutation/result.rbs +2 -0
 - data/sig/node_mutation.rbs +2 -0
 - metadata +2 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 976a6458a2d0fec8c240abf9c2be1d19aa7e95fe696df882df88136b71d5508c
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 508d7c2b4cf4e64b4cf5d258af62037b33222af4e25faf1f5fae8fb18e35d6cc
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: a00c2bad64ac0f931423bb4ee0ea5dcb0893d6dec2784902b2cee30a2a6723a5cace395133056b3703c213f2283eb4dec0946b2cafea9e5372e3bf8cad077aa3
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 3a3b59553a9261f211b5ab9b9378efbc47dca750e26d9d75914b3951a4a24634ac9ac8ac325589fe6a4d3bc56e8f3932d4ec3cdb95caa2cc28605d2c10e8ceec
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/Gemfile.lock
    CHANGED
    
    
    
        data/lib/node_mutation/result.rb
    CHANGED
    
    
    
        data/lib/node_mutation.rb
    CHANGED
    
    | 
         @@ -208,6 +208,12 @@ class NodeMutation 
     | 
|
| 
       208 
208 
     | 
    
         
             
                @actions << WrapAction.new(node, with: with).process
         
     | 
| 
       209 
209 
     | 
    
         
             
              end
         
     | 
| 
       210 
210 
     | 
    
         | 
| 
      
 211 
     | 
    
         
            +
              # No operation.
         
     | 
| 
      
 212 
     | 
    
         
            +
              # @param node [Node] ast node
         
     | 
| 
      
 213 
     | 
    
         
            +
              def noop(node)
         
     | 
| 
      
 214 
     | 
    
         
            +
                @actions << NoopAction.new(node).process
         
     | 
| 
      
 215 
     | 
    
         
            +
              end
         
     | 
| 
      
 216 
     | 
    
         
            +
             
     | 
| 
       211 
217 
     | 
    
         
             
              # Process actions and return the new source.
         
     | 
| 
       212 
218 
     | 
    
         
             
              #
         
     | 
| 
       213 
219 
     | 
    
         
             
              # If there's an action range conflict,
         
     | 
    
        data/sig/node_mutation.rbs
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,14 +1,14 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: node_mutation
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 1.4. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.4.2
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Richard Huang
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire:
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2022-09- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2022-09-23 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: activesupport
         
     |