calabash-cucumber 0.12.0.pre4 → 0.12.0.pre5

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: fd50cf74231dccb7dcce6bbd1e65a5cc16a52eb2
4
- data.tar.gz: 0ba143884bce823b251541da208ec71a7669500d
3
+ metadata.gz: 67e77c7aeadd2e71f0aa99dee6223504e88ea946
4
+ data.tar.gz: 1e4970c81205577ce3152263b20c5d956bfa91e6
5
5
  SHA512:
6
- metadata.gz: dd0d7b2ea7b499b393755527a122ecc7dc19d5126fc9e3abb0842b8b46e2a09f438c3d178e369f3525081601147dd08d93ac0b0f91c6bdfafbffd226ef5ea5e4
7
- data.tar.gz: dc392a8490f806f804b2a0e551e675266b3ab151ab4cd95d25ad13c283ee226115c129b0e6ced7946e65713a3728a9c8368e5a96e09be2c54e959ec9accec0bf
6
+ metadata.gz: 1e4221997ecdde3663a12f83c2c769f82f5dcd2941fe05f9488c8573e0b871b6dc7fb685fc71bef9185981e387bc9e354fe9a8a7643bc32b08ddbd819e6d610e
7
+ data.tar.gz: c9d7a5525285b446deb05083238f9b1fe82c12789abf6e8c8be6c2b23eee3e3ba643d3b3e0ba327d6b0fd580bfbfdeaad957c56cefe0e48e00604c2d72bef2cc
@@ -90,7 +90,7 @@ module Calabash
90
90
  playback(candidate)
91
91
  # need a longer sleep for cloud testing
92
92
  sleep(0.4)
93
- touch(nil,offset:{x:1,y:1})
93
+ recalibrate_after_rotation()
94
94
 
95
95
  res = status_bar_orientation
96
96
  if res.nil?
@@ -165,11 +165,16 @@ module Calabash
165
165
  end
166
166
  else
167
167
  result = playback("rotate_#{rotate_cmd}")
168
- touch(nil,offset:{x:1,y:1})
168
+ recalibrate_after_rotation
169
169
  result
170
170
  end
171
171
  end
172
172
 
173
+ def recalibrate_after_rotation
174
+ uia_tap_offset(x:0,y:0)
175
+ end
176
+
177
+
173
178
  end
174
179
  end
175
180
  end
@@ -3,7 +3,7 @@ module Calabash
3
3
 
4
4
  # @!visibility public
5
5
  # The Calabash iOS gem version.
6
- VERSION = '0.12.0.pre4'
6
+ VERSION = '0.12.0.pre5'
7
7
 
8
8
  # @!visibility public
9
9
  # The minimum required version of the calabash.framework or, for Xamarin
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.12.0.pre4
4
+ version: 0.12.0.pre5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karl Krukow
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2014-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber