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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 831aba295c622cf2e70df84432e246864f630adbdb1c3f4e13ac2e143e3f1c3e
4
- data.tar.gz: 33c848691dfd2d638ac09e1f158d83c29d81c1a0ee025b79762cf6a28ebc62ad
3
+ metadata.gz: 76425d306537f25b4323935112165ad6bbc02714793e39d7287ee97b884f2284
4
+ data.tar.gz: 276cb3ec3ee5685b3233b51105ac1de4233927f3e7bcd89bac01e5d761aa5869
5
5
  SHA512:
6
- metadata.gz: b92cc018fcf12791a0cc93d5f82bb2248188557c6f81ab706c444d82462086e1e0a53f77b3617ffd2be8edd0c14b4818e44285dd1aee8b3f89b506fb397e54e7
7
- data.tar.gz: 855fa232ceed49e06dffc0a0f66d925383c67b18172cc99257e710f955c439fd0bdd0fd4d47111cb6bc4e0a3392481e6733951a9c2be1f28bdf990ac1e6182cd
6
+ metadata.gz: d0e36b19d07fb73b93898b48833e5419e1f5e258da0c9660cf8584efdb142e6d4495a9a47105884ba558b6f2a2070c83eebfe54aee22f64d5eb4cfd3a3c712e8
7
+ data.tar.gz: 6058cc41e9ac61a497d1ddb0f8cb642a48797d67ace1a0e7d513fbae1cce9a7fa50d4a35162caf3e396e0630f5ac394bd63d0a75a83f0a1012a7ef9d8b4a18fc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.26.1 (2023-05-06)
4
+
5
+ * Compact test results
6
+ * Fix erb regex
7
+
3
8
  ## 1.26.0 (2023-04-18)
4
9
 
5
10
  * `add_file` and `remove_file` work for test
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert-core (1.26.0)
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.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)
@@ -53,8 +53,8 @@ GEM
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.1'
6
6
  end
7
7
  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.26.0
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-04-18 00:00:00.000000000 Z
11
+ date: 2023-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport