Rakefile in slf4j-1.5.6.2 vs Rakefile in slf4j-1.5.6.3
- old
+ new
@@ -32,10 +32,11 @@
# Instead of 'slf4j' to avoid loading slf4j-api in Rake parent loader
require 'slf4j/base'
loaders = SLF4J::ADAPTERS.flatten.compact
+loaders.delete( "jul-to-slf4j" ) # exception: maintained as source
loader_files = loaders.map { |adp| "lib/slf4j/#{adp}.rb" }
jars = [ 'slf4j-api' ]
jars += SLF4J::ADAPTERS.map { |i,o| [ i, "slf4j-#{o}" ] }.flatten.compact
jars.map! { |n| "#{n}-#{SLF4J::SLF4J_VERSION}.jar" }
@@ -53,10 +54,12 @@
Rakefile
pom.xml
assembly.xml
lib/slf4j/base.rb
lib/slf4j.rb
+lib/slf4j/jul-to-slf4j.rb
+lib/slf4j/jul.rb
test/test_slf4j.rb
END
out.puts loader_files
out.puts jar_files
ensure
@@ -66,10 +69,11 @@
loaders.each do |adapter|
file "lib/slf4j/#{adapter}.rb" do
out = File.new( "lib/slf4j/#{adapter}.rb", 'w' )
begin
+ out.puts "require 'slf4j'"
out.puts "SLF4J.require_adapter( '#{adapter}' )"
ensure
out.close
end
end
@@ -106,11 +110,9 @@
end
end
sh %{git tag -s -f -m "tag [#{tag}]" "#{tag}"}
end
-
hoe = Hoe.new( "slf4j", SLF4J::VERSION ) do |p|
p.developer( "David Kellum", "dek-ruby@gravitext.com" )
p.rubyforge_name = "rjack"
- p.rdoc_pattern = /^(lib.*\.(rb|txt))|[^\/]*\.txt$/
end