synvert-core 1.26.0 → 1.26.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 +5 -5
- 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
- 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: 76425d306537f25b4323935112165ad6bbc02714793e39d7287ee97b884f2284
|
4
|
+
data.tar.gz: 276cb3ec3ee5685b3233b51105ac1de4233927f3e7bcd89bac01e5d761aa5869
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0e36b19d07fb73b93898b48833e5419e1f5e258da0c9660cf8584efdb142e6d4495a9a47105884ba558b6f2a2070c83eebfe54aee22f64d5eb4cfd3a3c712e8
|
7
|
+
data.tar.gz: 6058cc41e9ac61a497d1ddb0f8cb642a48797d67ace1a0e7d513fbae1cce9a7fa50d4a35162caf3e396e0630f5ac394bd63d0a75a83f0a1012a7ef9d8b4a18fc
|
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.26.
|
4
|
+
synvert-core (1.26.1)
|
5
5
|
activesupport (< 7.0.0)
|
6
6
|
node_mutation (>= 1.15.3)
|
7
7
|
node_query (>= 1.12.1)
|
@@ -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)
|
@@ -53,8 +53,8 @@ GEM
|
|
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
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.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: 2023-
|
11
|
+
date: 2023-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|