i18n-tasks 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/i18n/tasks/scanners/erb_ast_scanner.rb +1 -0
- data/lib/i18n/tasks/scanners/ruby_scanner.rb +1 -0
- data/lib/i18n/tasks/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: f966f43b402a668486604f98fcc372895041974193afefbdc5d7dce44c150866
|
|
4
|
+
data.tar.gz: 504084ac31093ccca43a06ebdbc2707c7111b9cc07358a62ddc46ebc89128e54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eecedde9f44b2f81f404d3d84e0a9496d133157b571c330e863acaf250bfa0c36e4ebf4f396fe01f8cef47a8a5cb3599a2618b00d5e78bfcae7b9ef89cb5247a
|
|
7
|
+
data.tar.gz: f45bdd3498ca49a7989a1190d56aba6fc1c14c92d1e58e410d2a3ddbbdc47d8629984095aee970e9e3304f62e2888a36581f60a18035faf19c96c1c5f355d46e
|
data/README.md
CHANGED
|
@@ -24,7 +24,7 @@ i18n-tasks can be used with any project using the ruby [i18n gem][i18n-gem] (def
|
|
|
24
24
|
Add i18n-tasks to the Gemfile:
|
|
25
25
|
|
|
26
26
|
```ruby
|
|
27
|
-
gem 'i18n-tasks', '~> 1.1.
|
|
27
|
+
gem 'i18n-tasks', '~> 1.1.2', group: :development
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
Copy the default [configuration file](#configuration):
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
require "i18n/tasks/scanners/ruby_scanner"
|
|
4
4
|
require "i18n/tasks/scanners/local_ruby_parser"
|
|
5
5
|
require "i18n/tasks/scanners/occurrence_from_position"
|
|
6
|
+
require "prism"
|
|
6
7
|
|
|
7
8
|
module I18n::Tasks::Scanners
|
|
8
9
|
# Scan for I18n.translate calls in ERB-file using regexp and Parser/Prism
|
|
@@ -9,6 +9,7 @@ require "i18n/tasks/scanners/ast_matchers/default_i18n_subject_matcher"
|
|
|
9
9
|
require "i18n/tasks/scanners/ast_matchers/message_receivers_matcher"
|
|
10
10
|
require "i18n/tasks/scanners/ast_matchers/rails_model_matcher"
|
|
11
11
|
require "i18n/tasks/scanners/prism_scanners/visitor"
|
|
12
|
+
require "prism"
|
|
12
13
|
|
|
13
14
|
module I18n::Tasks::Scanners
|
|
14
15
|
# Scan for I18n.translate calls using whitequark/parser primarily and Prism if configured.
|
data/lib/i18n/tasks/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: i18n-tasks
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- glebm
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-11-
|
|
11
|
+
date: 2025-11-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|