isomorfeus-i18n 22.9.0.rc6 → 22.9.0.rc8
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 +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b646a5c799548b141ed0ce41b2a6219b8a7c1bf443ec55528ed8e10d639f5af7
|
4
|
+
data.tar.gz: 2f74aeaea33314a510ca24046e14ece1d89f173a90b59010ab19f12435993046
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e447a3ac67f5dca98bc86491adcb77ea4c20e2407457942f6f64e7f599ef51f090739790c5f6cea66671b5c34c9b78d43806e1a81d637bd3c7116cc67a4f77fd
|
7
|
+
data.tar.gz: 35bfb65ebc3fa1c5217a9d3e25322b603e79d8b0d7397da43cad7b8ac6f8677db29724cb2b26747ef854580947f1d5db5baa7363f5230be538dd4c12713bcd30
|
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.rc8
|
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-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -100,42 +100,42 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.15.
|
103
|
+
version: 0.15.5
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.15.
|
110
|
+
version: 0.15.5
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: isomorfeus-redux
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 22.9.0.
|
117
|
+
version: 22.9.0.rc8
|
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.rc8
|
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.rc8
|
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.rc8
|
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.rc8
|
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.rc8
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: rake
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|