yell-rails 0.10.0 → 0.10.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,14 +1,24 @@
1
+ # The following is an example config file for yell.
2
+
1
3
  development:
2
4
  adapters:
3
5
  - :file:
4
6
  :filename: 'log/development.log'
5
7
 
6
- producton:
8
+ production:
9
+ # set the minimum log level to info
7
10
  :level: 'gte.info'
11
+
12
+ # define multiple adapters: one for notice and one for error messages
8
13
  :adapters:
14
+ # this adapter writes all messages with a log level of warn or lower
15
+ # and writes to production.log
9
16
  - :datefile:
10
17
  :level: 'lte.warn'
11
18
  :filename: 'log/production.log'
19
+
20
+ # this adapter writes all messages with a log level of error or higher
21
+ # and writes to error.log
12
22
  - :datefile:
13
23
  :level: 'gte.error'
14
24
  :filename: 'log/error.log'
data/lib/yell/rails.rb CHANGED
@@ -1,5 +1,8 @@
1
1
  # encoding: utf-8
2
2
 
3
+ require 'rails'
4
+ require 'yell'
5
+
3
6
  module Yell #:nodoc:
4
7
  class Railtie < ::Rails::Railtie
5
8
 
data/yell-rails.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.unshift File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "yell-rails"
6
- s.version = "0.10.0"
6
+ s.version = "0.10.0.1"
7
7
  s.authors = ["Rudolf Schmidt"]
8
8
 
9
9
  s.homepage = "http://rudionrails.github.com/yell"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yell-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: