fastlane-plugin-aws_device_farm 0.3.16.pre.alpha.pre.127 → 0.3.19

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: 765ed5368246588d4d35b7e44a33beb8b9e108b5e6716bb2420194047f7fb669
4
- data.tar.gz: a76dc14d0bdd81443ec5ced5d5d3603e26b96fa01f96420217a1fc42aafc646f
3
+ metadata.gz: 1807fefc831fda2247c2fe7fc0fb93fc645faa2a56cd987f97ba87e62c4e3246
4
+ data.tar.gz: 882df9ab7719c0743fb19b493dcfe86ef8d4672ddef770baf8bffec1c0746460
5
5
  SHA512:
6
- metadata.gz: 174c10d478339187850d9afabbbdee72d1d4999ba6ea437a7e4ce9c32831d6f576a7724c0ce9561497d8f41871d99254292d8100db1a6a42e80b9de64064f103
7
- data.tar.gz: 47f7f1d40399643d864ce24e983c0ed8ca83707690c0d6b3b3837345d9ee51acd62a64ef0db27ab99bbe854a479c753cc7e15b6dd778c19506ca8f5188365236
6
+ metadata.gz: ddf94e4ca570f5a63f33540695288d1695bc08187979d135193f519390d5aa95a63a6d9cc9ad8a65a9e7aaa340a41f9061fa25842aabe071bf5f65c727d61e45
7
+ data.tar.gz: 5a093c822c3930e3e78a6a4805b081480ce48c380150cfdc95dac22da855948946c95a7f160b279e201127cc69e4f2d8faa6547ae760d7d74d6dde22789dbe39
@@ -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.16"
3
+ VERSION = "0.3.19"
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.16.pre.alpha.pre.127
4
+ version: 0.3.19
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-06 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
@@ -136,13 +136,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  required_rubygems_version: !ruby/object:Gem::Requirement
138
138
  requirements:
139
- - - ">"
139
+ - - ">="
140
140
  - !ruby/object:Gem::Version
141
- version: 1.3.1
141
+ version: '0'
142
142
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.7.7
145
- signing_key:
143
+ rubygems_version: 3.0.8
144
+ signing_key:
146
145
  specification_version: 4
147
146
  summary: Run UI Tests on AWS Devicefarm
148
147
  test_files: []