calabash-android 0.4.3.pre5 → 0.4.3.pre6

Sign up to get free protection for your applications and to get access to all the features.
@@ -71,6 +71,14 @@ module Operations
71
71
  default_device.clear_app_data
72
72
  end
73
73
 
74
+ def pull(remote, local)
75
+ default_device.pull(remote, local)
76
+ end
77
+
78
+ def push(local, remote)
79
+ default_device.push(local, remote)
80
+ end
81
+
74
82
  def start_test_server_in_background(options={})
75
83
  default_device.start_test_server_in_background(options)
76
84
  end
@@ -312,6 +320,16 @@ module Operations
312
320
  raise "Could not clear data" unless system(cmd)
313
321
  end
314
322
 
323
+ def pull(remote, local)
324
+ cmd = "#{adb_command} pull #{remote} #{local}"
325
+ raise "Could not pull #{remote} to #{local}" unless system(cmd)
326
+ end
327
+
328
+ def push(local, remote)
329
+ cmd = "#{adb_command} push #{local} #{remote}"
330
+ raise "Could not push #{local} to #{remote}" unless system(cmd)
331
+ end
332
+
315
333
  def start_test_server_in_background(options={})
316
334
  raise "Will not start test server because of previous failures." if ::Cucumber.wants_to_quit
317
335
 
@@ -1,5 +1,5 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.4.3.pre5"
3
+ VERSION = "0.4.3.pre6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-android
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3.pre5
4
+ version: 0.4.3.pre6
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors: