mini_logger 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/mini_logger.rb +2 -2
  2. data/lib/version.rb +1 -1
  3. metadata +1 -1
data/lib/mini_logger.rb CHANGED
@@ -22,9 +22,9 @@ module MiniLogger
22
22
 
23
23
  if( VALID_METHODS.include?( method ) )
24
24
  if( block_given? )
25
- @logger.send( method, arguments, block )
25
+ @logger.send( method, arguments.length == 1 ? arguments[0] : arguments, block )
26
26
  else
27
- @logger.send( method, arguments )
27
+ @logger.send( method, arguments.length == 1 ? arguments[0] : arguments )
28
28
  end
29
29
  end
30
30
  end
data/lib/version.rb CHANGED
@@ -3,7 +3,7 @@ module MiniLogger
3
3
  INFO = {
4
4
  :major =>0,
5
5
  :minor =>2,
6
- :patch =>2
6
+ :patch =>3
7
7
  }
8
8
 
9
9
  NAME = 'mini_logger'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: mini_logger
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.2
5
+ version: 0.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Javier Juarez