fastlane-plugin-aws_device_farm 0.3.6 → 0.3.7.pre.alpha.pre.76

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: 77a270df5e798666ffef09c8e4b54966de4badfe2e749a61cd92e2b2a978f5dc
4
- data.tar.gz: ed6a2b68bd2ac115f79449e32a275acd8e473c7f821fce0771f3a6fb36b41826
3
+ metadata.gz: 82b979b4f58642a70aff500c67ca65dbf0a18ffec8f5c8f6fce5697a389c047e
4
+ data.tar.gz: 9037565a923ba8c87e1fa680a7b619d0c3de330018436bde76297819a85b8135
5
5
  SHA512:
6
- metadata.gz: 569a410af1c8e699fd12cca0fabed8402b1078a47207f5fcba0f7643c5bc402ccbb778865ebc44b076fff2f2fe5d16209248adb19f405708f6eb7202819420a9
7
- data.tar.gz: e87f9f16a723b19827745de7be57c17daba6a53f20d0a39e946e9a5abbe2855f5d560de7675031052c3f76aaf0233183be8902475b9484620debeb9167185d06
6
+ metadata.gz: 584a07083177fb9ffd9e7a1ada3ea5c4b2f313074750fe684f1c7bac7ebbbb3b398a7745ba0b3e02c8ca84d3cf36a88aa4bde73d01857d0b11dc32dc82b85072
7
+ data.tar.gz: 84a935fba2009186f527e6fada4bd808f86d240b1e9d8952f1c342178dc90251b192ae9fc91db4a391c80ce7b3298fdc632c789638bc06f45c5e61ad7d99857b
data/README.md CHANGED
@@ -93,7 +93,8 @@ The plugin also exposes two ENV variables in case you want to make additional ca
93
93
  | wait_for_completion | true | Wait for Test-Run to be completed | Boolean |
94
94
  | allow_device_errors | false | Do you want to allow device booting errors? | Boolean |
95
95
  | allow_failed_tests | false | Do you want to allow failing tests? | Boolean |
96
- | filter | | Define a filter for your test run and only run the tests in the filter | String |
96
+ | test_spec | | Define the device farm custom TestSpec ARN to use (can be obtained using the AWS CLI `devicefarm list-uploads` command) | String |
97
+ | filter | | Define a filter for your test run and only run the tests in the filter (note that using `test_spec` overrides the `filter` option) | String |
97
98
 
98
99
  Possible types see: http://docs.aws.amazon.com/sdkforruby/api/Aws/DeviceFarm/Client.html#create_upload-instance_method
99
100
 
@@ -173,7 +173,6 @@ module Fastlane
173
173
  raise "Test type not found valid values are: '#{valid_values}'. 🙈".red unless valid_values.include? value
174
174
  end
175
175
  ),
176
-
177
176
  FastlaneCore::ConfigItem.new(
178
177
  key: :path,
179
178
  env_name: 'FL_AWS_DEVICE_FARM_PATH',
@@ -239,6 +238,13 @@ module Fastlane
239
238
  is_string: true,
240
239
  optional: true,
241
240
  default_value: 'en_US'
241
+ ),
242
+ FastlaneCore::ConfigItem.new(
243
+ key: :test_spec,
244
+ env_name: 'FL_AWS_TEST_SPEC',
245
+ description: 'Define the device farm custom TestSpec ARN to use (can be obtained using the AWS CLI `devicefarm list-uploads` command)',
246
+ is_string: true,
247
+ optional: true
242
248
  )
243
249
  ]
244
250
  end
@@ -251,7 +257,7 @@ module Fastlane
251
257
  end
252
258
 
253
259
  def self.authors
254
- ["fousa/fousa", "hjanuschka"]
260
+ ["fousa/fousa", "hjanuschka", "cmarchal"]
255
261
  end
256
262
 
257
263
  def self.is_supported?(platform)
@@ -318,8 +324,13 @@ module Fastlane
318
324
  end
319
325
  end
320
326
 
327
+ if params[:test_spec]
328
+ test_hash[:test_spec_arn] = params[:test_spec]
329
+ else
330
+ test_hash[:filter] = params[:filter]
331
+ end
332
+
321
333
  test_hash[:test_package_arn] = test_upload.arn
322
- test_hash[:filter] = params[:filter]
323
334
  end
324
335
 
325
336
  configuration_hash = {
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module AwsDeviceFarm
3
- VERSION = "0.3.6"
3
+ VERSION = "0.3.7"
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.6
4
+ version: 0.3.7.pre.alpha.pre.76
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-26 00:00:00.000000000 Z
11
+ date: 2019-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -136,12 +136,11 @@ 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: '0'
141
+ version: 1.3.1
142
142
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.7.2
143
+ rubygems_version: 3.0.3
145
144
  signing_key:
146
145
  specification_version: 4
147
146
  summary: Run UI Tests on AWS Devicefarm