Hello community,

here is the log from the commit of package rubygem-json-jwt for 
openSUSE:Factory checked in at 2020-03-07 21:38:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-json-jwt (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-json-jwt.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-json-jwt"

Sat Mar  7 21:38:35 2020 rev:6 rq:773778 version:1.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-json-jwt/rubygem-json-jwt.changes        
2019-08-06 15:09:52.043791074 +0200
+++ 
/work/SRC/openSUSE:Factory/.rubygem-json-jwt.new.26092/rubygem-json-jwt.changes 
    2020-03-07 21:38:38.244288308 +0100
@@ -1,0 +2,6 @@
+Mon Feb 10 15:01:10 UTC 2020 - Stephan Kulow <co...@suse.com>
+
+- updated to version 1.11.0
+  no changelog found
+
+-------------------------------------------------------------------

Old:
----
  json-jwt-1.10.2.gem

New:
----
  json-jwt-1.11.0.gem

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

Other differences:
------------------
++++++ rubygem-json-jwt.spec ++++++
--- /var/tmp/diff_new_pack.G4A2cK/_old  2020-03-07 21:38:38.756288653 +0100
+++ /var/tmp/diff_new_pack.G4A2cK/_new  2020-03-07 21:38:38.780288670 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-json-jwt
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # 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-json-jwt
-Version:        1.10.2
+Version:        1.11.0
 Release:        0
 %define mod_name json-jwt
 %define mod_full_name %{mod_name}-%{version}
@@ -32,7 +32,7 @@
 BuildRequires:  %{ruby >= 2.3}
 BuildRequires:  %{rubygem gem2rpm}
 BuildRequires:  ruby-macros >= 5
-Url:            https://github.com/nov/json-jwt
+URL:            https://github.com/nov/json-jwt
 Source:         https://rubygems.org/gems/%{mod_full_name}.gem
 Source1:        gem2rpm.yml
 Summary:        JSON Web Token and its family (JSON Web Signature, JSON Web

++++++ json-jwt-1.10.2.gem -> json-jwt-1.11.0.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2019-06-27 11:36:25.000000000 +0200
+++ new/VERSION 2019-11-11 15:31:40.000000000 +0100
@@ -1 +1 @@
-1.10.2
\ No newline at end of file
+1.11.0
\ No newline at end of file
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/json/jwe.rb new/lib/json/jwe.rb
--- old/lib/json/jwe.rb 2019-06-27 11:36:25.000000000 +0200
+++ new/lib/json/jwe.rb 2019-11-11 15:31:40.000000000 +0100
@@ -254,7 +254,7 @@
           raise InvalidFormat.new("Invalid JWE Format. JWE should include 
#{NUM_OF_SEGMENTS} segments.")
         end
         jwe = new
-        _header_json_, jwe.jwe_encrypted_key, jwe.iv, jwe.cipher_text, 
jwe.authentication_tag = input.split('.').collect do |segment|
+        _header_json_, jwe.jwe_encrypted_key, jwe.iv, jwe.cipher_text, 
jwe.authentication_tag = input.split('.', NUM_OF_SEGMENTS).collect do |segment|
           begin
             Base64.urlsafe_decode64 segment
           rescue ArgumentError
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/json/jws.rb new/lib/json/jws.rb
--- old/lib/json/jws.rb 2019-06-27 11:36:25.000000000 +0200
+++ new/lib/json/jws.rb 2019-11-11 15:31:40.000000000 +0100
@@ -179,7 +179,7 @@
         unless input.count('.') + 1 == NUM_OF_SEGMENTS
           raise InvalidFormat.new("Invalid JWS Format. JWS should include 
#{NUM_OF_SEGMENTS} segments.")
         end
-        header, claims, signature = input.split('.', 
JWS::NUM_OF_SEGMENTS).collect do |segment|
+        header, claims, signature = input.split('.', NUM_OF_SEGMENTS).collect 
do |segment|
           Base64.urlsafe_decode64 segment.to_s
         end
         header = JSON.parse(header).with_indifferent_access
@@ -191,7 +191,7 @@
         jws = new claims
         jws.header = header
         jws.signature = signature
-        jws.signature_base_string = input.split('.')[0, JWS::NUM_OF_SEGMENTS - 
1].join('.')
+        jws.signature_base_string = input.split('.')[0, NUM_OF_SEGMENTS - 
1].join('.')
         jws.verify! public_key_or_secret, algorithms unless 
public_key_or_secret == :skip_verification
         jws
       end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata        2019-06-27 11:36:25.000000000 +0200
+++ new/metadata        2019-11-11 15:31:40.000000000 +0100
@@ -1,14 +1,14 @@
 --- !ruby/object:Gem::Specification
 name: json-jwt
 version: !ruby/object:Gem::Version
-  version: 1.10.2
+  version: 1.11.0
 platform: ruby
 authors:
 - nov matake
 autorequire: 
 bindir: bin
 cert_chain: []
-date: 2019-06-27 00:00:00.000000000 Z
+date: 2019-11-11 00:00:00.000000000 Z
 dependencies:
 - !ruby/object:Gem::Dependency
   name: activesupport


Reply via email to