route_translator 14.1.0 → 14.1.1
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: 9fcc0043f1b6884f95fdebff049fc04175ba3a38dc8bacc06fc36916b5c31616
|
4
|
+
data.tar.gz: ae12a30e956059270775ae332758a59b6c9c6120cc59bc8655adaf0d976dba22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcbda50283c321b74860a7a389682eb6ef310133d9e163815bd037c16045e098f0484395c038ce8669263e5eeb32f0af7c1f585f5325cde02f3c781ab7991b62
|
7
|
+
data.tar.gz: 320dd3f7c925d429ef28204c7ad0302d2d81122eefea6a42c0e8f75250215ea0bbd85d99f471986ca98cffbacb77b37dcf40c0f3dd9d1b66d15636d5330e670a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 14.1.1 / 2023-12-19
|
4
|
+
|
5
|
+
* [BUGFIX] Fix memory leak in development mode ([#301](https://github.com/enriclluelles/route_translator/pull/301))
|
6
|
+
* [ENHANCEMENT] Update development dependencies
|
7
|
+
|
3
8
|
## 14.1.0 / 2023-10-05
|
4
9
|
|
5
10
|
* [FEATURE] Rails 7.1 compatibility
|
@@ -27,6 +27,8 @@ module RouteTranslator
|
|
27
27
|
__send__(Translator.route_name_for(args, old_name, suffix, self), *args)
|
28
28
|
end
|
29
29
|
|
30
|
+
next unless ENV.fetch('RAILS_ENV', nil) == 'test'
|
31
|
+
|
30
32
|
TEST_CASE_HOOKS.each do |test_case_hook|
|
31
33
|
ActiveSupport.on_load(test_case_hook) do
|
32
34
|
include helper_container
|
@@ -83,7 +83,7 @@ module RouteTranslator
|
|
83
83
|
|
84
84
|
locale = if args_locale
|
85
85
|
args_locale.to_s.underscore
|
86
|
-
elsif kaller.respond_to?("#{old_name}_#{current_locale_name}_#{suffix}")
|
86
|
+
elsif kaller.respond_to?(:"#{old_name}_#{current_locale_name}_#{suffix}")
|
87
87
|
current_locale_name
|
88
88
|
else
|
89
89
|
I18n.default_locale.to_s.underscore
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: route_translator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 14.1.
|
4
|
+
version: 14.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geremia Taglialatela
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-
|
13
|
+
date: 2023-12-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: actionpack
|