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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52a2ffb8a027023143d004c7b407ec955fe2e007
4
- data.tar.gz: 081e4f0721ab2dc82412dde2a0e9eddd9276d570
3
+ metadata.gz: fed95d7d2bb5c6760f755a65866d1bb712af7493
4
+ data.tar.gz: a68d7427215b389db7a8f7b327df93559808c26e
5
5
  SHA512:
6
- metadata.gz: 16c18fd1dbc61beb9ac9d632d32d9b72ee2b9a998aa55a076066d6391379ef0761ac366ceeae8042f0f6362473f9f99d02fdc259e1d0da59e55469f166a890fc
7
- data.tar.gz: 52f6d6569aeb42d5c6b6b7c257aef073cd25e1e45d0fa320e12f2e509f51b4356503051e376730221737a98db4ac0e4a72e231708a07ff75d0645de189ba91fc
6
+ metadata.gz: c75f272a76d785a14832ff9512f70fcb7e9ee9f8865705f3f47c30cd1e068c60dbf23f903ce10a22865c5de95d78ca7f72c50ec54b331602eefc8b61b154e853
7
+ data.tar.gz: 5d625add24e8f730a10bc0122641c1b1c874e4c776477daaf6feb0e0ccf3cb81749de3f4dad568e28c81358cb9e592c0993de5aed216096322b551d687a78441
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.2.2 (2015-12-16)
4
+
5
+ * Fix: native path generation with host_locale (#95)
6
+ * Improve tests
7
+
3
8
  ## 4.2.1 (2015-12-15)
4
9
 
5
10
  * Fix: gemspec
@@ -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
@@ -1,3 +1,3 @@
1
1
  module RouteTranslator
2
- VERSION = '4.2.1'
2
+ VERSION = '4.2.2'
3
3
  end
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.1
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-15 00:00:00.000000000 Z
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.3
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