calabash-android 0.7.3.pre2 → 0.7.3.pre3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cf07beefae96e53bd920a14ec52b37e75edd073
4
- data.tar.gz: f218595cbbbd36d63b82ba46760ffa70e3c21604
3
+ metadata.gz: f6f2060b5f9a4091bdfa818737799ee9de3e7631
4
+ data.tar.gz: 62bf5ce157fa90ba541763660faf92389f292d98
5
5
  SHA512:
6
- metadata.gz: 9cd476d30014080db7b193a240646e2adaebb1bd80aeeb61a73506c84be630855f3d6be7acfaa6b5ef75d80c2609bd6b80db8195dbbc4a9972a612c9af9d4df4
7
- data.tar.gz: 87279b93d6db20fa008aae0b3d78de35ca952f529f57ddb3a00886d09c61538186699fa67fd40c1ab3b90a8d5539a647fc91972aba442d18ae1ed97523e8ca9f
6
+ metadata.gz: 6c7822d097054783bdf78eb101660e1eecb0ede01f43d34d6b0d2ace8f8d6cdb23c21961f784334abb274802b8ea9640eb694a0f8352f15794e46db362c360ed
7
+ data.tar.gz: 90ce2bd879dc42b3908fb4995e5a6b7e59291859716935a1b354b1175f94fdfbe9d88cb16a416a133a7a53bbaf85b95de2f8d2675b9d6af328026d15781bf72b
@@ -26,6 +26,8 @@ module Calabash
26
26
 
27
27
  sleep(args.fetch(:hang_time))
28
28
  monkey_touch(:up, to_x, to_y)
29
+
30
+ kill_existing_monkey_processes
29
31
  end
30
32
 
31
33
  def get_monkey_port
@@ -65,6 +67,7 @@ module Calabash
65
67
  end
66
68
 
67
69
  def kill_monkey_processes_on_device
70
+ perform_action('send_tcp', @@monkey_port, "quit", true) unless @@monkey_port.nil?
68
71
  existing_monkey_pids.each do |pid|
69
72
  `#{adb_command} shell kill -9 #{pid}`
70
73
  end
@@ -102,6 +105,7 @@ module Calabash
102
105
  start_monkey if should_start_monkey
103
106
  monkey_touch(:down, x, y)
104
107
  monkey_touch(:up, x, y)
108
+ kill_existing_monkey_processes
105
109
  end
106
110
 
107
111
  def monkey_touch(touch_type, x, y)
@@ -1,5 +1,5 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.7.3.pre2"
3
+ VERSION = "0.7.3.pre3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-android
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3.pre2
4
+ version: 0.7.3.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Maturana Larsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-23 00:00:00.000000000 Z
11
+ date: 2016-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber