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: 0013596c606dae1ae15bdd511ff80df2828f5cd1
4
- data.tar.gz: e7b227e7ed17db7c74590184fa245204510bf503
3
+ metadata.gz: a8d4190812e9ee519cd240f3a022f14e5ff4aec1
4
+ data.tar.gz: 681b90198c5794c0a663143f1b86d5d27b420d42
5
5
  SHA512:
6
- metadata.gz: ed9bb7e55df24f89f862bb87e62fd8ed29ca3bc2160e674e60ba7330b1b7f57d235b60e9051e69d55738acf56d24ae7388e0e86f05d4e1af56530233b0df4db9
7
- data.tar.gz: e5b448303482fece80fc706b37e292624aab14b09e4589a41e4f120388ed2639aad59b9bcf0ad0a8a31609af69821a73a41036e934b1a0babcc23fe4f63be936
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.to_sym==: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)
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Cucumber
3
- VERSION = '0.9.153'
3
+ VERSION = '0.9.154'
4
4
  FRAMEWORK_VERSION = '0.9.153'
5
5
  end
6
6
  end
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.153
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-09 00:00:00.000000000 Z
11
+ date: 2013-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber