fastlane-plugin-lambdatest 0.1.5 → 0.1.6

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: f9cd7ca178c79331ec23fa7e000a64945577cb9a899e11ee0e48266c671b5afe
4
- data.tar.gz: dcb3040feafc253227d43da92ea3476db117805c3b90c4c0356a991fb5f2f164
3
+ metadata.gz: a4161c59c27837cca67ca80599a10b40f40b9b4082767e9a84e97ffd98fdfb45
4
+ data.tar.gz: 1578b038a477b2dc96be21fe3e7e013aa77eed11055aa4859e79e133cff95643
5
5
  SHA512:
6
- metadata.gz: fe58dcb0ca287018563a692ae5581a4200dc871a916bfdc608df1904dcfe68796a5f96177b1d440b1ce8104ea59086649bd7830ec34f2f574d6f369ff090bc02
7
- data.tar.gz: bf519cba62ed920c4d0157e97f44625f055f3890c6d9cdb9cca738cd762e0435494a512b926f16a84b6b99b77cf265294a659bf8fc0290ba5d90c6acd38b33b7
6
+ metadata.gz: 79288b6688fd2162065dd9c74b8a0b900b847bb6523417537ed88006177581c371b9ecf6c3669f9851a9c417ee73990002117f8f70712126b8d335455588b0d2
7
+ data.tar.gz: 5cc8128429576c44a1ffc0434e0412eaa043e25d3cd7d76a451fff93e65bb9bdd143fb4c00e43bdda8854d8fe0431db3760a58a6cb6c676b34fac6139b0e443a
@@ -19,6 +19,7 @@ module Fastlane
19
19
  app_name = params[:app_name] #Optional
20
20
  visibility = params[:visibility] #Optional
21
21
  is_real_device = params[:is_real_device] #Optional
22
+ ios_keychain_enabled = params[:ios_keychain_enabled] # Optional
22
23
 
23
24
  api_endpoint = self.get_api_endpoint(is_real_device)
24
25
 
@@ -26,7 +27,7 @@ module Fastlane
26
27
 
27
28
  UI.message("Started Uploading app to Lambdatest...")
28
29
 
29
- lt_app_url = Helper::LambdatestHelper.upload_file(lt_username, lt_access_key, file_path, api_endpoint, custom_id, app_name, visibility)
30
+ lt_app_url = Helper::LambdatestHelper.upload_file(lt_username, lt_access_key, file_path, api_endpoint, custom_id, app_name, visibility, ios_keychain_enabled)
30
31
 
31
32
  # Set 'APP_URL' environment variable, if app upload was successful.
32
33
  ENV['APP_URL'] = lt_app_url
@@ -121,6 +122,12 @@ module Fastlane
121
122
  optional: true,
122
123
  is_string: false,
123
124
  default_value: true,
125
+ type: Boolean),
126
+ FastlaneCore::ConfigItem.new(key: :ios_keychain_enabled,
127
+ description: "Enable iOS Keychain",
128
+ optional: true,
129
+ is_string: false,
130
+ default_value: nil,
124
131
  type: Boolean)
125
132
  ]
126
133
  end
@@ -20,7 +20,7 @@ module Fastlane
20
20
  # +custom_id+:: Custom id for app upload.
21
21
  # +file_path+:: Path to the file to be uploaded.
22
22
  # +url+:: Lambdatest's app upload endpoint.
23
- def self.upload_file(lt_username, lt_access_key, file_path, url, custom_id,app_name, visibility)
23
+ def self.upload_file(lt_username, lt_access_key, file_path, url, custom_id,app_name, visibility, ios_keychain_enabled)
24
24
  payload = {
25
25
  name: app_name,
26
26
  appFile: File.new(file_path, 'rb'),
@@ -31,6 +31,10 @@ module Fastlane
31
31
  payload[:custom_id] = custom_id
32
32
  end
33
33
 
34
+ unless ios_keychain_enabled.nil?
35
+ payload[:ios_keychain_enabled] = ios_keychain_enabled
36
+ end
37
+
34
38
  headers = {
35
39
  "User-Agent" => "fastlane_plugin_lambdatest"
36
40
  }
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Lambdatest
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-lambdatest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - LambdaTest
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-20 00:00:00.000000000 Z
11
+ date: 2025-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client