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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 831aba295c622cf2e70df84432e246864f630adbdb1c3f4e13ac2e143e3f1c3e
4
- data.tar.gz: 33c848691dfd2d638ac09e1f158d83c29d81c1a0ee025b79762cf6a28ebc62ad
3
+ metadata.gz: bd799296837ee0bf3c825c10cf317c7c010dbd52f397442b8e608cfc32a52478
4
+ data.tar.gz: ee34f716844c96be497fd388457472f44f89c230cadb578ecfaabe374f870ae9
5
5
  SHA512:
6
- metadata.gz: b92cc018fcf12791a0cc93d5f82bb2248188557c6f81ab706c444d82462086e1e0a53f77b3617ffd2be8edd0c14b4818e44285dd1aee8b3f89b506fb397e54e7
7
- data.tar.gz: 855fa232ceed49e06dffc0a0f66d925383c67b18172cc99257e710f955c439fd0bdd0fd4d47111cb6bc4e0a3392481e6733951a9c2be1f28bdf990ac1e6182cd
6
+ metadata.gz: 248baf6eec5579b51bf26927e2b6d11ee2e71f57ba79ee4d26ee1df1928afcefb19fc3fab2dc39b85061a608ff319559230206835bad117e613cb2168fae2fef
7
+ data.tar.gz: 92374f7d7aa5f1a87d9b7413c78ccdcfbf88e68be0d418684633dfa44b86dd19b1e870d9f680280d72ad6b8ae1fe3a60a7ac2acf24ea8c31200990e22d578f49
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.26.2 (2023-05-10)
4
+
5
+ * Update `node_mutation` to 1.16.0
6
+
7
+ ## 1.26.1 (2023-05-06)
8
+
9
+ * Compact test results
10
+ * Fix erb regex
11
+
3
12
  ## 1.26.0 (2023-04-18)
4
13
 
5
14
  * `add_file` and `remove_file` work for test
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert-core (1.26.0)
4
+ synvert-core (1.26.2)
5
5
  activesupport (< 7.0.0)
6
- node_mutation (>= 1.15.3)
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.12.0)
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.15.3)
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.22.1)
57
- parser (3.2.2.0)
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.7)
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(/^.*?<%=?/m) { |str| replace_all_code_but_white_space_characters(str) }
14
- .sub(/%>.*?$/m) { |str| ';' + replace_all_code_but_white_space_characters(str[1..-1]) }
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.
@@ -383,7 +383,7 @@ module Synvert::Core
383
383
  end
384
384
 
385
385
  def merge_test_results(results)
386
- @test_results += results.select { |result| result.affected? }
386
+ @test_results += results.compact.select { |result| result.affected? }
387
387
  end
388
388
  end
389
389
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Synvert
4
4
  module Core
5
- VERSION = '1.26.0'
5
+ VERSION = '1.26.2'
6
6
  end
7
7
  end
@@ -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.15.3"
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.0
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-04-18 00:00:00.000000000 Z
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.15.3
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.15.3
54
+ version: 1.16.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: parser
57
57
  requirement: !ruby/object:Gem::Requirement