i18n-embedded-references 1.2.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db4b2544a71629739e076e47d845285f077a7e35343283debc38bd28a5eebede
4
- data.tar.gz: 186b04b8c04e0d77def14c9fd3feab88c609690c7857973e0689aa1d339e86d6
3
+ metadata.gz: d032504e8c76d865e42ef46c9c5505f3d9431def87e9b86725f1b3f229940720
4
+ data.tar.gz: 67de3d1cf9a26f87db0409e4501c76fa7e7dd0ecff0165c697838eb03f85cbe1
5
5
  SHA512:
6
- metadata.gz: 10036be6315e7fd4bd7bbd49ab80a029b64a9d24e446da5ae4acfe641b474d2163562268699d71e0fa685095e8d1722ef243144712bd12ca0ed5c6c9e6f3ba34
7
- data.tar.gz: 7ebb506a3da0dbfb4f473f90eee32e756f518f81256c47c944945a2da1a3108cac96bcfbc7379305e8b55f6196f85600becdc8cf0560bf8678aeb56404500c60
6
+ metadata.gz: 558b3dd7fcf007d0305bb5285be1d8809a24de89437aeefcdda60a228d993b136a1aa5ea13bd0d1c42352ac97c0d890226e9a3cdd7f076f99b948e9f62e69aba
7
+ data.tar.gz: 3b561ed767de866a1b09d3cc37ad88eebf4a3f85a326a89452ac145a1ee3111b8dddb34ad5d7cd6827c1fb23fda8a258a0dd4ecef0cdb5a38f9f6d9a508cd1ab
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.2.1
4
+
5
+ - Gem description mentions the static checker and describes the gem as a
6
+ maintained alternative to i18n-recursive-lookup rather than its successor.
7
+ No code changes.
8
+
3
9
  ## 1.2.0
4
10
 
5
11
  - The requested locale is taken from the `fallback_original_locale` option
@@ -45,7 +51,7 @@
45
51
 
46
52
  ## 1.0.0
47
53
 
48
- Initial release. Successor of [i18n-recursive-lookup](https://github.com/annkissam/i18n-recursive-lookup),
54
+ Initial release. A maintained alternative to [i18n-recursive-lookup](https://github.com/annkissam/i18n-recursive-lookup),
49
55
  rewritten without ActiveSupport.
50
56
 
51
57
  - `${key}` references inside strings, hashes and arrays, resolved recursively.
data/README.md CHANGED
@@ -17,7 +17,7 @@ I18n.t(:'footer.legal') # => "Acme Corp is a registered trademark."
17
17
 
18
18
  Change `company` once and every translation that embeds it follows.
19
19
 
20
- This gem is the successor of [i18n-recursive-lookup](https://github.com/annkissam/i18n-recursive-lookup),
20
+ This gem is a maintained alternative to [i18n-recursive-lookup](https://github.com/annkissam/i18n-recursive-lookup),
21
21
  which has been unmaintained since 2015. It keeps the `${}` syntax, drops the
22
22
  ActiveSupport dependency, resolves references recursively with cycle detection,
23
23
  and is locale-aware when fallbacks are in play.
@@ -2,6 +2,6 @@
2
2
 
3
3
  module I18n
4
4
  module EmbeddedReferences
5
- VERSION = '1.2.0'
5
+ VERSION = '1.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n-embedded-references
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaime Arrieta
@@ -32,9 +32,11 @@ dependencies:
32
32
  version: '2'
33
33
  description: |
34
34
  An I18n backend extension that lets a translation embed other translations
35
- using the `${some.key}` marker. References are resolved lazily on lookup,
36
- recursively, with cycle detection and fallback-aware locale resolution.
37
- Works with strings, hashes and arrays. Successor of i18n-recursive-lookup.
35
+ with ${some.key}. References resolve on lookup, recursively, with cycle
36
+ detection and in the requested locale when fallbacks apply. Works with
37
+ strings, hashes and arrays. Ships a static checker (CLI and rake task) that
38
+ finds broken and circular references in locale files. A maintained
39
+ alternative to i18n-recursive-lookup, with the same syntax.
38
40
  email:
39
41
  - contacto@buk.cl
40
42
  executables: