Hello community,
here is the log from the commit of package rubygem-multi_json for
openSUSE:Factory checked in at 2018-02-12 10:15:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-multi_json (Old)
and /work/SRC/openSUSE:Factory/.rubygem-multi_json.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-multi_json"
Mon Feb 12 10:15:05 2018 rev:35 rq:574945 version:1.13.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-multi_json/rubygem-multi_json.changes
2017-09-12 19:56:51.066791916 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-multi_json.new/rubygem-multi_json.changes
2018-02-12 10:15:11.637550696 +0100
@@ -1,0 +2,22 @@
+Thu Feb 8 07:50:45 UTC 2018 - [email protected]
+
+- updated to version 1.13.1
+ see installed CHANGELOG.md
+
+ 1.13.1
+ ------
+
+ * [Fix missing stdlib set dependency in oj
adapter](https://github.com/intridea/multi_json/commit/c4ff66e7bee6fb4f45e54429813d7fada1c152b8)
+
+ 1.13.0
+ -----
+
+ * [Make Oj adapter handle JSON::ParseError
correctly](https://github.com/intridea/multi_json/commit/275e3ffd8169797c510d23d9ef5b8b07e64c3b42)
+
+-------------------------------------------------------------------
+Tue Jan 9 07:36:26 UTC 2018 - [email protected]
+
+- updated to version 1.13.0
+ see installed CHANGELOG.md
+
+-------------------------------------------------------------------
Old:
----
multi_json-1.12.2.gem
New:
----
multi_json-1.13.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-multi_json.spec ++++++
--- /var/tmp/diff_new_pack.pa6r1h/_old 2018-02-12 10:15:12.525518698 +0100
+++ /var/tmp/diff_new_pack.pa6r1h/_new 2018-02-12 10:15:12.529518553 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-multi_json
#
-# 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-multi_json
-Version: 1.12.2
+Version: 1.13.1
Release: 0
%define mod_name multi_json
%define mod_full_name %{mod_name}-%{version}
++++++ multi_json-1.12.2.gem -> multi_json-1.13.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2017-09-05 06:51:47.000000000 +0200
+++ new/CHANGELOG.md 2018-01-10 22:10:13.000000000 +0100
@@ -1,3 +1,13 @@
+1.13.1
+------
+
+* [Fix missing stdlib set dependency in oj
adapter](https://github.com/intridea/multi_json/commit/c4ff66e7bee6fb4f45e54429813d7fada1c152b8)
+
+1.13.0
+-----
+
+* [Make Oj adapter handle JSON::ParseError
correctly](https://github.com/intridea/multi_json/commit/275e3ffd8169797c510d23d9ef5b8b07e64c3b42)
+
1.12.2
------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2017-09-05 06:51:47.000000000 +0200
+++ new/README.md 2018-01-10 22:10:13.000000000 +0100
@@ -5,11 +5,6 @@
[][gemnasium]
[][codeclimate]
-[gem]: https://rubygems.org/gems/multi_json
-[travis]: http://travis-ci.org/intridea/multi_json
-[gemnasium]: https://gemnasium.com/intridea/multi_json
-[codeclimate]: https://codeclimate.com/github/intridea/multi_json
-
Lots of Ruby libraries parse JSON and everyone has their favorite JSON coder.
Instead of choosing a single JSON coder and forcing users of your library to be
stuck with it, you can use MultiJSON instead, which will simply choose the
@@ -51,17 +46,15 @@
then the JSON gem, then JSON pure. If no other JSON library is available,
MultiJSON falls back to [OkJson][], a simple, vendorable JSON parser.
-[okjson]: https://github.com/kr/okjson
-
## Supported JSON Engines
-* [Oj](https://github.com/ohler55/oj) Optimized JSON by Peter Ohler
-* [Yajl](https://github.com/brianmario/yajl-ruby) Yet Another JSON Library by
Brian Lopez
-* [JSON](https://github.com/flori/json) The default JSON gem with C-extensions
(ships with Ruby 1.9)
-* [JSON Pure](https://github.com/flori/json) A Ruby variant of the JSON gem
-*
[NSJSONSerialization](https://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSJSONSerialization_Class/Reference/Reference.html)
Wrapper for Apple's NSJSONSerialization in the Cocoa Framework (MacRuby only)
-* [gson.rb](https://github.com/avsej/gson.rb) A Ruby wrapper for google-gson
library (JRuby only)
-* [JrJackson](https://github.com/guyboertje/jrjackson) JRuby wrapper for
Jackson (JRuby only)
+* [Oj][oj] Optimized JSON by Peter Ohler
+* [Yajl][yajl] Yet Another JSON Library by Brian Lopez
+* [JSON][json-gem] The default JSON gem with C-extensions (ships with Ruby
1.9+)
+* [JSON Pure][json-gem] A Ruby variant of the JSON gem
+* [NSJSONSerialization][nsjson] Wrapper for Apple's NSJSONSerialization in the
Cocoa Framework (MacRuby only)
+* [gson.rb][gson] A Ruby wrapper for google-gson library (JRuby only)
+* [JrJackson][jrjackson] JRuby wrapper for Jackson (JRuby only)
* [OkJson][okjson] A simple, vendorable JSON parser
## Supported Ruby Versions
@@ -72,18 +65,14 @@
* Ruby 1.9.2
* Ruby 1.9.3
* Ruby 2.0.0
-* Ruby 2.1
-* Ruby 2.2.4
-* Ruby 2.3.1
-* Ruby 2.4.0
+* Ruby 2.1.10
+* Ruby 2.2.9
+* Ruby 2.4.3
+* Ruby 2.5.0
* [JRuby][]
* [Rubinius][]
* [MacRuby][] (not tested on Travis CI)
-[jruby]: http://www.jruby.org/
-[rubinius]: http://rubini.us/
-[macruby]: http://www.macruby.org/
-
If something doesn't work in one of these implementations, it's a bug.
This library may inadvertently work (or seem to work) on other Ruby
@@ -112,11 +101,25 @@
spec.add_dependency 'multi_json', '~> 1.0'
```
-[semver]: http://semver.org/
-[pvc]: http://docs.rubygems.org/read/chapter/16#page74
-
## Copyright
-Copyright (c) 2010-2013 Michael Bleigh, Josh Kalderimis, Erik Michaels-Ober,
+Copyright (c) 2010-2018 Michael Bleigh, Josh Kalderimis, Erik Michaels-Ober,
and Pavel Pravosud. See [LICENSE][] for details.
+[codeclimate]: https://codeclimate.com/github/intridea/multi_json
+[gem]: https://rubygems.org/gems/multi_json
+[gemnasium]: https://gemnasium.com/intridea/multi_json
+[gson]: https://github.com/avsej/gson.rb
+[jrjackson]: https://github.com/guyboertje/jrjackson
+[jruby]: http://www.jruby.org/
+[json-gem]: https://github.com/flori/json
+[json-pure]: https://github.com/flori/json
[license]: LICENSE.md
+[macruby]: http://www.macruby.org/
+[nsjson]:
https://developer.apple.com/library/ios/#documentation/Foundation/Reference/NSJSONSerialization_Class/Reference/Reference.html
+[oj]: https://github.com/ohler55/oj
+[okjson]: https://github.com/kr/okjson
+[pvc]: http://docs.rubygems.org/read/chapter/16#page74
+[rubinius]: http://rubini.us/
+[semver]: http://semver.org/
+[travis]: http://travis-ci.org/intridea/multi_json
+[yajl]: https://github.com/brianmario/yajl-ruby
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
Binary files old/checksums.yaml.gz.sig and new/checksums.yaml.gz.sig differ
Binary files old/data.tar.gz.sig and new/data.tar.gz.sig differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/multi_json/adapters/oj.rb
new/lib/multi_json/adapters/oj.rb
--- old/lib/multi_json/adapters/oj.rb 2017-09-05 06:51:47.000000000 +0200
+++ new/lib/multi_json/adapters/oj.rb 2018-01-10 22:10:13.000000000 +0100
@@ -1,3 +1,4 @@
+require 'set'
require 'oj'
require 'multi_json/adapter'
@@ -8,7 +9,25 @@
defaults :load, :mode => :strict, :symbolize_keys => false
defaults :dump, :mode => :compat, :time_format => :ruby, :use_to_json =>
true
- ParseError = defined?(::Oj::ParseError) ? ::Oj::ParseError : SyntaxError
+ # In certain cases OJ gem may throw JSON::ParserError exception instead
+ # of its own class. Also, we can't expect ::JSON::ParserError and
+ # ::Oj::ParseError to always be defined, since it's often not the case.
+ # Because of this, we can't reference those classes directly and have to
+ # do string comparison instead. This will not catch subclasses, but it
+ # shouldn't be a problem since the library is not known to be using it
+ # (at least for now).
+ class ParseError < ::SyntaxError
+ WRAPPED_CLASSES = %w[Oj::ParseError JSON::ParserError].to_set.freeze
+
+ def self.===(exception)
+ case exception
+ when ::SyntaxError
+ true
+ else
+ WRAPPED_CLASSES.include?(exception.class.to_s)
+ end
+ end
+ end
def load(string, options = {})
options[:symbol_keys] = options[:symbolize_keys]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/multi_json/version.rb
new/lib/multi_json/version.rb
--- old/lib/multi_json/version.rb 2017-09-05 06:51:47.000000000 +0200
+++ new/lib/multi_json/version.rb 2018-01-10 22:10:13.000000000 +0100
@@ -1,8 +1,8 @@
module MultiJson
class Version
MAJOR = 1 unless defined? MultiJson::Version::MAJOR
- MINOR = 12 unless defined? MultiJson::Version::MINOR
- PATCH = 2 unless defined? MultiJson::Version::PATCH
+ MINOR = 13 unless defined? MultiJson::Version::MINOR
+ PATCH = 1 unless defined? MultiJson::Version::PATCH
PRE = nil unless defined? MultiJson::Version::PRE
class << self
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2017-09-05 06:51:47.000000000 +0200
+++ new/metadata 2018-01-10 22:10:13.000000000 +0100
@@ -1,7 +1,7 @@
--- !ruby/object:Gem::Specification
name: multi_json
version: !ruby/object:Gem::Version
- version: 1.12.2
+ version: 1.13.1
platform: ruby
authors:
- Michael Bleigh
@@ -13,27 +13,27 @@
cert_chain:
- |
-----BEGIN CERTIFICATE-----
- MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MQ4wDAYDVQQDDAVwYXZl
- bDEYMBYGCgmSJomT8ixkARkWCHByYXZvc3VkMRMwEQYKC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oewvfU2u5E1kTY9nGnnTngKaw0Zh1VN6yexwv1FIOBXAaAYclVTfbEEzBqHLK/
+ 80mUboJWH2DXpWM6JCwGR7Blt2Zsfp172JjwW75/VQwPndKZDCkjTN/7MbHgvUQR
+ X7myOZyY2pB6iYleyWB68zhOnqbtf/3ZYS8vfSd1M5qt8TzmgR4VdbogpEr4wRV6
+ KG+kpw==
-----END CERTIFICATE-----
-date: 2017-09-05 00:00:00.000000000 Z
+date: 2018-01-10 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: bundler
@@ -103,9 +103,8 @@
version: 1.3.5
requirements: []
rubyforge_project:
-rubygems_version: 2.6.13
+rubygems_version: 2.6.14
signing_key:
specification_version: 4
summary: A common interface to multiple JSON libraries.
test_files: []
-has_rdoc:
Binary files old/metadata.gz.sig and new/metadata.gz.sig differ