watir-rails 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5f55b4c34351f604ba80f5ce9d8cf3671f1adb8
4
- data.tar.gz: 96797851b1429d45a2b9412bf27709f1a196c8e4
3
+ metadata.gz: 87efb4cf3e9c8332514ba24bc559664069fa236a
4
+ data.tar.gz: d428780873e3ba3a54f7551e8dae9fb80b51cdba
5
5
  SHA512:
6
- metadata.gz: 5a315b5a51eb5a2a5aeb0303797aec1028667a9d64e6cb9dc6d71ceb143f6f04f2efe71ada441d1423abadb0d41d9b2fcab6ad19f88f3bb7fa228b36c57bb6fc
7
- data.tar.gz: 2dbefb973b573af3da48e3fed23dd11e69b5733ae2852e828b72d37dc4c2fa36e06089ede3f41f022f29d569710d9408dada719ea4e4e75b0e08d2782108014d
6
+ metadata.gz: 8138234fc90e9681d1aac5134c71c5c533d4aa4e6af2947f58af0e8dec0c2019c89c6f6b3216720315ddab586b669d6dfac55ba84d2ec6b7dc1bf66c1bb11bdf
7
+ data.tar.gz: a5a98f91f2fd4b126bea7eedda1f90bb8beaae999654cb901b5a8bf181a8ec4d882b73e43b425e2313d7332a5a057fe61dca104eb11d59da034e3df829e5e5e7
data/lib/watir/rails.rb CHANGED
@@ -63,15 +63,15 @@ module Watir
63
63
  # @return [Boolean] true if exceptions should be ignored, false otherwise.
64
64
  def ignore_exceptions?
65
65
  unless @ignore_exceptions
66
- show = if legacy_rails?
66
+ show_exceptions = if legacy_rails?
67
67
  ::Rails.configuration.action_dispatch.show_exceptions
68
68
  else
69
69
  ::Rails.application.config.action_dispatch.show_exceptions
70
70
  end
71
71
 
72
- if show
72
+ if show_exceptions
73
73
  warn '[WARN] "action_dispatch.show_exceptions" is set to "true", disabling watir-rails exception catcher.'
74
- @ignore_exceptions = false
74
+ @ignore_exceptions = true
75
75
  end
76
76
  end
77
77
 
data/lib/watir/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Watir
2
2
  class Rails
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarmo Pertman