captivus 0.0.3 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile +2 -1
- data/README.md +9 -0
- data/captivus.gemspec +2 -1
- data/lib/captivus/backtrace/line.rb +14 -8
- data/lib/captivus/backtrace.rb +8 -2
- data/lib/captivus/configuration.rb +4 -2
- data/lib/captivus/notifier.rb +34 -0
- data/lib/captivus/payload.rb +70 -14
- data/lib/captivus/rack_capturer.rb +4 -8
- data/lib/captivus/rails_capturer.rb +21 -0
- data/lib/captivus/railtie.rb +35 -0
- data/lib/captivus/tasks/captivus.rake +12 -0
- data/lib/captivus/util.rb +24 -0
- data/lib/captivus/version.rb +1 -1
- data/lib/captivus.rb +30 -14
- data/rails-3.0-app/.rspec +1 -0
- data/rails-3.0-app/Gemfile +40 -0
- data/rails-3.0-app/README +256 -0
- data/rails-3.0-app/Rakefile +7 -0
- data/rails-3.0-app/app/controllers/application_controller.rb +3 -0
- data/rails-3.0-app/app/controllers/errors_controller.rb +5 -0
- data/rails-3.0-app/app/helpers/application_helper.rb +2 -0
- data/rails-3.0-app/app/views/layouts/application.html.erb +14 -0
- data/rails-3.0-app/config/application.rb +42 -0
- data/rails-3.0-app/config/boot.rb +6 -0
- data/rails-3.0-app/config/database.yml +7 -0
- data/rails-3.0-app/config/environment.rb +5 -0
- data/rails-3.0-app/config/environments/development.rb +26 -0
- data/rails-3.0-app/config/environments/production.rb +49 -0
- data/rails-3.0-app/config/environments/test.rb +35 -0
- data/rails-3.0-app/config/initializers/backtrace_silencers.rb +7 -0
- data/rails-3.0-app/config/initializers/captivus.rb +4 -0
- data/rails-3.0-app/config/initializers/inflections.rb +10 -0
- data/rails-3.0-app/config/initializers/mime_types.rb +5 -0
- data/rails-3.0-app/config/initializers/secret_token.rb +7 -0
- data/rails-3.0-app/config/initializers/session_store.rb +8 -0
- data/rails-3.0-app/config/locales/en.yml +5 -0
- data/rails-3.0-app/config/routes.rb +59 -0
- data/rails-3.0-app/config.ru +4 -0
- data/rails-3.0-app/db/seeds.rb +7 -0
- data/rails-3.0-app/public/404.html +26 -0
- data/rails-3.0-app/public/422.html +26 -0
- data/rails-3.0-app/public/500.html +26 -0
- data/rails-3.0-app/public/favicon.ico +0 -0
- data/rails-3.0-app/public/images/rails.png +0 -0
- data/rails-3.0-app/public/index.html +239 -0
- data/rails-3.0-app/public/javascripts/application.js +2 -0
- data/rails-3.0-app/public/javascripts/controls.js +965 -0
- data/rails-3.0-app/public/javascripts/dragdrop.js +974 -0
- data/rails-3.0-app/public/javascripts/effects.js +1123 -0
- data/rails-3.0-app/public/javascripts/prototype.js +6001 -0
- data/rails-3.0-app/public/javascripts/rails.js +202 -0
- data/rails-3.0-app/public/robots.txt +5 -0
- data/rails-3.0-app/script/rails +6 -0
- data/rails-3.0-app/spec/requests/events_from_rails_spec.rb +115 -0
- data/rails-3.0-app/spec/spec_helper.rb +38 -0
- data/rails-3.0-app/spec/support/captivus_api.rb +1 -0
- data/rails-3.1-app/.rspec +1 -0
- data/rails-3.1-app/Gemfile +44 -0
- data/rails-3.1-app/README +261 -0
- data/rails-3.1-app/Rakefile +7 -0
- data/rails-3.1-app/app/assets/images/rails.png +0 -0
- data/rails-3.1-app/app/assets/javascripts/application.js +9 -0
- data/rails-3.1-app/app/assets/stylesheets/application.css +7 -0
- data/rails-3.1-app/app/controllers/application_controller.rb +3 -0
- data/rails-3.1-app/app/controllers/errors_controller.rb +5 -0
- data/rails-3.1-app/app/helpers/application_helper.rb +2 -0
- data/rails-3.1-app/app/views/layouts/application.html.erb +14 -0
- data/rails-3.1-app/config/application.rb +54 -0
- data/rails-3.1-app/config/boot.rb +6 -0
- data/rails-3.1-app/config/database.yml +7 -0
- data/rails-3.1-app/config/environment.rb +5 -0
- data/rails-3.1-app/config/environments/development.rb +30 -0
- data/rails-3.1-app/config/environments/production.rb +60 -0
- data/rails-3.1-app/config/environments/test.rb +39 -0
- data/rails-3.1-app/config/initializers/backtrace_silencers.rb +7 -0
- data/rails-3.1-app/config/initializers/captivus.rb +4 -0
- data/rails-3.1-app/config/initializers/inflections.rb +10 -0
- data/rails-3.1-app/config/initializers/mime_types.rb +5 -0
- data/rails-3.1-app/config/initializers/secret_token.rb +7 -0
- data/rails-3.1-app/config/initializers/session_store.rb +8 -0
- data/rails-3.1-app/config/initializers/wrap_parameters.rb +14 -0
- data/rails-3.1-app/config/locales/en.yml +5 -0
- data/rails-3.1-app/config/routes.rb +59 -0
- data/rails-3.1-app/config.ru +4 -0
- data/rails-3.1-app/db/seeds.rb +7 -0
- data/rails-3.1-app/public/404.html +26 -0
- data/rails-3.1-app/public/422.html +26 -0
- data/rails-3.1-app/public/500.html +26 -0
- data/rails-3.1-app/public/favicon.ico +0 -0
- data/rails-3.1-app/public/index.html +241 -0
- data/rails-3.1-app/public/robots.txt +5 -0
- data/rails-3.1-app/script/rails +6 -0
- data/rails-3.1-app/spec/requests/events_from_rails_spec.rb +115 -0
- data/rails-3.1-app/spec/spec_helper.rb +38 -0
- data/rails-3.1-app/spec/support/captivus_api.rb +1 -0
- data/rails-3.2-app/.rspec +1 -0
- data/rails-3.2-app/Gemfile +47 -0
- data/rails-3.2-app/README.rdoc +261 -0
- data/rails-3.2-app/Rakefile +7 -0
- data/rails-3.2-app/app/assets/images/rails.png +0 -0
- data/rails-3.2-app/app/assets/javascripts/application.js +15 -0
- data/rails-3.2-app/app/assets/stylesheets/application.css +13 -0
- data/rails-3.2-app/app/controllers/application_controller.rb +3 -0
- data/rails-3.2-app/app/controllers/errors_controller.rb +5 -0
- data/rails-3.2-app/app/helpers/application_helper.rb +2 -0
- data/rails-3.2-app/app/views/layouts/application.html.erb +14 -0
- data/rails-3.2-app/config/application.rb +68 -0
- data/rails-3.2-app/config/boot.rb +6 -0
- data/rails-3.2-app/config/database.yml +7 -0
- data/rails-3.2-app/config/environment.rb +5 -0
- data/rails-3.2-app/config/environments/development.rb +37 -0
- data/rails-3.2-app/config/environments/production.rb +67 -0
- data/rails-3.2-app/config/environments/test.rb +37 -0
- data/rails-3.2-app/config/initializers/backtrace_silencers.rb +7 -0
- data/rails-3.2-app/config/initializers/captivus.rb +4 -0
- data/rails-3.2-app/config/initializers/inflections.rb +15 -0
- data/rails-3.2-app/config/initializers/mime_types.rb +5 -0
- data/rails-3.2-app/config/initializers/secret_token.rb +7 -0
- data/rails-3.2-app/config/initializers/session_store.rb +8 -0
- data/rails-3.2-app/config/initializers/wrap_parameters.rb +14 -0
- data/rails-3.2-app/config/locales/en.yml +5 -0
- data/rails-3.2-app/config/routes.rb +59 -0
- data/rails-3.2-app/config.ru +4 -0
- data/rails-3.2-app/db/schema.rb +16 -0
- data/rails-3.2-app/db/seeds.rb +7 -0
- data/rails-3.2-app/public/404.html +26 -0
- data/rails-3.2-app/public/422.html +26 -0
- data/rails-3.2-app/public/500.html +25 -0
- data/rails-3.2-app/public/favicon.ico +0 -0
- data/rails-3.2-app/public/index.html +241 -0
- data/rails-3.2-app/public/robots.txt +5 -0
- data/rails-3.2-app/script/rails +6 -0
- data/rails-3.2-app/spec/requests/events_from_rails_spec.rb +115 -0
- data/rails-3.2-app/spec/spec_helper.rb +38 -0
- data/rails-3.2-app/spec/support/captivus_api.rb +1 -0
- data/spec/captivus/backtrace/line_spec.rb +20 -10
- data/spec/captivus/backtrace_spec.rb +1 -3
- data/spec/captivus/configuration_spec.rb +3 -1
- data/spec/captivus/notifier_spec.rb +73 -0
- data/spec/captivus/payload_spec.rb +293 -28
- data/spec/captivus/rack_capturer_spec.rb +32 -15
- data/spec/captivus/rails_capturer_spec.rb +59 -0
- data/spec/captivus_spec.rb +50 -29
- data/spec/integration/events_from_rack_spec.rb +112 -74
- data/spec/spec_helper.rb +6 -29
- data/spec/support/captivus_api.rb +29 -0
- data/spec/support/delorean.rb +5 -0
- metadata +154 -4
@@ -1,94 +1,132 @@
|
|
1
1
|
require 'spec_helper'
|
2
|
-
require 'captivus'
|
2
|
+
require 'captivus/rack_capturer'
|
3
3
|
|
4
|
-
describe 'Reporting from a rack app' do
|
4
|
+
describe 'Reporting from a rack app - when installed as middleware in a Rack app' do
|
5
5
|
include Rack::Test::Methods
|
6
6
|
|
7
7
|
before do
|
8
8
|
Captivus.configure do |config|
|
9
9
|
config.api_key = 'api-key'
|
10
10
|
config.api_secret_key = 'secret'
|
11
|
+
config.environment = 'production'
|
11
12
|
end
|
13
|
+
Timecop.freeze Time.utc(2012, 8, 23, 16, 34, 19)
|
12
14
|
end
|
15
|
+
after { Timecop.return }
|
13
16
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
run lambda { |env| raise StandardError, "Error from Rack app" }
|
19
|
-
end
|
17
|
+
def app
|
18
|
+
Rack::Builder.app do
|
19
|
+
use Captivus::RackCapturer
|
20
|
+
run lambda { |env| raise Exception, "Error from Rack app" }
|
20
21
|
end
|
22
|
+
end
|
23
|
+
|
24
|
+
it "errors are raised as expected" do
|
25
|
+
expect { get '/' }.to raise_error Exception, "Error from Rack app"
|
26
|
+
end
|
21
27
|
|
22
|
-
|
23
|
-
|
28
|
+
it "reports errors to the Captivus API" do
|
29
|
+
begin
|
30
|
+
get '/', 'username' => 'austin', 'password' => 'secret'
|
31
|
+
rescue Exception
|
24
32
|
end
|
25
33
|
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
expect(
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
expect(
|
64
|
-
expect(payload['backtrace'][0..2]).to eq [{
|
65
|
-
"file" => "/Users/austin/projects/captivus/gem/spec/integration/events_from_rack_spec.rb",
|
66
|
-
"number"=> 18,
|
67
|
-
"method" => "block (2 levels) in app"
|
68
|
-
}, {
|
69
|
-
"file" => "/Users/austin/projects/captivus/gem/lib/captivus/rack_capturer.rb",
|
70
|
-
"number"=> 13,
|
71
|
-
"method" => "call"
|
72
|
-
}, {
|
73
|
-
"file" => "/Users/austin/projects/captivus/gem/lib/captivus/rack_capturer.rb",
|
74
|
-
"number"=> 13,
|
75
|
-
"method" => "call"
|
76
|
-
}]
|
34
|
+
expect(captivus_api.requests.size).to eq 1
|
35
|
+
|
36
|
+
last_request = captivus_api.requests[0]
|
37
|
+
|
38
|
+
headers = {
|
39
|
+
"CONTENT_TYPE"=>"application/json; charset=UTF-8",
|
40
|
+
"HTTP_ACCEPT" => "*/*",
|
41
|
+
"HTTP_USER_AGENT" => "Ruby",
|
42
|
+
"HTTP_DATE" => "Thu, 23 Aug 2012 16:34:19 GMT",
|
43
|
+
"HTTP_AUTHORIZATION" => "Captivus api-key:syLWMLH8mJ4jTFGO2lVe+9PfgVo=",
|
44
|
+
"PATH_INFO" => "/events",
|
45
|
+
"QUERY_STRING" => "",
|
46
|
+
"REQUEST_METHOD"=>"POST",
|
47
|
+
"SCRIPT_NAME" => "",
|
48
|
+
"SERVER_NAME" => "api.captiv.us",
|
49
|
+
"SERVER_PORT" => "80",
|
50
|
+
"rack.url_scheme" => "http"
|
51
|
+
}
|
52
|
+
|
53
|
+
expect(last_request.values_at(*headers.keys)).to eq headers.values
|
54
|
+
|
55
|
+
json_to_hash(last_request['rack.input'].read).tap do |payload|
|
56
|
+
expect(payload.keys).to match_array %w[notifier event backtrace environment context]
|
57
|
+
|
58
|
+
payload['notifier'].tap do |notifier|
|
59
|
+
expect(notifier.keys).to match_array %w[name version language]
|
60
|
+
|
61
|
+
expect(notifier['name']).to eq 'captivus'
|
62
|
+
expect(notifier['version']).to eq Captivus::VERSION
|
63
|
+
expect(notifier['language']).to eq 'Ruby'
|
64
|
+
end
|
65
|
+
|
66
|
+
payload['event'].tap do |event|
|
67
|
+
expect(event.keys).to match_array %w[type message timestamp]
|
68
|
+
|
69
|
+
expect(event['type']).to eq 'Exception'
|
70
|
+
expect(event['message']).to eq 'Error from Rack app'
|
71
|
+
expect(event['timestamp']).to eq '2012-08-23T16:34:19Z'
|
77
72
|
end
|
78
73
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
74
|
+
expect(payload['backtrace'].size > 10).to be_true
|
75
|
+
expect(payload['backtrace'][0..2]).to eq [{
|
76
|
+
"file" => "/Users/austin/projects/captivus/gem/spec/integration/events_from_rack_spec.rb",
|
77
|
+
"number"=> 20,
|
78
|
+
"method" => "block (2 levels) in app"
|
79
|
+
}, {
|
80
|
+
"file" => "/Users/austin/projects/captivus/gem/lib/captivus/rack_capturer.rb",
|
81
|
+
"number"=> 10,
|
82
|
+
"method" => "call"
|
83
|
+
}, {
|
84
|
+
"file" => "/Users/austin/projects/captivus/gem/lib/captivus/rack_capturer.rb",
|
85
|
+
"number"=> 10,
|
86
|
+
"method" => "call"
|
87
|
+
}]
|
88
|
+
|
89
|
+
payload['environment'].tap do |environment|
|
90
|
+
expect(environment.keys).to match_array %w[name]
|
91
|
+
|
92
|
+
expect(environment['name']).to eq 'production'
|
93
|
+
end
|
94
|
+
|
95
|
+
payload['context'].tap do |context|
|
96
|
+
expect(context.keys).to match_array %w[params]
|
97
|
+
|
98
|
+
expect(context['params']).to eq({'username' => 'austin', 'password' => 'secret'})
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
102
|
+
|
103
|
+
it "by default, it doesn't report errors in development or test" do
|
104
|
+
Captivus.config.environment = 'review'
|
105
|
+
begin
|
106
|
+
get '/'
|
107
|
+
rescue Exception
|
108
|
+
end
|
109
|
+
expect(captivus_api.requests.size).to eq 1
|
110
|
+
|
111
|
+
Captivus.config.environment = 'demo'
|
112
|
+
begin
|
113
|
+
get '/'
|
114
|
+
rescue Exception
|
115
|
+
end
|
116
|
+
expect(captivus_api.requests.size).to eq 2
|
117
|
+
|
118
|
+
Captivus.config.environment = 'development'
|
119
|
+
begin
|
120
|
+
get '/'
|
121
|
+
rescue Exception
|
122
|
+
end
|
123
|
+
expect(captivus_api.requests.size).to eq 2
|
124
|
+
|
125
|
+
Captivus.config.environment = 'test'
|
126
|
+
begin
|
127
|
+
get '/'
|
128
|
+
rescue Exception
|
92
129
|
end
|
130
|
+
expect(captivus_api.requests.size).to eq 2
|
93
131
|
end
|
94
132
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -2,35 +2,12 @@ require 'bundler/setup'
|
|
2
2
|
require 'sham_rack'
|
3
3
|
require 'rack/test'
|
4
4
|
require 'timecop'
|
5
|
-
require
|
5
|
+
require 'captivus/util'
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
[200, {}, ['']]
|
11
|
-
end
|
12
|
-
|
13
|
-
def requests
|
14
|
-
@requests ||= []
|
15
|
-
end
|
16
|
-
|
17
|
-
def clear_requests!
|
18
|
-
@requests = []
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
module Helpers
|
23
|
-
def captivus_api
|
24
|
-
@captivus_api ||= CaptivusAPI.new
|
25
|
-
end
|
26
|
-
end
|
7
|
+
# Requires supporting ruby files with custom matchers and macros, etc,
|
8
|
+
# in spec/support/ and its subdirectories.
|
9
|
+
Dir[(File.dirname(__FILE__) + '/support/**/*.rb')].each {|f| require f}
|
27
10
|
|
28
11
|
RSpec.configure do |config|
|
29
|
-
config.include
|
30
|
-
|
31
|
-
|
32
|
-
config.before do
|
33
|
-
ShamRack.mount captivus_api, "api.captiv.us"
|
34
|
-
captivus_api.clear_requests!
|
35
|
-
end
|
36
|
-
end
|
12
|
+
config.include Captivus::Util
|
13
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
class CaptivusAPI
|
2
|
+
module Helpers
|
3
|
+
def captivus_api
|
4
|
+
@captivus_api ||= CaptivusAPI.new
|
5
|
+
end
|
6
|
+
end
|
7
|
+
|
8
|
+
def call(env)
|
9
|
+
requests << env
|
10
|
+
[200, {}, ['']]
|
11
|
+
end
|
12
|
+
|
13
|
+
def requests
|
14
|
+
@requests ||= []
|
15
|
+
end
|
16
|
+
|
17
|
+
def clear_requests!
|
18
|
+
@requests = []
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
RSpec.configure do |config|
|
23
|
+
config.include CaptivusAPI::Helpers
|
24
|
+
|
25
|
+
config.before do
|
26
|
+
ShamRack.mount captivus_api, "api.captiv.us"
|
27
|
+
captivus_api.clear_requests!
|
28
|
+
end
|
29
|
+
end
|
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.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faraday
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 1.
|
37
|
+
version: 1.2.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 1.
|
45
|
+
version: 1.2.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: captivus-auth_hmac
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,6 +59,22 @@ dependencies:
|
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.0.2
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: json-schema
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ~>
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.0.10
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: 1.0.10
|
62
78
|
description: Captivus client gem
|
63
79
|
email:
|
64
80
|
- austinthecoder@gmail.com
|
@@ -76,18 +92,148 @@ files:
|
|
76
92
|
- lib/captivus/backtrace.rb
|
77
93
|
- lib/captivus/backtrace/line.rb
|
78
94
|
- lib/captivus/configuration.rb
|
95
|
+
- lib/captivus/notifier.rb
|
79
96
|
- lib/captivus/payload.rb
|
80
97
|
- lib/captivus/rack_capturer.rb
|
98
|
+
- lib/captivus/rails_capturer.rb
|
99
|
+
- lib/captivus/railtie.rb
|
100
|
+
- lib/captivus/tasks/captivus.rake
|
101
|
+
- lib/captivus/util.rb
|
81
102
|
- lib/captivus/version.rb
|
82
103
|
- lib/faraday/request/hmac_authentication.rb
|
104
|
+
- rails-3.0-app/.rspec
|
105
|
+
- rails-3.0-app/Gemfile
|
106
|
+
- rails-3.0-app/README
|
107
|
+
- rails-3.0-app/Rakefile
|
108
|
+
- rails-3.0-app/app/controllers/application_controller.rb
|
109
|
+
- rails-3.0-app/app/controllers/errors_controller.rb
|
110
|
+
- rails-3.0-app/app/helpers/application_helper.rb
|
111
|
+
- rails-3.0-app/app/views/layouts/application.html.erb
|
112
|
+
- rails-3.0-app/config.ru
|
113
|
+
- rails-3.0-app/config/application.rb
|
114
|
+
- rails-3.0-app/config/boot.rb
|
115
|
+
- rails-3.0-app/config/database.yml
|
116
|
+
- rails-3.0-app/config/environment.rb
|
117
|
+
- rails-3.0-app/config/environments/development.rb
|
118
|
+
- rails-3.0-app/config/environments/production.rb
|
119
|
+
- rails-3.0-app/config/environments/test.rb
|
120
|
+
- rails-3.0-app/config/initializers/backtrace_silencers.rb
|
121
|
+
- rails-3.0-app/config/initializers/captivus.rb
|
122
|
+
- rails-3.0-app/config/initializers/inflections.rb
|
123
|
+
- rails-3.0-app/config/initializers/mime_types.rb
|
124
|
+
- rails-3.0-app/config/initializers/secret_token.rb
|
125
|
+
- rails-3.0-app/config/initializers/session_store.rb
|
126
|
+
- rails-3.0-app/config/locales/en.yml
|
127
|
+
- rails-3.0-app/config/routes.rb
|
128
|
+
- rails-3.0-app/db/seeds.rb
|
129
|
+
- rails-3.0-app/public/404.html
|
130
|
+
- rails-3.0-app/public/422.html
|
131
|
+
- rails-3.0-app/public/500.html
|
132
|
+
- rails-3.0-app/public/favicon.ico
|
133
|
+
- rails-3.0-app/public/images/rails.png
|
134
|
+
- rails-3.0-app/public/index.html
|
135
|
+
- rails-3.0-app/public/javascripts/application.js
|
136
|
+
- rails-3.0-app/public/javascripts/controls.js
|
137
|
+
- rails-3.0-app/public/javascripts/dragdrop.js
|
138
|
+
- rails-3.0-app/public/javascripts/effects.js
|
139
|
+
- rails-3.0-app/public/javascripts/prototype.js
|
140
|
+
- rails-3.0-app/public/javascripts/rails.js
|
141
|
+
- rails-3.0-app/public/robots.txt
|
142
|
+
- rails-3.0-app/script/rails
|
143
|
+
- rails-3.0-app/spec/requests/events_from_rails_spec.rb
|
144
|
+
- rails-3.0-app/spec/spec_helper.rb
|
145
|
+
- rails-3.0-app/spec/support/captivus_api.rb
|
146
|
+
- rails-3.1-app/.rspec
|
147
|
+
- rails-3.1-app/Gemfile
|
148
|
+
- rails-3.1-app/README
|
149
|
+
- rails-3.1-app/Rakefile
|
150
|
+
- rails-3.1-app/app/assets/images/rails.png
|
151
|
+
- rails-3.1-app/app/assets/javascripts/application.js
|
152
|
+
- rails-3.1-app/app/assets/stylesheets/application.css
|
153
|
+
- rails-3.1-app/app/controllers/application_controller.rb
|
154
|
+
- rails-3.1-app/app/controllers/errors_controller.rb
|
155
|
+
- rails-3.1-app/app/helpers/application_helper.rb
|
156
|
+
- rails-3.1-app/app/views/layouts/application.html.erb
|
157
|
+
- rails-3.1-app/config.ru
|
158
|
+
- rails-3.1-app/config/application.rb
|
159
|
+
- rails-3.1-app/config/boot.rb
|
160
|
+
- rails-3.1-app/config/database.yml
|
161
|
+
- rails-3.1-app/config/environment.rb
|
162
|
+
- rails-3.1-app/config/environments/development.rb
|
163
|
+
- rails-3.1-app/config/environments/production.rb
|
164
|
+
- rails-3.1-app/config/environments/test.rb
|
165
|
+
- rails-3.1-app/config/initializers/backtrace_silencers.rb
|
166
|
+
- rails-3.1-app/config/initializers/captivus.rb
|
167
|
+
- rails-3.1-app/config/initializers/inflections.rb
|
168
|
+
- rails-3.1-app/config/initializers/mime_types.rb
|
169
|
+
- rails-3.1-app/config/initializers/secret_token.rb
|
170
|
+
- rails-3.1-app/config/initializers/session_store.rb
|
171
|
+
- rails-3.1-app/config/initializers/wrap_parameters.rb
|
172
|
+
- rails-3.1-app/config/locales/en.yml
|
173
|
+
- rails-3.1-app/config/routes.rb
|
174
|
+
- rails-3.1-app/db/seeds.rb
|
175
|
+
- rails-3.1-app/public/404.html
|
176
|
+
- rails-3.1-app/public/422.html
|
177
|
+
- rails-3.1-app/public/500.html
|
178
|
+
- rails-3.1-app/public/favicon.ico
|
179
|
+
- rails-3.1-app/public/index.html
|
180
|
+
- rails-3.1-app/public/robots.txt
|
181
|
+
- rails-3.1-app/script/rails
|
182
|
+
- rails-3.1-app/spec/requests/events_from_rails_spec.rb
|
183
|
+
- rails-3.1-app/spec/spec_helper.rb
|
184
|
+
- rails-3.1-app/spec/support/captivus_api.rb
|
185
|
+
- rails-3.2-app/.rspec
|
186
|
+
- rails-3.2-app/Gemfile
|
187
|
+
- rails-3.2-app/README.rdoc
|
188
|
+
- rails-3.2-app/Rakefile
|
189
|
+
- rails-3.2-app/app/assets/images/rails.png
|
190
|
+
- rails-3.2-app/app/assets/javascripts/application.js
|
191
|
+
- rails-3.2-app/app/assets/stylesheets/application.css
|
192
|
+
- rails-3.2-app/app/controllers/application_controller.rb
|
193
|
+
- rails-3.2-app/app/controllers/errors_controller.rb
|
194
|
+
- rails-3.2-app/app/helpers/application_helper.rb
|
195
|
+
- rails-3.2-app/app/views/layouts/application.html.erb
|
196
|
+
- rails-3.2-app/config.ru
|
197
|
+
- rails-3.2-app/config/application.rb
|
198
|
+
- rails-3.2-app/config/boot.rb
|
199
|
+
- rails-3.2-app/config/database.yml
|
200
|
+
- rails-3.2-app/config/environment.rb
|
201
|
+
- rails-3.2-app/config/environments/development.rb
|
202
|
+
- rails-3.2-app/config/environments/production.rb
|
203
|
+
- rails-3.2-app/config/environments/test.rb
|
204
|
+
- rails-3.2-app/config/initializers/backtrace_silencers.rb
|
205
|
+
- rails-3.2-app/config/initializers/captivus.rb
|
206
|
+
- rails-3.2-app/config/initializers/inflections.rb
|
207
|
+
- rails-3.2-app/config/initializers/mime_types.rb
|
208
|
+
- rails-3.2-app/config/initializers/secret_token.rb
|
209
|
+
- rails-3.2-app/config/initializers/session_store.rb
|
210
|
+
- rails-3.2-app/config/initializers/wrap_parameters.rb
|
211
|
+
- rails-3.2-app/config/locales/en.yml
|
212
|
+
- rails-3.2-app/config/routes.rb
|
213
|
+
- rails-3.2-app/db/schema.rb
|
214
|
+
- rails-3.2-app/db/seeds.rb
|
215
|
+
- rails-3.2-app/public/404.html
|
216
|
+
- rails-3.2-app/public/422.html
|
217
|
+
- rails-3.2-app/public/500.html
|
218
|
+
- rails-3.2-app/public/favicon.ico
|
219
|
+
- rails-3.2-app/public/index.html
|
220
|
+
- rails-3.2-app/public/robots.txt
|
221
|
+
- rails-3.2-app/script/rails
|
222
|
+
- rails-3.2-app/spec/requests/events_from_rails_spec.rb
|
223
|
+
- rails-3.2-app/spec/spec_helper.rb
|
224
|
+
- rails-3.2-app/spec/support/captivus_api.rb
|
83
225
|
- spec/captivus/backtrace/line_spec.rb
|
84
226
|
- spec/captivus/backtrace_spec.rb
|
85
227
|
- spec/captivus/configuration_spec.rb
|
228
|
+
- spec/captivus/notifier_spec.rb
|
86
229
|
- spec/captivus/payload_spec.rb
|
87
230
|
- spec/captivus/rack_capturer_spec.rb
|
231
|
+
- spec/captivus/rails_capturer_spec.rb
|
88
232
|
- spec/captivus_spec.rb
|
89
233
|
- spec/integration/events_from_rack_spec.rb
|
90
234
|
- spec/spec_helper.rb
|
235
|
+
- spec/support/captivus_api.rb
|
236
|
+
- spec/support/delorean.rb
|
91
237
|
homepage: http://captiv.us
|
92
238
|
licenses: []
|
93
239
|
post_install_message:
|
@@ -116,8 +262,12 @@ test_files:
|
|
116
262
|
- spec/captivus/backtrace/line_spec.rb
|
117
263
|
- spec/captivus/backtrace_spec.rb
|
118
264
|
- spec/captivus/configuration_spec.rb
|
265
|
+
- spec/captivus/notifier_spec.rb
|
119
266
|
- spec/captivus/payload_spec.rb
|
120
267
|
- spec/captivus/rack_capturer_spec.rb
|
268
|
+
- spec/captivus/rails_capturer_spec.rb
|
121
269
|
- spec/captivus_spec.rb
|
122
270
|
- spec/integration/events_from_rack_spec.rb
|
123
271
|
- spec/spec_helper.rb
|
272
|
+
- spec/support/captivus_api.rb
|
273
|
+
- spec/support/delorean.rb
|