tml 5.6.3 → 5.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tml/application.rb +1 -7
- data/lib/tml/config.rb +1 -1
- data/lib/tml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28b79b000f32fc2506faf178e1ee5aa2698d658d
|
4
|
+
data.tar.gz: b73c45a3564d1ed704d5e93ea4d7ea34325a8ad4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c46fef311a0a7aab52e62a254792292e7dce66d9db03c2e809bd44b45a4c9d3287807642814d24273073c34299da2d158b5c66e8cff12eb1c248b3b6df80ac52
|
7
|
+
data.tar.gz: 275625ecae6e94b25f8dba5687a92bad91fd43b73211e4013822e123bc79094ef0e6c5b7bfb4c2cedd129a955bbcabce12a20623b6a0cbeef33a41d476632f5d
|
data/lib/tml/application.rb
CHANGED
@@ -242,13 +242,7 @@ class Tml::Application < Tml::Base
|
|
242
242
|
source.reset_cache
|
243
243
|
end
|
244
244
|
|
245
|
-
|
246
|
-
api_client.post('sources/register_keys', {:source_keys => params.to_json})
|
247
|
-
else
|
248
|
-
Thread.new do
|
249
|
-
api_client.post('sources/register_keys', {:source_keys => params.to_json})
|
250
|
-
end
|
251
|
-
end
|
245
|
+
api_client.post('sources/register_keys', {:source_keys => params.to_json})
|
252
246
|
rescue Tml::Exception => e
|
253
247
|
Tml.logger.error('Failed to register missing translation keys...')
|
254
248
|
Tml.logger.error(e)
|
data/lib/tml/config.rb
CHANGED
@@ -75,7 +75,7 @@ module Tml
|
|
75
75
|
# The class can be extended with a different implementation, as long as the interface is supported
|
76
76
|
class Config
|
77
77
|
# Configuration Attributes
|
78
|
-
attr_accessor :enabled, :locale, :default_level, :format, :application, :postoffice, :context_rules, :logger, :cache, :default_tokens, :localization
|
78
|
+
attr_accessor :enabled, :locale, :default_level, :format, :application, :postoffice, :context_rules, :logger, :cache, :default_tokens, :localization
|
79
79
|
attr_accessor :auto_init, :source_separator, :domain
|
80
80
|
|
81
81
|
# Used by Rails and Sinatra extensions
|
data/lib/tml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.6.
|
4
|
+
version: 5.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Berkovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|