calabash-android 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
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")
@@ -1,5 +1,5 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.4.1"
3
+ VERSION = "0.4.2"
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.1
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-20 00:00:00.000000000 Z
12
+ date: 2013-02-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber