crashlog 1.0.7 → 1.1.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +19 -8
- data/Appraisals +25 -0
- data/Gemfile +4 -4
- data/Gemfile.lock +54 -13
- data/README.md +1 -1
- data/Rakefile +4 -0
- data/gemfiles/rails_2_3.gemfile +17 -0
- data/gemfiles/rails_2_3.gemfile.lock +111 -0
- data/gemfiles/rails_3_0.gemfile +17 -0
- data/gemfiles/rails_3_0.gemfile.lock +159 -0
- data/gemfiles/rails_3_1.gemfile +17 -0
- data/gemfiles/rails_3_1.gemfile.lock +169 -0
- data/gemfiles/rails_3_2.gemfile +17 -0
- data/gemfiles/rails_3_2.gemfile.lock +168 -0
- data/lib/crash_log.rb +2 -0
- data/lib/crash_log/payload.rb +2 -1
- data/lib/crash_log/rails/controller_methods.rb +98 -18
- data/lib/crash_log/rails/middleware/debug_exception_catcher.rb +6 -4
- data/lib/crash_log/railtie.rb +5 -4
- data/lib/crash_log/reporter.rb +4 -4
- data/lib/crash_log/sidekiq.rb +18 -0
- data/lib/crash_log/version.rb +1 -1
- data/spec/crash_log/initializer_spec.rb +39 -39
- data/spec/crash_log/payload_spec.rb +2 -0
- data/spec/dummy_rails_2/README +243 -0
- data/spec/dummy_rails_2/Rakefile +10 -0
- data/spec/dummy_rails_2/app/controllers/application_controller.rb +14 -0
- data/spec/dummy_rails_2/app/controllers/welcome_controller.rb +13 -0
- data/spec/dummy_rails_2/app/helpers/application_helper.rb +3 -0
- data/spec/dummy_rails_2/app/helpers/welcome_helper.rb +3 -0
- data/spec/dummy_rails_2/app/models/user.rb +2 -0
- data/spec/dummy_rails_2/config/boot.rb +114 -0
- data/spec/dummy_rails_2/config/environment.rb +41 -0
- data/spec/dummy_rails_2/config/environments/test.rb +28 -0
- data/spec/dummy_rails_2/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy_rails_2/config/initializers/cookie_verification_secret.rb +7 -0
- data/spec/{dummy → dummy_rails_2}/config/initializers/crashlog.rb +0 -0
- data/spec/dummy_rails_2/config/initializers/inflections.rb +10 -0
- data/spec/{dummy → dummy_rails_2}/config/initializers/mime_types.rb +0 -0
- data/spec/dummy_rails_2/config/initializers/new_rails_defaults.rb +13 -0
- data/spec/dummy_rails_2/config/initializers/session_store.rb +15 -0
- data/spec/dummy_rails_2/config/locales/en.yml +5 -0
- data/spec/dummy_rails_2/config/routes.rb +38 -0
- data/spec/dummy_rails_2/db/seeds.rb +7 -0
- data/spec/{dummy/app/mailers/.gitkeep → dummy_rails_2/log/development.log} +0 -0
- data/spec/{dummy/app/models/.gitkeep → dummy_rails_2/log/production.log} +0 -0
- data/spec/{dummy/lib/assets/.gitkeep → dummy_rails_2/log/server.log} +0 -0
- data/spec/dummy_rails_3/.gitignore +4 -0
- data/spec/dummy_rails_3/Gemfile +31 -0
- data/spec/dummy_rails_3/README +256 -0
- data/spec/dummy_rails_3/Rakefile +7 -0
- data/spec/dummy_rails_3/app/controllers/application_controller.rb +7 -0
- data/spec/dummy_rails_3/app/controllers/welcome_controller.rb +14 -0
- data/spec/{dummy → dummy_rails_3}/app/helpers/application_helper.rb +0 -0
- data/spec/dummy_rails_3/app/models/user.rb +3 -0
- data/spec/dummy_rails_3/app/views/layouts/application.html.erb +14 -0
- data/spec/{dummy → dummy_rails_3}/config.ru +0 -0
- data/spec/dummy_rails_3/config/application.rb +52 -0
- data/spec/dummy_rails_3/config/boot.rb +6 -0
- data/spec/{dummy → dummy_rails_3}/config/environment.rb +0 -0
- data/spec/dummy_rails_3/config/environments/development.rb +26 -0
- data/spec/dummy_rails_3/config/environments/production.rb +49 -0
- data/spec/dummy_rails_3/config/environments/test.rb +35 -0
- data/spec/{dummy → dummy_rails_3}/config/initializers/backtrace_silencers.rb +0 -0
- data/spec/dummy_rails_3/config/initializers/crashlog.rb +8 -0
- data/spec/dummy_rails_3/config/initializers/inflections.rb +10 -0
- data/spec/dummy_rails_3/config/initializers/mime_types.rb +5 -0
- data/spec/dummy_rails_3/config/initializers/secret_token.rb +7 -0
- data/spec/{dummy → dummy_rails_3}/config/initializers/session_store.rb +0 -0
- data/spec/dummy_rails_3/config/locales/en.yml +5 -0
- data/spec/dummy_rails_3/config/routes.rb +5 -0
- data/spec/dummy_rails_3/db/seeds.rb +7 -0
- data/spec/{dummy → dummy_rails_3_plus}/README.rdoc +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/Rakefile +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/app/assets/javascripts/application.js +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/app/assets/stylesheets/application.css +0 -0
- data/spec/dummy_rails_3_plus/app/controllers/application_controller.rb +7 -0
- data/spec/{dummy → dummy_rails_3_plus}/app/controllers/break_controller.rb +0 -0
- data/spec/dummy_rails_3_plus/app/controllers/welcome_controller.rb +13 -0
- data/spec/dummy_rails_3_plus/app/helpers/application_helper.rb +2 -0
- data/spec/{dummy/log → dummy_rails_3_plus/app/mailers}/.gitkeep +0 -0
- data/spec/{dummy/public/favicon.ico → dummy_rails_3_plus/app/models/.gitkeep} +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/app/models/current_user.rb +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/app/views/layouts/application.html.erb +0 -0
- data/spec/dummy_rails_3_plus/config.ru +4 -0
- data/spec/{dummy → dummy_rails_3_plus}/config/application.rb +3 -3
- data/spec/{dummy → dummy_rails_3_plus}/config/boot.rb +0 -0
- data/spec/dummy_rails_3_plus/config/environment.rb +5 -0
- data/spec/{dummy → dummy_rails_3_plus}/config/environments/development.rb +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/config/environments/production.rb +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/config/environments/test.rb +2 -2
- data/spec/dummy_rails_3_plus/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy_rails_3_plus/config/initializers/crashlog.rb +7 -0
- data/spec/{dummy → dummy_rails_3_plus}/config/initializers/inflections.rb +0 -0
- data/spec/dummy_rails_3_plus/config/initializers/mime_types.rb +5 -0
- data/spec/{dummy → dummy_rails_3_plus}/config/initializers/secret_token.rb +0 -0
- data/spec/dummy_rails_3_plus/config/initializers/session_store.rb +8 -0
- data/spec/{dummy → dummy_rails_3_plus}/config/initializers/wrap_parameters.rb +0 -0
- data/spec/dummy_rails_3_plus/config/routes.rb +5 -0
- data/spec/dummy_rails_3_plus/lib/assets/.gitkeep +0 -0
- data/spec/dummy_rails_3_plus/log/.gitkeep +0 -0
- data/spec/dummy_rails_3_plus/log/development.log +13209 -0
- data/spec/{dummy → dummy_rails_3_plus}/public/404.html +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/public/422.html +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/public/500.html +0 -0
- data/spec/dummy_rails_3_plus/public/favicon.ico +0 -0
- data/spec/{dummy → dummy_rails_3_plus}/script/rails +0 -0
- data/spec/rails/action_controller_spec.rb +85 -0
- data/spec/rails/rails_2_controller_spec.rb +87 -0
- data/spec/rails_spec_helper.rb +42 -0
- data/spec/requests/rails_controller_rescue_spec.rb +6 -6
- data/spec/spec_helper.rb +0 -4
- metadata +204 -87
- data/spec/dummy/app/controllers/application_controller.rb +0 -3
- data/spec/dummy/config/database.yml +0 -44
- data/spec/dummy/config/routes.rb +0 -7
@@ -1,44 +0,0 @@
|
|
1
|
-
# PostgreSQL. Versions 8.2 and up are supported.
|
2
|
-
#
|
3
|
-
# Install the pg driver:
|
4
|
-
# gem install pg
|
5
|
-
# On Mac OS X with macports:
|
6
|
-
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config
|
7
|
-
# On Windows:
|
8
|
-
# gem install pg
|
9
|
-
# Choose the win32 build.
|
10
|
-
# Install PostgreSQL and put its /bin directory on your path.
|
11
|
-
#
|
12
|
-
# Configure Using Gemfile
|
13
|
-
# gem 'pg'
|
14
|
-
#
|
15
|
-
development:
|
16
|
-
adapter: postgresql
|
17
|
-
encoding: unicode
|
18
|
-
database: dummy_development
|
19
|
-
pool: 5
|
20
|
-
|
21
|
-
# Connect on a TCP socket. Omitted by default since the client uses a
|
22
|
-
# domain socket that doesn't need configuration. Windows does not have
|
23
|
-
# domain sockets, so uncomment these lines.
|
24
|
-
#host: localhost
|
25
|
-
#port: 5432
|
26
|
-
|
27
|
-
# Schema search path. The server defaults to $user,public
|
28
|
-
#schema_search_path: myapp,sharedapp,public
|
29
|
-
|
30
|
-
# Minimum log levels, in increasing order:
|
31
|
-
# debug5, debug4, debug3, debug2, debug1,
|
32
|
-
# log, notice, warning, error, fatal, and panic
|
33
|
-
# The server defaults to notice.
|
34
|
-
min_messages: warning
|
35
|
-
|
36
|
-
# Warning: The database defined as "test" will be erased and
|
37
|
-
# re-generated from your development database when you run "rake".
|
38
|
-
# Do not set this db to the same as development or production.
|
39
|
-
test:
|
40
|
-
adapter: postgresql
|
41
|
-
encoding: unicode
|
42
|
-
database: dummy_test
|
43
|
-
pool: 5
|
44
|
-
|