calabash-cucumber 0.9.153 → 0.9.154
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8d4190812e9ee519cd240f3a022f14e5ff4aec1
|
4
|
+
data.tar.gz: 681b90198c5794c0a663143f1b86d5d27b420d42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01a12bf0c3718f03541bc32a1046e217bb51767cb00a6fc23146ae3fcdbbb719e3f5bc8022384fd23cd3311c8b86e8c87e0abf7ba651d27f5ba28e598159d571
|
7
|
+
data.tar.gz: 4cdae234964c454a05c590198af2049e733ef89b4ce868571e15de1cee9c03461505a5389ec5363b09bccd08f1f823ef0f059a3e0831c992968a4a01492e8880
|
@@ -98,6 +98,7 @@ module Calabash
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def swipe(dir, options={})
|
101
|
+
dir = dir.to_sym
|
101
102
|
if ios7?
|
102
103
|
swipe_ios7(options.merge(:direction => dir))
|
103
104
|
else
|
@@ -230,11 +231,12 @@ module Calabash
|
|
230
231
|
end
|
231
232
|
|
232
233
|
def pinch(in_out, options={})
|
234
|
+
in_out = in_out.to_sym
|
233
235
|
if ios7?
|
234
236
|
pinch_ios7(in_out.to_sym, options)
|
235
237
|
else
|
236
238
|
file = "pinch_in"
|
237
|
-
if in_out
|
239
|
+
if in_out==:out
|
238
240
|
file = "pinch_out"
|
239
241
|
end
|
240
242
|
playback(file, options)
|
@@ -9,7 +9,7 @@ module Calabash
|
|
9
9
|
|
10
10
|
def ios7?
|
11
11
|
launcher = @calabash_launcher || Calabash::Cucumber::Launcher.launcher_if_used
|
12
|
-
ENV['OS']=='ios7' || (launcher && launcher.device.ios7?)
|
12
|
+
ENV['OS']=='ios7' || (launcher && launcher.device && launcher.device.ios7?)
|
13
13
|
end
|
14
14
|
|
15
15
|
def touch_ios7(options)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.154
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Karl Krukow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|