fastlane-plugin-aws_device_farm 0.3.17 → 0.3.18

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: '061967c71c83f0aa0519e7f9d2ebcd7b34471b2e18c4a115c2c73e0e2b454846'
4
- data.tar.gz: 85046bc7e8658542fe3f4063bab1a8e79fcc12fd0178e8fd0621fe3617474833
3
+ metadata.gz: fdfb6b44f19b68eca5ba5cddee91a4137577776a04b8b91f961c5adc03fb1065
4
+ data.tar.gz: 0f5ed264ae3df7e3936513124085113f2c822280387f723f3221dfd734143b25
5
5
  SHA512:
6
- metadata.gz: 1adf90c699590be9a491b4d7bdb5ba8f86837c6bd73d1b3c0dea0d60366fb84840cd95162cab5a399eb4343b35b77b367cce6f5ecc58a24002e0d01fe4727651
7
- data.tar.gz: 10aff45d35dde75af09c508e024864d6ae8e91b770ded2eaa0f930df8f13a5d6920f3332293e40fe0ac33f5fc4d57232b98cc8cbe8c381ac3915bf2040d7cba7
6
+ metadata.gz: df50e1343e228c337fdc7eb1de8ef41a7f688e8bca5dc04c1667fd3585866001c15269fcabb9014461725187918b2ef3838a37db0e0ff087d46c904ad21a8783
7
+ data.tar.gz: 8ff8df8f266d85128b9e27de1eb5964db568333925edb71f7a75c11a7d555a1600327be60ca077e0682e70ee723b68723be2b97d5a30acaba4ca143d5539e7c7
@@ -18,7 +18,6 @@ module Fastlane
18
18
  # Fetch the device pool.
19
19
  device_pool = fetch_device_pool project, params[:device_pool]
20
20
  raise "Device pool '#{params[:device_pool]}' not found. 🙈" if device_pool.nil?
21
-
22
21
  # Create the upload.
23
22
  path = File.expand_path(params[:binary_path])
24
23
  type = File.extname(path) == '.apk' ? 'ANDROID_APP' : 'IOS_APP'
@@ -86,6 +85,12 @@ module Fastlane
86
85
 
87
86
  run
88
87
  end
88
+
89
+ # Get the network profile from params if value is provided
90
+ if params[:network_profile_arn]
91
+ configuration[:network_profile_arn] = params[:network_profile_arn]
92
+ end
93
+
89
94
  # rubocop:enable Metrics/BlockNesting
90
95
  #
91
96
  #####################################################
@@ -224,6 +229,15 @@ module Fastlane
224
229
  is_string: true,
225
230
  optional: false
226
231
  ),
232
+ FastlaneCore::ConfigItem.new(
233
+ key: :network_profile_arn,
234
+ env_name: 'FL_AWS_DEVICE_FARM_NETWORK_PROFILE_ARN',
235
+ description: 'Network profile arn you want to use for running the applications',
236
+ default_value: nil,
237
+ optional: false
238
+ is_string: true,
239
+ optional: false
240
+ ),
227
241
  FastlaneCore::ConfigItem.new(
228
242
  key: :wait_for_completion,
229
243
  env_name: 'FL_AWS_DEVICE_FARM_WAIT_FOR_COMPLETION',
@@ -405,7 +419,6 @@ module Fastlane
405
419
  })
406
420
  device_pools.device_pools.detect { |p| p.name == device_pool }
407
421
  end
408
-
409
422
  def self.schedule_run(name, project, device_pool, upload, test_upload, type, params)
410
423
  # Prepare the test hash depening if you passed the test apk.
411
424
  test_hash = { type: 'BUILTIN_FUZZ' }
@@ -431,7 +444,8 @@ module Fastlane
431
444
 
432
445
  configuration_hash = {
433
446
  billing_method: params[:billing_method],
434
- locale: params[:locale]
447
+ locale: params[:locale],
448
+ network_profile_arn: params[:network_profile_arn]
435
449
  }
436
450
 
437
451
  @client.schedule_run({
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AwsDeviceFarm
3
- VERSION = "0.3.17"
3
+ VERSION = "0.3.18"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-aws_device_farm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.17
4
+ version: 0.3.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-04 00:00:00.000000000 Z
11
+ date: 2020-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -108,7 +108,7 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
- description:
111
+ description:
112
112
  email: helmut@januschka.com
113
113
  executables: []
114
114
  extensions: []
@@ -125,7 +125,7 @@ homepage: https://github.com/hjanuschka/fastlane-plugin-aws_device_farm
125
125
  licenses:
126
126
  - MIT
127
127
  metadata: {}
128
- post_install_message:
128
+ post_install_message:
129
129
  rdoc_options: []
130
130
  require_paths:
131
131
  - lib
@@ -140,8 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubygems_version: 3.0.3
144
- signing_key:
143
+ rubygems_version: 3.0.8
144
+ signing_key:
145
145
  specification_version: 4
146
146
  summary: Run UI Tests on AWS Devicefarm
147
147
  test_files: []