route_translator 1.0.0 → 1.0.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.
|
@@ -24,7 +24,7 @@ module RouteTranslator
|
|
|
24
24
|
|
|
25
25
|
#Use the translations from the specified file
|
|
26
26
|
def translate_from_file(file_path = nil)
|
|
27
|
-
file_path ||= defined?(Rails) && File.join(Rails.root, %w(config
|
|
27
|
+
file_path ||= defined?(Rails) && File.join(Rails.root, %w(config i18n-routes.yml))
|
|
28
28
|
load_dictionary_from_file(file_path)
|
|
29
29
|
translate
|
|
30
30
|
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: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
73
73
|
version: '0'
|
|
74
74
|
requirements: []
|
|
75
75
|
rubyforge_project:
|
|
76
|
-
rubygems_version: 1.8.
|
|
76
|
+
rubygems_version: 1.8.24
|
|
77
77
|
signing_key:
|
|
78
78
|
specification_version: 3
|
|
79
79
|
summary: Translate your Rails routes in a simple manner
|