calabash-android 0.2.0.pre4 → 0.2.0.pre5

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.txt CHANGED
@@ -1,3 +1,7 @@
1
+ 0.2.0.pre5:
2
+ Added jar file to extract manifest from apk to avoid using unzip.
3
+ This is first attempt at supporting Windows in 0.2.0
4
+
1
5
  0.2.0.pre4:
2
6
  It is no longer needed to do the separate build step.
3
7
  If no test server is found calabash-android will now attempt build it.
@@ -37,13 +37,7 @@ def api_level
37
37
  end
38
38
 
39
39
  def manifest(app)
40
- require 'tmpdir'
41
- dir = Dir.mktmpdir
42
- FileUtils.cp(app, File.join(dir, "app.apk"))
43
-
44
- system "unzip -d #{dir} #{app} AndroidManifest.xml"
45
-
46
- `java -jar #{File.dirname(__FILE__)}/lib/AXMLPrinter2.jar #{dir}/AndroidManifest.xml`
40
+ `java -jar #{File.dirname(__FILE__)}/lib/manifest_extractor.jar #{app}`
47
41
  end
48
42
 
49
43
  def checksum(file_path)
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.2.0.pre4"
4
- FRAMEWORK_VERSION = "0.2.0.pre4"
3
+ VERSION = "0.2.0.pre5"
4
+ FRAMEWORK_VERSION = "0.2.0.pre5"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-android
3
3
  version: !ruby/object:Gem::Version
4
- hash: -4038335878
4
+ hash: -1072575102
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
9
  - 0
10
10
  - pre
11
- - 4
12
- version: 0.2.0.pre4
11
+ - 5
12
+ version: 0.2.0.pre5
13
13
  platform: ruby
14
14
  authors:
15
15
  - Jonas Maturana Larsen
@@ -103,6 +103,7 @@ files:
103
103
  - lib/calabash-android/cucumber.rb
104
104
  - lib/calabash-android/helpers.rb
105
105
  - lib/calabash-android/lib/AXMLPrinter2.jar
106
+ - lib/calabash-android/lib/manifest_extractor.jar
106
107
  - lib/calabash-android/lib/screenShotTaker.jar
107
108
  - lib/calabash-android/management/adb.rb
108
109
  - lib/calabash-android/management/app_installation.rb