yi_appium_caps_util 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/yi_appium_caps_util +8 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70e6f631a058d7507a56cd2f12e1a642d42ccb05
|
4
|
+
data.tar.gz: 83252222e3e5943ef1a5f14329e7c22ce7c398e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce2b5068a5ecb95ca5cbb06dbe67a25315c7a9f5e070b0f536e77724645ca80064a5345ea552150a8cddc0b0ac9476b34d77e6c9b6700f385905de12c4bfef2a
|
7
|
+
data.tar.gz: 2cadda72ca80f5710b2e9a1b3e89c4fbf48df1c86a6e1aaa10e6e64514d9b0133f43d443ff89c4fe9716501827807025586dfcd7513a143fec73b50c48a8502d
|
data/bin/yi_appium_caps_util
CHANGED
@@ -30,8 +30,15 @@ end.parse!
|
|
30
30
|
raise "You should pass -u or -c PLATFORM as an input argument. Type -h for help" if options[:update] == nil and options[:create_caps] == nil
|
31
31
|
|
32
32
|
if options[:update]
|
33
|
+
if options[:file] && options[:platform]
|
33
34
|
YiAppiumCapsUtil.update(caps_file_name: options[:file], platformName_value: options[:platform])
|
34
|
-
|
35
|
+
elsif options[:file]
|
36
|
+
YiAppiumCapsUtil.update(caps_file_name: options[:file])
|
37
|
+
elsif options[:platform]
|
38
|
+
YiAppiumCapsUtil.update(platformName_value: options[:platform])
|
39
|
+
else
|
40
|
+
YiAppiumCapsUtil.update
|
41
|
+
end
|
35
42
|
end
|
36
43
|
|
37
44
|
if options[:create_caps]
|