fastlane-plugin-stream_actions 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c23c0e7acb8b64508b6dd9b61106f03421146353e2937eed53110eb5725b1e9d
4
- data.tar.gz: 56ac3976b5c6cf39d28bd9836ad310fc684b607a470418901bf9e8adcd1e5137
3
+ metadata.gz: a6ec0be8f79dbac1b9419e0002bef670aa32499f1cd195ceb62bfc3d9497e86f
4
+ data.tar.gz: 618f1e7b9c431c44172ec0489f4d65d80fa0e6223546dcbd45f7a3a716181f01
5
5
  SHA512:
6
- metadata.gz: 685c33fca52dc107965782c137b6f27427c628e95763bd21b32c5bc6fd36ddb5c922056029d2fda0a449bd2931b0e1b6e8ab1f09bf5656eadc8af959d70c4bc7
7
- data.tar.gz: 83d1e564c0eab9fabf3887a153b60f0545678cae978c91156c40597e7f0b12f286a06e06d24bfda0bf6f9488d8871f38aee1c7740a00d227087db8857465d633
6
+ metadata.gz: 671bfd2e3764e97c8f16d0f5ce714b3fa8284cfa9424ce465e6853a16e9307494da5bbe5e5b2b411dcaa313d315be7139000bd56a5cfebdaa04b7f2fee60aa61
7
+ data.tar.gz: f09fe51ae54b4678e789d62aefe39e81992274429d30e419459c413420c10659172d3963d41844e686be039ba0f7ceb68ff1a0fc8fe9ff44c055cce58e4ff11a
@@ -0,0 +1,69 @@
1
+ module Fastlane
2
+ module Actions
3
+ class CustomMatchAction < Action
4
+ def self.run(params)
5
+ if params[:register_device]
6
+ device_name = other_action.prompt(text: 'Enter the device name: ')
7
+ device_udid = other_action.prompt(text: 'Enter the device UDID: ')
8
+ other_action.register_device(name: device_name, udid: device_udid)
9
+ params[:readonly] = false
10
+ end
11
+
12
+ %w[development adhoc appstore].each do |type|
13
+ other_action.match(
14
+ api_key: params[:api_key],
15
+ type: type,
16
+ app_identifier: params[:app_identifier],
17
+ readonly: params[:readonly] || true,
18
+ force_for_new_devices: !other_action.is_ci
19
+ )
20
+ end
21
+ end
22
+
23
+ #####################################################
24
+ # @!group Documentation
25
+ #####################################################
26
+
27
+ def self.description
28
+ 'Analyzes the impact of changes on PR'
29
+ end
30
+
31
+ def self.available_options
32
+ [
33
+ FastlaneCore::ConfigItem.new(
34
+ key: :api_key,
35
+ description: 'AppStore Connect API Key',
36
+ is_string: false,
37
+ verify_block: proc do |api_key|
38
+ UI.user_error!('AppStore Connect API Key has to be specified') unless api_key
39
+ end
40
+ ),
41
+ FastlaneCore::ConfigItem.new(
42
+ key: :app_identifier,
43
+ description: 'The bundle identifier(s) of your app (array of strings)',
44
+ is_string: false,
45
+ verify_block: proc do |id|
46
+ UI.user_error!("The bundle identifier(s) have to be specified") unless id.kind_of?(Array) && id.size.positive?
47
+ end
48
+ ),
49
+ FastlaneCore::ConfigItem.new(
50
+ key: :readonly,
51
+ is_string: false,
52
+ default_value: true,
53
+ description: 'If `readonly: true` (by default), installs all Certs and Profiles necessary for development and ad-hoc.\nIf `readonly: false`, recreates all Profiles necessary for development and ad-hoc, updates them locally and remotely'
54
+ ),
55
+ FastlaneCore::ConfigItem.new(
56
+ key: :register_device,
57
+ is_string: false,
58
+ default_value: false,
59
+ description: 'When `true` you will be asked to specify a name and UDID of new device to register'
60
+ )
61
+ ]
62
+ end
63
+
64
+ def self.supported?(_platform)
65
+ [:ios].include?(platform)
66
+ end
67
+ end
68
+ end
69
+ end
@@ -7,7 +7,7 @@ module Fastlane
7
7
 
8
8
  def self.pod_push_safely(params)
9
9
  UI.message("Starting to push podspec: #{params[:podspec]}")
10
- Fastlane::Actions::PodPushAction.run(path: params[:podspec], allow_warnings: true, synchronous: params[:sync])
10
+ other_action.pod_push(path: params[:podspec], allow_warnings: true, synchronous: params[:sync])
11
11
  rescue StandardError => e
12
12
  UI.message(e)
13
13
  UI.message("pod_push failed for #{params[:podspec]}. Waiting a minute until retry for trunk to get updated...")
@@ -53,7 +53,7 @@ module Fastlane
53
53
  end
54
54
 
55
55
  def self.supported?(_platform)
56
- [:ios].include?(platform)
56
+ true
57
57
  end
58
58
  end
59
59
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
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.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-03 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -228,6 +228,7 @@ extra_rdoc_files: []
228
228
  files:
229
229
  - README.md
230
230
  - lib/fastlane/plugin/stream_actions.rb
231
+ - lib/fastlane/plugin/stream_actions/actions/custom_match.rb
231
232
  - lib/fastlane/plugin/stream_actions/actions/is_check_required.rb
232
233
  - lib/fastlane/plugin/stream_actions/actions/pod_push_safely.rb
233
234
  - lib/fastlane/plugin/stream_actions/actions/read_changelog.rb