calabash-android 0.2.0.pre6 → 0.2.0.pre7

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.
@@ -1,3 +1,6 @@
1
+ 0.2.0.pre7:
2
+ Fixing api-level lookup on windows.
3
+
1
4
  0.2.0.pre6:
2
5
  Replaced ENV["PWD"] with FileUtils.pwd to support Windows
3
6
 
@@ -24,7 +24,8 @@ def main_activity(app)
24
24
  end
25
25
 
26
26
  def api_level
27
- api_levels = Dir["#{ENV["ANDROID_HOME"]}/platforms/android-*"].collect{|platform| platform.split("-").last.to_i}.sort
27
+ formatted_android_home = ENV["ANDROID_HOME"].gsub("\\", "/")
28
+ api_levels = Dir["#{formatted_android_home}/platforms/android-*"].collect{|platform| platform.split("-").last.to_i}.sort
28
29
  if api_levels.empty?
29
30
  raise "Android SDK not found. Please install one of more using #{ENV["ANDROID_HOME"]}/tools/android"
30
31
  end
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.2.0.pre6"
4
- FRAMEWORK_VERSION = "0.2.0.pre6"
3
+ VERSION = "0.2.0.pre7"
4
+ FRAMEWORK_VERSION = "0.2.0.pre7"
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: 1451699045
4
+ hash: -3796446124
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
9
  - 0
10
10
  - pre
11
- - 6
12
- version: 0.2.0.pre6
11
+ - 7
12
+ version: 0.2.0.pre7
13
13
  platform: ruby
14
14
  authors:
15
15
  - Jonas Maturana Larsen