plogger 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b03960bf9ac94517f07c07fb281217c0d51ed71f
4
- data.tar.gz: 47e432c32f1dae9ecd2fcfb2972c2f6f7c55fb3e
3
+ metadata.gz: c4f798f4f3fae7def7fc7de74d813b6e38976eb5
4
+ data.tar.gz: 6420fe520d8c4fc52cb8c9081b8876d467f2a59f
5
5
  SHA512:
6
- metadata.gz: aa38d4f99f4eb581c1fc64921487a360ff9c6fcd4928afb6b1f1f64af85b67d8c3b10591c524942832c03f1c36378a9d085ec2080846b56d49f1afda0dbb19d1
7
- data.tar.gz: 043ee57e699669a714bab6d0dbc59d0a9aa6ce673d82b469f5074feff5e23b31abc12264a87db28c08bee3b51a82864e5190c1f5a66f64d8615d35b354eb0caf
6
+ metadata.gz: 004c391a76f91e6904b754326786282468b33e05d392ddd72501eec84e7183f7b270fb8ce0c897b94a7a854c629dc3f43891f9e633e1dc979a6f432c32b7ded7
7
+ data.tar.gz: a9aa14ec9c54fc407cc7a10130cb072295889f32817a922f3ecd44885ffb01b679a26169ac779ca1ad4893b079e63c0882cdfca70cc2ad9b6c844f66a3159088
data/lib/plogger.rb CHANGED
@@ -20,31 +20,31 @@ module Plogger
20
20
  @@config = config
21
21
  end
22
22
 
23
- def exception(exception, type: '', category: '', user_id: '', account_id: '', extra_info: {})
23
+ def exception(exception, type: 'system', category: '', user_id: '', account_id: '', extra_info: {})
24
24
  handler = Plogger::Handler.new(config)
25
25
  handler.handle_exception(exception, category: category, user_id: user_id, account_id: account_id,
26
26
  extra_info: extra_info)
27
27
  end
28
28
 
29
- def error(message, type: '', category: '', user_id: '', account_id: '', extra_info: {})
29
+ def error(message, type: 'system', category: '', user_id: '', account_id: '', extra_info: {})
30
30
  handler = Plogger::Handler.new(config)
31
31
  handler.handle_error(message, category: category, user_id: user_id, account_id: account_id,
32
32
  extra_info: extra_info)
33
33
  end
34
34
 
35
- def warn(message, type: '', category: '', user_id: '', account_id: '', extra_info: {})
35
+ def warn(message, type: 'system', category: '', user_id: '', account_id: '', extra_info: {})
36
36
  handler = Plogger::Handler.new(config)
37
37
  handler.handle_warning(message, category: category, user_id: user_id, account_id: account_id,
38
38
  extra_info: extra_info)
39
39
  end
40
40
 
41
- def info(message, type: '', category: '', user_id: '', account_id: '', extra_info: {})
41
+ def info(message, type: 'system', category: '', user_id: '', account_id: '', extra_info: {})
42
42
  handler = Plogger::Handler.new(config)
43
43
  handler.handle_info(message, category: category, user_id: user_id, account_id: account_id,
44
44
  extra_info: extra_info)
45
45
  end
46
46
 
47
- def debug(message, type: '', category: '', user_id: '', account_id: '', extra_info: {})
47
+ def debug(message, type: 'system', category: '', user_id: '', account_id: '', extra_info: {})
48
48
  handler = Plogger::Handler.new(config)
49
49
  handler.handle_debug(message, category: category, user_id: user_id, account_id: account_id,
50
50
  extra_info: extra_info)
@@ -1,3 +1,3 @@
1
1
  module Plogger
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plogger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Merrill
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-04-11 00:00:00.000000000 Z
11
+ date: 2018-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler