fastlane-plugin-aws_device_farm 0.3.10.pre.alpha.pre.97 → 0.3.10
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd2d453ed564072ae099e8933dc071063ef315e26a03cb65bb31bb732a62bec4
|
|
4
|
+
data.tar.gz: 5d302e3fed5090d0f551373149ee67fc63e634a5c5a6c64713ce6774d8f59e1f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e8564bd381c75f7015259f9355b9841f6b1ab004005a17f45bcb203c2cde6d93480a7f633fe9650bf35d09f7072d477a1ee497b3ade395f1155f462d0716a0c
|
|
7
|
+
data.tar.gz: '044538cee502753a10d156b11c657a416fa2a834194cb115898d6f32d0fc978d3249aba40d4d4951fa29f99795db5f6268e87a0a73aa1a0fd678404731348e2f'
|
|
@@ -12,7 +12,7 @@ module Fastlane
|
|
|
12
12
|
|
|
13
13
|
# Fetch the project
|
|
14
14
|
project = fetch_project params[:name]
|
|
15
|
-
raise "Project '#{params[:name]}' not found on AWS - please go to 'Device Farm' and create a project named: 'fastlane', or set the 'name' parameter with your custom message." if project.nil?
|
|
15
|
+
raise "Project '#{params[:name]}' not be found on AWS - please go to 'Device Farm' and create a project named: 'fastlane', or set the 'name' parameter with your custom message." if project.nil?
|
|
16
16
|
|
|
17
17
|
# Fetch the device pool.
|
|
18
18
|
device_pool = fetch_device_pool project, params[:device_pool]
|
|
@@ -36,9 +36,7 @@ module Fastlane
|
|
|
36
36
|
else
|
|
37
37
|
if type == "ANDROID_APP"
|
|
38
38
|
test_upload = create_project_upload project, test_path, 'INSTRUMENTATION_TEST_PACKAGE'
|
|
39
|
-
|
|
40
|
-
test_upload = create_project_upload project, test_path, 'XCTEST_TEST_PACKAGE'
|
|
41
|
-
else
|
|
39
|
+
else
|
|
42
40
|
test_upload = create_project_upload project, test_path, 'XCTEST_UI_TEST_PACKAGE'
|
|
43
41
|
end
|
|
44
42
|
end
|
|
@@ -356,12 +354,9 @@ module Fastlane
|
|
|
356
354
|
if params[:test_type]
|
|
357
355
|
test_hash[:type] = params[:test_type]
|
|
358
356
|
else
|
|
357
|
+
test_hash[:type] = 'XCTEST_UI'
|
|
359
358
|
if type == "ANDROID_APP"
|
|
360
359
|
test_hash[:type] = 'INSTRUMENTATION'
|
|
361
|
-
elsif params[:is_unit_test] == true
|
|
362
|
-
test_hash[:type] = 'XCTEST'
|
|
363
|
-
else
|
|
364
|
-
test_hash[:type] = 'XCTEST_UI'
|
|
365
360
|
end
|
|
366
361
|
end
|
|
367
362
|
|
|
@@ -53,17 +53,6 @@ module Fastlane
|
|
|
53
53
|
is_string: true,
|
|
54
54
|
optional: true,
|
|
55
55
|
default_value: "Development"
|
|
56
|
-
),
|
|
57
|
-
FastlaneCore::ConfigItem.new(
|
|
58
|
-
key: :is_unit_test,
|
|
59
|
-
env_name: 'FL_AWS_DEVICE_FARM_IS_UNIT_TEST',
|
|
60
|
-
description: 'Specify is_unit_test to true if this is an iOS unit test',
|
|
61
|
-
is_string: false,
|
|
62
|
-
optional: true,
|
|
63
|
-
default_value: false,
|
|
64
|
-
verify_block: proc do |value|
|
|
65
|
-
UI.user_error!("Please pass a valid value for is_unit_test. Use one of the following: true, false") unless value.kind_of?(TrueClass) || value.kind_of?(FalseClass)
|
|
66
|
-
end
|
|
67
56
|
)
|
|
68
57
|
]
|
|
69
58
|
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.10
|
|
4
|
+
version: 0.3.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Helmut Januschka
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-09-
|
|
11
|
+
date: 2019-09-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk
|
|
@@ -136,12 +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:
|
|
141
|
+
version: '0'
|
|
142
142
|
requirements: []
|
|
143
143
|
rubyforge_project:
|
|
144
|
-
rubygems_version: 2.7.
|
|
144
|
+
rubygems_version: 2.7.2
|
|
145
145
|
signing_key:
|
|
146
146
|
specification_version: 4
|
|
147
147
|
summary: Run UI Tests on AWS Devicefarm
|