refinerycms-i18n 0.9.8.4 → 0.9.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/gemspec.rb +1 -1
  2. data/lib/refinery/i18n.rb +4 -1
  3. metadata +3 -3
data/lib/gemspec.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- version = '0.9.8.4'
2
+ version = '0.9.8.5'
3
3
  raise "Could not get version so gemspec can not be built" if version.nil?
4
4
  files = Dir.glob("**/*").flatten.reject do |file|
5
5
  file =~ /\.gem(spec)?$/
data/lib/refinery/i18n.rb CHANGED
@@ -47,9 +47,12 @@ module Refinery
47
47
 
48
48
  protected :find_or_set_locale
49
49
  }
50
-
50
+ end
51
+
52
+ config.after_initialize do
51
53
  ::Refinery::I18n.setup! if defined?(RefinerySetting) and RefinerySetting.table_exists?
52
54
  end
55
+
53
56
  end
54
57
 
55
58
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: refinerycms-i18n
3
3
  version: !ruby/object:Gem::Version
4
- hash: 47
4
+ hash: 45
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
9
  - 8
10
- - 4
11
- version: 0.9.8.4
10
+ - 5
11
+ version: 0.9.8.5
12
12
  platform: ruby
13
13
  authors:
14
14
  - Resolve Digital