cocoapods-aqara-localzedLoader 0.0.3 → 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
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cocoapods-aqara-localzedLoader (0.0.
|
4
|
+
cocoapods-aqara-localzedLoader (0.0.5)
|
5
5
|
claide (>= 1.0.2, < 2.0)
|
6
6
|
colored2
|
7
7
|
fileutils
|
8
8
|
httparty
|
9
|
+
open3
|
9
10
|
rubyXL
|
10
11
|
rubyzip
|
11
12
|
|
@@ -105,6 +106,7 @@ GEM
|
|
105
106
|
netrc (0.11.0)
|
106
107
|
nokogiri (1.14.0-arm64-darwin)
|
107
108
|
racc (~> 1.4)
|
109
|
+
open3 (0.1.0)
|
108
110
|
prettybacon (0.0.2)
|
109
111
|
bacon (~> 1.2)
|
110
112
|
public_suffix (4.0.7)
|
@@ -168,6 +170,7 @@ DEPENDENCIES
|
|
168
170
|
httparty
|
169
171
|
mocha
|
170
172
|
mocha-on-bacon
|
173
|
+
open3
|
171
174
|
prettybacon
|
172
175
|
rake (>= 10.0)
|
173
176
|
rspec (>= 3.0)
|
@@ -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
|