fastlane-plugin-google_sheet_localize 0.3.12 → 0.3.13
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de5986abc705571310d0e2e91484f3ec35664149a0f69822ea56667fa8ce0d19
|
4
|
+
data.tar.gz: 240d6c742cb7b907213ee6ad90cd5017d9dde8f256b61ef3d3d3cfc76a494c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69226f609647ec2bc52c285102a9ef08789fdfdad9835e0d2df2ff00f0a02c20d39c824c8adcf956e172be266cb931d3158cd09e2271a88cd6f0c759220e9002
|
7
|
+
data.tar.gz: 66992848f981c89dbb2f3912dcd0cf2a1a1135186185bccbda194d2a82864a56b277313dd85edb37f9b55e4da22f44bd10b58e41b1fc858385d303b91622b371
|
@@ -521,26 +521,26 @@ module Fastlane
|
|
521
521
|
|
522
522
|
stringIndexes = self.scan_str(filtered, /%[0-9]?[s@]/)
|
523
523
|
intIndexes = self.scan_str(filtered, /%[0-9]?[d]/)
|
524
|
-
floatIndexes = self.scan_str(filtered, /%[0-9]?[f]/)
|
524
|
+
floatIndexes = self.scan_str(filtered, /%[0-9]?[.f]/)
|
525
525
|
doubleIndexes = self.scan_str(filtered, /%[0-9]?ld/)
|
526
526
|
|
527
527
|
if stringIndexes.count > 0
|
528
|
-
result = result
|
528
|
+
result = result + stringIndexes.map { |e| { "index": e[0], "offset": e[1], "type": "String" }}
|
529
529
|
end
|
530
530
|
|
531
531
|
if intIndexes.count > 0
|
532
|
-
result = result
|
532
|
+
result = result + intIndexes.map { |e| { "index": e[0], "offset": e[1], "type": "Int" }}
|
533
533
|
end
|
534
534
|
|
535
535
|
if floatIndexes.count > 0
|
536
|
-
result = result
|
536
|
+
result = result + floatIndexes.map { |e| { "index": e[0], "offset": e[1], "type": "Float" }}
|
537
537
|
end
|
538
538
|
|
539
539
|
if doubleIndexes.count > 0
|
540
|
-
result = result
|
540
|
+
result = result + doubleIndexes.map { |e| { "index": e[0], "offset": e[1], "type": "Double" }}
|
541
541
|
end
|
542
542
|
|
543
|
-
result = result.sort_by
|
543
|
+
result = result.sort_by { |hsh| hsh[:offset] }
|
544
544
|
|
545
545
|
return result
|
546
546
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-google_sheet_localize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mario Hahn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google_drive
|