synvert-core 1.33.0 → 1.33.1
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 +4 -0
- data/Gemfile.lock +3 -3
- data/lib/synvert/core/rewriter/instance.rb +3 -2
- data/lib/synvert/core/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: bc05338573c2a8a930dfbbafec5aa122da815e072fea47e1ac9c83f97753fa97
|
|
4
|
+
data.tar.gz: 40764685f615c7b236e6f96a8242d9b9088dce8c5901384e9ef74428ce04a0da
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a02ad97db0eaea55a971d5fd58c244f49ce442e2d38dd170d41132e55ecb785f39627e90826454f89f55d3f7b41b701c6bdca46b58639d9fbb185924d1eaf35
|
|
7
|
+
data.tar.gz: e64da537b70a1d2f4e25b9a0e74955b9f51acdcd57f1dd241bf8a497af57b1c7f2ff427a400dfbe3fff00dc23c556ec54f59f01eea9879cd0ee56b99a6f6d41f
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
synvert-core (1.33.
|
|
4
|
+
synvert-core (1.33.1)
|
|
5
5
|
activesupport (< 7.0.0)
|
|
6
6
|
node_mutation (>= 1.23.2)
|
|
7
7
|
node_query (>= 1.15.1)
|
|
@@ -16,7 +16,7 @@ PATH
|
|
|
16
16
|
GEM
|
|
17
17
|
remote: https://rubygems.org/
|
|
18
18
|
specs:
|
|
19
|
-
activesupport (6.1.7.
|
|
19
|
+
activesupport (6.1.7.7)
|
|
20
20
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
21
21
|
i18n (>= 1.6, < 2)
|
|
22
22
|
minitest (>= 5.1)
|
|
@@ -52,7 +52,7 @@ GEM
|
|
|
52
52
|
method_source (1.0.0)
|
|
53
53
|
minitest (5.22.2)
|
|
54
54
|
nenv (0.3.0)
|
|
55
|
-
node_mutation (1.23.
|
|
55
|
+
node_mutation (1.23.3)
|
|
56
56
|
node_query (1.15.1)
|
|
57
57
|
notiffany (0.1.3)
|
|
58
58
|
nenv (~> 0.1)
|
|
@@ -47,8 +47,9 @@ module Synvert::Core
|
|
|
47
47
|
puts @file_path if Configuration.show_run_process
|
|
48
48
|
|
|
49
49
|
absolute_file_path = File.join(Configuration.root_path, @file_path)
|
|
50
|
-
# It keeps running until no conflict
|
|
51
|
-
|
|
50
|
+
# It keeps running until no conflict,
|
|
51
|
+
# it will try 10 times at maximum.
|
|
52
|
+
10.times do
|
|
52
53
|
source = read_source(absolute_file_path)
|
|
53
54
|
encoded_source = Engine.encode(File.extname(file_path), source)
|
|
54
55
|
@current_mutation = NodeMutation.new(source, adapter: @rewriter.parser)
|
data/lib/synvert/core/version.rb
CHANGED
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.33.
|
|
4
|
+
version: 1.33.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Richard Huang
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-02-
|
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|