cocoapods-aqara-localzedLoader 0.0.4 → 0.0.5
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: d6ae3bb2dbb5f0716f879f9b3cd442f2137a209b58987e0a87c3ca89836b8543
|
4
|
+
data.tar.gz: d35e272f1084b9880d61ee55d7d879645571485968e169b7f3fe0f9afcffd505
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2ba3247e8831e72097e71f22a6c600aede067d83ebad9c918f4737a7e8ae54a8493e18a6413f15974116a42381cf49eace85eaa73368ab3a7d638edba18b1c6
|
7
|
+
data.tar.gz: f86bea3700e97c57596c83c4aa218dcd11ad7f2132489dc073a00870d05e5444d7fd4785bec3144a84df7671754a4f180b22a81e125041c0160d34cbf30fd384
|
data/Gemfile.lock
CHANGED
@@ -139,6 +139,7 @@ class BundleGenerater
|
|
139
139
|
#对多语言的value进行处理
|
140
140
|
def self.handleValue(value='',stringElement = nil)
|
141
141
|
#替换{=}
|
142
|
+
value = self.replace_placeholders value
|
142
143
|
value = value.gsub(/{#}/,"%@")
|
143
144
|
value = value.gsub(/""/,'"')
|
144
145
|
value = value.gsub(/\\"/,'"')
|
@@ -154,6 +155,10 @@ class BundleGenerater
|
|
154
155
|
value
|
155
156
|
end
|
156
157
|
|
158
|
+
def self.replace_placeholders(str='')
|
159
|
+
return str.gsub(/%(\d+)\$s/, '%\1$@')
|
160
|
+
end
|
161
|
+
|
157
162
|
end
|
158
163
|
|
159
164
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-aqara-localzedLoader
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zhaoxifan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|