diff --git a/Rakefile b/Rakefile index 68654fb..e43cfd8 100644 --- a/Rakefile +++ b/Rakefile @@ -43,7 +43,7 @@ end #task :default => :test -require 'rake/rdoctask' +require 'rdoc/task' Rake::RDocTask.new do |rdoc| if File.exist? 'VERSION' version = File.read 'VERSION' diff --git a/VERSION b/VERSION index 81340c7..7c1886b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.4 +0.0.10 diff --git a/lib/semlogger.rb b/lib/semlogger.rb index c74df04..2004a68 100644 --- a/lib/semlogger.rb +++ b/lib/semlogger.rb @@ -2,7 +2,10 @@ require 'json' class Object def to_semlogger - [self.class.name.to_sym, self.respond_to?( :serializable_hash) ? self.serializable_hash : self ] + [ + self.class.name.to_sym, + self.respond_to?( :serializable_hash) ? self.serializable_hash : self + ] end end @@ -27,7 +30,30 @@ end end class Semlogger < ::Logger - class CustomType + class Base + class <= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Denis Knauf"] - s.date = %q{2012-09-17} - s.description = %q{(Semi-)Structured Logger for Ruby (and Rails)} + s.date = "2012-11-21" + s.description = "(Semi-)Structured Logger for Ruby (and Rails)" s.email = ["Denis.Knauf@gmail.com"] s.extra_rdoc_files = [ "LICENSE", @@ -30,13 +30,12 @@ Gem::Specification.new do |s| "lib/semlogger/tailer.rb", "lib/semlogger/writer.rb" ] - s.homepage = %q{http://github.com/DenisKnauf/semlogger} + s.homepage = "http://github.com/DenisKnauf/semlogger" s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.7} - s.summary = %q{(Semi-)Structured Logger} + s.rubygems_version = "1.8.23" + s.summary = "(Semi-)Structured Logger" if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 3 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then