calabash-cucumber 0.9.91 → 0.9.92

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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- calabash-cucumber (0.9.89)
4
+ calabash-cucumber (0.9.91)
5
5
  CFPropertyList
6
6
  cucumber
7
7
  json
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Cucumber
3
- VERSION = "0.9.91"
4
- FRAMEWORK_VERSION = "0.9.84"
3
+ VERSION = "0.9.92"
4
+ FRAMEWORK_VERSION = "0.9.92"
5
5
  end
6
6
  end
@@ -10,7 +10,8 @@ module Calabash
10
10
 
11
11
  class WaitError < RuntimeError
12
12
  end
13
- CALABASH_CONDITIONS = {:none_animating => "NONE_ANIMATING"}
13
+ CALABASH_CONDITIONS = {:none_animating => "NONE_ANIMATING",
14
+ :no_network_indicator => "NO_NETWORK_INDICATOR"}
14
15
 
15
16
 
16
17
  def wait_for(options_or_timeout=
@@ -104,8 +105,8 @@ module Calabash
104
105
 
105
106
  def handle_error_with_options(ex, timeout_message, screenshot_on_error)
106
107
  msg = (timeout_message || ex)
107
- if ex and ex.respond_to?(:backtrace)
108
- msg = "#{msg} (#{ex.backtrace.join(", ")})"
108
+ if ex
109
+ msg = "#{msg} (#{ex.class})"
109
110
  end
110
111
  if screenshot_on_error
111
112
  screenshot_and_raise msg
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.91
4
+ version: 0.9.92
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: