synvert-core 1.26.0 → 1.26.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +7 -7
- data/lib/synvert/core/engine/erb.rb +2 -2
- data/lib/synvert/core/rewriter.rb +1 -1
- 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: bd799296837ee0bf3c825c10cf317c7c010dbd52f397442b8e608cfc32a52478
|
4
|
+
data.tar.gz: ee34f716844c96be497fd388457472f44f89c230cadb578ecfaabe374f870ae9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 248baf6eec5579b51bf26927e2b6d11ee2e71f57ba79ee4d26ee1df1928afcefb19fc3fab2dc39b85061a608ff319559230206835bad117e613cb2168fae2fef
|
7
|
+
data.tar.gz: 92374f7d7aa5f1a87d9b7413c78ccdcfbf88e68be0d418684633dfa44b86dd19b1e870d9f680280d72ad6b8ae1fe3a60a7ac2acf24ea8c31200990e22d578f49
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
synvert-core (1.26.
|
4
|
+
synvert-core (1.26.2)
|
5
5
|
activesupport (< 7.0.0)
|
6
|
-
node_mutation (>= 1.
|
6
|
+
node_mutation (>= 1.16.0)
|
7
7
|
node_query (>= 1.12.1)
|
8
8
|
parallel
|
9
9
|
parser
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
guard (~> 2.1)
|
40
40
|
guard-compat (~> 1.1)
|
41
41
|
rspec (>= 2.99.0, < 4.0)
|
42
|
-
i18n (1.
|
42
|
+
i18n (1.13.0)
|
43
43
|
concurrent-ruby (~> 1.0)
|
44
44
|
listen (3.7.1)
|
45
45
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
@@ -48,13 +48,13 @@ GEM
|
|
48
48
|
method_source (1.0.0)
|
49
49
|
minitest (5.18.0)
|
50
50
|
nenv (0.3.0)
|
51
|
-
node_mutation (1.
|
51
|
+
node_mutation (1.16.0)
|
52
52
|
node_query (1.12.1)
|
53
53
|
notiffany (0.1.3)
|
54
54
|
nenv (~> 0.1)
|
55
55
|
shellany (~> 0.0)
|
56
|
-
parallel (1.
|
57
|
-
parser (3.2.2.
|
56
|
+
parallel (1.23.0)
|
57
|
+
parser (3.2.2.1)
|
58
58
|
ast (~> 2.4.1)
|
59
59
|
parser_node_ext (1.0.0)
|
60
60
|
parser
|
@@ -82,7 +82,7 @@ GEM
|
|
82
82
|
thor (1.2.1)
|
83
83
|
tzinfo (2.0.6)
|
84
84
|
concurrent-ruby (~> 1.0)
|
85
|
-
zeitwerk (2.6.
|
85
|
+
zeitwerk (2.6.8)
|
86
86
|
|
87
87
|
PLATFORMS
|
88
88
|
ruby
|
@@ -10,8 +10,8 @@ module Synvert::Core
|
|
10
10
|
# @return [String] encoded ruby code.
|
11
11
|
def encode(source)
|
12
12
|
source.gsub(/%>.*?<%=?/m) { |str| ';' + replace_all_code_but_white_space_characters(str[1..-1]) }
|
13
|
-
.sub(
|
14
|
-
.sub(
|
13
|
+
.sub(/^.*<%=?/m) { |str| replace_all_code_but_white_space_characters(str) }
|
14
|
+
.sub(/%>.*$/m) { |str| ';' + replace_all_code_but_white_space_characters(str[1..-1]) }
|
15
15
|
end
|
16
16
|
|
17
17
|
# Generate an empty proc.
|
data/lib/synvert/core/version.rb
CHANGED
data/synvert-core-ruby.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_runtime_dependency "activesupport", "< 7.0.0"
|
23
23
|
spec.add_runtime_dependency "node_query", ">= 1.12.1"
|
24
|
-
spec.add_runtime_dependency "node_mutation", ">= 1.
|
24
|
+
spec.add_runtime_dependency "node_mutation", ">= 1.16.0"
|
25
25
|
spec.add_runtime_dependency "parser"
|
26
26
|
spec.add_runtime_dependency "parser_node_ext", ">= 1.0.0"
|
27
27
|
spec.add_runtime_dependency "parallel"
|
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.26.
|
4
|
+
version: 1.26.2
|
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-
|
11
|
+
date: 2023-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.16.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.16.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: parser
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|