jpsclient 1.8.0 → 1.9.0
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/jpsclient/api/commit_log.rb +4 -4
- data/lib/jpsclient/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d827256313f832737e98df9ec55e1489d7498461db1881a5549fb1925fa1aeb0
|
|
4
|
+
data.tar.gz: 021437f3143a1e4ec72dea127a0260611a2b6ce37bd6424cdaf2a8bd178a16a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5dcff3d065018659fe5c9ea7880529c75726b7553c659fb0e41e21bf68a9e274b08805b5d2b1258fb817aa873726900edb68a5097f586ec74debcae925d2112
|
|
7
|
+
data.tar.gz: 0b89b390eaf15ab51ad7af39ab58d91773d093fe7f8a6b0f63a1b87e0e4775a9bb07014215948dd6e998f3b88215eb00f67f7376276e9fce7bf4d3f74eb91dea
|
|
@@ -163,10 +163,10 @@ module JPSClient
|
|
|
163
163
|
pageSize: params[:pageSize] || 20
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
#
|
|
167
|
-
get_params[:ids] = params[:ids].join(',') if params[:ids]
|
|
168
|
-
get_params[:workflowIds] = params[:workflowIds].join(',') if params[:workflowIds]
|
|
169
|
-
get_params[:committers] = params[:committers].join(',') if params[:committers]
|
|
166
|
+
# 添加可选的筛选参数(使用 Array() 支持单个值和数组)
|
|
167
|
+
get_params[:ids] = Array(params[:ids]).join(',') if params[:ids]
|
|
168
|
+
get_params[:workflowIds] = Array(params[:workflowIds]).join(',') if params[:workflowIds]
|
|
169
|
+
get_params[:committers] = Array(params[:committers]).join(',') if params[:committers]
|
|
170
170
|
get_params[:repoPath] = params[:repoPath] if params[:repoPath]
|
|
171
171
|
get_params[:keyword] = params[:keyword] if params[:keyword]
|
|
172
172
|
get_params[:remark] = params[:remark] if params[:remark]
|
data/lib/jpsclient/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jpsclient
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Your Name
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 2025-12-31 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: faraday
|
|
@@ -283,7 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
283
283
|
- !ruby/object:Gem::Version
|
|
284
284
|
version: '0'
|
|
285
285
|
requirements: []
|
|
286
|
-
rubygems_version:
|
|
286
|
+
rubygems_version: 3.6.3
|
|
287
287
|
specification_version: 4
|
|
288
288
|
summary: JPS Platform API Client with Full API Support
|
|
289
289
|
test_files: []
|