node_mutation 1.9.3 → 1.10.0
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 +5 -0
- data/Gemfile.lock +3 -3
- data/lib/node_mutation/parser_adapter.rb +2 -0
- data/lib/node_mutation/version.rb +1 -1
- 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: da3db727f8adbdcb8e54c74e8bcb2625a3d3969af1c166734d644aeb00c33d51
|
|
4
|
+
data.tar.gz: ad17f467d8cd3edfd1b9ba59656a2b457cfb5c9ebcb4f4df3a10c35bef93b0d7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3848188fda27a5d4f9663e664ac82e70d55bc643ddf89468925e01c29449d4015ca459b27203c0891e8052ce6ea4a134b70d2438d8f6d41c4fb89ed357bec24d
|
|
7
|
+
data.tar.gz: 5198f02dae89f72183a3863f2cf6f1ffa9738bdc931d8a2bd3c45d6d982f98840b047998fd2e89dc9afce00c535c98bc60a850c616d551b9e6f8a309777ea278
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
node_mutation (1.
|
|
4
|
+
node_mutation (1.10.0)
|
|
5
5
|
erubis
|
|
6
6
|
|
|
7
7
|
GEM
|
|
@@ -36,9 +36,9 @@ GEM
|
|
|
36
36
|
notiffany (0.1.3)
|
|
37
37
|
nenv (~> 0.1)
|
|
38
38
|
shellany (~> 0.0)
|
|
39
|
-
parser (3.1.
|
|
39
|
+
parser (3.2.1.0)
|
|
40
40
|
ast (~> 2.4.1)
|
|
41
|
-
parser_node_ext (0.
|
|
41
|
+
parser_node_ext (1.0.0)
|
|
42
42
|
parser
|
|
43
43
|
pry (0.14.1)
|
|
44
44
|
coderay (~> 1.1)
|
|
@@ -95,6 +95,8 @@ class NodeMutation::ParserAdapter < NodeMutation::Adapter
|
|
|
95
95
|
OpenStruct.new(start: node.loc.operator.begin_pos, end: node.loc.operator.end_pos) if node.loc.operator
|
|
96
96
|
when %i[defs self]
|
|
97
97
|
OpenStruct.new(start: node.loc.operator.begin_pos - 'self'.length, end: node.loc.operator.begin_pos)
|
|
98
|
+
when %i[lvasgn variable], %i[ivasgn variable], %i[cvasgn variable], %i[gvasgn variable]
|
|
99
|
+
OpenStruct.new(start: node.loc.name.begin_pos, end: node.loc.name.end_pos)
|
|
98
100
|
when %i[send dot], %i[csend dot]
|
|
99
101
|
OpenStruct.new(start: node.loc.dot.begin_pos, end: node.loc.dot.end_pos) if node.loc.dot
|
|
100
102
|
when %i[send message], %i[csend message]
|
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
|
+
version: 1.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Huang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-03-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: erubis
|