synvert-core 1.21.2 → 1.21.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +3 -3
- data/lib/synvert/core/rewriter/instance.rb +0 -16
- data/lib/synvert/core/version.rb +1 -1
- data/synvert-core-ruby.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ffea2bd16746fbf2e7fffe597c4b9a6996e9b8eb3ca2442a9afe1716440e625
|
4
|
+
data.tar.gz: bb894317de6b8e8457f945bb62f8f0d6904b161c6ade75666403e3ca9e901771
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52f123ef58bcd08859bb0639303e50a06d7d5f62e078824cf89e54413ca98ef555dc460da2df00cbe5c76470f73c1fe3b7136c37448e1d74697d573409da4738
|
7
|
+
data.tar.gz: 1123a15c06c6dd61bc8d84ceed412ca61ff15feef50257771701c2a1b1e504b56a00eda9b7f1c798fb0767f86da7dcf979b9570a38a5cb7f7e4f06858a13de60
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
synvert-core (1.21.
|
4
|
+
synvert-core (1.21.4)
|
5
5
|
activesupport (< 7.0.0)
|
6
6
|
erubis
|
7
7
|
node_mutation (>= 1.9.2)
|
8
8
|
node_query (>= 1.12.0)
|
9
9
|
parallel
|
10
10
|
parser
|
11
|
-
parser_node_ext (>= 0.
|
11
|
+
parser_node_ext (>= 1.0.0)
|
12
12
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
@@ -59,7 +59,7 @@ GEM
|
|
59
59
|
parallel (1.22.1)
|
60
60
|
parser (3.2.1.0)
|
61
61
|
ast (~> 2.4.1)
|
62
|
-
parser_node_ext (0.
|
62
|
+
parser_node_ext (1.0.0)
|
63
63
|
parser
|
64
64
|
pry (0.14.1)
|
65
65
|
coderay (~> 1.1)
|
@@ -51,14 +51,6 @@ module Synvert::Core
|
|
51
51
|
|
52
52
|
process_with_node(node) do
|
53
53
|
instance_eval(&@block)
|
54
|
-
rescue NoMethodError => e
|
55
|
-
puts [
|
56
|
-
"error: #{e.message}",
|
57
|
-
"file: #{file_path}",
|
58
|
-
"source: #{source}",
|
59
|
-
"line: #{current_node.line}"
|
60
|
-
].join("\n")
|
61
|
-
raise
|
62
54
|
end
|
63
55
|
|
64
56
|
result = @current_mutation.process
|
@@ -87,14 +79,6 @@ module Synvert::Core
|
|
87
79
|
|
88
80
|
process_with_node(node) do
|
89
81
|
instance_eval(&@block)
|
90
|
-
rescue NoMethodError => e
|
91
|
-
puts [
|
92
|
-
"error: #{e.message}",
|
93
|
-
"file: #{file_path}",
|
94
|
-
"source: #{source}",
|
95
|
-
"line: #{current_node.line}"
|
96
|
-
].join("\n")
|
97
|
-
raise
|
98
82
|
end
|
99
83
|
|
100
84
|
result = @current_mutation.test
|
data/lib/synvert/core/version.rb
CHANGED
data/synvert-core-ruby.gemspec
CHANGED
@@ -24,6 +24,6 @@ Gem::Specification.new do |spec|
|
|
24
24
|
spec.add_runtime_dependency "node_query", ">= 1.12.0"
|
25
25
|
spec.add_runtime_dependency "node_mutation", ">= 1.9.2"
|
26
26
|
spec.add_runtime_dependency "parser"
|
27
|
-
spec.add_runtime_dependency "parser_node_ext", ">= 0.
|
27
|
+
spec.add_runtime_dependency "parser_node_ext", ">= 1.0.0"
|
28
28
|
spec.add_runtime_dependency "parallel"
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: synvert-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.21.
|
4
|
+
version: 1.21.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-02-
|
11
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 1.0.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 1.0.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: parallel
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|