logging-couchdb 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,8 @@
1
+ == 1.0.2 / 2009-08-17
2
+
3
+ * 1 bug fix
4
+ * Fixing an object naming error.
5
+
1
6
  == 1.0.2 / 2009-08-14
2
7
 
3
8
  * 1 bug fix
data/Rakefile CHANGED
@@ -23,7 +23,7 @@ PROJ.name = 'logging-couchdb'
23
23
  PROJ.authors = 'Tim Pease'
24
24
  PROJ.email = 'tim.pease@gmail.com'
25
25
  PROJ.url = 'http://logging.rubyforge.org/logging-couchdb'
26
- PROJ.version = '1.0.2'
26
+ PROJ.version = '1.0.3'
27
27
  PROJ.rubyforge.name = 'logging'
28
28
  PROJ.exclude << 'logging-couchdb.gemspec'
29
29
  PROJ.readme_file = 'README.rdoc'
@@ -138,14 +138,15 @@ module Logging::Layouts
138
138
  # Take the given _value_ and convert it into a format suitable for use
139
139
  # in a JSON object structure.
140
140
  #
141
- def format_obj( value )
142
- case value
143
- when nil, Numeric, String, Array, Hash; value
141
+ def format_obj( obj )
142
+ case obj
143
+ when nil, Numeric, String, Array, Hash
144
+ obj
144
145
  when Exception
145
146
  ary = ["<#{obj.class.name}> #{obj.message}"]
146
147
  ary.concat(obj.backtrace) unless obj.backtrace.nil?
147
148
  ary
148
- else super(value) end
149
+ else super(obj) end
149
150
  end
150
151
 
151
152
  end # class CouchDB
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logging-couchdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-08-14 00:00:00 -06:00
12
+ date: 2009-08-17 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency