gettext_i18n_rails 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gettext_i18n_rails (0.6.4)
4
+ gettext_i18n_rails (0.6.5)
5
5
  fast_gettext
6
6
 
7
7
  GEM
@@ -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
- rescue
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
@@ -1,3 +1,3 @@
1
1
  module GettextI18nRails
2
- Version = VERSION = '0.6.4'
2
+ Version = VERSION = '0.6.5'
3
3
  end
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
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: -3295510175856743930
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: -3295510175856743930
96
+ hash: -2707633988725103734
97
97
  requirements: []
98
98
  rubyforge_project:
99
99
  rubygems_version: 1.8.24