isomorfeus-i18n 2.1.0 → 2.2.2

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: f0410bb425f90fed0d145096eb7b18ba67e3afb30939fec3234825cdf7920868
4
- data.tar.gz: a6371b92807bb6928a3978da8b6ff0e63b942a437bf1ccd868a0c559271c840f
3
+ metadata.gz: 5716781a6b1fdf6bfb1daf849c4159c67ca7c82d8378a8550db37b884ad48bb0
4
+ data.tar.gz: 7499538c448094466cfdeb1a8b375184060c244def8d336069b772496ed3622a
5
5
  SHA512:
6
- metadata.gz: 75eaaf56f00a678735d0ad85c502862c218fe720692e071ddeb62f2750744cdeb974c6f713632c8feb1361446c662e9bc62dac303768fedfdca5fda4f0ed808d
7
- data.tar.gz: 8cae156462b749e6b569c31c2caf060ac164f4165963f38090443bab8f08ddb1c16260e413be9a9d27105ec0e247dc432b45a6f2a04359bb79fae45b86403cb4
6
+ metadata.gz: 35df33fb2b17ac90213874fbd6b84d677aedf091602ef3e953114ffefc65ea4db8f2b5fd4acac11d53b71a574fc8b3922f626fbc740334d4b608da5d4473602d
7
+ data.tar.gz: 8fd079bd17092ca3fd0ee0d53ecd1e9a765651e2c96edd6b26d0f4474d724389742e144e7467ef0cf4a8703889571f27a40a3bfe4d4674e0bc5852c92ff55bea
@@ -25,7 +25,7 @@ module Isomorfeus
25
25
  end
26
26
 
27
27
  def default_locale=(loc)
28
- Isomorfeus.raise_error(message: "Locale #{loc} not available!") unless available_locales.include?(loc)
28
+ Isomorfeus.raise_error(message: "Locale #{loc} not available as default locale!") unless available_locales.include?(loc)
29
29
  Isomorfeus.store.dispatch(type: 'I18N_LOAD', data: { locale: loc })
30
30
  loc
31
31
  end
@@ -66,7 +66,7 @@ module Isomorfeus
66
66
  end
67
67
 
68
68
  def default_locale=(loc)
69
- Isomorfeus.raise_error(message: "Locale #{loc} not available!") unless available_locales.include?(loc)
69
+ Isomorfeus.raise_error(message: "Locale #{loc} not available as default locale!") unless available_locales.include?(loc)
70
70
  FastGettext.locale = loc
71
71
  R18n.set(loc)
72
72
  @default_locale = loc
@@ -35,7 +35,7 @@ module Isomorfeus
35
35
  if Isomorfeus.available_locales.include?(locale)
36
36
  Isomorfeus.current_locale = locale
37
37
  else
38
- Isomorfeus.raise_error(message: "Locale #{locale} not available!")
38
+ Isomorfeus.raise_error(message: "LocaleHandler: Locale #{locale} not available!")
39
39
  end
40
40
  end
41
41
  FastGettext.with_locale(locale) do
@@ -1,5 +1,5 @@
1
1
  module Isomorfeus
2
2
  module I18n
3
- VERSION = '2.1.0'
3
+ VERSION = '2.2.2'
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: 2.1.0
4
+ version: 2.2.2
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-02-14 00:00:00.000000000 Z
11
+ date: 2022-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -100,56 +100,56 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.14.10
103
+ version: 0.14.17
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.14.10
110
+ version: 0.14.17
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: isomorfeus-preact
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 10.6.34
117
+ version: 10.6.45
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: 10.6.34
124
+ version: 10.6.45
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: isomorfeus-redux
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 4.1.15
131
+ version: 4.1.18
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: 4.1.15
138
+ version: 4.1.18
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: isomorfeus-transport
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 2.1.0
145
+ version: 2.2.2
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
151
151
  - !ruby/object:Gem::Version
152
- version: 2.1.0
152
+ version: 2.2.2
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: r18n-core
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +170,14 @@ dependencies:
170
170
  requirements:
171
171
  - - '='
172
172
  - !ruby/object:Gem::Version
173
- version: 2.1.0
173
+ version: 2.2.2
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - '='
179
179
  - !ruby/object:Gem::Version
180
- version: 2.1.0
180
+ version: 2.2.2
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: rake
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 3.10.0
201
+ version: 3.11.0
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 3.10.0
208
+ version: 3.11.0
209
209
  description: I18n for Isomorfeus.
210
210
  email: jan@kursator.de
211
211
  executables: []
@@ -244,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
244
  - !ruby/object:Gem::Version
245
245
  version: '0'
246
246
  requirements: []
247
- rubygems_version: 3.3.3
247
+ rubygems_version: 3.3.7
248
248
  signing_key:
249
249
  specification_version: 4
250
250
  summary: I18n for Isomorfeus.