node_mutation 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +6 -6
- data/lib/node_mutation/parser_adapter.rb +2 -2
- 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: 16d1f6952b16d815e9cee50df011c99075ffd17bc17531efc8b6a99c39909d4a
|
4
|
+
data.tar.gz: 3f558c1b9e171310775fec6ccdb3a1fe0321aa0ce94b23ec8c861e3ae496dd31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7221a70883e380a9f88dda96db69890349dde212580f63fac75d02a71bb558587d4ccf7e6b33547b0b44846ee493fd7ed924e13eb7cc414b27979c3fb354876e
|
7
|
+
data.tar.gz: 7d1cc7ab27508b202589d22bd6affc07345d19ad12701b7a3aea2d9bc06125a43e17870f787a539a16faaf1ed7db14a13c28b4b8a46d0afaa3b1d2fe701c4ef8
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
node_mutation (1.2.
|
4
|
+
node_mutation (1.2.1)
|
5
5
|
activesupport
|
6
6
|
erubis
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (7.0.3)
|
11
|
+
activesupport (7.0.3.1)
|
12
12
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
13
|
i18n (>= 1.6, < 2)
|
14
14
|
minitest (>= 5.1)
|
@@ -34,21 +34,21 @@ GEM
|
|
34
34
|
guard (~> 2.1)
|
35
35
|
guard-compat (~> 1.1)
|
36
36
|
rspec (>= 2.99.0, < 4.0)
|
37
|
-
i18n (1.
|
37
|
+
i18n (1.12.0)
|
38
38
|
concurrent-ruby (~> 1.0)
|
39
39
|
listen (3.7.1)
|
40
40
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
41
41
|
rb-inotify (~> 0.9, >= 0.9.10)
|
42
42
|
lumberjack (1.2.8)
|
43
43
|
method_source (1.0.0)
|
44
|
-
minitest (5.16.
|
44
|
+
minitest (5.16.2)
|
45
45
|
nenv (0.3.0)
|
46
46
|
notiffany (0.1.3)
|
47
47
|
nenv (~> 0.1)
|
48
48
|
shellany (~> 0.0)
|
49
49
|
parser (3.1.2.0)
|
50
50
|
ast (~> 2.4.1)
|
51
|
-
parser_node_ext (0.
|
51
|
+
parser_node_ext (0.4.0)
|
52
52
|
parser
|
53
53
|
pp (0.3.0)
|
54
54
|
prettyprint
|
@@ -75,7 +75,7 @@ GEM
|
|
75
75
|
rspec-support (3.11.0)
|
76
76
|
shellany (0.0.1)
|
77
77
|
thor (1.2.1)
|
78
|
-
tzinfo (2.0.
|
78
|
+
tzinfo (2.0.5)
|
79
79
|
concurrent-ruby (~> 1.0)
|
80
80
|
|
81
81
|
PLATFORMS
|
@@ -77,7 +77,7 @@ class NodeMutation::ParserAdapter < NodeMutation::Adapter
|
|
77
77
|
start: node.arguments.first.loc.expression.begin_pos,
|
78
78
|
end: node.arguments.last.loc.expression.end_pos
|
79
79
|
)
|
80
|
-
when %i[class name], %i[def name], %i[defs name]
|
80
|
+
when %i[class name], %i[const name], %i[def name], %i[defs name]
|
81
81
|
OpenStruct.new(start: node.loc.name.begin_pos, end: node.loc.name.end_pos)
|
82
82
|
when %i[defs dot]
|
83
83
|
OpenStruct.new(start: node.loc.operator.begin_pos, end: node.loc.operator.end_pos) if node.loc.operator
|
@@ -171,4 +171,4 @@ class NodeMutation::ParserAdapter < NodeMutation::Adapter
|
|
171
171
|
return child_node
|
172
172
|
end
|
173
173
|
end
|
174
|
-
end
|
174
|
+
end
|
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.2.
|
4
|
+
version: 1.2.1
|
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-07-
|
11
|
+
date: 2022-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|