catchex 0.0.6 → 0.0.7
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/Rakefile +1 -1
- data/lib/catchex.rb +4 -1
- metadata +3 -3
data/Rakefile
CHANGED
data/lib/catchex.rb
CHANGED
|
@@ -13,7 +13,7 @@ module CatchEx
|
|
|
13
13
|
class Config
|
|
14
14
|
@@project_key = ""
|
|
15
15
|
@@scenario = ""
|
|
16
|
-
@@excepted = [
|
|
16
|
+
@@excepted = []
|
|
17
17
|
|
|
18
18
|
def self.project_key(project_key = nil)
|
|
19
19
|
unless project_key.nil?
|
|
@@ -36,6 +36,9 @@ module CatchEx
|
|
|
36
36
|
|
|
37
37
|
def configure
|
|
38
38
|
yield Config
|
|
39
|
+
if defined? ActionController::RoutingError
|
|
40
|
+
@@scenario << ActionController::RoutingError unless @@scenario.include? ActionController::RoutingError
|
|
41
|
+
end
|
|
39
42
|
end
|
|
40
43
|
|
|
41
44
|
# Fetch the local IP address for the hosts
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: catchex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.0.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Braisdom
|