captivus 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/captivus.gemspec +1 -1
- data/lib/captivus/payload.rb +2 -0
- data/lib/captivus/rack_capturer.rb +1 -0
- data/lib/captivus/version.rb +1 -1
- data/spec/captivus/backtrace/line_spec.rb +1 -0
- data/spec/captivus/backtrace_spec.rb +1 -0
- data/spec/captivus/configuration_spec.rb +1 -0
- data/spec/captivus/payload_spec.rb +1 -0
- data/spec/captivus/rack_capturer_spec.rb +1 -0
- data/spec/captivus_spec.rb +1 -0
- data/spec/integration/events_from_rack_spec.rb +4 -3
- data/spec/spec_helper.rb +0 -1
- metadata +3 -3
data/captivus.gemspec
CHANGED
data/lib/captivus/payload.rb
CHANGED
data/lib/captivus/version.rb
CHANGED
data/spec/captivus_spec.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
+
require 'captivus'
|
2
3
|
|
3
4
|
describe 'Reporting from a rack app' do
|
4
5
|
include Rack::Test::Methods
|
@@ -62,15 +63,15 @@ describe 'Reporting from a rack app' do
|
|
62
63
|
expect(payload['backtrace'].size > 10).to be_true
|
63
64
|
expect(payload['backtrace'][0..2]).to eq [{
|
64
65
|
"file" => "/Users/austin/projects/captivus/gem/spec/integration/events_from_rack_spec.rb",
|
65
|
-
"number"=>
|
66
|
+
"number"=> 18,
|
66
67
|
"method" => "block (2 levels) in app"
|
67
68
|
}, {
|
68
69
|
"file" => "/Users/austin/projects/captivus/gem/lib/captivus/rack_capturer.rb",
|
69
|
-
"number"=>
|
70
|
+
"number"=> 13,
|
70
71
|
"method" => "call"
|
71
72
|
}, {
|
72
73
|
"file" => "/Users/austin/projects/captivus/gem/lib/captivus/rack_capturer.rb",
|
73
|
-
"number"=>
|
74
|
+
"number"=> 13,
|
74
75
|
"method" => "call"
|
75
76
|
}]
|
76
77
|
end
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: captivus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - '='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.0.
|
53
|
+
version: 0.0.2
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.0.
|
61
|
+
version: 0.0.2
|
62
62
|
description: Captivus client gem
|
63
63
|
email:
|
64
64
|
- austinthecoder@gmail.com
|