fastlane-plugin-aws_device_farm 0.1.6.pre.alpha.pre.22 → 0.1.6

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
  SHA1:
3
- metadata.gz: 04804046012f4e2c7eedf486608d2874d76d6e84
4
- data.tar.gz: 4409400cfa89707e10bff64814383920302a26e9
3
+ metadata.gz: 82e3e0a28555df98e9671f372315cb49255c7f70
4
+ data.tar.gz: 2b182346a8ce61b0edd1ac651b25803761a9a642
5
5
  SHA512:
6
- metadata.gz: 2807b32a7fd6a53acd0100f00d82ba868e75f775f28899dd6ad42131fd8340f9acc23bba7ce72ca2ac2dfe5bdac537189935ae2c80fa9ac993dae15db9c8ba4d
7
- data.tar.gz: 21c0f314de8c8c4b2ae5f157a74d8d71bc103e23aa1f3bdb5735b31910f49507d2f58bdb75cf2168b25d426184dcf9e0d571e23ba98873cd03199651f760f8f8
6
+ metadata.gz: 2f0c6438306feaf2bc231868735ef7e0d33ea91d011f5f3528eb87f7a7f7433e40925b4226641711cd649c4930e9c73544e143e3417e366bd7bb566100b334a8
7
+ data.tar.gz: 8ad94a48bb9072cd636c60cc92d5f69a2c80dbf3d6e79192406de69fc6956122723374f2121f65ded958fce5550fec1974209d39276a9973f1f6de18580432e6
data/README.md CHANGED
@@ -40,14 +40,13 @@ lane :aws_device_run_ios do
40
40
  xcodebuild(
41
41
  scheme: 'UITests',
42
42
  destination: 'generic/platform=iOS',
43
- configuration: 'Release',
43
+ configuration: 'Development',
44
44
  derivedDataPath: 'aws',
45
45
  xcargs: "GCC_PREPROCESSOR_DEFINITIONS='AWS_UI_TEST' ENABLE_BITCODE=NO CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO build-for-testing"
46
46
  )
47
47
  # Transform .app into AWS compatible IPA
48
48
  aws_device_farm_package(
49
- derrived_data_path: "aws",
50
- configuration: "Release"
49
+ derrived_data_path: "aws"
51
50
  )
52
51
  # RUN tests on AWS Device Farm
53
52
  aws_device_farm
@@ -94,7 +93,6 @@ end
94
93
  | Option | Default | Description | Type |
95
94
  |---|---|---|---|
96
95
  | derrived_data_path | | Derrived Data Path, containing a `build-for-testing` derrived-data folder | String |
97
- | derrived_data_path | Development | Specify the Build-Configuration that was used e.g.: Development | String |
98
96
 
99
97
 
100
98
 
@@ -53,7 +53,7 @@ module Fastlane
53
53
  raise 'Binary upload failed. 🙈' unless upload.status == 'SUCCEEDED'
54
54
 
55
55
  # Schedule the run.
56
- run = schedule_run params[:run_name], project, device_pool, upload, test_upload, type
56
+ run = schedule_run project, device_pool, upload, test_upload, type
57
57
 
58
58
  # Wait for run to finish.
59
59
  if params[:wait_for_completion]
@@ -89,13 +89,6 @@ module Fastlane
89
89
  default_value: 'fastlane',
90
90
  optional: false
91
91
  ),
92
- FastlaneCore::ConfigItem.new(
93
- key: :run_name,
94
- env_name: 'FL_AWS_DEVICE_FARM_RUN_NAME',
95
- description: 'Define the name of the device farm run',
96
- is_string: true,
97
- optional: true
98
- ),
99
92
  FastlaneCore::ConfigItem.new(
100
93
  key: :binary_path,
101
94
  env_name: 'FL_AWS_DEVICE_FARM_PATH',
@@ -180,7 +173,7 @@ module Fastlane
180
173
  def self.upload(upload, path)
181
174
  url = URI.parse(upload.url)
182
175
  contents = File.open(path, 'rb').read
183
- Net::HTTP.new(url.host).start do |http|
176
+ Net::HTTP.start(url.host) do |http|
184
177
  http.send_request("PUT", url.request_uri, contents, { 'content-type' => 'application/octet-stream' })
185
178
  end
186
179
  end
@@ -208,7 +201,7 @@ module Fastlane
208
201
  device_pools.device_pools.detect { |p| p.name == device_pool }
209
202
  end
210
203
 
211
- def self.schedule_run(name, project, device_pool, upload, test_upload, type)
204
+ def self.schedule_run(project, device_pool, upload, test_upload, type)
212
205
  # Prepare the test hash depening if you passed the test apk.
213
206
  test_hash = { type: 'BUILTIN_FUZZ' }
214
207
  if test_upload
@@ -220,7 +213,6 @@ module Fastlane
220
213
  end
221
214
 
222
215
  @client.schedule_run({
223
- name: name,
224
216
  project_arn: project.arn,
225
217
  app_arn: upload.arn,
226
218
  device_pool_arn: device_pool.arn,
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.1.6.pre.alpha.pre.22
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Helmut Januschka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-27 00:00:00.000000000 Z
11
+ date: 2016-11-24 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: 1.3.1
141
+ version: '0'
142
142
  requirements: []
143
143
  rubyforge_project:
144
- rubygems_version: 2.4.8
144
+ rubygems_version: 2.6.8
145
145
  signing_key:
146
146
  specification_version: 4
147
147
  summary: Run UI Tests on AWS Devicefarm