README.md in jt-rails-toolbox-2.2.1 vs README.md in jt-rails-toolbox-2.2.2
- old
+ new
@@ -17,39 +17,40 @@
rails g jt:toolbox
A simple configuration of `jt-toolbox.yml` file:
```yml
- production:
- airbrake:
- project_host: "https://errbit.example.com"
- project_id: 1
- project_key: 12345678901234567890
- exception:
- slack_webhook_url: https://hooks.slack.com/services/XXXXXXXX
- email_prefix: '[ERROR]'
- sender_address: "Your website <error@example.com>"
- exception_recipients:
+production:
+ exception:
+ airbrake:
+ project_host: "https://errbit.example.com"
+ project_id: 1
+ project_key: 12345678901234567890
+ slack:
+ webhook_url: https://hooks.slack.com/services/XXXXXXXX
+ email_prefix: '[ERROR]'
+ sender_address: "Your website <error@example.com>"
+ exception_recipients:
- my_email_for_errors@example.com
- files:
- folder: upload
- mail:
- from: "Your website <contact@example.com>"
- delivery_method: smtp
- smtp_settings:
- address: smtp.gmail.com
- port: 587
- domain: example.com
- user_name: username
- password: password
- authentication: plain
- enable_starttls_auto: true
- hosts:
- host: https://www.example.com
- asset_host: https://asset.example.com
- cdn_host: https://cdn.example.com
- sidekiq:
- redis_url: redis://localhost:6379/my_app
+ files:
+ folder: upload
+ mail:
+ from: "Your website <contact@example.com>"
+ delivery_method: smtp
+ smtp_settings:
+ address: smtp.gmail.com
+ port: 587
+ domain: example.com
+ user_name: username
+ password: password
+ authentication: plain
+ enable_starttls_auto: true
+ hosts:
+ host: https://www.example.com
+ asset_host: https://asset.example.com
+ cdn_host: https://cdn.example.com
+ sidekiq:
+ redis_url: redis://localhost:6379/my_app
```
## What's in it?
- [http_accept_language](https://github.com/iain/http_accept_language), helps you detect the users preferred language, as sent by the "Accept-Language" HTTP header