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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 915cd8e6315447109e8088653613c14e536228cba9bbd14b7da5470488a186cf
4
- data.tar.gz: aac013556d193b8f5948e7b227dcfe7716eb70daa02bc32983b6f60d13804921
3
+ metadata.gz: 3ffea2bd16746fbf2e7fffe597c4b9a6996e9b8eb3ca2442a9afe1716440e625
4
+ data.tar.gz: bb894317de6b8e8457f945bb62f8f0d6904b161c6ade75666403e3ca9e901771
5
5
  SHA512:
6
- metadata.gz: c2d6997dc73ec8bbe4b1b96691f457fd9050be0fb1757651931fbe0f522fce2495e070a20d50905f47495c72034e82e00fecc4a35e56b1088e194390e406b3d3
7
- data.tar.gz: 44f4c940be6497eeaf54aaa0f6d2688bb0da2319250dc2a6f8ace0756bfcf51f1fdd15ea7e25baa4f899cdc860e746ea9bfe9a669bfb7d39c2aa6c1306048d67
6
+ metadata.gz: 52f123ef58bcd08859bb0639303e50a06d7d5f62e078824cf89e54413ca98ef555dc460da2df00cbe5c76470f73c1fe3b7136c37448e1d74697d573409da4738
7
+ data.tar.gz: 1123a15c06c6dd61bc8d84ceed412ca61ff15feef50257771701c2a1b1e504b56a00eda9b7f1c798fb0767f86da7dcf979b9570a38a5cb7f7e4f06858a13de60
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.21.4 (2023-02-13)
4
+
5
+ * Do not rescue `NoMethodError` and output debug info
6
+
7
+ ## 1.21.3 (2023-02-12)
8
+
9
+ * Update `parser_node_ext` to 1.0.0
10
+
3
11
  ## 1.21.2 (2023-02-11)
4
12
 
5
13
  * Call block multiple times when goto node array
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert-core (1.21.2)
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.9.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.10.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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Synvert
4
4
  module Core
5
- VERSION = '1.21.2'
5
+ VERSION = '1.21.4'
6
6
  end
7
7
  end
@@ -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.9.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.2
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 00:00:00.000000000 Z
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.9.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.9.0
96
+ version: 1.0.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: parallel
99
99
  requirement: !ruby/object:Gem::Requirement