devicefarm 0.0.10 → 0.0.11

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
  SHA1:
3
- metadata.gz: 923569bc9bda9079c0d03e18c541f7f6fa2999df
4
- data.tar.gz: 0172ae17a21710bf790eb53859d785a68042311c
3
+ metadata.gz: 42d8459b3751f2f0b0a3585581eeec4892e32323
4
+ data.tar.gz: e5877f6cefefac1804bd3dbe3f715ec5e06453be
5
5
  SHA512:
6
- metadata.gz: 76407933f577b6b7b4d6d7ca990d1266d8342f5e51a09db3a5c586e2118a4e1a227885b809f8c095556b84363b31108113a71c90b15128fbff2b1d85ac4a95c5
7
- data.tar.gz: 61524ae20300ab22d9ae546014e9281004c3f2586d76fc9e276b029a58ae62c0b298352dd62f6febc38cc66e18b10df1b0d3fda22efe9e7dbf3ff38cc4ff0434
6
+ metadata.gz: 664d101b54f77c833172761ac5b9ae744b07ac97c279afa44250a41894d0526275dd24f9ef4d32af34c72817a1b25dfbe273670bfe33566ff0820dc24c903140
7
+ data.tar.gz: adfb83a927237784b6148d85355ef80f5aeb1c1444f886d62b9b637ae44bef1048f7a1c23df692bae720097286d4bb543906f2e69346df1337905f343b1f59ed
@@ -39,7 +39,6 @@ class DeviceFarm::DeviceFarmApi
39
39
  upload_result = get_upload_result(upload)
40
40
  sleep(POLLING_INTERVAL)
41
41
  end
42
- sleep(10)
43
42
  end
44
43
 
45
44
  def upload_artifact(file_path:,type:,project:)
@@ -53,12 +52,12 @@ class DeviceFarm::DeviceFarmApi
53
52
  upload
54
53
  end
55
54
 
56
- def run(project:,device_pool:,upload_apk:,upload_artifact_test:,type:)
55
+ def run(project:,device_pool:,upload_app:,upload_artifact_test:,type:)
57
56
  @client.schedule_run({
58
57
  project_arn: project.arn,
59
- app_arn: upload_apk.arn,
58
+ app_arn: upload_app.arn,
60
59
  device_pool_arn: device_pool.arn,
61
- name: "Test 2",
60
+ name: date.now(),
62
61
  test: {
63
62
  type: type,
64
63
  test_package_arn: upload_artifact_test.arn
data/lib/devicefarm.rb CHANGED
@@ -20,7 +20,7 @@ class DeviceFarm
20
20
  device_pool = devicefarmapi.get_device_pool_by_name(
21
21
  pool_name:device_pool_name,
22
22
  project:project)
23
- upload_apk = devicefarmapi.upload_artifact(
23
+ upload_app = devicefarmapi.upload_artifact(
24
24
  file_path:binary_path,
25
25
  type: get_device_type_by_binary(binary_path),
26
26
  project:project)
@@ -31,7 +31,7 @@ class DeviceFarm
31
31
  devicefarmapi.run(
32
32
  project:project,
33
33
  device_pool:device_pool,
34
- upload_apk:upload_apk,
34
+ upload_app:upload_app,
35
35
  upload_artifact_test:upload_artifact_test,
36
36
  type: "CALABASH")
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devicefarm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - viniciusmo