flutter_polyglot_cli 1.1.3 → 1.1.4

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: ac7e7883a3c621ff867380522e0e9bb4199668caa84e46e79542c9399d0074b7
4
- data.tar.gz: '00480177804db8de7604c7b930c51a114eb43b0147e7c66e1c53582d41b1df26'
3
+ metadata.gz: c5dfe5a15d8facf1e7be9af01f8d40f3f8655af091c3bbcb25482ba99e98ed75
4
+ data.tar.gz: 00d9f1c459aba1ca954b96171a4e554143ec4f765d90cb666fa22879ffcd47e6
5
5
  SHA512:
6
- metadata.gz: 8d0c722a8e2805723af09afc7ec052e26bec49fc507ccc80a2dd73973afc9a3bb0428d5b2916226cf99555ba0b00dab32b1dd37d84f88241ba5a03a2f6622659
7
- data.tar.gz: 8b35b592a2a744a3674a2c226c4326a2664a1f8d8517bcfbd208b1b883a62a29b00d416f66c22390d4c8b50ffdf647a7ebc367da7dbf67d67c6cd131747fbfc4
6
+ metadata.gz: '073791e15366cc13996725f540078b383fbfcb4d09c4c4f6e4657f8d35583a8632e756389e1974f4c144a7a18cc9a9f5d896c698a4943af1883541533567a31e'
7
+ data.tar.gz: 43773c358c1719f751b93b61f03a44ce1c4e589fb8060decfbe5a5e18fd02d1f596d6e1d4c5eb83d7ef0aaa1dfeb55b2adcef5eafa4193ea231266343ebbf843
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- flutter_polyglot_cli (1.1.3)
4
+ flutter_polyglot_cli (1.1.4)
5
5
  activesupport
6
6
  commander
7
7
  json_api_client
@@ -26,10 +26,7 @@ class LocalizationDelegate extends LocalizationsDelegate<Localization> {
26
26
  bool isSupported(Locale locale) => <String><%= generate_locales(languages) %>.contains(locale.languageCode);
27
27
 
28
28
  @override
29
- Future<Localization> load(Locale locale) {
30
- Localization.load(locale);
31
- return SynchronousFuture<Localization>(Localization(locale.languageCode));
32
- }
29
+ Future<Localization> load(Locale locale) async => SynchronousFuture<Localization>(await Localization.load(locale));
33
30
 
34
31
  @override
35
32
  bool shouldReload(LocalizationDelegate old) => false;
@@ -1,3 +1,3 @@
1
1
  module PolyglotFlutter
2
- VERSION = '1.1.3'
2
+ VERSION = '1.1.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flutter_polyglot_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maroje Marcelic
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-09-23 00:00:00.000000000 Z
11
+ date: 2021-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler