gwtools 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/gwtools/analysis/file_handler.rb +1 -0
- data/lib/gwtools/generate/swift.rb +3 -3
- data/lib/gwtools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0100a70f23ac23261332f02db453933507cb7a0ed724f0f5692f8a01f57ea28f
|
4
|
+
data.tar.gz: 382a1cc61d36442357aebc2b7cf3800c255f9743dd7b84f162ea030eb3b34a29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68b8dc44f301959f1e68c96d213b8774e776b55f884fe25ddbe1e4ced6bb1e3242921af538cd15f44a8bef724061982e5d1f2c0065a8eeb36ec012c141de7ee6
|
7
|
+
data.tar.gz: 46654fb5ba6afe2f8670df7cf77c4a9a5d148b262cad901911849276c78f4c4eed8441b069862b43d802c516ebc6e27909bc7f9e771717ece21acc5bf9a48c23
|
@@ -96,7 +96,7 @@ public extension <%="#{@api_name}"%> {
|
|
96
96
|
|
97
97
|
def self.getPrefixPath(dir_path)
|
98
98
|
prefixPaths = %w[app-api/api/v1.0 app-api/api/v2.0 community-app-api/app-api/api/v1.0 app-api/api/haval/v2.0
|
99
|
-
bt-cpsp-api/cpsp-api/v1]
|
99
|
+
bt-cpsp-api/cpsp-api/v1 bt-cpsp-api/cpsp-api/v2 bt-cpsp-api/v2]
|
100
100
|
|
101
101
|
prefixPaths.each do |prefix_path|
|
102
102
|
return prefix_path.gsub(/^\/|\/$/, "") if dir_path.start_with?(prefix_path)
|
@@ -209,8 +209,8 @@ extension <##SomeViewModel##> {
|
|
209
209
|
func reqData() -> Observable<#{json_data_is_arr ? "[" : ""}#{app_name}.#{httpMethod.capitalize.chomp}Model#{json_data_is_arr ? "]" : ""}> {
|
210
210
|
#{app_name}.#{httpMethod.capitalize.chomp}()
|
211
211
|
.compactMap { $0 } // 解析出需要的类型
|
212
|
-
.
|
213
|
-
.
|
212
|
+
.observe(on: MainScheduler.instance)
|
213
|
+
.catchAndReturn(.init())
|
214
214
|
}
|
215
215
|
}
|
216
216
|
"""
|
data/lib/gwtools/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gwtools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- chenglq
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Write a longer description or delete this line.
|
14
14
|
email:
|