beefproject/beef — Issue #477: DataObjects::URI.new with arguments is deprecated
Author: passbe
Created: 2011-12-10 23:31:54+00:00
State: open

What steps will reproduce the problem?

tom@ubuntu:~/beef/beef-read-only$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i686-linux]

tom@ubuntu:~/beef/beef-read-only$ svn update
At revision 1067.

sudo gem install ansi term-ansicolor dm-core json data_objects do_sqlite3 sqlite3 dm-sqlite-adapter parseconfig erubis dm-migrations
Successfully installed ansi-1.3.0
Successfully installed term-ansicolor-1.0.5
Successfully installed addressable-2.2.6
Successfully installed dm-core-1.1.0
Building native extensions. This could take a while...
Successfully installed json-1.5.3
Successfully installed data_objects-0.10.6
Building native extensions. This could take a while...
Successfully installed do_sqlite3-0.10.6
Building native extensions. This could take a while...
Successfully installed sqlite3-1.3.3
Successfully installed dm-do-adapter-1.1.0
Successfully installed dm-sqlite-adapter-1.1.0
Successfully installed parseconfig-0.5.2
Successfully installed erubis-2.7.0
Successfully installed dm-migrations-1.1.0
13 gems installed

tom@ubuntu:~/beef/beef-read-only$ ruby beef
[15:03:02][*] Version: 0.4.2.8-alpha - Run 'svn update' to update to the latest version.
DataObjects::URI.new with arguments is deprecated, use a Hash of URI components (/var/lib/gems/1.8/gems/dm-do-adapter-1.1.0/lib/dm-do-adapter/adapter.rb:231:in `new')
[15:03:02][*] BeEF is loading. Wait a few seconds...
[15:03:02][*] 6 extensions loaded:
[15:03:02] | initialization
[15:03:02] | console
[15:03:02] | events logger
[15:03:02] | demonstrations
[15:03:02] | proxy
[15:03:02] |_ administration web UI
[15:03:02][*] 36 modules loaded.
[15:03:02][*] 2 network interfaces were detected.
[15:03:02][+] running on network interface: 127.0.1.1
[15:03:02] | Hook URL: http://127.0.1.1:3000/hook.js
[15:03:02] |_ UI URL: http://127.0.1.1:3000/ui/panel
[15:03:02][+] running on network interface: 127.0.0.1
[15:03:02] | Hook URL: http://127.0.0.1:3000/hook.js
[15:03:02] |_ UI URL: http://127.0.0.1:3000/ui/panel
[15:03:02][+] HTTP Proxy: http://127.0.0.1:6789

What is the expected output? What do you see instead?

[2011-07-16 15:05:04] ERROR bad URI `/ui/panel'.

What version/revision of the product are you using? On what browser? On what operating system?

Ubuntu 11.04, beef rev. 1067

Please provide any additional information and screen shots below.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=390