tolk 1.3.0 → 1.3.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.
Files changed (3) hide show
  1. data/lib/tolk/sync.rb +1 -1
  2. data/lib/tolk/version.rb +1 -1
  3. metadata +2 -2
@@ -10,7 +10,7 @@ module Tolk
10
10
  end
11
11
 
12
12
  def load_translations
13
- I18n.available_locales # force load
13
+ I18n.backend.send :init_translations unless I18n.backend.initialized? # force load
14
14
  translations = flat_hash(I18n.backend.send(:translations)[primary_locale.name.to_sym])
15
15
  filter_out_i18n_keys(translations.merge(read_primary_locale_file))
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Tolk
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tolk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-05-18 00:00:00.000000000 Z
15
+ date: 2012-06-07 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: will_paginate