Hello community,

here is the log from the commit of package rubygem-rice for openSUSE:Factory 
checked in at 2015-05-18 22:27:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rice (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-rice.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-rice"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rice/rubygem-rice.changes        
2015-03-18 13:03:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rice.new/rubygem-rice.changes   
2015-05-18 22:27:53.000000000 +0200
@@ -1,0 +2,7 @@
+Sun May 17 17:56:13 UTC 2015 - [email protected]
+
+- Update to version 1.7.0 
+- Fixed gcc type cast bugs
+- Fixed gem bundle for ruby 2.2
+
+-------------------------------------------------------------------

Old:
----
  rice-1.6.3.gem

New:
----
  rice-1.7.0.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-rice.spec ++++++
--- /var/tmp/diff_new_pack.SLRU1w/_old  2015-05-18 22:27:53.000000000 +0200
+++ /var/tmp/diff_new_pack.SLRU1w/_new  2015-05-18 22:27:53.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-rice
-Version:        1.6.3
+Version:        1.7.0
 Release:        0
 %define mod_name rice
 %define mod_full_name %{mod_name}-%{version}
@@ -98,7 +98,7 @@
 if test -e %{buildroot}/meta.files;then
   mv %{buildroot}/meta.files meta.files
   cat %{buildroot}/meta.dirs | sort | uniq >> meta.files
-  echo "%dir 
%{_libdir}/ruby/gems/%{rb_ver}/doc/extensions/%{myarch}-linux/%{rb_ver}" >> 
meta.files
+  test -d 
"%{buildroot}/%{_libdir}/ruby/gems/%{rb_ver}/doc/extensions/%{myarch}-linux/%{rb_ver}"
 && echo "%dir 
%{_libdir}/ruby/gems/%{rb_ver}/doc/extensions/%{myarch}-linux/%{rb_ver}" >> 
meta.files
   rm -f %{buildroot}/meta.dirs
 fi
 

++++++ rice-1.6.3.gem -> rice-1.7.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile        2014-12-18 16:00:26.000000000 +0100
+++ new/Rakefile        2015-01-06 15:47:35.000000000 +0100
@@ -1,33 +1,23 @@
 $: << File.expand_path(File.dirname(__FILE__))
 require 'rubygems'
 require 'rubygems/package_task'
-require 'rake/contrib/sshpublisher'
 require 'yaml'
 require 'ruby/lib/version'
 
-PROJECT_NAME = "rice"
-PROJECT_WEB_PATH = "/var/www/gforge-projects/rice"
-
 task :default => :test
 
-desc "Run unit tests" 
+desc "Run unit tests"
 task :test do
   cd "test" do
     ruby "test_rice.rb"
   end
 end
 
-desc "Build the documentation" 
+desc "Build the documentation"
 task :doc do
   sh "make doc"
 end
 
-desc "Upload documentation to the website. Requires rubyforge gem" 
-task :upload_web => [:doc] do
-  host = "[email protected]"
-  Rake::SshDirPublisher.new(host, PROJECT_WEB_PATH, "doc/html").upload
-end
-
 # Gemspec kept externally
 eval(File.read("rice.gemspec"))
 Gem::PackageTask.new($spec) do |pkg|
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2014-12-18 16:00:26.000000000 +0100
+++ new/metadata        2015-01-06 15:47:35.000000000 +0100
@@ -1,7 +1,7 @@
 --- !ruby/object:Gem::Specification
 name: rice
 version: !ruby/object:Gem::Version
-  version: 1.6.3
+  version: 1.7.0
 platform: ruby
 authors:
 - Paul Brannan
@@ -9,7 +9,7 @@
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2014-12-18 00:00:00.000000000 Z
+date: 2015-01-06 00:00:00.000000000 Z
 dependencies: []
 description: |
   Rice is a C++ interface to Ruby's C API.  It provides a type-safe and
@@ -227,7 +227,7 @@
 - test/test_rice.rb
 - test/unittest.cpp
 - test/unittest.hpp
-homepage: http://rice.rubyforge.org/
+homepage: https://github.com/jasonroelofs/rice
 licenses:
 - MIT
 metadata: {}
@@ -246,7 +246,7 @@
     - !ruby/object:Gem::Version
       version: '0'
 requirements: []
-rubyforge_project: rice
+rubyforge_project: 
 rubygems_version: 2.4.5
 signing_key: 
 specification_version: 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/Array.hpp new/rice/Array.hpp
--- old/rice/Array.hpp  2014-12-18 16:00:26.000000000 +0100
+++ new/rice/Array.hpp  2015-01-06 15:47:35.000000000 +0100
@@ -20,7 +20,7 @@
  *  \endcode
  */
 class Array
-  : public Builtin_Object<RArray, T_ARRAY>
+  : public Builtin_Object<T_ARRAY>
 {
 public:
   //! Construct a new array
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/Array.ipp new/rice/Array.ipp
--- old/rice/Array.ipp  2014-12-18 16:00:26.000000000 +0100
+++ new/rice/Array.ipp  2015-01-06 15:47:35.000000000 +0100
@@ -5,26 +5,26 @@
 
 inline Rice::Array::
 Array()
-  : Builtin_Object<RArray, T_ARRAY>(protect(rb_ary_new))
+  : Builtin_Object<T_ARRAY>(protect(rb_ary_new))
 {
 }
 
 inline Rice::Array::
 Array(Object v)
-  : Builtin_Object<RArray, T_ARRAY>(v)
+  : Builtin_Object<T_ARRAY>(v)
 {
 }
 
 inline Rice::Array::
 Array(VALUE v)
-  : Builtin_Object<RArray, T_ARRAY>(v)
+  : Builtin_Object<T_ARRAY>(v)
 {
 }
 
 template<typename Iter_T>
 inline Rice::Array::
 Array(Iter_T it, Iter_T end)
-  : Builtin_Object<RArray, T_ARRAY>(protect(rb_ary_new))
+  : Builtin_Object<T_ARRAY>(protect(rb_ary_new))
 {
   for(; it != end; ++it)
   {
@@ -35,7 +35,7 @@
 template<typename T, size_t n>
 inline Rice::Array::
 Array(T const (& a)[n])
-  : Builtin_Object<RArray, T_ARRAY>(protect(rb_ary_new))
+  : Builtin_Object<T_ARRAY>(protect(rb_ary_new))
 {
   for(size_t j = 0; j < n; ++j)
   {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/Builtin_Object.ipp new/rice/Builtin_Object.ipp
--- old/rice/Builtin_Object.ipp 2014-12-18 16:00:26.000000000 +0100
+++ new/rice/Builtin_Object.ipp 2015-01-06 15:47:35.000000000 +0100
@@ -19,26 +19,26 @@
   }
 }
 
-template<typename T, int Builtin_Type>
-inline Builtin_Object<T, Builtin_Type>::
+template<int Builtin_Type>
+inline Builtin_Object<Builtin_Type>::
 Builtin_Object(Object value)
   : Object(value)
-  , obj_((T*)(value.value()))
+  , obj_((RObject*)(value.value()))
 {
   protect(detail::check_type, value, Builtin_Type);
 }
 
-template<typename T, int Builtin_Type>
-inline Builtin_Object<T, Builtin_Type>::
-Builtin_Object(Builtin_Object<T, Builtin_Type> const & other)
+template<int Builtin_Type>
+inline Builtin_Object<Builtin_Type>::
+Builtin_Object(Builtin_Object<Builtin_Type> const & other)
   : Object(other.value())
   , obj_(other.obj_)
 {
 }
 
-template<typename T, int Builtin_Type>
-inline void Builtin_Object<T, Builtin_Type>::
-swap(Builtin_Object<T, Builtin_Type> & ref)
+template<int Builtin_Type>
+inline void Builtin_Object<Builtin_Type>::
+swap(Builtin_Object<Builtin_Type> & ref)
 {
   std::swap(obj_, ref.obj_);
   Object::swap(ref);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/Builtin_Object_defn.hpp 
new/rice/Builtin_Object_defn.hpp
--- old/rice/Builtin_Object_defn.hpp    2014-12-18 16:00:26.000000000 +0100
+++ new/rice/Builtin_Object_defn.hpp    2015-01-06 15:47:35.000000000 +0100
@@ -14,7 +14,7 @@
  *  class is a wrapper for those types of objects, primarily useful as a
  *  base class for other wrapper classes like Array and Hash.
  */
-template<typename T, int Builtin_Type>
+template<int Builtin_Type>
 class Builtin_Object
   : public Object
 {
@@ -31,17 +31,17 @@
    */
   Builtin_Object(Builtin_Object const & other);
 
-  T & operator*() const { return *obj_; } //!< Return a reference to obj_
-  T * operator->() const { return obj_; } //!< Return a pointer to obj_
-  T * get() const { return obj_; }        //!< Return a pointer to obj_
+  RObject & operator*() const { return *obj_; } //!< Return a reference to obj_
+  RObject * operator->() const { return obj_; } //!< Return a pointer to obj_
+  RObject * get() const { return obj_; }        //!< Return a pointer to obj_
 
   //! Swap with another builtin object of the same type
   /*! \param ref the object with which to swap.
    */
-  void swap(Builtin_Object<T, Builtin_Type> & ref);
+  void swap(Builtin_Object<Builtin_Type> & ref);
 
 private:
-  T * obj_;
+  RObject * obj_;
 };
 
 } // namespace Rice
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/Hash.hpp new/rice/Hash.hpp
--- old/rice/Hash.hpp   2014-12-18 16:00:26.000000000 +0100
+++ new/rice/Hash.hpp   2015-01-06 15:47:35.000000000 +0100
@@ -22,7 +22,7 @@
 //!   std::cout << String(h[42]) << std::endl;
 //! \endcode
 class Hash
-  : public Builtin_Object<RHash, T_HASH>
+  : public Builtin_Object<T_HASH>
 {
 public:
   //! Construct a new hash.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/Hash.ipp new/rice/Hash.ipp
--- old/rice/Hash.ipp   2014-12-18 16:00:26.000000000 +0100
+++ new/rice/Hash.ipp   2015-01-06 15:47:35.000000000 +0100
@@ -10,13 +10,13 @@
 
 inline Rice::Hash::
 Hash()
-  : Builtin_Object<RHash, T_HASH>(protect(rb_hash_new))
+  : Builtin_Object<T_HASH>(protect(rb_hash_new))
 {
 }
 
 inline Rice::Hash::
 Hash(Object v)
-  : Builtin_Object<RHash, T_HASH>(v)
+  : Builtin_Object<T_HASH>(v)
 {
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/String.cpp new/rice/String.cpp
--- old/rice/String.cpp 2014-12-18 16:00:26.000000000 +0100
+++ new/rice/String.cpp 2015-01-06 15:47:35.000000000 +0100
@@ -13,37 +13,37 @@
 
 Rice::String::
 String()
-  : Builtin_Object<RString, T_STRING>(protect(rb_str_new2, ""))
+  : Builtin_Object<T_STRING>(protect(rb_str_new2, ""))
 {
 }
 
 Rice::String::
 String(VALUE v)
-  : Builtin_Object<RString, T_STRING>(v)
+  : Builtin_Object<T_STRING>(v)
 {
 }
 
 Rice::String::
 String(Object v)
-  : Builtin_Object<RString, T_STRING>(v)
+  : Builtin_Object<T_STRING>(v)
 {
 }
 
 Rice::String::
 String(char const * s)
-  : Builtin_Object<RString, T_STRING>(protect(rb_str_new2, s))
+  : Builtin_Object<T_STRING>(protect(rb_str_new2, s))
 {
 }
 
 Rice::String::
 String(std::string const & s)
-  : Builtin_Object<RString, T_STRING>(protect(rb_str_new, s.data(), 
s.length()))
+  : Builtin_Object<T_STRING>(protect(rb_str_new, s.data(), s.length()))
 {
 }
 
 Rice::String::
 String(Identifier id)
-  : Builtin_Object<RString, T_STRING>(protect(rb_str_new2, id.c_str()))
+  : Builtin_Object<T_STRING>(protect(rb_str_new2, id.c_str()))
 {
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/String.hpp new/rice/String.hpp
--- old/rice/String.hpp 2014-12-18 16:00:26.000000000 +0100
+++ new/rice/String.hpp 2015-01-06 15:47:35.000000000 +0100
@@ -21,7 +21,7 @@
  *  \endcode
  */
 class String
-  : public Builtin_Object<RString, T_STRING>
+  : public Builtin_Object<T_STRING>
 {
 public:
   //! Construct a new string.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/Struct.cpp new/rice/Struct.cpp
--- old/rice/Struct.cpp 2014-12-18 16:00:26.000000000 +0100
+++ new/rice/Struct.cpp 2015-01-06 15:47:35.000000000 +0100
@@ -88,7 +88,7 @@
 Instance(
     Struct const & type,
     Array args)
-  : Builtin_Object<RStruct, T_STRUCT>(type.new_instance(args))
+  : Builtin_Object<T_STRUCT>(type.new_instance(args))
   , type_(type)
 {
 }
@@ -97,7 +97,7 @@
 Instance(
     Struct const & type,
     Object s)
-  : Builtin_Object<RStruct, T_STRUCT>(s)
+  : Builtin_Object<T_STRUCT>(s)
   , type_(type)
 {
 }
@@ -106,7 +106,7 @@
 swap(Instance & other)
 {
   type_.swap(other.type_);
-  Builtin_Object<RStruct, T_STRUCT>::swap(other);
+  Builtin_Object<T_STRUCT>::swap(other);
 }
 
 Rice::Struct Rice::
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/Struct.hpp new/rice/Struct.hpp
--- old/rice/Struct.hpp 2014-12-18 16:00:26.000000000 +0100
+++ new/rice/Struct.hpp 2015-01-06 15:47:35.000000000 +0100
@@ -120,7 +120,7 @@
 //! An instance of a Struct
 //! \sa Struct
 class Struct::Instance
-  : public Builtin_Object<RStruct, T_STRUCT>
+  : public Builtin_Object<T_STRUCT>
 {
 public:
   //! Create a new Instance of a Struct.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rice/detail/ruby_version_code.hpp 
new/rice/detail/ruby_version_code.hpp
--- old/rice/detail/ruby_version_code.hpp       2014-12-18 16:00:26.000000000 
+0100
+++ new/rice/detail/ruby_version_code.hpp       2015-01-06 15:47:35.000000000 
+0100
@@ -1,6 +1,6 @@
 #ifndef Rice__detail__ruby_version_code__hpp
 #define Rice__detail__ruby_version_code__hpp
 
-#define RICE__RUBY_VERSION_CODE 215
+#define RICE__RUBY_VERSION_CODE 220
 
 #endif // Rice__detail__ruby_version_code__hpp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ruby/lib/version.rb new/ruby/lib/version.rb
--- old/ruby/lib/version.rb     2014-12-18 16:00:26.000000000 +0100
+++ new/ruby/lib/version.rb     2015-01-06 15:47:35.000000000 +0100
@@ -1,3 +1,3 @@
 module Rice
-  VERSION = "1.6.3"
+  VERSION = "1.7.0"
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/test/test_Builtin_Object.cpp 
new/test/test_Builtin_Object.cpp
--- old/test/test_Builtin_Object.cpp    2014-12-18 16:00:26.000000000 +0100
+++ new/test/test_Builtin_Object.cpp    2015-01-06 15:47:35.000000000 +0100
@@ -15,7 +15,7 @@
 {
   Class c(rb_cObject);
   Object o(c.call("new"));
-  Builtin_Object<RObject, T_OBJECT> b(o);
+  Builtin_Object<T_OBJECT> b(o);
   ASSERT_EQUAL(o.value(), b.value());
   ASSERT_EQUAL(T_OBJECT, rb_type(b.value()));
   ASSERT_EQUAL(rb_cObject, b.class_of().value());
@@ -26,8 +26,8 @@
 {
   Class c(rb_cObject);
   Object o(c.call("new"));
-  Builtin_Object<RObject, T_OBJECT> b(o);
-  Builtin_Object<RObject, T_OBJECT> b2(b);
+  Builtin_Object<T_OBJECT> b(o);
+  Builtin_Object<T_OBJECT> b2(b);
   ASSERT_EQUAL(o.value(), b2.value());
   ASSERT_EQUAL(T_OBJECT, rb_type(b2.value()));
   ASSERT_EQUAL(rb_cObject, b2.class_of().value());
@@ -38,7 +38,7 @@
 {
   Class c(rb_cObject);
   Object o(c.call("new"));
-  Builtin_Object<RObject, T_OBJECT> b(o);
+  Builtin_Object<T_OBJECT> b(o);
   ASSERT_EQUAL(ROBJECT(o.value()), &*b);
 }
 
@@ -46,7 +46,7 @@
 {
   Class c(rb_cObject);
   Object o(c.call("new"));
-  Builtin_Object<RObject, T_OBJECT> b(o);
+  Builtin_Object<T_OBJECT> b(o);
   ASSERT_EQUAL(rb_cObject, b->basic.klass);
 }
 
@@ -54,7 +54,7 @@
 {
   Class c(rb_cObject);
   Object o(c.call("new"));
-  Builtin_Object<RObject, T_OBJECT> b(o);
+  Builtin_Object<T_OBJECT> b(o);
   ASSERT_EQUAL(ROBJECT(o.value()), b.get());
 }
 
@@ -62,9 +62,9 @@
 {
   Class c(rb_cObject);
   Object o1(c.call("new"));
-  Builtin_Object<RObject, T_OBJECT> b1(o1);
+  Builtin_Object<T_OBJECT> b1(o1);
   Object o2(c.call("new"));
-  Builtin_Object<RObject, T_OBJECT> b2(o2);
+  Builtin_Object<T_OBJECT> b2(o2);
   b1.swap(b2);
   ASSERT_EQUAL(b1.value(), o2.value());
   ASSERT_EQUAL(b2.value(), o1.value());


Reply via email to