rubinius-rails_logger 0.1.0 → 0.2.0

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: 954bb839eac7705f553c51a6087f1c767f7a18e8
4
- data.tar.gz: d94e4d855c297c2da1aefe8b980ddbeca8287fac
3
+ metadata.gz: 635c5608bd2bf45d3dff1ad548a905e630cdbe5a
4
+ data.tar.gz: b6ea53b1f96c1f22e083e835ca4fca822b534ae1
5
5
  SHA512:
6
- metadata.gz: b5e5a5d54b62ec6cd51cfa51cfd2523e01f27e670d5e7cf14df4f707ad8270a846646a5c712a017dcf86fea3ef2ebb46de6618b46d879108cee7515af66997e7
7
- data.tar.gz: 36d94290ab72f0bf29960fac128bdba339caa5c0dfa9bef7e33c0cdb790747b5cf47620fd4fd2c5e7f51f85b5be0f32626f6c1765a3c2673f38d3735a063b6f4
6
+ metadata.gz: 773d9ac4646133e129bf6a1ff0574c2dba2c6cb923d5099a97373b36aa8886fc5cf4a9dfd1134f0c496a778aad7386324682ce750ee99cddb0832d89ae1cd00a
7
+ data.tar.gz: f47af5654c3c4be57b5e89d30bb1181ca3e9fa325bc3f448f530b6eab00af958881aef5b8cb3ed230f4af680121e50acde6be8817b80eceb251e3a5ee4d87ab3
@@ -1,5 +1,5 @@
1
1
  module Rubinius
2
2
  class RailsLogger
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -35,30 +35,30 @@ module Rubinius
35
35
  @logger.send severity, message
36
36
  end
37
37
 
38
- def write(message, &block)
38
+ def write(message=nil, &block)
39
39
  message = yield if block_given?
40
40
  @logger.write message
41
41
  end
42
42
 
43
43
  alias_method :unknown, :write
44
44
 
45
- def fatal(message, &block)
45
+ def fatal(message=nil, &block)
46
46
  log(:fatal, message, &block)
47
47
  end
48
48
 
49
- def error(message, &block)
49
+ def error(message=nil, &block)
50
50
  log(:error, message, &block)
51
51
  end
52
52
 
53
- def warn(message, &block)
53
+ def warn(message=nil, &block)
54
54
  log(:warn, message, &block)
55
55
  end
56
56
 
57
- def info(message, &block)
57
+ def info(message=nil, &block)
58
58
  log(:info, message, &block)
59
59
  end
60
60
 
61
- def debug(message, &block)
61
+ def debug(message=nil, &block)
62
62
  log(:debug, message, &block)
63
63
  end
64
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubinius-rails_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Shirai