tartarus 1.0.3 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.rvmrc +2 -0
- data/Gemfile +10 -0
- data/Gemfile.lock +104 -0
- data/README.rdoc +30 -4
- data/Rakefile +10 -28
- data/{generators → lib/generators}/tartarus/USAGE +4 -3
- data/lib/generators/tartarus/tartarus_generator.rb +36 -0
- data/{generators → lib/generators}/tartarus/templates/app/controllers/exceptions_controller.rb +0 -0
- data/{generators → lib/generators}/tartarus/templates/app/models/logged_exception.rb +0 -0
- data/{generators → lib/generators}/tartarus/templates/app/views/exceptions/_exception.html.erb +0 -0
- data/{generators → lib/generators}/tartarus/templates/app/views/exceptions/details.html.erb +0 -0
- data/{generators → lib/generators}/tartarus/templates/app/views/exceptions/index.html.erb +0 -0
- data/{generators → lib/generators}/tartarus/templates/config/exceptions.yml +0 -0
- data/{generators → lib/generators}/tartarus/templates/db/migrate/add_logged_exceptions.rb +0 -0
- data/{generators → lib/generators}/tartarus/templates/public/javascripts/tartarus.jquery.js +0 -0
- data/{generators → lib/generators}/tartarus/templates/public/stylesheets/tartarus.css +0 -0
- data/{generators → lib/generators}/tartarus/templates/spec/controllers/exceptions_controller_spec.rb +1 -1
- data/{generators → lib/generators}/tartarus/templates/spec/models/logged_exception_spec.rb +0 -0
- data/lib/tartarus.rb +7 -3
- data/lib/tartarus/logger.rb +50 -14
- data/lib/tartarus/notifiers/mail.rb +25 -0
- data/lib/tartarus/rack.rb +23 -0
- data/lib/tartarus/railtie.rb +9 -0
- data/lib/tartarus/version.rb +3 -0
- data/spec/rails_app/.gitignore +4 -0
- data/spec/rails_app/.rspec +1 -0
- data/spec/rails_app/Gemfile +13 -0
- data/spec/rails_app/Gemfile.lock +99 -0
- data/spec/rails_app/README +256 -0
- data/spec/rails_app/Rakefile +7 -0
- data/spec/rails_app/app/controllers/application_controller.rb +3 -0
- data/spec/rails_app/app/controllers/logged_exceptions_controller.rb +31 -0
- data/spec/rails_app/app/helpers/application_helper.rb +2 -0
- data/spec/{rails → rails_app}/app/models/logged_exception.rb +2 -1
- data/spec/rails_app/app/views/layouts/application.html.erb +14 -0
- data/spec/rails_app/app/views/logged_exceptions/_exception.html.erb +14 -0
- data/spec/rails_app/app/views/logged_exceptions/details.html.erb +86 -0
- data/spec/rails_app/app/views/logged_exceptions/index.html.erb +28 -0
- data/spec/rails_app/config.ru +4 -0
- data/spec/rails_app/config/application.rb +42 -0
- data/spec/rails_app/config/boot.rb +13 -0
- data/spec/rails_app/config/database.yml +22 -0
- data/spec/rails_app/config/environment.rb +5 -0
- data/spec/rails_app/config/environments/development.rb +26 -0
- data/spec/rails_app/config/environments/production.rb +49 -0
- data/spec/rails_app/config/environments/test.rb +35 -0
- data/spec/rails_app/config/exceptions.yml +18 -0
- data/spec/{rails → rails_app}/config/initializers/backtrace_silencers.rb +2 -2
- data/spec/{rails → rails_app}/config/initializers/inflections.rb +1 -1
- data/spec/{rails → rails_app}/config/initializers/mime_types.rb +0 -0
- data/spec/rails_app/config/initializers/secret_token.rb +7 -0
- data/spec/rails_app/config/initializers/session_store.rb +8 -0
- data/spec/{rails → rails_app}/config/locales/en.yml +1 -1
- data/spec/rails_app/config/routes.rb +58 -0
- data/spec/rails_app/db/migrate/20101230191040_add_logged_exception_table.rb +19 -0
- data/spec/rails_app/db/schema.rb +28 -0
- data/spec/rails_app/db/seeds.rb +7 -0
- data/spec/rails_app/doc/README_FOR_APP +2 -0
- data/spec/rails_app/lib/tasks/.gitkeep +0 -0
- data/spec/rails_app/public/404.html +26 -0
- data/spec/rails_app/public/422.html +26 -0
- data/spec/rails_app/public/500.html +26 -0
- data/spec/rails_app/public/favicon.ico +0 -0
- data/spec/rails_app/public/images/rails.png +0 -0
- data/spec/rails_app/public/javascripts/application.js +2 -0
- data/spec/rails_app/public/javascripts/controls.js +965 -0
- data/spec/rails_app/public/javascripts/dragdrop.js +974 -0
- data/spec/rails_app/public/javascripts/effects.js +1123 -0
- data/spec/rails_app/public/javascripts/prototype.js +6001 -0
- data/spec/rails_app/public/javascripts/rails.js +175 -0
- data/spec/rails_app/public/javascripts/tartarus.jquery.js +8 -0
- data/spec/rails_app/public/robots.txt +5 -0
- data/spec/rails_app/public/stylesheets/.gitkeep +0 -0
- data/spec/rails_app/public/stylesheets/tartarus.css +26 -0
- data/spec/rails_app/script/rails +6 -0
- data/spec/rails_app/spec/controllers/logged_exceptions_controller_spec.rb +83 -0
- data/spec/rails_app/spec/models/logged_exception_spec.rb +7 -0
- data/spec/rails_app/spec/spec_helper.rb +27 -0
- data/spec/rails_app/vendor/plugins/.gitkeep +0 -0
- data/spec/spec_helper.rb +14 -7
- data/spec/tartarus/logger_spec.rb +51 -23
- data/spec/tartarus_spec.rb +5 -8
- data/tartarus.gemspec +11 -103
- metadata +148 -94
- data/VERSION +0 -1
- data/generators/tartarus/tartarus_generator.rb +0 -50
- data/lib/tartarus/notifier.rb +0 -11
- data/lib/tartarus/rescue.rb +0 -39
- data/rails/init.rb +0 -3
- data/spec/rails/app/controllers/application_controller.rb +0 -10
- data/spec/rails/config/boot.rb +0 -110
- data/spec/rails/config/database.yml +0 -5
- data/spec/rails/config/environment.rb +0 -41
- data/spec/rails/config/environments/development.rb +0 -17
- data/spec/rails/config/environments/production.rb +0 -28
- data/spec/rails/config/environments/test.rb +0 -28
- data/spec/rails/config/exceptions.yml +0 -9
- data/spec/rails/config/initializers/new_rails_defaults.rb +0 -21
- data/spec/rails/config/initializers/session_store.rb +0 -15
- data/spec/rails/config/routes.rb +0 -43
- data/spec/rails/db/test.sqlite3 +0 -0
- data/spec/rcov.opts +0 -3
- data/spec/spec.opts +0 -4
- data/spec/tartarus/rescue_spec.rb +0 -86
- data/views/tartarus_notifier/notification.html.erb +0 -9
data/spec/tartarus_spec.rb
CHANGED
@@ -1,10 +1,6 @@
|
|
1
1
|
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
|
2
2
|
|
3
3
|
describe Tartarus do
|
4
|
-
it 'should include rescue module into ActionController::Base if a rails enviroment is loaded' do
|
5
|
-
ActionController::Base.included_modules.include?(Tartarus::Rescue).should be_true
|
6
|
-
end
|
7
|
-
|
8
4
|
describe "#logger_class" do
|
9
5
|
it 'should return the registered loggers class from the configuration' do
|
10
6
|
Tartarus.should_receive(:configuration).and_return({ 'logger_class' => 'LoggedException' })
|
@@ -27,6 +23,7 @@ describe Tartarus do
|
|
27
23
|
|
28
24
|
describe "#log" do
|
29
25
|
before(:each) do
|
26
|
+
Tartarus.stub!(:configuration).and_return({ 'enabled' => true, :logger_class => 'LoggedException' })
|
30
27
|
@controller = mock('controller')
|
31
28
|
@exception = StandardError.new
|
32
29
|
Tartarus.stub!(:logger_class).and_return(LoggedException)
|
@@ -45,22 +42,22 @@ describe Tartarus do
|
|
45
42
|
|
46
43
|
describe "#configuration" do
|
47
44
|
before(:each) do
|
48
|
-
YAML.stub!(:load_file).and_return({ '
|
45
|
+
YAML.stub!(:load_file).and_return({ 'test' => { 'enabled' => true } })
|
49
46
|
end
|
50
47
|
|
51
|
-
it 'should parse the YAML configuration file
|
48
|
+
it 'should parse the YAML configuration file' do
|
52
49
|
YAML.should_receive(:load_file).with("#{Rails.root}/config/exceptions.yml")
|
53
50
|
Tartarus.configuration
|
54
51
|
end
|
55
52
|
|
56
53
|
it 'should return the configuration from the current rails enviroment' do
|
57
|
-
Tartarus.configuration.should == { 'enabled' =>
|
54
|
+
Tartarus.configuration.should == { 'enabled' => true }
|
58
55
|
end
|
59
56
|
|
60
57
|
it 'should return a cached config if the configuration has already been loaded before' do
|
61
58
|
Tartarus.configuration
|
62
59
|
YAML.should_receive(:load_file).never
|
63
|
-
Tartarus.configuration.should == { 'enabled' =>
|
60
|
+
Tartarus.configuration.should == { 'enabled' => true }
|
64
61
|
end
|
65
62
|
end
|
66
63
|
end
|
data/tartarus.gemspec
CHANGED
@@ -1,114 +1,22 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
1
|
Gem::Specification.new do |s|
|
7
2
|
s.name = %q{tartarus}
|
8
|
-
s.version = "
|
9
|
-
|
10
|
-
|
3
|
+
s.version = "2.0.0"
|
4
|
+
s.platform = Gem::Platform::RUBY
|
5
|
+
|
11
6
|
s.authors = ["Daniel Insley"]
|
12
|
-
s.date = %q{2010-10-27}
|
13
7
|
s.description = %q{Provides exception logging and a generator for creating a clean interface to manage exceptions.}
|
14
8
|
s.email = %q{dinsley@gmail.com}
|
15
|
-
s.extra_rdoc_files = [
|
16
|
-
"README.rdoc"
|
17
|
-
]
|
18
|
-
s.files = [
|
19
|
-
".document",
|
20
|
-
".gitignore",
|
21
|
-
"README.rdoc",
|
22
|
-
"Rakefile",
|
23
|
-
"VERSION",
|
24
|
-
"generators/tartarus/USAGE",
|
25
|
-
"generators/tartarus/tartarus_generator.rb",
|
26
|
-
"generators/tartarus/templates/app/controllers/exceptions_controller.rb",
|
27
|
-
"generators/tartarus/templates/app/models/logged_exception.rb",
|
28
|
-
"generators/tartarus/templates/app/views/exceptions/_exception.html.erb",
|
29
|
-
"generators/tartarus/templates/app/views/exceptions/details.html.erb",
|
30
|
-
"generators/tartarus/templates/app/views/exceptions/index.html.erb",
|
31
|
-
"generators/tartarus/templates/config/exceptions.yml",
|
32
|
-
"generators/tartarus/templates/db/migrate/add_logged_exceptions.rb",
|
33
|
-
"generators/tartarus/templates/public/javascripts/tartarus.jquery.js",
|
34
|
-
"generators/tartarus/templates/public/stylesheets/tartarus.css",
|
35
|
-
"generators/tartarus/templates/spec/controllers/exceptions_controller_spec.rb",
|
36
|
-
"generators/tartarus/templates/spec/models/logged_exception_spec.rb",
|
37
|
-
"lib/tartarus.rb",
|
38
|
-
"lib/tartarus/logger.rb",
|
39
|
-
"lib/tartarus/notifier.rb",
|
40
|
-
"lib/tartarus/rescue.rb",
|
41
|
-
"rails/init.rb",
|
42
|
-
"spec/rails/app/controllers/application_controller.rb",
|
43
|
-
"spec/rails/app/models/logged_exception.rb",
|
44
|
-
"spec/rails/config/boot.rb",
|
45
|
-
"spec/rails/config/database.yml",
|
46
|
-
"spec/rails/config/environment.rb",
|
47
|
-
"spec/rails/config/environments/development.rb",
|
48
|
-
"spec/rails/config/environments/production.rb",
|
49
|
-
"spec/rails/config/environments/test.rb",
|
50
|
-
"spec/rails/config/exceptions.yml",
|
51
|
-
"spec/rails/config/initializers/backtrace_silencers.rb",
|
52
|
-
"spec/rails/config/initializers/inflections.rb",
|
53
|
-
"spec/rails/config/initializers/mime_types.rb",
|
54
|
-
"spec/rails/config/initializers/new_rails_defaults.rb",
|
55
|
-
"spec/rails/config/initializers/session_store.rb",
|
56
|
-
"spec/rails/config/locales/en.yml",
|
57
|
-
"spec/rails/config/routes.rb",
|
58
|
-
"spec/rails/db/test.sqlite3",
|
59
|
-
"spec/rcov.opts",
|
60
|
-
"spec/spec.opts",
|
61
|
-
"spec/spec_helper.rb",
|
62
|
-
"spec/tartarus/logger_spec.rb",
|
63
|
-
"spec/tartarus/rescue_spec.rb",
|
64
|
-
"spec/tartarus_spec.rb",
|
65
|
-
"tartarus.gemspec",
|
66
|
-
"views/tartarus_notifier/notification.html.erb"
|
67
|
-
]
|
9
|
+
s.extra_rdoc_files = ["README.rdoc"]
|
68
10
|
s.homepage = %q{http://github.com/dinsley/tartarus}
|
69
11
|
s.rdoc_options = ["--charset=UTF-8"]
|
70
12
|
s.require_paths = ["lib"]
|
71
|
-
s.rubygems_version = %q{1.3.
|
13
|
+
s.rubygems_version = %q{1.3.7}
|
72
14
|
s.summary = %q{Exception Logging for Rails}
|
73
|
-
s.test_files = [
|
74
|
-
"spec/rails/app/controllers/application_controller.rb",
|
75
|
-
"spec/rails/app/models/logged_exception.rb",
|
76
|
-
"spec/rails/config/boot.rb",
|
77
|
-
"spec/rails/config/environment.rb",
|
78
|
-
"spec/rails/config/environments/development.rb",
|
79
|
-
"spec/rails/config/environments/production.rb",
|
80
|
-
"spec/rails/config/environments/test.rb",
|
81
|
-
"spec/rails/config/initializers/backtrace_silencers.rb",
|
82
|
-
"spec/rails/config/initializers/inflections.rb",
|
83
|
-
"spec/rails/config/initializers/mime_types.rb",
|
84
|
-
"spec/rails/config/initializers/new_rails_defaults.rb",
|
85
|
-
"spec/rails/config/initializers/session_store.rb",
|
86
|
-
"spec/rails/config/routes.rb",
|
87
|
-
"spec/spec_helper.rb",
|
88
|
-
"spec/tartarus/logger_spec.rb",
|
89
|
-
"spec/tartarus/rescue_spec.rb",
|
90
|
-
"spec/tartarus_spec.rb"
|
91
|
-
]
|
92
|
-
|
93
|
-
if s.respond_to? :specification_version then
|
94
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
95
|
-
s.specification_version = 3
|
96
15
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
s.add_dependency(%q<will_paginate>, [">= 0"])
|
104
|
-
s.add_dependency(%q<rails>, [">= 0"])
|
105
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
106
|
-
s.add_dependency(%q<rspec-rails>, [">= 0"])
|
107
|
-
end
|
108
|
-
else
|
109
|
-
s.add_dependency(%q<will_paginate>, [">= 0"])
|
110
|
-
s.add_dependency(%q<rails>, [">= 0"])
|
111
|
-
s.add_dependency(%q<rspec>, [">= 0"])
|
112
|
-
s.add_dependency(%q<rspec-rails>, [">= 0"])
|
113
|
-
end
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
|
20
|
+
s.add_runtime_dependency(%q<will_paginate>, ["~> 3.0.pre2"])
|
21
|
+
s.add_runtime_dependency(%q<json>, ["~> 1.4.6"])
|
114
22
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tartarus
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
|
-
-
|
7
|
+
- 2
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version:
|
9
|
+
- 0
|
10
|
+
version: 2.0.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Daniel Insley
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-01-04 00:00:00 -08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -24,56 +24,32 @@ dependencies:
|
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
|
-
- -
|
27
|
+
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: -1876988247
|
30
30
|
segments:
|
31
|
+
- 3
|
31
32
|
- 0
|
32
|
-
|
33
|
+
- pre2
|
34
|
+
version: 3.0.pre2
|
33
35
|
type: :runtime
|
34
36
|
version_requirements: *id001
|
35
37
|
- !ruby/object:Gem::Dependency
|
36
|
-
name:
|
38
|
+
name: json
|
37
39
|
prerelease: false
|
38
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
41
|
none: false
|
40
42
|
requirements:
|
41
|
-
- -
|
43
|
+
- - ~>
|
42
44
|
- !ruby/object:Gem::Version
|
43
|
-
hash:
|
45
|
+
hash: 11
|
44
46
|
segments:
|
45
|
-
-
|
46
|
-
|
47
|
-
|
47
|
+
- 1
|
48
|
+
- 4
|
49
|
+
- 6
|
50
|
+
version: 1.4.6
|
51
|
+
type: :runtime
|
48
52
|
version_requirements: *id002
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: rspec
|
51
|
-
prerelease: false
|
52
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
-
none: false
|
54
|
-
requirements:
|
55
|
-
- - ">="
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
hash: 3
|
58
|
-
segments:
|
59
|
-
- 0
|
60
|
-
version: "0"
|
61
|
-
type: :development
|
62
|
-
version_requirements: *id003
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: rspec-rails
|
65
|
-
prerelease: false
|
66
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
|
-
requirements:
|
69
|
-
- - ">="
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
hash: 3
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
version: "0"
|
75
|
-
type: :development
|
76
|
-
version_requirements: *id004
|
77
53
|
description: Provides exception logging and a generator for creating a clean interface to manage exceptions.
|
78
54
|
email: dinsley@gmail.com
|
79
55
|
executables: []
|
@@ -85,52 +61,89 @@ extra_rdoc_files:
|
|
85
61
|
files:
|
86
62
|
- .document
|
87
63
|
- .gitignore
|
64
|
+
- .rvmrc
|
65
|
+
- Gemfile
|
66
|
+
- Gemfile.lock
|
88
67
|
- README.rdoc
|
89
68
|
- Rakefile
|
90
|
-
-
|
91
|
-
- generators/tartarus/
|
92
|
-
- generators/tartarus/
|
93
|
-
- generators/tartarus/templates/app/
|
94
|
-
- generators/tartarus/templates/app/
|
95
|
-
- generators/tartarus/templates/app/views/exceptions/
|
96
|
-
- generators/tartarus/templates/app/views/exceptions/
|
97
|
-
- generators/tartarus/templates/
|
98
|
-
- generators/tartarus/templates/
|
99
|
-
- generators/tartarus/templates/
|
100
|
-
- generators/tartarus/templates/public/
|
101
|
-
- generators/tartarus/templates/
|
102
|
-
- generators/tartarus/templates/spec/
|
103
|
-
- generators/tartarus/templates/spec/models/logged_exception_spec.rb
|
69
|
+
- lib/generators/tartarus/USAGE
|
70
|
+
- lib/generators/tartarus/tartarus_generator.rb
|
71
|
+
- lib/generators/tartarus/templates/app/controllers/exceptions_controller.rb
|
72
|
+
- lib/generators/tartarus/templates/app/models/logged_exception.rb
|
73
|
+
- lib/generators/tartarus/templates/app/views/exceptions/_exception.html.erb
|
74
|
+
- lib/generators/tartarus/templates/app/views/exceptions/details.html.erb
|
75
|
+
- lib/generators/tartarus/templates/app/views/exceptions/index.html.erb
|
76
|
+
- lib/generators/tartarus/templates/config/exceptions.yml
|
77
|
+
- lib/generators/tartarus/templates/db/migrate/add_logged_exceptions.rb
|
78
|
+
- lib/generators/tartarus/templates/public/javascripts/tartarus.jquery.js
|
79
|
+
- lib/generators/tartarus/templates/public/stylesheets/tartarus.css
|
80
|
+
- lib/generators/tartarus/templates/spec/controllers/exceptions_controller_spec.rb
|
81
|
+
- lib/generators/tartarus/templates/spec/models/logged_exception_spec.rb
|
104
82
|
- lib/tartarus.rb
|
105
83
|
- lib/tartarus/logger.rb
|
106
|
-
- lib/tartarus/
|
107
|
-
- lib/tartarus/
|
108
|
-
-
|
109
|
-
-
|
110
|
-
- spec/
|
111
|
-
- spec/
|
112
|
-
- spec/
|
113
|
-
- spec/
|
114
|
-
- spec/
|
115
|
-
- spec/
|
116
|
-
- spec/
|
117
|
-
- spec/
|
118
|
-
- spec/
|
119
|
-
- spec/
|
120
|
-
- spec/
|
121
|
-
- spec/
|
122
|
-
- spec/
|
123
|
-
- spec/
|
124
|
-
- spec/
|
125
|
-
- spec/
|
126
|
-
- spec/
|
127
|
-
- spec/
|
84
|
+
- lib/tartarus/notifiers/mail.rb
|
85
|
+
- lib/tartarus/rack.rb
|
86
|
+
- lib/tartarus/railtie.rb
|
87
|
+
- lib/tartarus/version.rb
|
88
|
+
- spec/rails_app/.gitignore
|
89
|
+
- spec/rails_app/.rspec
|
90
|
+
- spec/rails_app/Gemfile
|
91
|
+
- spec/rails_app/Gemfile.lock
|
92
|
+
- spec/rails_app/README
|
93
|
+
- spec/rails_app/Rakefile
|
94
|
+
- spec/rails_app/app/controllers/application_controller.rb
|
95
|
+
- spec/rails_app/app/controllers/logged_exceptions_controller.rb
|
96
|
+
- spec/rails_app/app/helpers/application_helper.rb
|
97
|
+
- spec/rails_app/app/models/logged_exception.rb
|
98
|
+
- spec/rails_app/app/views/layouts/application.html.erb
|
99
|
+
- spec/rails_app/app/views/logged_exceptions/_exception.html.erb
|
100
|
+
- spec/rails_app/app/views/logged_exceptions/details.html.erb
|
101
|
+
- spec/rails_app/app/views/logged_exceptions/index.html.erb
|
102
|
+
- spec/rails_app/config.ru
|
103
|
+
- spec/rails_app/config/application.rb
|
104
|
+
- spec/rails_app/config/boot.rb
|
105
|
+
- spec/rails_app/config/database.yml
|
106
|
+
- spec/rails_app/config/environment.rb
|
107
|
+
- spec/rails_app/config/environments/development.rb
|
108
|
+
- spec/rails_app/config/environments/production.rb
|
109
|
+
- spec/rails_app/config/environments/test.rb
|
110
|
+
- spec/rails_app/config/exceptions.yml
|
111
|
+
- spec/rails_app/config/initializers/backtrace_silencers.rb
|
112
|
+
- spec/rails_app/config/initializers/inflections.rb
|
113
|
+
- spec/rails_app/config/initializers/mime_types.rb
|
114
|
+
- spec/rails_app/config/initializers/secret_token.rb
|
115
|
+
- spec/rails_app/config/initializers/session_store.rb
|
116
|
+
- spec/rails_app/config/locales/en.yml
|
117
|
+
- spec/rails_app/config/routes.rb
|
118
|
+
- spec/rails_app/db/migrate/20101230191040_add_logged_exception_table.rb
|
119
|
+
- spec/rails_app/db/schema.rb
|
120
|
+
- spec/rails_app/db/seeds.rb
|
121
|
+
- spec/rails_app/doc/README_FOR_APP
|
122
|
+
- spec/rails_app/lib/tasks/.gitkeep
|
123
|
+
- spec/rails_app/public/404.html
|
124
|
+
- spec/rails_app/public/422.html
|
125
|
+
- spec/rails_app/public/500.html
|
126
|
+
- spec/rails_app/public/favicon.ico
|
127
|
+
- spec/rails_app/public/images/rails.png
|
128
|
+
- spec/rails_app/public/javascripts/application.js
|
129
|
+
- spec/rails_app/public/javascripts/controls.js
|
130
|
+
- spec/rails_app/public/javascripts/dragdrop.js
|
131
|
+
- spec/rails_app/public/javascripts/effects.js
|
132
|
+
- spec/rails_app/public/javascripts/prototype.js
|
133
|
+
- spec/rails_app/public/javascripts/rails.js
|
134
|
+
- spec/rails_app/public/javascripts/tartarus.jquery.js
|
135
|
+
- spec/rails_app/public/robots.txt
|
136
|
+
- spec/rails_app/public/stylesheets/.gitkeep
|
137
|
+
- spec/rails_app/public/stylesheets/tartarus.css
|
138
|
+
- spec/rails_app/script/rails
|
139
|
+
- spec/rails_app/spec/controllers/logged_exceptions_controller_spec.rb
|
140
|
+
- spec/rails_app/spec/models/logged_exception_spec.rb
|
141
|
+
- spec/rails_app/spec/spec_helper.rb
|
142
|
+
- spec/rails_app/vendor/plugins/.gitkeep
|
128
143
|
- spec/spec_helper.rb
|
129
144
|
- spec/tartarus/logger_spec.rb
|
130
|
-
- spec/tartarus/rescue_spec.rb
|
131
145
|
- spec/tartarus_spec.rb
|
132
146
|
- tartarus.gemspec
|
133
|
-
- views/tartarus_notifier/notification.html.erb
|
134
147
|
has_rdoc: true
|
135
148
|
homepage: http://github.com/dinsley/tartarus
|
136
149
|
licenses: []
|
@@ -166,20 +179,61 @@ signing_key:
|
|
166
179
|
specification_version: 3
|
167
180
|
summary: Exception Logging for Rails
|
168
181
|
test_files:
|
169
|
-
- spec/
|
170
|
-
- spec/
|
171
|
-
- spec/
|
172
|
-
- spec/
|
173
|
-
- spec/
|
174
|
-
- spec/
|
175
|
-
- spec/
|
176
|
-
- spec/
|
177
|
-
- spec/
|
178
|
-
- spec/
|
179
|
-
- spec/
|
180
|
-
- spec/
|
181
|
-
- spec/
|
182
|
+
- spec/rails_app/.gitignore
|
183
|
+
- spec/rails_app/.rspec
|
184
|
+
- spec/rails_app/Gemfile
|
185
|
+
- spec/rails_app/Gemfile.lock
|
186
|
+
- spec/rails_app/README
|
187
|
+
- spec/rails_app/Rakefile
|
188
|
+
- spec/rails_app/app/controllers/application_controller.rb
|
189
|
+
- spec/rails_app/app/controllers/logged_exceptions_controller.rb
|
190
|
+
- spec/rails_app/app/helpers/application_helper.rb
|
191
|
+
- spec/rails_app/app/models/logged_exception.rb
|
192
|
+
- spec/rails_app/app/views/layouts/application.html.erb
|
193
|
+
- spec/rails_app/app/views/logged_exceptions/_exception.html.erb
|
194
|
+
- spec/rails_app/app/views/logged_exceptions/details.html.erb
|
195
|
+
- spec/rails_app/app/views/logged_exceptions/index.html.erb
|
196
|
+
- spec/rails_app/config.ru
|
197
|
+
- spec/rails_app/config/application.rb
|
198
|
+
- spec/rails_app/config/boot.rb
|
199
|
+
- spec/rails_app/config/database.yml
|
200
|
+
- spec/rails_app/config/environment.rb
|
201
|
+
- spec/rails_app/config/environments/development.rb
|
202
|
+
- spec/rails_app/config/environments/production.rb
|
203
|
+
- spec/rails_app/config/environments/test.rb
|
204
|
+
- spec/rails_app/config/exceptions.yml
|
205
|
+
- spec/rails_app/config/initializers/backtrace_silencers.rb
|
206
|
+
- spec/rails_app/config/initializers/inflections.rb
|
207
|
+
- spec/rails_app/config/initializers/mime_types.rb
|
208
|
+
- spec/rails_app/config/initializers/secret_token.rb
|
209
|
+
- spec/rails_app/config/initializers/session_store.rb
|
210
|
+
- spec/rails_app/config/locales/en.yml
|
211
|
+
- spec/rails_app/config/routes.rb
|
212
|
+
- spec/rails_app/db/migrate/20101230191040_add_logged_exception_table.rb
|
213
|
+
- spec/rails_app/db/schema.rb
|
214
|
+
- spec/rails_app/db/seeds.rb
|
215
|
+
- spec/rails_app/doc/README_FOR_APP
|
216
|
+
- spec/rails_app/lib/tasks/.gitkeep
|
217
|
+
- spec/rails_app/public/404.html
|
218
|
+
- spec/rails_app/public/422.html
|
219
|
+
- spec/rails_app/public/500.html
|
220
|
+
- spec/rails_app/public/favicon.ico
|
221
|
+
- spec/rails_app/public/images/rails.png
|
222
|
+
- spec/rails_app/public/javascripts/application.js
|
223
|
+
- spec/rails_app/public/javascripts/controls.js
|
224
|
+
- spec/rails_app/public/javascripts/dragdrop.js
|
225
|
+
- spec/rails_app/public/javascripts/effects.js
|
226
|
+
- spec/rails_app/public/javascripts/prototype.js
|
227
|
+
- spec/rails_app/public/javascripts/rails.js
|
228
|
+
- spec/rails_app/public/javascripts/tartarus.jquery.js
|
229
|
+
- spec/rails_app/public/robots.txt
|
230
|
+
- spec/rails_app/public/stylesheets/.gitkeep
|
231
|
+
- spec/rails_app/public/stylesheets/tartarus.css
|
232
|
+
- spec/rails_app/script/rails
|
233
|
+
- spec/rails_app/spec/controllers/logged_exceptions_controller_spec.rb
|
234
|
+
- spec/rails_app/spec/models/logged_exception_spec.rb
|
235
|
+
- spec/rails_app/spec/spec_helper.rb
|
236
|
+
- spec/rails_app/vendor/plugins/.gitkeep
|
182
237
|
- spec/spec_helper.rb
|
183
238
|
- spec/tartarus/logger_spec.rb
|
184
|
-
- spec/tartarus/rescue_spec.rb
|
185
239
|
- spec/tartarus_spec.rb
|