devicefarm 0.0.11 → 0.0.12

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: 42d8459b3751f2f0b0a3585581eeec4892e32323
4
- data.tar.gz: e5877f6cefefac1804bd3dbe3f715ec5e06453be
3
+ metadata.gz: f598d614a96ece04c191b71063946732932ac003
4
+ data.tar.gz: f3544044694ff6358c9627d0db71c9116d71e6ed
5
5
  SHA512:
6
- metadata.gz: 664d101b54f77c833172761ac5b9ae744b07ac97c279afa44250a41894d0526275dd24f9ef4d32af34c72817a1b25dfbe273670bfe33566ff0820dc24c903140
7
- data.tar.gz: adfb83a927237784b6148d85355ef80f5aeb1c1444f886d62b9b637ae44bef1048f7a1c23df692bae720097286d4bb543906f2e69346df1337905f343b1f59ed
6
+ metadata.gz: 5b3f38e88a994fdf36c54650b63b41751264e1d56e8e93b0419e384910944a7ad880524aa7e1fdd6b1645746eb68c99c228923c044743e09445ea72a37478901
7
+ data.tar.gz: c40a9709df496c80075d6922507f40667b20cc7b127974eb08c1dfce924ac12b11dbdcca74d6b0e58c766688d7bbb91488e502fb57d6f0b6a9528bd276d421af
@@ -52,12 +52,16 @@ class DeviceFarm::DeviceFarmApi
52
52
  upload
53
53
  end
54
54
 
55
+ def random_name_for_test
56
+ (0...8).map { (65 + rand(26)).chr }.join
57
+ end
58
+
55
59
  def run(project:,device_pool:,upload_app:,upload_artifact_test:,type:)
56
60
  @client.schedule_run({
57
61
  project_arn: project.arn,
58
62
  app_arn: upload_app.arn,
59
63
  device_pool_arn: device_pool.arn,
60
- name: date.now(),
64
+ name: random_name_for_test,
61
65
  test: {
62
66
  type: type,
63
67
  test_package_arn: upload_artifact_test.arn
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.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - viniciusmo