gwtools 0.0.24 → 0.0.26
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/generate/swift.rb +8 -2
- data/lib/gwtools/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45215295a33bff33f1ba64b2774a778dee48a022f7a3733c43b2edbcf4c5942c
|
4
|
+
data.tar.gz: bea6d472664e1b46930e3060587c6904d355ca566ea44f2511884d6637da3cf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5002cd4b799c9900635d82fa3e34a45b55c3775c0387814d475aa139e686c473b8a2de0dc6eb0f5df7cd62e148b033eb47d0f931ee20ed8b7a6720bd7341ea44
|
7
|
+
data.tar.gz: dbf5017fdb2da8a16b40ff67a95ffadab7881a2633fc9a3887c2737cc73a5c6d14af9694385ac85238a3a62d793650b00296067fb43452c2ae48bd060d423061
|
@@ -95,8 +95,14 @@ public extension <%="#{@api_name}"%> {
|
|
95
95
|
end
|
96
96
|
|
97
97
|
def self.getPrefixPath(dir_path)
|
98
|
-
prefixPaths = %w[app-api/api/v1.0
|
99
|
-
|
98
|
+
prefixPaths = %w[app-api/api/v1.0
|
99
|
+
app-api/api/v2.0
|
100
|
+
community-app-api/app-api/api/v1.0
|
101
|
+
app-api/api/haval/v2.0
|
102
|
+
bt-cpsp-api/cpsp-api/v1
|
103
|
+
bt-cpsp-api/cpsp-api/v2
|
104
|
+
bt-cpsp-api/v2
|
105
|
+
bt-user-member-api/v1.0]
|
100
106
|
|
101
107
|
prefixPaths.each do |prefix_path|
|
102
108
|
return prefix_path.gsub(/^\/|\/$/, "") if dir_path.start_with?(prefix_path)
|
data/lib/gwtools/version.rb
CHANGED