synvert-core 1.21.5 → 1.21.6

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: cb89b1bc2d50d73f656541dc90fb5efad3c5637589a71c1fcba29324244c6539
4
- data.tar.gz: d14d4b677a1b3f00b913c2baf8a0f6ef1cd8c3630f2c66a6723b891d3a0f2d83
3
+ metadata.gz: be03ea2206a20768b84cfc41ae93146510c561b1ae271ae4f1d1e6edc1a5c0c8
4
+ data.tar.gz: fa219393c0c4db9e4b2080d9e6a53245e525a29f12416e013c0afaaaa2c3629c
5
5
  SHA512:
6
- metadata.gz: 452e3d690d566304b0d2f7dc37aaba39da839eb6151b0720668dcb0b4e49901742172e523de40cca4e83fbb9064e04ad2d7928e6b23eca68bce0984566d10345
7
- data.tar.gz: 7ac8916b752c005dae8c0bf958161c5b217111cacaf58968c5dd46aa2f7d4641591590fd7185dadffe0e53e63b4d7ec2a55e3ab94ec000617c618e2109f33767
6
+ metadata.gz: e9700c9b08ea11158f741634883e1cec3a69c5b18b15dd80424e42d6541f605aa16ac494dfd4bc25b4d2aa88b61b976e76d1a2e8b9f09c4a4e7a870bb9d5b43a
7
+ data.tar.gz: e382f8066407aa95c8079ced3e08bc453574e8329779c1d80c425441fbb72882cca60b217a482c4c691dd0ed02d1d7a3c88a712ff5b53c8f64a6dda922a8ec59
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.21.6 (2023-02-16)
4
+
5
+ * `RAILS_VIEW_FILES` do not check `haml` and `slim` files until we support them
6
+ * Add constants `ALL_FILES` and `ALL_ERB_FILES`
7
+
3
8
  ## 1.21.5 (2023-02-15)
4
9
 
5
10
  * Rewrite erb engine, no need to decode
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- synvert-core (1.21.5)
4
+ synvert-core (1.21.6)
5
5
  activesupport (< 7.0.0)
6
6
  erubis
7
7
  node_mutation (>= 1.9.2)
@@ -50,7 +50,7 @@ GEM
50
50
  method_source (1.0.0)
51
51
  minitest (5.17.0)
52
52
  nenv (0.3.0)
53
- node_mutation (1.9.2)
53
+ node_mutation (1.9.3)
54
54
  erubis
55
55
  node_query (1.12.0)
56
56
  notiffany (0.1.3)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Synvert
4
4
  module Core
5
- VERSION = '1.21.5'
5
+ VERSION = '1.21.6'
6
6
  end
7
7
  end
data/lib/synvert/core.rb CHANGED
@@ -29,7 +29,9 @@ module Synvert
29
29
  Strategy = Core::Strategy
30
30
 
31
31
  ALL_RUBY_FILES = %w[**/*.rb]
32
+ ALL_ERB_FILES = %w[**/*.erb]
32
33
  ALL_RAKE_FILES = %w[**/*.rake]
34
+ ALL_FILES = ALL_RUBY_FILES + ALL_ERB_FILES + ALL_RAKE_FILES
33
35
 
34
36
  RAILS_APP_FILES = %w[app/**/*.rb engines/*/app/**/*.rb]
35
37
  RAILS_CONTROLLER_FILES = %w[app/controllers/**/*.rb engines/*/app/controllers/**/*.rb]
@@ -46,7 +48,7 @@ module Synvert
46
48
  engines/*/config/routes.rb
47
49
  engines/*/config/routes/**/*.rb
48
50
  ]
49
- RAILS_VIEW_FILES = %w[app/views/**/*.html.{erb,haml,slim}]
51
+ RAILS_VIEW_FILES = %w[app/views/**/*.html.{erb}]
50
52
 
51
53
  RAILS_CONTROLLER_TEST_FILES = %w[
52
54
  test/functional/**/*.rb
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.21.5
4
+ version: 1.21.6
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-02-15 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport