i18n 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of i18n might be problematic. Click here for more details.

Files changed (3) hide show
  1. data/lib/i18n/config.rb +1 -1
  2. data/lib/i18n/version.rb +1 -1
  3. metadata +4 -4
@@ -88,7 +88,7 @@ module I18n
88
88
  # [Deprecated] this will default to true in the future
89
89
  # Defaults to nil so that it triggers the deprecation warning
90
90
  def enforce_available_locales
91
- @@enforce_available_locales ||= nil
91
+ defined?(@@enforce_available_locales) ? @@enforce_available_locales : nil
92
92
  end
93
93
 
94
94
  def enforce_available_locales=(enforce_available_locales)
@@ -1,3 +1,3 @@
1
1
  module I18n
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 2
10
- version: 0.5.2
9
+ - 3
10
+ version: 0.5.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2013-12-03 00:00:00 Z
22
+ date: 2013-12-09 00:00:00 Z
23
23
  dependencies: []
24
24
 
25
25
  description: New wave Internationalization support for Ruby.