diff options
Diffstat (limited to 'misc/rabbit/files')
-rw-r--r-- | misc/rabbit/files/patch-base.rb | 11 | ||||
-rw-r--r-- | misc/rabbit/files/patch-rabbirack | 10 | ||||
-rw-r--r-- | misc/rabbit/files/patch-rabbit-command | 11 |
3 files changed, 32 insertions, 0 deletions
diff --git a/misc/rabbit/files/patch-base.rb b/misc/rabbit/files/patch-base.rb new file mode 100644 index 000000000000..5d0e77207af0 --- /dev/null +++ b/misc/rabbit/files/patch-base.rb @@ -0,0 +1,11 @@ +--- lib/rabbit/logger/base.rb.orig 2011-04-29 16:19:39.000000000 +0900 ++++ lib/rabbit/logger/base.rb 2011-08-20 18:53:13.000000000 +0900 +@@ -65,7 +65,7 @@ + log(INFO, message_or_error, &block) + end + +- def warn(message_or_error=nil, &block) ++ def warning(message_or_error=nil, &block) + log(WARNING, message_or_error, &block) + end + diff --git a/misc/rabbit/files/patch-rabbirack b/misc/rabbit/files/patch-rabbirack new file mode 100644 index 000000000000..72faaf1c4234 --- /dev/null +++ b/misc/rabbit/files/patch-rabbirack @@ -0,0 +1,10 @@ +--- bin/rabbirack.orig 2011-08-20 22:42:21.000000000 +0900 ++++ bin/rabbirack 2011-08-21 03:44:41.000000000 +0900 +@@ -90,6 +90,6 @@ + else + require "rack" + ARGV.shift if rack_runner == "rackup" +- ARGV.unshift("--option", "config=#{config_ru_path}") ++ ARGV.unshift(":config", "#{config_ru_path}") + Rack::Server.start + end diff --git a/misc/rabbit/files/patch-rabbit-command b/misc/rabbit/files/patch-rabbit-command new file mode 100644 index 000000000000..bc1d1b3090fa --- /dev/null +++ b/misc/rabbit/files/patch-rabbit-command @@ -0,0 +1,11 @@ +--- bin/rabbit-command.orig 2011-07-13 20:05:07.000000000 +0900 ++++ bin/rabbit-command 2011-08-20 19:22:06.000000000 +0900 +@@ -98,7 +98,7 @@ + if options.druby_uri_specified + logger.warning(_("--druby-uri is deprecated. Use --rabbit-uri instead.")) + end +- rabbit = DRbObject.new_with_uri(options.druby_uri) ++ rabbit = DRbObject.new_with_uri(options.rabbit_uri) + options.commands.each do |output, method, *args| + result = rabbit.send(method, *args) + send(output, result) if output |