lager 1.0.0.3 → 1.1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/lager.rb +1 -5
  3. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0.3
1
+ 1.1.0.1
data/lib/lager.rb CHANGED
@@ -67,12 +67,8 @@ module Lager
67
67
  # call with argument to set the log level
68
68
  # :debug, 'debug', and Logger::DEBUG (0) are all supported
69
69
  #
70
- def log_level(level = nil)
70
+ def log_level
71
71
  raise "no @lager available" unless defined?(@lager)
72
- if level
73
- @lager.warn { "passing an argument to log_level is deprecated" }
74
- return self.log_level = level
75
- end
76
72
  [:debug, :info, :warn, :error, :fatal][@lager.level] || :unknown
77
73
  end
78
74
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.3
4
+ version: 1.1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: