calabash-android 0.2.0.pre6 → 0.2.0.pre7
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.txt +3 -0
- data/lib/calabash-android/helpers.rb +2 -1
- data/lib/calabash-android/version.rb +2 -2
- metadata +3 -3
data/CHANGES.txt
CHANGED
@@ -24,7 +24,8 @@ def main_activity(app)
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def api_level
|
27
|
-
|
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
|
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:
|
4
|
+
hash: -3796446124
|
5
5
|
prerelease: 6
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
9
|
- 0
|
10
10
|
- pre
|
11
|
-
-
|
12
|
-
version: 0.2.0.
|
11
|
+
- 7
|
12
|
+
version: 0.2.0.pre7
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Jonas Maturana Larsen
|