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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bf6628875a0aef580fedddb02f0cef5019159c3972ddf11484a009862771b9fd
4
- data.tar.gz: 961ce8a6caefb802f9236175949b232c5b3d9dbf5259a9b209e4ffae2bb45afc
3
+ metadata.gz: 57f64a31ef310cf20f4bb728654734e6a3443d85f6bf250aa7ae3058c2336fc2
4
+ data.tar.gz: a8903d46d78d78556fefcdb1222cc1958c94fab5a67caa077cad2b9ea06dabcd
5
5
  SHA512:
6
- metadata.gz: a36c63842a919f4aaa4588d5b022133c749e9dfd2f6f512a66106b7193af2020b1ff80b5d6d274d0daeb2243bd244f39c02b9edd290217c0c2c52e5da1bee622
7
- data.tar.gz: 2774fe167ddf3944bf9530e0a79790c518eb8aad791dea5948bd7fa820b4977f355ae562d2a99b5dc29ac6c03c7bf8540d1733edab1ad4c2bf988ca4d3068746
6
+ metadata.gz: 974c519393ce0080846a703cdbd2e2eba8efcb649d48ced90b649df71c1398f5755586751f81251f03f43becfa77e620e62dcc6bb3a5d85bed61789cafbe8c28
7
+ data.tar.gz: '0981d454eb05d7622a2481ee05d5f2aa369884923bc3dd1a32778846f50cb3f1dd2a1f9e98eda7ad2f96f1f9678b817577189b5a8e414c0c08baba899f345de0'
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module I18n
3
- VERSION = '22.9.0.rc7'
3
+ VERSION = '22.9.0.rc9'
4
4
  end
5
5
  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.rc7
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-27 00:00:00.000000000 Z
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.rc7
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.rc7
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.rc7
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.rc7
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.rc7
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.rc7
166
+ version: 22.9.0.rc9
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rake
169
169
  requirement: !ruby/object:Gem::Requirement