route_translator 4.2.1 → 4.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/route_translator/translator.rb +2 -0
- data/lib/route_translator/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fed95d7d2bb5c6760f755a65866d1bb712af7493
|
4
|
+
data.tar.gz: a68d7427215b389db7a8f7b327df93559808c26e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c75f272a76d785a14832ff9512f70fcb7e9ee9f8865705f3f47c30cd1e068c60dbf23f903ce10a22865c5de95d78ca7f72c50ec54b331602eefc8b61b154e853
|
7
|
+
data.tar.gz: 5d625add24e8f730a10bc0122641c1b1c874e4c776477daaf6feb0e0ccf3cb81749de3f4dad568e28c81358cb9e592c0993de5aed216096322b551d687a78441
|
data/CHANGELOG.md
CHANGED
@@ -160,6 +160,8 @@ module RouteTranslator
|
|
160
160
|
|
161
161
|
locale = if args_locale
|
162
162
|
args_locale.to_s.underscore
|
163
|
+
elsif kaller.respond_to?("#{old_name}_native_#{current_locale_name}_#{suffix}")
|
164
|
+
"native_#{current_locale_name}"
|
163
165
|
elsif kaller.respond_to?("#{old_name}_#{current_locale_name}_#{suffix}")
|
164
166
|
current_locale_name
|
165
167
|
else
|
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: 4.2.
|
4
|
+
version: 4.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Raul Murciano
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-12-
|
12
|
+
date: 2015-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubyforge_project:
|
188
|
-
rubygems_version: 2.4.
|
188
|
+
rubygems_version: 2.4.5.1
|
189
189
|
signing_key:
|
190
190
|
specification_version: 4
|
191
191
|
summary: Translate your Rails routes in a simple manner
|