calabash-cucumber 0.9.145.pre3 → 0.9.145.pre4

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,7 +16,8 @@ Gem::Specification.new do |s|
16
16
  s.executables = "calabash-ios"
17
17
  s.require_paths = ["lib"]
18
18
 
19
- s.add_dependency( "cucumber" )
19
+ s.add_dependency( "cucumber", "~> 1.3.0" )
20
+ s.add_dependency( "calabash-common", "~> 0.0.1" )
20
21
  s.add_dependency( "json" )
21
22
  s.add_dependency( "CFPropertyList" )
22
23
  s.add_dependency( "sim_launcher", "0.4.6")
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Cucumber
3
- VERSION = '0.9.145.pre3'
4
- FRAMEWORK_VERSION = '0.9.145.pre3'
3
+ VERSION = '0.9.145.pre4'
4
+ FRAMEWORK_VERSION = '0.9.145.pre4'
5
5
  end
6
6
  end
data/scripts/launch.rb CHANGED
@@ -22,6 +22,7 @@ require 'calabash-cucumber/launcher'
22
22
  # However the recommended approach is to let Calabash find the app itself
23
23
  # or set the environment variable APP_BUNDLE_PATH
24
24
 
25
+
25
26
  Before do |scenario|
26
27
  @calabash_launcher = Calabash::Cucumber::Launcher.new
27
28
  unless @calabash_launcher.calabash_no_launch?
@@ -37,4 +38,11 @@ After do |scenario|
37
38
  @calabash_launcher.stop
38
39
  end
39
40
  end
40
- end
41
+ end
42
+
43
+ at_exit do
44
+ launcher = Calabash::Cucumber::Launcher.new
45
+ if launcher.simulator_target?
46
+ Calabash::Cucumber::SimulatorHelper.stop unless launcher.calabash_no_stop?
47
+ end
48
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-cucumber
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.145.pre3
4
+ version: 0.9.145.pre4
5
5
  prerelease: 8
6
6
  platform: ruby
7
7
  authors:
@@ -9,24 +9,40 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-13 00:00:00.000000000 Z
12
+ date: 2013-05-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: cucumber
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 1.3.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
- - - ! '>='
27
+ - - ~>
28
28
  - !ruby/object:Gem::Version
29
- version: '0'
29
+ version: 1.3.0
30
+ - !ruby/object:Gem::Dependency
31
+ name: calabash-common
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 0.0.1
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.0.1
30
46
  - !ruby/object:Gem::Dependency
31
47
  name: json
32
48
  requirement: !ruby/object:Gem::Requirement