awesome_translations 0.0.64 → 0.0.65
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a064cb6ccd392d08ccc04527a80a5b5926d7e49597f05560a6a0168d1498d1d
|
4
|
+
data.tar.gz: 151f20aed7e4142f9446894ce8d5f11ad02e20e3d51df242d7a4b264dc1102cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16dbaadb429667549c1ab80bd40fe24086ef8bfb47018b4e248dd2e401e4de97a217ebe26a58dfaf4ed29f614b9403516ab79e075140a8b5c8e8b80be2d96db3
|
7
|
+
data.tar.gz: 7c70d4067de4bad81339467c0e5f270a9146f02fd4b9947f5b07c812f2682b1933f1e768fe8c8707909cd1bcf7fedceb5646e3f072fac43df3ab7e59673f9656
|
@@ -2,7 +2,7 @@ class AwesomeTranslations::ErbInspector::FileInspector
|
|
2
2
|
JS_FILE_EXTS = [".cjs", ".coffee", ".coffee.erb", ".es6", ".es6.erb", ".js", ".js.erb", ".jsx", ".mjs"].freeze
|
3
3
|
METHOD_NAMES = %w[t controller_t helper_t].freeze
|
4
4
|
VALID_BEGINNING = '(^|\s+|\(|\{|\[|<%=\s*|I18n\.)'.freeze
|
5
|
-
VALID_BEGINNING_JS = '(^|\s+|\(|\[
|
5
|
+
VALID_BEGINNING_JS = '(^|\s+|\(|\[|\.)'.freeze
|
6
6
|
|
7
7
|
attr_reader :root_path, :file_path
|
8
8
|
|