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 d169b2f..7c1886b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.8 +0.0.10 diff --git a/lib/semlogger.rb b/lib/semlogger.rb index 81980c3..2004a68 100644 --- a/lib/semlogger.rb +++ b/lib/semlogger.rb @@ -64,12 +64,18 @@ class Semlogger < ::Logger end attr_accessor :logdev, :level, :progname + + # some libs use #log_level + def log_level=( level) @level = level end + def log_level() @level end + class <= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Denis Knauf"] - s.date = %q{2012-10-19} - 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