Hello community,

here is the log from the commit of package rubygem-json_pure for 
openSUSE:Factory checked in at 2017-01-25 23:27:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-json_pure (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-json_pure.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-json_pure"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-json_pure/rubygem-json_pure.changes      
2016-08-25 09:55:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-json_pure.new/rubygem-json_pure.changes 
2017-01-25 23:27:43.343092392 +0100
@@ -1,0 +2,11 @@
+Sat Jan 14 05:33:40 UTC 2017 - [email protected]
+
+- updated to version 2.0.3
+ see installed CHANGES.md
+
+  
+  ## 2017-01-12 (2.0.3)
+   * Set `required_ruby_version` to 1.9
+   * Some small fixes
+
+-------------------------------------------------------------------

Old:
----
  json_pure-2.0.2.gem

New:
----
  json_pure-2.0.3.gem

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

Other differences:
------------------
++++++ rubygem-json_pure.spec ++++++
--- /var/tmp/diff_new_pack.Yz0dXY/_old  2017-01-25 23:27:43.703038132 +0100
+++ /var/tmp/diff_new_pack.Yz0dXY/_new  2017-01-25 23:27:43.707037529 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-json_pure
 #
-# 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
@@ -24,13 +24,12 @@
 #
 
 Name:           rubygem-json_pure
-Version:        2.0.2
+Version:        2.0.3
 Release:        0
 %define mod_name json_pure
 %define mod_full_name %{mod_name}-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  %{ruby < 3}
-BuildRequires:  %{ruby => 2.0}
+BuildRequires:  %{ruby >= 1.9}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  %{rubygem rdoc > 3.10}
 BuildRequires:  ruby-macros >= 5

++++++ json_pure-2.0.2.gem -> json_pure-2.0.3.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      2016-07-26 13:11:27.000000000 +0200
+++ new/.gitignore      2017-01-12 15:19:09.000000000 +0100
@@ -14,3 +14,4 @@
 .DS_Store
 */**/Makefile
 */**/*.o
+.byebug_history
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml     2016-07-26 13:11:27.000000000 +0200
+++ new/.travis.yml     2017-01-12 15:19:09.000000000 +0100
@@ -4,17 +4,16 @@
 
 # Specify which ruby versions you wish to run your tests on, each version will 
be used
 rvm:
+  - 1.9.3
   - 2.0.0
   - 2.1
   - 2.2
-  - 2.3.1
+  - 2.3.3
+  - 2.4.0
+  - jruby
   - ruby-head
 matrix:
-  include:
-    - rvm: jruby
-      env: JRUBY_OPTS="--2.0"
   allow_failures:
-    - rvm: rbx-2
     - rvm: ruby-head
 script: "bundle exec rake"
 sudo: false
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CHANGES.md new/CHANGES.md
--- old/CHANGES.md      2016-07-26 13:11:27.000000000 +0200
+++ new/CHANGES.md      2017-01-12 15:19:09.000000000 +0100
@@ -1,11 +1,16 @@
 # Changes
 
+
+## 2017-01-12 (2.0.3)
+ * Set `required_ruby_version` to 1.9
+ * Some small fixes
+
 ## 2016-07-26 (2.0.2)
   * Specify `required_ruby_version` for json\_pure.
   * Fix issue #295 failure when parsing frozen strings.
 
 ## 2016-07-01 (2.0.1)
-  * Fix problem when requiring json\_pure and Parser constant was defiend top
+  * Fix problem when requiring json\_pure and Parser constant was defined top
     level.
   * Add `RB_GC_GUARD` to avoid possible GC problem via Pete Johns.
   * Store `current_nesting` on stack by Aaron Patterson.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Gemfile new/Gemfile
--- old/Gemfile 2016-07-26 13:11:27.000000000 +0200
+++ new/Gemfile 2017-01-12 15:19:09.000000000 +0100
@@ -2,8 +2,15 @@
 
 source 'https://rubygems.org'
 
-gemspec :name => 'json'
-gemspec :name => 'json_pure'
-gemspec :name => 'json-java'
+case ENV['JSON']
+when 'ext', nil
+  if ENV['RUBY_ENGINE'] == 'jruby'
+    gemspec :name => 'json', :path => 'java'
+  else
+    gemspec :name => 'json'
+  end
+when 'pure'
+  gemspec :name => 'json_pure'
+end
 
 gem 'simplecov'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md       2016-07-26 13:11:27.000000000 +0200
+++ new/README.md       2017-01-12 15:19:09.000000000 +0100
@@ -115,7 +115,7 @@
 
 ```ruby
 document = JSON 'test'  => 23 # => "{\"test\":23}"
-document = JSON['test'] => 23 # => "{\"test\":23}"
+document = JSON['test' => 23] # => "{\"test\":23}"
 ```
 
 and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Rakefile new/Rakefile
--- old/Rakefile        2016-07-26 13:11:27.000000000 +0200
+++ new/Rakefile        2017-01-12 15:19:09.000000000 +0100
@@ -95,7 +95,7 @@
     s.email = "[email protected]"
     s.homepage = "http://flori.github.com/#{PKG_NAME}";
     s.license = 'Ruby'
-    s.required_ruby_version = '~> 2.0'
+    s.required_ruby_version = '>= 1.9'
   end
 
   desc 'Creates a json_pure.gemspec file'
@@ -133,7 +133,7 @@
     s.email = "[email protected]"
     s.homepage = "http://flori.github.com/#{PKG_NAME}";
     s.license = 'Ruby'
-    s.required_ruby_version = '~> 2.0'
+    s.required_ruby_version = '>= 1.9'
   end
 
   desc 'Creates a json.gemspec file'
@@ -200,13 +200,11 @@
 end
 
 if defined?(RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
-  if ENV.key?('JAVA_HOME')
-    warn " *** JAVA_HOME was set to #{ENV['JAVA_HOME'].inspect}"
-  elsif File.directory?(local_java = '/usr/local/java/jdk') ||
-    File.directory?(local_java = '/usr/lib/jvm/java-6-openjdk')
-  then
-    ENV['JAVA_HOME'] = local_java
-  end
+  ENV['JAVA_HOME'] ||= [
+    '/usr/local/java/jdk',
+    '/usr/lib/jvm/java-6-openjdk',
+    '/Library/Java/Home',
+  ].find { |c| File.directory?(c) }
   if ENV['JAVA_HOME']
     warn " *** JAVA_HOME is set to #{ENV['JAVA_HOME'].inspect}"
     ENV['PATH'] = ENV['PATH'].split(/:/).unshift(java_path = 
"#{ENV['JAVA_HOME']}/bin") * ':'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2016-07-26 13:11:27.000000000 +0200
+++ new/VERSION 2017-01-12 15:19:09.000000000 +0100
@@ -1 +1 @@
-2.0.2
+2.0.3
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/json/ext/parser/parser.c 
new/ext/json/ext/parser/parser.c
--- old/ext/json/ext/parser/parser.c    2016-07-26 13:11:27.000000000 +0200
+++ new/ext/json/ext/parser/parser.c    2017-01-12 15:19:09.000000000 +0100
@@ -1675,7 +1675,7 @@
     }
     FORCE_UTF8(source);
   } else {
-    source = rb_str_conv_enc(source, NULL, rb_utf8_encoding());
+    source = rb_str_conv_enc(source, rb_enc_get(source), rb_utf8_encoding());
   }
 #endif
     return source;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ext/json/ext/parser/parser.rl 
new/ext/json/ext/parser/parser.rl
--- old/ext/json/ext/parser/parser.rl   2016-07-26 13:11:27.000000000 +0200
+++ new/ext/json/ext/parser/parser.rl   2017-01-12 15:19:09.000000000 +0100
@@ -570,7 +570,7 @@
     }
     FORCE_UTF8(source);
   } else {
-    source = rb_str_conv_enc(source, NULL, rb_utf8_encoding());
+    source = rb_str_conv_enc(source, rb_enc_get(source), rb_utf8_encoding());
   }
 #endif
     return source;
Binary files old/json.gemspec and new/json.gemspec differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/json_pure.gemspec new/json_pure.gemspec
--- old/json_pure.gemspec       2016-07-26 13:11:27.000000000 +0200
+++ new/json_pure.gemspec       2017-01-12 15:19:09.000000000 +0100
@@ -1,14 +1,14 @@
 # -*- encoding: utf-8 -*-
-# stub: json_pure 2.0.2 ruby lib
+# stub: json_pure 2.0.3 ruby lib
 
 Gem::Specification.new do |s|
   s.name = "json_pure".freeze
-  s.version = "2.0.2"
+  s.version = "2.0.3"
 
   s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if 
s.respond_to? :required_rubygems_version=
   s.require_paths = ["lib".freeze]
   s.authors = ["Florian Frank".freeze]
-  s.date = "2016-07-26"
+  s.date = "2017-01-12"
   s.description = "This is a JSON implementation in pure Ruby.".freeze
   s.email = "[email protected]".freeze
   s.extra_rdoc_files = ["README.md".freeze]
@@ -16,8 +16,8 @@
   s.homepage = "http://flori.github.com/json".freeze
   s.licenses = ["Ruby".freeze]
   s.rdoc_options = ["--title".freeze, "JSON implemention for ruby".freeze, 
"--main".freeze, "README.md".freeze]
-  s.required_ruby_version = Gem::Requirement.new("~> 2.0".freeze)
-  s.rubygems_version = "2.6.4".freeze
+  s.required_ruby_version = Gem::Requirement.new(">= 1.9".freeze)
+  s.rubygems_version = "2.6.8".freeze
   s.summary = "JSON Implementation for Ruby".freeze
   s.test_files = ["./tests/test_helper.rb".freeze]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/json/add/ostruct.rb new/lib/json/add/ostruct.rb
--- old/lib/json/add/ostruct.rb 2016-07-26 13:11:27.000000000 +0200
+++ new/lib/json/add/ostruct.rb 2017-01-12 15:19:09.000000000 +0100
@@ -7,7 +7,7 @@
 class OpenStruct
 
   # Deserializes JSON string by constructing new Struct object with values
-  # <tt>v</tt> serialized by <tt>to_json</tt>.
+  # <tt>t</tt> serialized by <tt>to_json</tt>.
   def self.json_create(object)
     new(object['t'] || object[:t])
   end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/json/version.rb new/lib/json/version.rb
--- old/lib/json/version.rb     2016-07-26 13:11:27.000000000 +0200
+++ new/lib/json/version.rb     2017-01-12 15:19:09.000000000 +0100
@@ -1,7 +1,7 @@
 # frozen_string_literal: false
 module JSON
   # JSON version
-  VERSION         = '2.0.2'
+  VERSION         = '2.0.3'
   VERSION_ARRAY   = VERSION.split(/\./).map { |x| x.to_i } # :nodoc:
   VERSION_MAJOR   = VERSION_ARRAY[0] # :nodoc:
   VERSION_MINOR   = VERSION_ARRAY[1] # :nodoc:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2016-07-26 13:11:27.000000000 +0200
+++ new/metadata        2017-01-12 15:19:09.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: json_pure
 version: !ruby/object:Gem::Version
-  version: 2.0.2
+  version: 2.0.3
 platform: ruby
 authors:
 - Florian Frank
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2016-07-26 00:00:00.000000000 Z
+date: 2017-01-12 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: rake
@@ -167,9 +167,9 @@
 - lib
 required_ruby_version: !ruby/object:Gem::Requirement
   requirements:
-  - - "~>"
+  - - ">="
     - !ruby/object:Gem::Version
-      version: '2.0'
+      version: '1.9'
 required_rubygems_version: !ruby/object:Gem::Requirement
   requirements:
   - - ">="
@@ -177,7 +177,7 @@
       version: '0'
 requirements: []
 rubyforge_project: 
-rubygems_version: 2.6.4
+rubygems_version: 2.6.8
 signing_key: 
 specification_version: 4
 summary: JSON Implementation for Ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tests/json_generator_test.rb 
new/tests/json_generator_test.rb
--- old/tests/json_generator_test.rb    2016-07-26 13:11:27.000000000 +0200
+++ new/tests/json_generator_test.rb    2017-01-12 15:19:09.000000000 +0100
@@ -277,12 +277,13 @@
   if defined?(JSON::Ext::Generator)
     def test_broken_bignum # [ruby-core:38867]
       pid = fork do
-        Bignum.class_eval do
+        x = 1 << 64
+        x.class.class_eval do
           def to_s
           end
         end
         begin
-          JSON::Ext::Generator::State.new.generate(1<<64)
+          JSON::Ext::Generator::State.new.generate(x)
           exit 1
         rescue TypeError
           exit 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tests/test_helper.rb new/tests/test_helper.rb
--- old/tests/test_helper.rb    2016-07-26 13:11:27.000000000 +0200
+++ new/tests/test_helper.rb    2017-01-12 15:19:09.000000000 +0100
@@ -1,5 +1,3 @@
-gem 'json', File.read('VERSION').chomp
-
 case ENV['JSON']
 when 'pure'
   $:.unshift 'lib'


Reply via email to