fastlane-plugin-stream_actions 0.3.34 → 0.3.36

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: 551be67fcf9e6c22cd8cc6fbf25d0c3ca45c2639105532f562de8d1bef8ed46c
4
- data.tar.gz: 5b89195b7bfd9ee84a1dc4c0156bb14efff2108b9cb1c02c74180ba33f86baf2
3
+ metadata.gz: 3ae54b49f161c5846fa388fdc5ec5c0ee40b6f406c42f24c5cddf90fae315768
4
+ data.tar.gz: 010652b86362b8412012d52c6492822424a583b4136e06df2dd3993ec625c834
5
5
  SHA512:
6
- metadata.gz: d9d2413d457f6ac7981ea22e6d9ab68934c0ab00b7cfa29fcd860d8d02f61a7cf91757ca7ff13f418f46ffb7f8e595a844c48ae546efca348b4b193da373a1ce
7
- data.tar.gz: d9ef89c4552f0fc3a2a3a2db2cabb0523ff0355488af8a146fe75e531649611f17772fcdec57719604b1207a64c4c1e2bc7c44d08c27198543bf610fcd472771
6
+ metadata.gz: 5e7e404656b8bb789a999de90e3e2c3b32baec4e6e1a67f7a998bff199c628024936d1cc1ceac2cec232d91c548b475d7f3d61392b1cc0526b2bf1116686b934
7
+ data.tar.gz: 145cf4f2eec4f99ed3e6d09e78bdb16099d31733f1858ce20b2e207ab143bd77e94cb81ae4c3773fef793f4bdc95692bdbc6217ce62213a62b14ff55e075c226
@@ -2,7 +2,7 @@ module Fastlane
2
2
  module Actions
3
3
  class AllureApiAction < Action
4
4
  def self.run(params)
5
- url = URI("#{params[:url]}/api/rs/#{params[:path]}")
5
+ url = URI("#{params[:url]}/#{params[:path]}")
6
6
  request =
7
7
  case params[:http_method].upcase
8
8
  when 'GET'
@@ -30,7 +30,7 @@ module Fastlane
30
30
  launch_id = other_action.allure_api(
31
31
  url: params[:url],
32
32
  token: params[:token],
33
- path: '/launch',
33
+ path: 'launch',
34
34
  http_method: 'POST',
35
35
  request_body: body
36
36
  )['id']
@@ -7,7 +7,7 @@ module Fastlane
7
7
  testcase_id = other_action.allure_api(
8
8
  url: params[:url],
9
9
  token: params[:token],
10
- path: '/testcase',
10
+ path: 'testcase',
11
11
  http_method: 'POST',
12
12
  request_body: body
13
13
  )['id']
@@ -14,7 +14,7 @@ module Fastlane
14
14
  other_action.allure_api(
15
15
  url: params[:url],
16
16
  token: params[:token],
17
- path: "/testplan/#{testplan_id}/sync",
17
+ path: "testplan/#{testplan_id}/sync",
18
18
  http_method: 'POST'
19
19
  )
20
20
  UI.success("Testplan with id #{testplan_id} synced successfully 🎉")
@@ -27,7 +27,7 @@ module Fastlane
27
27
  other_action.allure_api(
28
28
  url: params[:url],
29
29
  token: params[:token],
30
- path: "/testplan/#{testplan_id}/run",
30
+ path: "testplan/#{testplan_id}/run",
31
31
  http_method: 'POST',
32
32
  request_body: body
33
33
  )
@@ -70,11 +70,7 @@ module Fastlane
70
70
 
71
71
  def self.commit_changes(version_number)
72
72
  sh("git add -A")
73
- UI.user_error!("Not committing changes") unless other_action.prompt(text: "Will commit changes. All looking good?", boolean: true)
74
-
75
73
  sh("git commit -m 'Bump #{version_number}'")
76
- UI.user_error!("Not pushing changes") unless other_action.prompt(text: "Will push changes. All looking good?", boolean: true)
77
-
78
74
  other_action.push_to_git_remote(tags: false)
79
75
  end
80
76
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.34'
3
+ VERSION = '0.3.36'
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.34
4
+ version: 0.3.36
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-02 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xctest_list