lhj-tools 0.2.30 → 0.2.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lhj/helper/yapi/yapi_helper.rb +10 -0
- data/lib/lhj/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: 076d5ec66856ced7568622e7e19e173d6d7f08dd6d51de147719aca07a78948a
|
4
|
+
data.tar.gz: d9a323338b67946d2c507964aa7de067b23ae25a9ed95b4b66335cc8dafa8a4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f78f99f701be41cef12335157d335a4173362b76c232cdd2f5200799e71ddb4e3ceae6ad6d3a8e022e6852b6a9ee72fe7c519a02cf2d12bcb774da8384b9557a
|
7
|
+
data.tar.gz: af1b07e7bf8f7f059f9044e78514155d5ba8916ac801a3f0d9dd3baaacbc70187b202a00ed053ea9a41790d6da6eaee2ea4378da6eddc9c1bb3dd3e569d39da7
|
@@ -49,6 +49,16 @@ module Lhj
|
|
49
49
|
print_http_method(res_body['data'], project_info)
|
50
50
|
# print request mock data
|
51
51
|
print_mock_request_data(req_models) if !req_models.nil? && !req_models.empty?
|
52
|
+
model_result
|
53
|
+
end
|
54
|
+
|
55
|
+
def model_result
|
56
|
+
{
|
57
|
+
interface: @h_file_array.join("\n"),
|
58
|
+
implement: @m_file_array.join("\n"),
|
59
|
+
service: @service_content,
|
60
|
+
mock: @req_mock_array.join("\n")
|
61
|
+
}
|
52
62
|
end
|
53
63
|
|
54
64
|
def save_to_file
|
data/lib/lhj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lhj-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lihaijian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xcodeproj
|