tml-rails 4.3.4 → 4.3.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b1276ec40f91f3bae61a5660f19162cfc194e3b5
4
- data.tar.gz: 05c458afc42ea4d9491dd9beb255cb29463ee318
3
+ metadata.gz: 1d7f5a9a456ca1ea9c40a7071fe7363242c95fe1
4
+ data.tar.gz: d714d0fbb8069f74721cc0ed781d8fc7d50ad86e
5
5
  SHA512:
6
- metadata.gz: 22a3e8b25d8caa05e0cf26946910a957c2db2578f2d4f1af50857e687b6d63c6b9b2a52ca8dab661d807842f7ad80faadbfe358ed8bdb98dde22653fac412325
7
- data.tar.gz: f821ae8cf22d43a24c9b96063a6b432fcb0a5e85c45d000bc0b0b0786b6d939580cdd49d0c1be771c38e20aeefd76c6634e8531ff42da530f8e1bd85014ab2a6
6
+ metadata.gz: 3974f5d3981a72d883ff8b62f7d26801cfe7e3bb66663ac48939b2ba4ce0f1309a15104b0009b6fad22a6007e04e79232af40f360afd197b4ef102efa0ae78c9
7
+ data.tar.gz: 43c8b91a78091f2fc434d83e13ea37b2eb099f9b31f7a22b6e32c88d20e64d27e0c65fd86c9383f91c55756bd7df3f1cafd98f9e96553ae01d323657b77e25fc
@@ -120,7 +120,9 @@ module TmlRails
120
120
 
121
121
  Tml.session.init(tml_session_params)
122
122
 
123
- I18n.enforce_available_locales = false
123
+ if defined? I18n.enforce_available_locales
124
+ I18n.enforce_available_locales = false
125
+ end
124
126
  I18n.locale = Tml.session.current_language.locale
125
127
  end
126
128
 
@@ -30,5 +30,5 @@
30
30
  #++
31
31
 
32
32
  module TmlRails
33
- VERSION = '4.3.4'
33
+ VERSION = '4.3.5'
34
34
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tml-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.4
4
+ version: 4.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Berkovich
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-23 00:00:00.000000000 Z
11
+ date: 2015-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails