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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 964eac6cd5b6f4c45e0dc0533a7a2bd68eb1363132b25314e394f5234a09d978
4
- data.tar.gz: 70124f395973eddec1d62e66230ad9584c2ab841d14ac8f99ddf903fb88505a7
3
+ metadata.gz: d827256313f832737e98df9ec55e1489d7498461db1881a5549fb1925fa1aeb0
4
+ data.tar.gz: 021437f3143a1e4ec72dea127a0260611a2b6ce37bd6424cdaf2a8bd178a16a9
5
5
  SHA512:
6
- metadata.gz: aae1920afcce6295fd8589d9b8c6d91186dab110b58883de449ab467ea27c553bdee976b3d03145a152b82e1bd4327110135ab87b536f59c90b6f312093b9f16
7
- data.tar.gz: 249f21c49c4838fdbafce3b5047aa97215f94caff834dde2c0ca4ba3fb75eb22d2eaeaafc7cd7bc6de4119ea86597a3646d65cc91840c1b3ddf79ff611cc8ffa
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]
@@ -1,3 +1,3 @@
1
1
  module JPSClient
2
- VERSION = "1.8.0"
2
+ VERSION = "1.9.0"
3
3
  end
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.8.0
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: 1980-01-02 00:00:00.000000000 Z
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: 4.0.3
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: []