rails-graylogger 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rails-graylogger/logger.rb +1 -1
- data/lib/rails-graylogger/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac2ebf82a1966205ebcde0de3b8a4c7cdf211986
|
4
|
+
data.tar.gz: 6a3ef9f6e5c14321a7a7bf98623cb707891c4e40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0647954fd2345a715dae77d32a8a955e78955be259c6bbffe53cbd9606700c8ea0d008e8b40b5e7158f0af8cf1aa3e6314961724581888f5334fad2c701af456
|
7
|
+
data.tar.gz: 9d0d50592885c29e267d463f61309e9c556becdaf0d8d36937415155f129022536bc98ae37bf02a67c71b99caa8788dfbdd3404b22685c334df4e4cd7cb42945
|
@@ -29,7 +29,7 @@ module RailsGraylogger
|
|
29
29
|
private
|
30
30
|
|
31
31
|
def method_missing(method, *args, &block)
|
32
|
-
if [:
|
32
|
+
if [:info, :debug, :warn, :error, :fatal].include?(method) && !args[0].nil?
|
33
33
|
if args.size == 1 && args[0].is_a?(String)
|
34
34
|
hash = { short_message: args[0] }
|
35
35
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-graylogger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tuomas Silen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gelf
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
124
124
|
version: '0'
|
125
125
|
requirements: []
|
126
126
|
rubyforge_project:
|
127
|
-
rubygems_version: 2.4.
|
127
|
+
rubygems_version: 2.4.8
|
128
128
|
signing_key:
|
129
129
|
specification_version: 4
|
130
130
|
summary: Push Rails logs also to Graylog2
|