flutter_polyglot_cli 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -5
- data/lib/flutter_polyglot_cli/api/translation_key.rb +1 -1
- data/lib/flutter_polyglot_cli/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac7e7883a3c621ff867380522e0e9bb4199668caa84e46e79542c9399d0074b7
|
4
|
+
data.tar.gz: '00480177804db8de7604c7b930c51a114eb43b0147e7c66e1c53582d41b1df26'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d0c722a8e2805723af09afc7ec052e26bec49fc507ccc80a2dd73973afc9a3bb0428d5b2916226cf99555ba0b00dab32b1dd37d84f88241ba5a03a2f6622659
|
7
|
+
data.tar.gz: 8b35b592a2a744a3674a2c226c4326a2664a1f8d8517bcfbd208b1b883a62a29b00d416f66c22390d4c8b50ffdf647a7ebc367da7dbf67d67c6cd131747fbfc4
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
flutter_polyglot_cli (1.1.
|
4
|
+
flutter_polyglot_cli (1.1.3)
|
5
5
|
activesupport
|
6
6
|
commander
|
7
7
|
json_api_client
|
@@ -28,7 +28,7 @@ GEM
|
|
28
28
|
coderay (1.1.2)
|
29
29
|
commander (4.4.7)
|
30
30
|
highline (~> 2.0.0)
|
31
|
-
concurrent-ruby (1.1.
|
31
|
+
concurrent-ruby (1.1.6)
|
32
32
|
equatable (0.6.1)
|
33
33
|
faraday (0.17.0)
|
34
34
|
multipart-post (>= 1.2, < 3)
|
@@ -45,7 +45,7 @@ GEM
|
|
45
45
|
faraday_middleware (~> 0.9)
|
46
46
|
rack (>= 0.2)
|
47
47
|
method_source (0.9.2)
|
48
|
-
minitest (5.
|
48
|
+
minitest (5.14.1)
|
49
49
|
multipart-post (2.1.1)
|
50
50
|
necromancer (0.5.0)
|
51
51
|
osx_keychain (1.0.2)
|
@@ -74,10 +74,10 @@ GEM
|
|
74
74
|
tty-screen (~> 0.7)
|
75
75
|
wisper (~> 2.0.0)
|
76
76
|
tty-screen (0.7.0)
|
77
|
-
tzinfo (1.2.
|
77
|
+
tzinfo (1.2.7)
|
78
78
|
thread_safe (~> 0.1)
|
79
79
|
wisper (2.0.1)
|
80
|
-
zeitwerk (2.
|
80
|
+
zeitwerk (2.3.1)
|
81
81
|
|
82
82
|
PLATFORMS
|
83
83
|
ruby
|
@@ -21,7 +21,7 @@ module PolyglotFlutter
|
|
21
21
|
|
22
22
|
def convert_aruments(translation)
|
23
23
|
new_translation = translation
|
24
|
-
translation.scan(/(%\w
|
24
|
+
translation.scan(/(%\w)/).each_with_index do |match, index|
|
25
25
|
new_translation = new_translation.sub(match[0], '{arg' + String(index) + '}')
|
26
26
|
end
|
27
27
|
|
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.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maroje Marcelic
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -122,7 +122,7 @@ dependencies:
|
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
|
-
description:
|
125
|
+
description:
|
126
126
|
email:
|
127
127
|
- maroje.marcelic@infinum.com
|
128
128
|
executables:
|
@@ -169,7 +169,7 @@ licenses:
|
|
169
169
|
- MIT
|
170
170
|
metadata:
|
171
171
|
allowed_push_host: https://rubygems.org
|
172
|
-
post_install_message:
|
172
|
+
post_install_message:
|
173
173
|
rdoc_options: []
|
174
174
|
require_paths:
|
175
175
|
- lib
|
@@ -185,7 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
185
|
version: '0'
|
186
186
|
requirements: []
|
187
187
|
rubygems_version: 3.0.6
|
188
|
-
signing_key:
|
188
|
+
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: A CLI for pulling polyglot translations and generating Flutter Source Files
|
191
191
|
test_files: []
|