fastlane-plugin-aws_device_farm 0.3.23 → 0.3.25

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: 5c173cb27096b637d03769ad277d755ff07ffd5e12616bd760a35862a91d9eac
4
- data.tar.gz: 193bf0d42adced2d15f63f83f2ffd8ef96c151ece5ab902d4da2791a8596003b
3
+ metadata.gz: f52e0200eabb7d3545aa95721b63c76a17e83a3b670039d29d11cb50b6dc7a65
4
+ data.tar.gz: 4e9b12c3a95bd1cd6dcd63167d5171c97338c5d02faecbc5a1e95d15f2622986
5
5
  SHA512:
6
- metadata.gz: 3583ac27a9f2b08e84b7c27e32dbb0bdf7b19ab4a3ce1ac36b6b1e6931aa02e4915b5e34c588a59befdf7b7e342ee87b9c91f63d1516074866b7a142351703d3
7
- data.tar.gz: 3085a0b7407122706d0baab2918b79934587e80c8c8093e339a4d04bd01e542486c215dbd3b95c98014f85f45d05b095c5ee9b9f0298d54e2ad78a750675554a
6
+ metadata.gz: 2014882b76cc69cc4a644ba6c77df249512054bcdf60f6f9d159d867aa0e3d8a8b2ff3b503cc537ebebce722bce11a7cca6dc9aa6d650fbf9d3298f017a29946
7
+ data.tar.gz: bf08bc87f981cac45be12f73e69a81f1dbf4fb1fac4b0e53e1598367adc00eed3278cf20f31bc909f0d856924c391b7a0db14e3cce70d6cd6953f56cff77f312
data/README.md CHANGED
@@ -109,6 +109,7 @@ The plugin also exposes two ENV variables in case you want to make additional ca
109
109
  | artifact | `false` | Do you want to download Artifact? | Boolean | |
110
110
  | artifact_output_dir | `./test_outputs` | Artifact output directory | String | |
111
111
  | artifact_types | `[]` | Specify the artifact types one wants to download | Array | |
112
+ | test_parameters | |The test's parameters, such as test framework parameters and fixture settings. Parameters are represented by name-value pairs of strings. | Hash | |
112
113
 
113
114
 
114
115
  Possible types see: http://docs.aws.amazon.com/sdkforruby/api/Aws/DeviceFarm/Client.html#create_upload-instance_method
@@ -346,7 +346,8 @@ module Fastlane
346
346
  default_value: [],
347
347
  verify_block: proc do |value|
348
348
  valid_values = ['LOG',
349
- 'SCREENSHOT']
349
+ 'SCREENSHOT',
350
+ 'CUSTOMER_ARTIFACT']
350
351
  raise "Artifact type concludes invalid values are: '#{(value - valid_values)}'. 🙈".red unless (value - valid_values).empty?
351
352
  end
352
353
  ),
@@ -356,6 +357,12 @@ module Fastlane
356
357
  type: Hash,
357
358
  optional: true,
358
359
  ),
360
+ FastlaneCore::ConfigItem.new(
361
+ key: :test_parameters,
362
+ description: 'The test parameters',
363
+ type: Hash,
364
+ optional: true,
365
+ ),
359
366
  ]
360
367
  end
361
368
 
@@ -423,6 +430,11 @@ module Fastlane
423
430
  def self.schedule_run(name, project, device_pool, upload, test_upload, type, params)
424
431
  # Prepare the test hash depening if you passed the test apk.
425
432
  test_hash = { type: 'BUILTIN_FUZZ' }
433
+
434
+ if params[:test_parameters]
435
+ test_hash[:parameters] = params[:test_parameters]
436
+ end
437
+
426
438
  if test_upload
427
439
  if params[:test_type]
428
440
  test_hash[:type] = params[:test_type]
@@ -512,7 +524,7 @@ module Fastlane
512
524
  rows << [status, j.name, j.device.form_factor, j.device.platform, j.device.os]
513
525
 
514
526
  # artifact
515
- artifact_support_types = %w(LOG SCREENSHOT)
527
+ artifact_support_types = %w(LOG SCREENSHOT CUSTOMER_ARTIFACT)
516
528
  params[:artifact_types].each do |type|
517
529
  next unless artifact_support_types.include?(type) && params[:artifact]
518
530
 
@@ -527,6 +539,8 @@ module Fastlane
527
539
  file_name = "#{artifact.name}.#{artifact.extension}"
528
540
  when "SCREENSHOT"
529
541
  file_name = "#{artifact.name}.#{artifact.extension}"
542
+ when "CUSTOMER_ARTIFACT"
543
+ file_name = "#{artifact.name}.#{artifact.extension}"
530
544
  end
531
545
 
532
546
  file_dir_path = "#{params[:artifact_output_dir]}/#{j.name}/#{j.device.os}"
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AwsDeviceFarm
3
- VERSION = "0.3.23"
3
+ VERSION = "0.3.25"
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.23
4
+ version: 0.3.25
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: 2021-10-15 00:00:00.000000000 Z
11
+ date: 2023-05-08 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,9 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  - !ruby/object:Gem::Version
141
141
  version: '0'
142
142
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.7.9
145
- signing_key:
143
+ rubygems_version: 3.0.3.1
144
+ signing_key:
146
145
  specification_version: 4
147
146
  summary: Run UI Tests on AWS Devicefarm
148
147
  test_files: []