commit rubygem-yajl-ruby for openSUSE:Factory

2018-09-20 Thread root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2018-09-20 11:41:40

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Thu Sep 20 11:41:40 2018 rev:15 rq:635254 version:1.4.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2018-07-18 22:52:32.887237819 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2018-09-20 11:41:44.536846573 +0200
@@ -1,0 +2,6 @@
+Wed Sep  5 10:48:37 UTC 2018 - co...@suse.com
+
+- updated to version 1.4.1
+ see installed CHANGELOG.md
+
+---

Old:

  yajl-ruby-1.4.0.gem

New:

  yajl-ruby-1.4.1.gem



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.DTkiES/_old  2018-09-20 11:41:45.328846109 +0200
+++ /var/tmp/diff_new_pack.DTkiES/_new  2018-09-20 11:41:45.332846106 +0200
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-yajl-ruby
-Version:1.4.0
+Version:1.4.1
 Release:0
 %define mod_name yajl-ruby
 %define mod_full_name %{mod_name}-%{version}

++ yajl-ruby-1.4.0.gem -> yajl-ruby-1.4.1.gem ++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/yajl/yajl_encode.c new/ext/yajl/yajl_encode.c
--- old/ext/yajl/yajl_encode.c  2018-04-27 20:16:03.0 +0200
+++ new/ext/yajl/yajl_encode.c  2018-07-27 18:41:51.0 +0200
@@ -59,12 +59,18 @@
 unsigned int htmlSafe)
 {
 unsigned int beg = 0;
-unsigned int end = 0;
+unsigned int end = 0;
+unsigned int increment = 0;
 char hexBuf[7];
+char entityBuffer[7];
 hexBuf[0] = '\\'; hexBuf[1] = 'u'; hexBuf[2] = '0'; hexBuf[3] = '0';
 hexBuf[6] = 0;
 
+entityBuffer[0] = '\\'; entityBuffer[1] = 'u'; entityBuffer[2] = '2'; 
entityBuffer[3] = '0';
+entityBuffer[6] = 0;
+
 while (end < len) {
+increment = 1;
 const char * escaped = NULL;
 switch (str[end]) {
 case '\r': escaped = "\\r"; break;
@@ -76,10 +82,39 @@
 case '\b': escaped = "\\b"; break;
 case '\t': escaped = "\\t"; break;
 case '/':
-  if (htmlSafe) {
+  if (htmlSafe == 1 || htmlSafe == 2) {
 escaped = "\\/";
   }
   break;
+/* Escaping 0xe280a8 0xe280a9 */
+case 0xe2:
+  if (htmlSafe == 2) {
+  if (len - end >= 2 && str[end + 1] == 0x80) {
+  if (str[end + 2] == 0xa8) {
+  increment = 3;
+  entityBuffer[4] = '2';
+  entityBuffer[5] = '8';
+  escaped = entityBuffer;
+  break;
+  }
+
+  if (str[end + 2] == 0xa9) {
+  increment = 3;
+  entityBuffer[4] = '2';
+  entityBuffer[5] = '9';
+  escaped = entityBuffer;
+  break;
+  }
+  }
+  }
+case '<':
+case '>':
+case '&':
+  if (htmlSafe == 2) {
+  CharToHex(str[end], hexBuf + 4);
+  escaped = hexBuf;
+  }
+  break;
 default:
 if ((unsigned char) str[end] < 32) {
 CharToHex(str[end], hexBuf + 4);
@@ -90,7 +125,8 @@
 if (escaped != NULL) {
 print(ctx, (const char *) (str + beg), end - beg);
 print(ctx, escaped, (unsigned int)strlen(escaped));
-beg = ++end;
+end += increment;
+beg = end;
 } else {
 ++end;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/yajl/yajl_ext.c new/ext/yajl/yajl_ext.c
--- old/ext/yajl/yajl_ext.c 2018-04-27 20:16:03.0 +0200
+++ new/ext/yajl/yajl_ext.c 2018-07-27 18:41:51.0 +0200
@@ -1030,9 +1030,14 @@
 actualIndent = indentString;
 }
 }
+
 if (rb_hash_aref(opts, sym_html_safe) == Qtrue) {
   htmlSafe = 1;
 }
+
+if (rb_hash_aref(opts, sym_entities) == Qtrue) {
+  htmlSafe = 2;
+}
 }
 if (!indentString) {
   indentString = defaultIndentString;
@@ -1356,6 +1361,7 @@
 sym_pretty = I

commit rubygem-yajl-ruby for openSUSE:Factory

2018-07-18 Thread root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2018-07-18 22:51:57

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Wed Jul 18 22:51:57 2018 rev:14 rq:621045 version:1.4.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2017-11-16 14:04:25.934193513 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2018-07-18 22:52:32.887237819 +0200
@@ -1,0 +2,6 @@
+Fri Apr 27 19:23:03 UTC 2018 - factory-a...@kulow.org
+
+- updated to version 1.4.0
+ see installed CHANGELOG.md
+
+---

Old:

  yajl-ruby-1.3.1.gem

New:

  yajl-ruby-1.4.0.gem



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.z5cqDE/_old  2018-07-18 22:52:33.303236439 +0200
+++ /var/tmp/diff_new_pack.z5cqDE/_new  2018-07-18 22:52:33.303236439 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-yajl-ruby
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-yajl-ruby
-Version:1.3.1
+Version:1.4.0
 Release:0
 %define mod_name yajl-ruby
 %define mod_full_name %{mod_name}-%{version}
@@ -37,7 +37,7 @@
 Source1:rubygem-yajl-ruby-rpmlintrc
 Source2:gem2rpm.yml
 Summary:Ruby C bindings to the excellent Yajl JSON stream-based parser
-License:MIT and BSD-3-Clause
+License:MIT AND BSD-3-Clause
 Group:  Development/Languages/Ruby
 
 %description

++ yajl-ruby-1.3.1.gem -> yajl-ruby-1.4.0.gem ++
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/yajl/extconf.rb new/ext/yajl/extconf.rb
--- old/ext/yajl/extconf.rb 2017-11-07 07:19:50.0 +0100
+++ new/ext/yajl/extconf.rb 2018-04-27 20:16:03.0 +0200
@@ -1,7 +1,7 @@
 require 'mkmf'
 require 'rbconfig'
 
-$CFLAGS << ' -Wall -funroll-loops'
+$CFLAGS << ' -Wall -funroll-loops -Wno-declaration-after-statement'
 $CFLAGS << ' -Werror-implicit-function-declaration -Wextra -O0 -ggdb3' if 
ENV['DEBUG']
 
 create_makefile('yajl/yajl')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/yajl/yajl_ext.c new/ext/yajl/yajl_ext.c
--- old/ext/yajl/yajl_ext.c 2017-11-07 07:19:50.0 +0100
+++ new/ext/yajl/yajl_ext.c 2018-04-27 20:16:03.0 +0200
@@ -22,6 +22,12 @@
 */
 
 #include "yajl_ext.h"
+#include "yajl_lex.h"
+#include "yajl_alloc.h"
+#include "yajl_buf.h"
+#include "yajl_encode.h"
+#include "api/yajl_common.h"
+#include "assert.h"
 
 #define YAJL_RB_TO_JSON   \
  VALUE rb_encoder, cls;   \
@@ -32,6 +38,25 @@
  }\
  return rb_yajl_encoder_encode(1, &self, rb_encoder); \
 
+static void *rb_internal_malloc(void *ctx, unsigned int sz) {
+  return xmalloc(sz);
+}
+
+static void *rb_internal_realloc(void *ctx, void *previous, unsigned int sz) {
+  return xrealloc(previous, sz);
+}
+
+static void rb_internal_free(void *ctx, void *ptr) {
+  xfree(ptr);
+}
+
+static yajl_alloc_funcs rb_alloc_funcs = {
+  rb_internal_malloc,
+  rb_internal_realloc,
+  rb_internal_free,
+  NULL
+};
+
 /* Helpers for building objects */
 static void yajl_check_and_fire_callback(void * ctx) {
 yajl_parser_wrapper * wrapper;
@@ -39,12 +64,12 @@
 
 /* No need to do any of this if the callback isn't even setup */
 if (wrapper->parse_complete_callback != Qnil) {
-int len = RARRAY_LEN(wrapper->builderStack);
+long len = RARRAY_LEN(wrapper->builderStack);
 if (len == 1 && wrapper->nestedArrayLevel == 0 && 
wrapper->nestedHashLevel == 0) {
 rb_funcall(wrapper->parse_complete_callback, intern_call, 1, 
rb_ary_pop(wrapper->builderStack));
 }
 } else {
-int len = RARRAY_LEN(wrapper->builderStack);
+long len = RARRAY_LEN(wrapper->builderStack);
 if (len == 1 && wrapper->nestedArrayLevel == 0 && 
wrapper->nestedHashLevel == 0) {
 wrapper->objectsFound++;
 if (wrapper->objectsFound > 1) {
@@ -76,7 +101,7 @@
 static void yajl_set_static_value(void * ctx, VALUE val) {
 yajl_parser_wrapper * wrapper;

commit rubygem-yajl-ruby for openSUSE:Factory

2017-11-16 Thread root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2017-11-16 14:04:24

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Thu Nov 16 14:04:24 2017 rev:13 rq:542211 version:1.3.1

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2017-07-17 09:08:44.668335214 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2017-11-16 14:04:25.934193513 +0100
@@ -1,0 +2,8 @@
+Wed Nov  8 08:19:56 UTC 2017 - mschnit...@suse.com
+
+- updated to version 1.3.1
+  no changelog entry found
+
+  Fixes bsc#1066565
+
+---

Old:

  yajl-ruby-1.3.0.gem

New:

  yajl-ruby-1.3.1.gem



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.Xq5DNm/_old  2017-11-16 14:04:27.366141613 +0100
+++ /var/tmp/diff_new_pack.Xq5DNm/_new  2017-11-16 14:04:27.370141468 +0100
@@ -24,14 +24,14 @@
 #
 
 Name:   rubygem-yajl-ruby
-Version:1.3.0
+Version:1.3.1
 Release:0
 %define mod_name yajl-ruby
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{rubydevel >= 1.8.6}
 BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  ruby-macros >= 5
 Url:http://github.com/brianmario/yajl-ruby
 Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:rubygem-yajl-ruby-rpmlintrc

++ yajl-ruby-1.3.0.gem -> yajl-ruby-1.3.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2016-11-01 23:23:18.0 +0100
+++ new/.travis.yml 2017-11-07 07:19:50.0 +0100
@@ -1,14 +1,9 @@
 language: ruby
 rvm:
-  - 1.8.7
-  - 1.9.2
-  - 1.9.3
   - 2.0.0
   - 2.1
-  - rbx-2
-  - ree
+  - 2.2
+  - 2.3
+  - 2.4.1
   - ruby-head
 before_install: gem install bundler --no-document
-matrix:
-  allow_failures:
-- rvm: rbx-2
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/yajl/yajl_encode.c new/ext/yajl/yajl_encode.c
--- old/ext/yajl/yajl_encode.c  2016-11-01 23:23:18.0 +0100
+++ new/ext/yajl/yajl_encode.c  2017-11-07 07:19:50.0 +0100
@@ -162,8 +162,8 @@
 end+=3;
 /* check if this is a surrogate */
 if ((codepoint & 0xFC00) == 0xD800) {
-end++;
-if (str[end] == '\\' && str[end + 1] == 'u') {
+if (end + 2 < len && str[end + 1] == '\\' && str[end + 
2] == 'u') {
+end++;
 unsigned int surrogate = 0;
 hexToDigit(&surrogate, str + end + 2);
 codepoint =
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yajl/bzip2.rb new/lib/yajl/bzip2.rb
--- old/lib/yajl/bzip2.rb   2016-11-01 23:23:18.0 +0100
+++ new/lib/yajl/bzip2.rb   2017-11-07 07:19:50.0 +0100
@@ -6,6 +6,6 @@
   require 'bzip2' unless defined?(Bzip2)
   require 'yajl/bzip2/stream_reader.rb'
   require 'yajl/bzip2/stream_writer.rb'
-rescue LoadError => e
+rescue LoadError
   raise "Unable to load the bzip2 library. Is the bzip2-ruby gem installed?"
-end
\ No newline at end of file
+end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/yajl/http_stream.rb new/lib/yajl/http_stream.rb
--- old/lib/yajl/http_stream.rb 2016-11-01 23:23:18.0 +0100
+++ new/lib/yajl/http_stream.rb 2017-11-07 07:19:50.0 +0100
@@ -4,6 +4,7 @@
 require 'yajl'
 require 'yajl/version' unless defined? Yajl::VERSION
 require 'uri'
+require 'cgi'
 
 module Yajl
   # This module is for making HTTP requests to which the response bodies (and 
possibly requests in the near future)
@@ -101,7 +102,7 @@
   default_headers["Content-Type"] = opts["Content-Type"] || 
"application/x-www-form-urlencoded"
   body = opts.delete(:body)
   if body.is_a?(Hash)
-body = body.keys.collect {|param| 
"#{URI.escape(param.to_s)}=#{URI.escape(body[param].to_s)}"}.join('&')
+body = body.keys.collect {|param| 
"#{CGI.escape(param.to_s)}=#{CGI.escape(body[param].to_s)}"}.join('&')
   end
   default_headers["Content-Length"] = body.length
 end
@@ -161,7 +162,7 @

commit rubygem-yajl-ruby for openSUSE:Factory

2017-07-17 Thread root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2017-07-17 09:08:44

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Mon Jul 17 09:08:44 2017 rev:12 rq:508345 version:1.3.0

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2016-11-17 12:43:12.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2017-07-17 09:08:44.668335214 +0200
@@ -1,0 +2,5 @@
+Tue Jul  4 09:53:24 UTC 2017 - mrueck...@suse.de
+
+- regenerate spec file
+
+---



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.xBA62S/_old  2017-07-17 09:08:45.852168480 +0200
+++ /var/tmp/diff_new_pack.xBA62S/_new  2017-07-17 09:08:45.856167917 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-yajl-ruby
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,11 +29,11 @@
 %define mod_name yajl-ruby
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  ruby-macros >= 5
 BuildRequires:  %{rubydevel >= 1.8.6}
 BuildRequires:  %{rubygem gem2rpm}
-BuildRequires:  ruby-macros >= 5
 Url:http://github.com/brianmario/yajl-ruby
-Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source: https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:rubygem-yajl-ruby-rpmlintrc
 Source2:gem2rpm.yml
 Summary:Ruby C bindings to the excellent Yajl JSON stream-based parser




commit rubygem-yajl-ruby for openSUSE:Factory

2016-11-17 Thread h_root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2016-11-17 12:43:11

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2015-01-22 01:07:21.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2016-11-17 12:43:12.0 +0100
@@ -1,0 +2,6 @@
+Wed Nov  2 05:49:43 UTC 2016 - co...@suse.com
+
+- updated to version 1.3.0
+ see installed CHANGELOG.md
+
+---

Old:

  yajl-ruby-1.2.1.gem

New:

  yajl-ruby-1.3.0.gem



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.DSWQdk/_old  2016-11-17 12:43:13.0 +0100
+++ /var/tmp/diff_new_pack.DSWQdk/_new  2016-11-17 12:43:13.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-yajl-ruby
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-yajl-ruby
-Version:1.2.1
+Version:1.3.0
 Release:0
 %define mod_name yajl-ruby
 %define mod_full_name %{mod_name}-%{version}
@@ -49,7 +49,7 @@
 
 %install
 %gem_install \
-  --doc-files="CHANGELOG.md MIT-LICENSE README.md" \
+  --doc-files="CHANGELOG.md LICENSE README.md" \
   -f
 %gem_cleanup
 

++ yajl-ruby-1.2.1.gem -> yajl-ruby-1.3.0.gem ++
 1729 lines of diff (skipped)




commit rubygem-yajl-ruby for openSUSE:Factory

2015-01-21 Thread h_root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2015-01-21 22:13:55

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2014-10-23 14:21:00.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2015-01-22 01:07:21.0 +0100
@@ -1,0 +2,5 @@
+Tue Jan 20 09:42:45 UTC 2015 - tboer...@suse.com
+
+- Stop deleting devel files, ignore them through rpmlintrc instead
+
+---

New:

  rubygem-yajl-ruby-rpmlintrc



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.YOHk9S/_old  2015-01-22 01:07:22.0 +0100
+++ /var/tmp/diff_new_pack.YOHk9S/_new  2015-01-22 01:07:22.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-yajl-ruby
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,7 +34,8 @@
 BuildRequires:  ruby-macros >= 5
 Url:http://github.com/brianmario/yajl-ruby
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
-Source1:gem2rpm.yml
+Source1:rubygem-yajl-ruby-rpmlintrc
+Source2:gem2rpm.yml
 Summary:Ruby C bindings to the excellent Yajl JSON stream-based parser
 License:MIT and BSD-3-Clause
 Group:  Development/Languages/Ruby
@@ -51,9 +52,6 @@
   --doc-files="CHANGELOG.md MIT-LICENSE README.md" \
   -f
 %gem_cleanup
-# MANUAL
-find 
%{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/yajl 
-name "*.[h|c|o]" -exec rm {} \;
-# /MANUAL
 
 %gem_packages
 

++ gem2rpm.yml ++
--- /var/tmp/diff_new_pack.YOHk9S/_old  2015-01-22 01:07:22.0 +0100
+++ /var/tmp/diff_new_pack.YOHk9S/_new  2015-01-22 01:07:22.0 +0100
@@ -1,4 +1,4 @@
 :license: MIT and BSD-3-Clause
 
-:post_install: |-
-  find 
%{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/yajl 
-name "*.[h|c|o]" -exec rm {} \;
+:sources:
+  - rubygem-yajl-ruby-rpmlintrc

++ rubygem-yajl-ruby-rpmlintrc ++
addFilter("devel-file-in-non-devel-package")
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-yajl-ruby for openSUSE:Factory

2014-10-23 Thread h_root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2014-10-23 14:20:46

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2014-10-15 08:52:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2014-10-23 14:21:00.0 +0200
@@ -1,0 +2,16 @@
+Wed Oct 22 13:39:22 UTC 2014 - tboer...@suse.com
+
+- Fixed the license as there is still BSD-3-Clause source included
+
+---
+Wed Oct 22 08:29:41 UTC 2014 - tboer...@suse.com
+
+- For SLES 11 it exceeds the badness limit
+
+---
+Wed Oct 22 08:20:23 UTC 2014 - tboer...@suse.com
+
+- Made it really aware of new macros
+- Removed manual entry, maximum badness not exceeded
+
+---

New:

  gem2rpm.yml



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.CyM8V2/_old  2014-10-23 14:21:01.0 +0200
+++ /var/tmp/diff_new_pack.CyM8V2/_new  2014-10-23 14:21:01.0 +0200
@@ -16,17 +16,25 @@
 #
 
 
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:   rubygem-yajl-ruby
 Version:1.2.1
 Release:0
 %define mod_name yajl-ruby
 %define mod_full_name %{mod_name}-%{version}
-
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{rubydevel}
+BuildRequires:  %{rubydevel >= 1.8.6}
+BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
 Url:http://github.com/brianmario/yajl-ruby
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:gem2rpm.yml
 Summary:Ruby C bindings to the excellent Yajl JSON stream-based parser
 License:MIT and BSD-3-Clause
 Group:  Development/Languages/Ruby
@@ -40,11 +48,12 @@
 
 %install
 %gem_install \
-  --symlink-binaries \
   --doc-files="CHANGELOG.md MIT-LICENSE README.md" \
   -f
+%gem_cleanup
 # MANUAL
-rm -rf %{buildroot}%{gem_base}/gems/%{mod_full_name}/ext/yajl/{,api/}*.{h,c,o}
+find 
%{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/yajl 
-name "*.[h|c|o]" -exec rm {} \;
+# /MANUAL
 
 %gem_packages
 

++ gem2rpm.yml ++
:license: MIT and BSD-3-Clause

:post_install: |-
  find 
%{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/yajl 
-name "*.[h|c|o]" -exec rm {} \;
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-yajl-ruby for openSUSE:Factory

2014-10-14 Thread h_root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2014-10-15 08:51:46

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2014-07-28 16:21:15.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2014-10-15 08:52:23.0 +0200
@@ -1,0 +2,5 @@
+Tue Oct 14 12:16:47 UTC 2014 - adr...@suse.de
+
+- adapt to new rubygem packaging style
+
+---



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.e2h40A/_old  2014-10-15 08:52:24.0 +0200
+++ /var/tmp/diff_new_pack.e2h40A/_new  2014-10-15 08:52:24.0 +0200
@@ -23,10 +23,8 @@
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 3
-Requires:   ruby >= 1.8.6
-BuildRequires:  ruby >= 1.8.6
-BuildRequires:  ruby-devel
+BuildRequires:  %{rubydevel}
+BuildRequires:  ruby-macros >= 5
 Url:http://github.com/brianmario/yajl-ruby
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Ruby C bindings to the excellent Yajl JSON stream-based parser
@@ -36,55 +34,18 @@
 %description
 Ruby C bindings to the excellent Yajl JSON stream-based parser library.
 
-%package doc
-Summary:RDoc documentation for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary:Test suite for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
-
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
-%gem_cleanup
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG.md 
%buildroot/%{_docdir}/%{name}/CHANGELOG.md
-ln -s %{gem_base}/gems/%{mod_full_name}/MIT-LICENSE 
%buildroot/%{_docdir}/%{name}/MIT-LICENSE
-ln -s %{gem_base}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
+%gem_install \
+  --symlink-binaries \
+  --doc-files="CHANGELOG.md MIT-LICENSE README.md" \
+  -f
 # MANUAL
-rm -rf %{buildroot}%{gem_base}/gems/%{mod_full_name}/ext/yajl/*.h
+rm -rf %{buildroot}%{gem_base}/gems/%{mod_full_name}/ext/yajl/{,api/}*.{h,c,o}
 
-%files
-%defattr(-,root,root,-)
-%{_docdir}/%{name}
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%{gem_extensions}/%{mod_full_name}
-%exclude %{gem_base}/gems/%{mod_full_name}/spec
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
-
-%files testsuite
-%defattr(-,root,root,-)
-%{gem_base}/gems/%{mod_full_name}/spec
+%gem_packages
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-yajl-ruby for openSUSE:Factory

2014-07-28 Thread h_root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2014-07-28 16:21:15

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2014-02-12 20:54:34.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2014-07-28 16:21:15.0 +0200
@@ -1,0 +2,5 @@
+Mon Jul 28 10:10:38 UTC 2014 - co...@suse.com
+
+- updated to version 1.2.1, no changelog
+
+---

Old:

  yajl-ruby-1.2.0.gem

New:

  yajl-ruby-1.2.1.gem



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.ry0cJk/_old  2014-07-28 16:21:16.0 +0200
+++ /var/tmp/diff_new_pack.ry0cJk/_new  2014-07-28 16:21:16.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-yajl-ruby
-Version:1.2.0
+Version:1.2.1
 Release:0
 %define mod_name yajl-ruby
 %define mod_full_name %{mod_name}-%{version}
@@ -25,7 +25,8 @@
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 3
 Requires:   ruby >= 1.8.6
-BuildRequires:  ruby-devel >= 1.8.6
+BuildRequires:  ruby >= 1.8.6
+BuildRequires:  ruby-devel
 Url:http://github.com/brianmario/yajl-ruby
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:Ruby C bindings to the excellent Yajl JSON stream-based parser

++ yajl-ruby-1.2.0.gem -> yajl-ruby-1.2.1.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 1970-01-01 01:00:00.0 +0100
+++ new/.travis.yml 1970-01-01 01:00:00.0 +0100
@@ -3,12 +3,15 @@
   - 1.8.7
   - 1.9.2
   - 1.9.3
-  - rbx
+  - 2.0.0
+  - 2.1.0
+  - 2.1.1
   - ree
   - ruby-head
   - rbx-18mode
   - rbx-19mode
 matrix:
   allow_failures:
+- rvm: rbx
 - rvm: rbx-18mode
-- rvm: rbx-19mode
\ No newline at end of file
+- rvm: rbx-19mode
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   1970-01-01 01:00:00.0 +0100
+++ new/README.md   1970-01-01 01:00:00.0 +0100
@@ -25,6 +25,12 @@
 gem install yajl-ruby
 ```
 
+Or use your Gemfile:
+
+``` ruby
+gem 'yajl-ruby', require: 'yajl'
+```
+
 ## Example of use
 
 NOTE: I'm building up a collection of small examples in the examples 
(http://github.com/brianmario/yajl-ruby/tree/master/examples) folder.
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/yajl/extconf.rb new/ext/yajl/extconf.rb
--- old/ext/yajl/extconf.rb 1970-01-01 01:00:00.0 +0100
+++ new/ext/yajl/extconf.rb 1970-01-01 01:00:00.0 +0100
@@ -2,6 +2,6 @@
 require 'rbconfig'
 
 $CFLAGS << ' -Wall -funroll-loops'
-$CFLAGS << ' -Wextra -O0 -ggdb3' if ENV['DEBUG']
+$CFLAGS << ' -Werror-implicit-function-declaration -Wextra -O0 -ggdb3' if 
ENV['DEBUG']
 
 create_makefile('yajl/yajl')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/yajl/yajl_ext.c new/ext/yajl/yajl_ext.c
--- old/ext/yajl/yajl_ext.c 1970-01-01 01:00:00.0 +0100
+++ new/ext/yajl/yajl_ext.c 1970-01-01 01:00:00.0 +0100
@@ -275,7 +275,7 @@
 }
 
 static int yajl_found_number(void * ctx, const char * numberVal, unsigned int 
numberLen) {
-char buf[numberLen+1];
+char* buf = (char*)malloc(numberLen + 1);
 buf[numberLen] = 0;
 memcpy(buf, numberVal, numberLen);
 
@@ -286,6 +286,7 @@
 } else {
 yajl_set_static_value(ctx, rb_cstr2inum(buf, 10));
 }
+free(buf);
 return 1;
 }
 
@@ -315,15 +316,13 @@
 #endif
 
 if (wrapper->symbolizeKeys) {
-char buf[stringLen+1];
-memcpy(buf, stringVal, stringLen);
-buf[stringLen] = 0;
-VALUE stringEncoded = rb_str_new2(buf);
 #ifdef HAVE_RUBY_ENCODING_H
-rb_enc_associate(stringEncoded, rb_utf8_encoding());
+ID id = rb_intern3((const char *)stringVal, stringLen, utf8Encoding);
+keyStr = ID2SYM(id);
+#else
+VALUE str = rb_str_new((const char *)stringVal, stringLen);
+keyStr = rb_str_intern(str);
 #endif
-
-yajl_set_static_value(ctx, ID2SYM(rb_to_id(stringEncoded)));
 } else {
 keyStr = rb_str_new((const char *)stringVal, stringLen);
 #ifdef HAVE_RUBY_ENCODING_H
@@ -332,8 +331,8 @@
   keyStr = rb_

commit rubygem-yajl-ruby for openSUSE:Factory

2014-02-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2014-02-12 20:54:33

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2013-12-23 22:21:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2014-02-12 20:54:34.0 +0100
@@ -1,0 +2,5 @@
+Thu Feb  6 09:31:43 UTC 2014 - co...@suse.com
+
+- use new macros
+
+---



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.bnh11p/_old  2014-02-12 20:54:35.0 +0100
+++ /var/tmp/diff_new_pack.bnh11p/_new  2014-02-12 20:54:35.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-yajl-ruby
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,7 +23,7 @@
 %define mod_full_name %{mod_name}-%{version}
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros >= 1
+BuildRequires:  ruby-macros >= 3
 Requires:   ruby >= 1.8.6
 BuildRequires:  ruby-devel >= 1.8.6
 Url:http://github.com/brianmario/yajl-ruby
@@ -63,24 +63,27 @@
 %gem_install -f
 %gem_cleanup
 mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/CHANGELOG.md 
%buildroot/%{_docdir}/%{name}/CHANGELOG.md
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/MIT-LICENSE 
%buildroot/%{_docdir}/%{name}/MIT-LICENSE
-ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
+ln -s %{gem_base}/gems/%{mod_full_name}/CHANGELOG.md 
%buildroot/%{_docdir}/%{name}/CHANGELOG.md
+ln -s %{gem_base}/gems/%{mod_full_name}/MIT-LICENSE 
%buildroot/%{_docdir}/%{name}/MIT-LICENSE
+ln -s %{gem_base}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
+# MANUAL
+rm -rf %{buildroot}%{gem_base}/gems/%{mod_full_name}/ext/yajl/*.h
 
 %files
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
-%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/gems/%{mod_full_name}/
+%{gem_extensions}/%{mod_full_name}
+%exclude %{gem_base}/gems/%{mod_full_name}/spec
+%{gem_base}/specifications/%{mod_full_name}.gemspec
 
 %files doc
 %defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+%doc %{gem_base}/doc
 
 %files testsuite
 %defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
+%{gem_base}/gems/%{mod_full_name}/spec
 
 %changelog


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-yajl-ruby for openSUSE:Factory

2013-12-23 Thread h_root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2013-12-23 22:21:25

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby"

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-yajl-ruby/rubygem-yajl-ruby.changes  
2012-07-30 09:46:30.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2013-12-23 22:21:27.0 +0100
@@ -1,0 +2,5 @@
+Fri Dec 20 12:02:53 UTC 2013 - co...@suse.com
+
+- updated to version 1.2.0, no changelog
+
+---

Old:

  yajl-ruby-1.1.0.gem

New:

  yajl-ruby-1.2.0.gem



Other differences:
--
++ rubygem-yajl-ruby.spec ++
--- /var/tmp/diff_new_pack.M91ik8/_old  2013-12-23 22:21:28.0 +0100
+++ /var/tmp/diff_new_pack.M91ik8/_new  2013-12-23 22:21:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-yajl-ruby
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,43 +17,70 @@
 
 
 Name:   rubygem-yajl-ruby
-Version:1.1.0
+Version:1.2.0
 Release:0
 %define mod_name yajl-ruby
-#
-#
-Provides:   rubygem-%{mod_name}-1   = %{version}
-Provides:   rubygem-%{mod_name}-1_1 = %{version}
+%define mod_full_name %{mod_name}-%{version}
+
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  rubygems_with_buildroot_patch
-%rubygems_requires
-#
+BuildRequires:  ruby-macros >= 1
+Requires:   ruby >= 1.8.6
+BuildRequires:  ruby-devel >= 1.8.6
 Url:http://github.com/brianmario/yajl-ruby
-Source: %{mod_name}-%{version}.gem
-#
-Summary:Ruby C bindings to the excellent Yajl JSON stream-based parser 
library
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Summary:Ruby C bindings to the excellent Yajl JSON stream-based parser
 License:MIT and BSD-3-Clause
 Group:  Development/Languages/Ruby
 
 %description
 Ruby C bindings to the excellent Yajl JSON stream-based parser library.
 
+%package doc
+Summary:RDoc documentation for %{mod_name}
+Group:  Development/Languages/Ruby
+Requires:   %{name} = %{version}
+
+%description doc
+Documentation generated at gem installation time.
+Usually in RDoc and RI formats.
+
+%package testsuite
+Summary:Test suite for %{mod_name}
+Group:  Development/Languages/Ruby
+Requires:   %{name} = %{version}
+
+%description testsuite
+Test::Unit or RSpec files, useful for developers.
+
 %prep
+#gem_unpack
+#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
+#gem_build
+
 %build
+
 %install
-%gem_install %{S:0}
+%gem_install -f
 %gem_cleanup
-pushd 
%{buildroot}%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/ext/yajl
-rm *.c *.h
-
-%clean
-%{__rm} -rf %{buildroot}
+mkdir -p %{buildroot}%{_docdir}/%{name}
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/CHANGELOG.md 
%buildroot/%{_docdir}/%{name}/CHANGELOG.md
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/MIT-LICENSE 
%buildroot/%{_docdir}/%{name}/MIT-LICENSE
+ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
 
 %files
 %defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_name}-%{version}.gem
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_name}-%{version}/
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_name}-%{version}.gemspec
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_name}-%{version}/
+%{_docdir}/%{name}
+%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
+%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
+%exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
+%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+
+%files doc
+%defattr(-,root,root,-)
+%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+
+%files testsuite
+%defattr(-,root,root,-)
+%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-yajl-ruby for openSUSE:Factory

2012-07-30 Thread h_root
Hello community,

here is the log from the commit of package rubygem-yajl-ruby for 
openSUSE:Factory checked in at 2012-07-30 09:46:02

Comparing /work/SRC/openSUSE:Factory/rubygem-yajl-ruby (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new (New)


Package is "rubygem-yajl-ruby", Maintainer is "cth...@suse.com"

Changes:

New Changes file:

--- /dev/null   2012-07-29 18:28:42.219591462 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-yajl-ruby.new/rubygem-yajl-ruby.changes 
2012-07-30 09:46:30.0 +0200
@@ -0,0 +1,67 @@
+---
+Tue Jul 24 07:52:30 UTC 2012 - cfarr...@suse.com
+
+- license update: MIT and BSD-3-Clause
+  See data/LICENSE.txt (MIT) - also numerous files are BSD-3-Clause
+  licensed
+
+---
+Tue Jul 10 19:08:56 UTC 2012 - ja...@suse.de
+
+- Add provides for rubygem-yajl-ruby-1 and rubygem-yajl-ruby-1_1 
+
+---
+Wed Apr  4 13:20:49 UTC 2012 - co...@suse.com
+
+- remove .c and .h files to avoid rpmlint exodus
+
+---
+Tue Apr  3 08:36:33 UTC 2012 - co...@suse.com
+
+- update to 1.1
+  * fix compilation due to a "bug" in gcc-llvm on 10.7.2
+  * fix gemspec so ruby 1.8.6 or later is required
+
+  * add deprecation notice for Yajl's Bzip2 support
+  * add deprecation notice for Yajl's Deflate support
+  * add deprecation notice for Yajl's Gzip support
+  * add deprecation notice for Yajl's JSON gem compatibility API
+  * add deprecation notice for Yajl::HttpStream
+  * change the path the extension is copied into to be 'lib/yajl'
+  * remove 'ext' from the loadpath
+  
+  * fix bug where Yajl::HttpStream wouldn't pass through a user-specified 
socket
+  * fix incorrect Ruby initialization hook method name
+  * Bump bundled YAJL version to 1.0.12
+  * fix to correctly symbolize multibyte characters on 1.9
+  * add `:headers` option to Yajl::HttpStream for user-specified arbitrary 
headers
+  
+  * define RSTRING_NOT_MODIFIED for rbx to prevent string caching, making 
things A LOT faster (100x)
+  
+  * fixed a retart bug where Yajl::VERSION wasn't defined when explicitly 
requiring yajl/http_stream
+  
+  * added a new html_safe option to Yajl::Encoder to escape '/' characters for 
use in the DOM
+  * moved away from Jeweler to a Bundler/manual gemfile management setup
+  
+  * moved to rspec2
+  * fixed some compilation warnings on 1.9.3
+  * brought over latest from Yajl upstream
+  * finally removed the deprecated Yajl::Stream methods
+  * moved to rake-compiler
+  * moved to Bundler for development
+  * fix memory corruption bug when using :pretty => true and a custom indent 
string
+  * fixed memory leak when exceptions were being raised during a parse
+  
+  * fix a bug in chunked http response regex (thanks to http://github.com/kevn 
for catching this)
+  * Make sure json compability doesn't break ActiveSupport#to_json
+  * fix improper usage of rb_define_method
+  
+  * full string encoding support for 1.9, respecting Encoding.default_internal
+  * refactor the #to_json function bodies into a C macro
+  * some misc code cleanup in the benchmark scripts
+
+---
+Thu Jul  1 10:22:33 UTC 2010 - mrueck...@suse.de
+
+- initial package
+

New:

  rubygem-yajl-ruby.changes
  rubygem-yajl-ruby.spec
  yajl-ruby-1.1.0.gem



Other differences:
--
++ rubygem-yajl-ruby.spec ++
#
# spec file for package rubygem-yajl-ruby
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   rubygem-yajl-ruby
Version:1.1.0
Release:0
%define mod_name yajl-ruby
#
#
Provides:   rubygem-%{mod_name}-1   = %{version}
Provides:   rubygem-%{mod_name}-1_1 = %{version}
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  rubygems_with_buildroot_patch
%rubygems_requires
#
Url:http://github.com/brianmario/yajl-ruby
Source: %{mod_name}-%{version}.gem
#
Su