tr8n_core 4.3 → 4.3.1

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: 4677e94f7e97da4ce77e060fe72c2bef2db5ca94
4
- data.tar.gz: 3f05a3e92037e05497c4c005e48ff2ccdbf348a5
3
+ metadata.gz: 978e678ec0dcfdacbdbe1c350df5206c6c3c8a00
4
+ data.tar.gz: 0cd5da1f871e2e0773a3651cf358992fb69f8e2b
5
5
  SHA512:
6
- metadata.gz: 2aaa9a7bc5eb6000bc0b43314bad5e8352f7a484ac3eb83e0038de4b5503ff1e0849a17ea3b6bf47ce1b554ed3d8614e28f35a039049aab981d4fd6112e278eb
7
- data.tar.gz: 7d3580bbc2b8acd859dce089ae21a4d0a6a7a93bf23ffea275564443733442f8243adac54d2ba1669a6209696741cadb5c8290e9bfefdb500c70025da00f3f9d
6
+ metadata.gz: e6c6e0186d6f6839c9f3439c3a587ddcf2f7bf5c6fdd01903508c1290dcba3a98c41e2c5f86d748f11b88822ecfb5565094c32546639bbfbfd1683afe7d2beae
7
+ data.tar.gz: 8fb4dd8f913f69d238ebaa6b8096a064a9880c490dfdf7386e464dc260b15ac701d1ba456c8833ffdb888fd9251cc3e2240e753d73ef2d374f01cca2e38fedb0
@@ -47,7 +47,6 @@ class Tr8n::Application < Tr8n::Base
47
47
  def fetch
48
48
  update_attributes(api_client.get('applications/current', {:definition => true}, {:cache_key => self.class.cache_key}))
49
49
  rescue Tr8n::Exception => ex
50
- pp ex, ex.backtrace
51
50
  Tr8n.logger.error("Failed to load application: #{ex}")
52
51
  self
53
52
  end
@@ -97,6 +97,12 @@ module Tr8n
97
97
  self.current_translator = Tr8n::Translator.new(self.cookie_params['translator'])
98
98
  end
99
99
 
100
+ # if inline mode don't use any app cache
101
+ if inline_mode?
102
+ self.application = self.application.dup
103
+ self.application.reset_translation_cache
104
+ end
105
+
100
106
  if self.current_translator
101
107
  self.current_translator.application = self.application
102
108
  end
@@ -30,5 +30,5 @@
30
30
  #++
31
31
 
32
32
  module Tr8nCore
33
- VERSION = '4.3'
33
+ VERSION = '4.3.1'
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tr8n_core
3
3
  version: !ruby/object:Gem::Version
4
- version: '4.3'
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Berkovich