localeapp 3.1.3 → 3.2.0
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85de9c28ef6cb1e929598b0e15d57ad7c24096dcc69e58f5980381a2d3462402
|
|
4
|
+
data.tar.gz: 89c70dcc761979df1ead452d5063f412d3dfccf8238e331fb0c2f7a7e4f235c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b9ad084d7e4128a62a307c4b011b9267be038f21f32262608aa548f94c7325325d403eed5815c74ac018c4742ae6543a11bdde1a2ff1d1c4f8658ddfbc259dd
|
|
7
|
+
data.tar.gz: cdc7790c9f6d8a62c3f5db3af4a3d848a7cbda9a3dbe95cd47beee2381fb48dfac0e646db9a3891fadc28c8a5a3bfff2e959b84a5e2c51449e3e6bbbf1de8643
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# master
|
|
2
2
|
|
|
3
|
+
# Version 3.2.0
|
|
4
|
+
|
|
5
|
+
* Support ruby 3.0 (thanks to [@spilin](https://github.com/spilin))
|
|
6
|
+
|
|
3
7
|
# Version 3.1.3
|
|
4
8
|
|
|
5
9
|
* Fix deprecation warning in Rails 6 initialization (thanks to [@ryanb](https://github.com/ryanb) for [reporting it](https://github.com/Locale/localeapp/issues/276))
|
|
@@ -16,9 +16,9 @@ module Localeapp
|
|
|
16
16
|
def translate(key, options = {})
|
|
17
17
|
full_key = [options[:scope], key].compact.join(".")
|
|
18
18
|
if full_key =~ Localeapp.configuration.blacklisted_keys_pattern
|
|
19
|
-
super(key, options)
|
|
19
|
+
super(key, **options)
|
|
20
20
|
else
|
|
21
|
-
super(key, {:raise => false}.merge(options))
|
|
21
|
+
super(key, **{:raise => false}.merge(options))
|
|
22
22
|
end
|
|
23
23
|
end
|
|
24
24
|
alias :t :translate
|
data/lib/localeapp/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: localeapp
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christopher Dell
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2021-07-12 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: i18n
|
|
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
298
298
|
- !ruby/object:Gem::Version
|
|
299
299
|
version: '0'
|
|
300
300
|
requirements: []
|
|
301
|
-
rubygems_version: 3.0.
|
|
301
|
+
rubygems_version: 3.0.3
|
|
302
302
|
signing_key:
|
|
303
303
|
specification_version: 4
|
|
304
304
|
summary: Easy i18n translation management with localeapp.com
|