flutter_polyglot_cli 1.0.1 → 1.0.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: fe67c3d215e3779b58be999c98160fd773e6cbdf096f64ba527b748cf00583cb
4
- data.tar.gz: 4228ba3ec5274785a205e5f2001a03a6096791bb4de21a1fd27db6aecef3044d
3
+ metadata.gz: e2677efcaed8b5c731998d960ad6b25f8ac26dfdc654b510d52bb44f57b31b97
4
+ data.tar.gz: b41e5447f2cd83df7ae743a1e95458fb745be38caa956be4e61263225be14400
5
5
  SHA512:
6
- metadata.gz: 7340d7ce57278b8fe76c894262ec7cacca2e684d6d1ced5909ef294129b7b2be7ce864b5a1580405ba4ac77f467aee811deafcf08c3b76129171a0c7ce329033
7
- data.tar.gz: 04f45e84f4ec7c28900475937a9b7b20ffffebddb91fa83bd9de6223a92ad3546a549aac0635426402bab1189ff8a6d721d888dfa0a7b9d22fe445f39b12c615
6
+ metadata.gz: d1804575384e29434dfe41b0fdaeef2693eeb804f35a293b9307c7186ce76999c638aafef11e2b8e84191c54b3652d9c45f534046aed6d19ae3137e2dd317c13
7
+ data.tar.gz: e084e1fbfa913eef571fd1234baea1acca3f0ab8e75bcad9926ce63e382291aee656dd701ee2b5938c3451fa4703b09d755ba2f64e8810fc3a2fe61d05040b33
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- flutter_polyglot_cli (1.0.1)
4
+ flutter_polyglot_cli (1.0.2)
5
5
  activesupport
6
6
  commander
7
7
  json_api_client
@@ -21,7 +21,7 @@ module PolyglotFlutter
21
21
 
22
22
  def convert_aruments(translation)
23
23
  new_translation = translation
24
- translation.scan(/(%\w*)/).each_with_index do |match, index|
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
 
@@ -1,3 +1,3 @@
1
1
  module PolyglotFlutter
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
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.0.1
4
+ version: 1.0.2
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-03-03 00:00:00.000000000 Z
11
+ date: 2020-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler