Hello community, here is the log from the commit of package webyast-network-ws for openSUSE:Factory checked in at Thu May 19 13:28:02 CEST 2011.
-------- --- webyast-network-ws/webyast-network-ws.changes 2011-05-02 14:36:15.000000000 +0200 +++ /mounts/work_src_done/STABLE/webyast-network-ws/webyast-network-ws.changes 2011-05-16 12:33:25.000000000 +0200 @@ -1,0 +2,12 @@ +Mon May 16 10:32:06 UTC 2011 - [email protected] + +- changed licence to the correct name GPL-2.0 +- 0.2.6 + +------------------------------------------------------------------- +Mon May 9 09:31:07 UTC 2011 - [email protected] + +- fixed 'Undefined methode values' for routes (Network controller) +- 0.2.5 + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ webyast-network-ws.spec ++++++ --- /var/tmp/diff_new_pack.6qPZSd/_old 2011-05-19 13:27:47.000000000 +0200 +++ /var/tmp/diff_new_pack.6qPZSd/_new 2011-05-19 13:27:47.000000000 +0200 @@ -24,11 +24,11 @@ Provides: WebYaST(org.opensuse.yast.modules.yapi.network.dns) Provides: yast2-webservice-network = %{version} Obsoletes: yast2-webservice-network < %{version} -License: GPLv2 +License: GPL-2.0 Group: Productivity/Networking/Web/Utilities Url: http://en.opensuse.org/Portal:WebYaST AutoReqProv: on -Version: 0.2.4 +Version: 0.2.6 Release: 1 Summary: WebYaST - Network service Source: www.tar.bz2 @@ -53,7 +53,7 @@ # %package testsuite -License: GPLv2 + Group: Productivity/Networking/Web/Utilities Requires: %{name} = %{version} Requires: webyast-base-ws-testsuite ++++++ www.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/app/controllers/network/routes_controller.rb new/www/app/controllers/network/routes_controller.rb --- old/www/app/controllers/network/routes_controller.rb 2010-08-27 14:58:55.000000000 +0200 +++ new/www/app/controllers/network/routes_controller.rb 2011-05-10 12:26:49.000000000 +0200 @@ -51,7 +51,9 @@ end def index - routes_a = Route.find(:all).values +# routes_a = Route.find(:all).values + routes_a = Route.find(:all) + logger.error "Route A #{routes_a.inspect}" respond_to do |format| format.xml { render :xml => routes_a.to_xml( :root => "routes", :dasherize => false ) } format.json { render :json => routes_a.to_json } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/www/test/functional/routes_controller_test.rb new/www/test/functional/routes_controller_test.rb --- old/www/test/functional/routes_controller_test.rb 2010-08-27 14:58:55.000000000 +0200 +++ new/www/test/functional/routes_controller_test.rb 2011-05-10 12:26:49.000000000 +0200 @@ -47,8 +47,11 @@ def test_index_xml get :index, :format => 'xml' h = Hash.from_xml @response.body - assert_instance_of Array, h["routes"] - assert_equal "default", h["routes"][0]["id"] + + assert_instance_of Hash, h["routes"] + #assert_instance_of Array, h["routes"] + assert_equal "default", h["routes"]["default"]["id"] + #assert_equal "default", h["routes"][0]["id"] end DATA_GOOD_UI = { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
