gettext_i18n_rails 0.6.4 → 0.6.5
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.
- data/Gemfile.lock +1 -1
- data/lib/gettext_i18n_rails/tasks.rb +2 -3
- data/lib/gettext_i18n_rails/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -111,9 +111,8 @@ namespace :gettext do
|
|
111
111
|
end
|
112
112
|
|
113
113
|
def locale_path
|
114
|
-
FastGettext.translation_repositories[text_domain].instance_variable_get(:@options)[:path]
|
115
|
-
|
116
|
-
File.join(Rails.root, "locale")
|
114
|
+
path = FastGettext.translation_repositories[text_domain].instance_variable_get(:@options)[:path] rescue nil
|
115
|
+
path || File.join(Rails.root, "locale")
|
117
116
|
end
|
118
117
|
|
119
118
|
def text_domain
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gettext_i18n_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
84
|
version: '0'
|
85
85
|
segments:
|
86
86
|
- 0
|
87
|
-
hash: -
|
87
|
+
hash: -2707633988725103734
|
88
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
89
89
|
none: false
|
90
90
|
requirements:
|
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
93
93
|
version: '0'
|
94
94
|
segments:
|
95
95
|
- 0
|
96
|
-
hash: -
|
96
|
+
hash: -2707633988725103734
|
97
97
|
requirements: []
|
98
98
|
rubyforge_project:
|
99
99
|
rubygems_version: 1.8.24
|