fastlane-plugin-stream_actions 0.3.89 → 0.3.90

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: 0db6ddbcff2f2b54f0509b04db1626b9a8ef0544cc14071c74d3f2216ad0b9be
4
- data.tar.gz: b8f9708dbda4beb3be7a768da9b5ff217df5470ecb23e50edc8c769950b8446c
3
+ metadata.gz: 5cf702f90619544e501be9417e09a95b3d538bb30d73e65ec680344d8e6a4088
4
+ data.tar.gz: 9658a685ac8042eeeb0f962cd32bc7e3f42f9b0614f1672829d025bb06785f49
5
5
  SHA512:
6
- metadata.gz: c92dbc548ad629580909af45ccbec1677aa22a106dc18bae85fc4f890416652d8de49b65e565a75558e5c40149f00d6322439c3acf611c2f93838ed7b33dc492
7
- data.tar.gz: bf55934306328f5bd86525a948618f4e23b1738d489cede99d166ff719cb1ba333cef052ea7afda671b8c4b611a7bd28c1c434747dc8d55a5094966f9d26dcf5
6
+ metadata.gz: 4b61594d1db345a3d3e0049e4547197214f21be46a07af8d264beb6ffeef3248a80adaf0d2430e284f65f4722f1ea4f9db137a83d36bf90c05ad07ea10165364
7
+ data.tar.gz: 5783972d93d05f924c7730f00d531c4bf34304c1914ec57d24faf4f934f041055a6553315eff448541bcff1fdd572bdf5e56936ee75994603029d58ebfc65976
@@ -8,8 +8,9 @@ module Fastlane
8
8
  additional_args = []
9
9
  if params[:edit_last_comment_with_text]
10
10
  UI.message('Checking last comment for required pattern.')
11
- last_comment = sh("gh pr view #{params[:pr_num]} --json comments --jq '.comments | map(select(.author.login == \"Stream-SDK-Bot\")) | last'")
12
- last_comment_match = params[:edit_last_comment_with_text] && last_comment.include?(params[:edit_last_comment_with_text])
11
+ last_comments_per_author = sh("gh pr view #{params[:pr_num]} --json comments --jq '.comments | group_by(.author.login) | map(last)'")
12
+ required_edition = params[:edit_last_comment_with_text]
13
+ last_comment_match = required_edition && JSON.parse(last_comments_per_author).any? { |comment| comment['body'].include?(required_edition) }
13
14
 
14
15
  if last_comment_match
15
16
  additional_args << '--edit-last'
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.89'
3
+ VERSION = '0.3.90'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-stream_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.89
4
+ version: 0.3.90
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-24 00:00:00.000000000 Z
11
+ date: 2025-08-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xctest_list