role_based_authorization 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -1,6 +1,10 @@
1
+ # Personalizes the authorization logging by adding Auth | in front of each line.
2
+ # It also outputs the time stamp and the severity of the log message.
1
3
  class AuthorizationLogger < Logger
4
+ # Prefix for each message
2
5
  AUTHORIZATION_SYSTEM_LOG_MSG_PREFIX = 'Auth |'
3
6
 
7
+ # overriding of the formatting message
4
8
  def format_message(severity, timestamp, progname, msg)
5
9
  "#{AUTHORIZATION_SYSTEM_LOG_MSG_PREFIX} #{timestamp.to_formatted_s(:db)} #{severity} #{msg}\n"
6
10
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{role_based_authorization}
8
- s.version = "0.1.4"
8
+ s.version = "0.1.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Roberto Esposito"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: role_based_authorization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Esposito