isomorfeus-i18n 22.9.0.rc7 → 22.9.0.rc9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isomorfeus/i18n/init.rb +4 -1
- data/lib/isomorfeus/i18n/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57f64a31ef310cf20f4bb728654734e6a3443d85f6bf250aa7ae3058c2336fc2
|
4
|
+
data.tar.gz: a8903d46d78d78556fefcdb1222cc1958c94fab5a67caa077cad2b9ea06dabcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 974c519393ce0080846a703cdbd2e2eba8efcb649d48ced90b649df71c1398f5755586751f81251f03f43becfa77e620e62dcc6bb3a5d85bed61789cafbe8c28
|
7
|
+
data.tar.gz: '0981d454eb05d7622a2481ee05d5f2aa369884923bc3dd1a32778846f50cb3f1dd2a1f9e98eda7ad2f96f1f9678b817577189b5a8e414c0c08baba899f345de0'
|
data/lib/isomorfeus/i18n/init.rb
CHANGED
@@ -13,7 +13,6 @@ module Isomorfeus
|
|
13
13
|
(dev && (Time.now - (Thread.current[:isomorfeus_i18n_last_update] || 0)) < 0.020)
|
14
14
|
return
|
15
15
|
end
|
16
|
-
Thread.current[:isomorfeus_i18n_last_update] = Time.now if dev
|
17
16
|
unless Dir.exist?(Isomorfeus.locale_path)
|
18
17
|
STDERR.puts "locale directory '#{Isomorfeus.locale_path}' not found, please create it if using I18n"
|
19
18
|
return
|
@@ -21,6 +20,10 @@ module Isomorfeus
|
|
21
20
|
FastGettext.add_text_domain(Isomorfeus.i18n_domain, path: Isomorfeus.locale_path, type: Isomorfeus.i18n_type)
|
22
21
|
FastGettext.available_locales = Isomorfeus.available_locales
|
23
22
|
FastGettext.text_domain = Isomorfeus.i18n_domain
|
23
|
+
if dev
|
24
|
+
Thread.current[:isomorfeus_i18n_last_update] = Time.now
|
25
|
+
FastGettext.cache.reload_all!
|
26
|
+
end
|
24
27
|
Thread.current[:isomorfeus_i18n_initialized] = true
|
25
28
|
end
|
26
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isomorfeus-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 22.9.0.
|
4
|
+
version: 22.9.0.rc9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Biedermann
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -114,28 +114,28 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 22.9.0.
|
117
|
+
version: 22.9.0.rc9
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 22.9.0.
|
124
|
+
version: 22.9.0.rc9
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: isomorfeus-transport
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 22.9.0.
|
131
|
+
version: 22.9.0.rc9
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 22.9.0.
|
138
|
+
version: 22.9.0.rc9
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: r18n-core
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - '='
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 22.9.0.
|
159
|
+
version: 22.9.0.rc9
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - '='
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 22.9.0.
|
166
|
+
version: 22.9.0.rc9
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rake
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|