commit yast2-ruby-bindings for openSUSE:Factory
Hello community, here is the log from the commit of package yast2-ruby-bindings for openSUSE:Factory checked in at Mon Nov 2 16:10:37 CET 2009. -------- --- yast2-ruby-bindings/yast2-ruby-bindings.changes 2009-04-15 13:16:41.000000000 +0200 +++ /mounts/work_src_done/STABLE/yast2-ruby-bindings/yast2-ruby-bindings.changes 2009-11-02 11:32:53.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Nov 2 09:59:47 UTC 2009 - dmacvicar@suse.de + +- fix convertion of ruby hashes to ycp maps + (bnc #551791) +- 0.3.4 + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- yast2-ruby-bindings-0.3.3.tar.bz2 New: ---- yast2-ruby-bindings-0.3.4.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-ruby-bindings.spec ++++++ --- /var/tmp/diff_new_pack.s2e01S/_old 2009-11-02 16:10:22.000000000 +0100 +++ /var/tmp/diff_new_pack.s2e01S/_new 2009-11-02 16:10:22.000000000 +0100 @@ -1,5 +1,5 @@ # -# spec file for package yast2-ruby-bindings (Version 0.3.3) +# spec file for package yast2-ruby-bindings (Version 0.3.4) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ Name: yast2-ruby-bindings -Version: 0.3.3 +Version: 0.3.4 Release: 1 License: GPL Group: System/YaST ++++++ yast2-ruby-bindings-0.3.3.tar.bz2 -> yast2-ruby-bindings-0.3.4.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-0.3.3/VERSION.cmake new/yast2-ruby-bindings-0.3.4/VERSION.cmake --- old/yast2-ruby-bindings-0.3.3/VERSION.cmake 2009-06-21 20:32:50.000000000 +0200 +++ new/yast2-ruby-bindings-0.3.4/VERSION.cmake 2009-11-02 11:31:50.000000000 +0100 @@ -1,3 +1,3 @@ SET(VERSION_MAJOR "0") SET(VERSION_MINOR "3") -SET(VERSION_PATCH "3") +SET(VERSION_PATCH "4") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-0.3.3/examples/ruby/Foo.rb new/yast2-ruby-bindings-0.3.4/examples/ruby/Foo.rb --- old/yast2-ruby-bindings-0.3.3/examples/ruby/Foo.rb 2009-06-21 20:32:50.000000000 +0200 +++ new/yast2-ruby-bindings-0.3.4/examples/ruby/Foo.rb 2009-11-02 11:31:50.000000000 +0100 @@ -0,0 +1,5 @@ +module Foo + def self.multiply_by_eight(n) + n * 8 + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-0.3.3/examples/ruby/ruby_from_ycp.sh new/yast2-ruby-bindings-0.3.4/examples/ruby/ruby_from_ycp.sh --- old/yast2-ruby-bindings-0.3.3/examples/ruby/ruby_from_ycp.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-ruby-bindings-0.3.4/examples/ruby/ruby_from_ycp.sh 2009-11-02 11:31:50.000000000 +0100 @@ -0,0 +1 @@ +ln -snf . modules; Y2DIR=. /sbin/yast2 ./ruby_from_ycp.ycp diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-0.3.3/examples/ruby/ruby_from_ycp.ycp new/yast2-ruby-bindings-0.3.4/examples/ruby/ruby_from_ycp.ycp --- old/yast2-ruby-bindings-0.3.3/examples/ruby/ruby_from_ycp.ycp 2009-06-21 20:32:50.000000000 +0200 +++ new/yast2-ruby-bindings-0.3.4/examples/ruby/ruby_from_ycp.ycp 2009-11-02 11:31:50.000000000 +0100 @@ -1,7 +1,7 @@ { import "Foo"; - string result = (string) multiply_by_eight(10); + string result = tostring(Foo::multiply_by_eight(10)); UI::OpenDialog( `VBox( `Label(result), @@ -10,4 +10,4 @@ ); UI::UserInput(); UI::CloseDialog(); -} \ No newline at end of file +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-0.3.3/package/yast2-ruby-bindings.changes new/yast2-ruby-bindings-0.3.4/package/yast2-ruby-bindings.changes --- old/yast2-ruby-bindings-0.3.3/package/yast2-ruby-bindings.changes 2009-06-21 20:32:50.000000000 +0200 +++ new/yast2-ruby-bindings-0.3.4/package/yast2-ruby-bindings.changes 2009-11-02 11:31:50.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Nov 2 09:59:47 UTC 2009 - dmacvicar@suse.de + +- fix convertion of ruby hashes to ycp maps + (bnc #551791) +- 0.3.4 + +------------------------------------------------------------------- Thu Apr 9 15:15:09 CEST 2009 - kkaempf@suse.de - add and enable CTest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-0.3.3/src/ruby/Y2RubyTypeConv.cc new/yast2-ruby-bindings-0.3.4/src/ruby/Y2RubyTypeConv.cc --- old/yast2-ruby-bindings-0.3.3/src/ruby/Y2RubyTypeConv.cc 2009-06-21 20:32:50.000000000 +0200 +++ new/yast2-ruby-bindings-0.3.4/src/ruby/Y2RubyTypeConv.cc 2009-11-02 11:31:50.000000000 +0100 @@ -66,7 +66,7 @@ int n = NUM2LONG(rb_funcall(keys, rb_intern("size"), 0)); for ( int i=0; i<n; ++i) { - VALUE rkey = rb_funcall(keys, rb_intern("at"), 1, i); + VALUE rkey = rb_funcall(keys, rb_intern("at"), 1, INT2NUM(i)); YCPValue ykey = rbvalue_2_ycpvalue(rkey); YCPValue yvalue = rbvalue_2_ycpvalue( rb_funcall(value, rb_intern("[]"), 1, rkey) ); map.add(ykey, yvalue); @@ -88,7 +88,7 @@ int n = NUM2LONG(rb_funcall(value, rb_intern("size"), 0)); for ( int i=0; i<n; ++i) { - VALUE element = rb_funcall(value, rb_intern("[]"), 1, i); + VALUE element = rb_funcall(value, rb_intern("[]"), 1, INT2NUM(i)); list.add( rbvalue_2_ycpvalue(element) ); } return list; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-ruby-bindings-0.3.3/yast2-ruby-bindings.spec.in new/yast2-ruby-bindings-0.3.4/yast2-ruby-bindings.spec.in --- old/yast2-ruby-bindings-0.3.3/yast2-ruby-bindings.spec.in 2009-06-21 20:32:50.000000000 +0200 +++ new/yast2-ruby-bindings-0.3.4/yast2-ruby-bindings.spec.in 2009-11-02 11:31:50.000000000 +0100 @@ -12,7 +12,7 @@ Group: System/YaST BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: yast2-ruby-bindings-%{version}.tar.bz2 -prefix: /usr +Prefix: /usr BuildRequires: swig cmake gcc-c++ libxcrypt-devel yast2-core-devel BuildRequires: yast2-devtools >= 2.16.3 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de