calabash-android 0.4.1 → 0.4.2
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.
data/bin/calabash-android
CHANGED
|
@@ -11,6 +11,24 @@ unless defined? RbConfig.ruby
|
|
|
11
11
|
end
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
|
|
15
|
+
if File.exist? "features/support/app_life_cycle_hooks.rb"
|
|
16
|
+
content = IO.read("features/support/app_life_cycle_hooks.rb")
|
|
17
|
+
if content.include? "include Calabash::Android::Operations"
|
|
18
|
+
puts """
|
|
19
|
+
Fatal Error!
|
|
20
|
+
Your Calabash hooks are not compatible with this version of calabash-android.
|
|
21
|
+
Please remove the following line from 'features/support/app_life_cycle_hooks.rb'.
|
|
22
|
+
|
|
23
|
+
include Calabash::Android::Operations
|
|
24
|
+
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
exit 1
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
|
|
14
32
|
require File.join(File.dirname(__FILE__), "calabash-android-helpers")
|
|
15
33
|
require File.join(File.dirname(__FILE__), "calabash-android-generate")
|
|
16
34
|
require File.join(File.dirname(__FILE__), "calabash-android-build")
|
|
Binary file
|
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.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-02-
|
|
12
|
+
date: 2013-02-21 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: cucumber
|