Hello community,
here is the log from the commit of package rubygem-rack-oauth2 for
openSUSE:Factory checked in at 2018-02-22 15:02:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old)
and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rack-oauth2"
Thu Feb 22 15:02:36 2018 rev:4 rq:578891 version:1.8.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes
2018-02-18 11:45:03.555796196 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new/rubygem-rack-oauth2.changes
2018-02-22 15:02:37.489617971 +0100
@@ -1,0 +2,6 @@
+Tue Feb 20 05:30:21 UTC 2018 - [email protected]
+
+- updated to version 1.8.1
+ no changelog found
+
+-------------------------------------------------------------------
Old:
----
rack-oauth2-1.8.0.gem
New:
----
rack-oauth2-1.8.1.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-rack-oauth2.spec ++++++
--- /var/tmp/diff_new_pack.SJT1Hq/_old 2018-02-22 15:02:38.861568618 +0100
+++ /var/tmp/diff_new_pack.SJT1Hq/_new 2018-02-22 15:02:38.865568474 +0100
@@ -24,7 +24,7 @@
#
Name: rubygem-rack-oauth2
-Version: 1.8.0
+Version: 1.8.1
Release: 0
%define mod_name rack-oauth2
%define mod_full_name %{mod_name}-%{version}
++++++ rack-oauth2-1.8.0.gem -> rack-oauth2-1.8.1.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/VERSION new/VERSION
--- old/VERSION 2018-02-14 10:30:10.000000000 +0100
+++ new/VERSION 2018-02-20 05:43:39.000000000 +0100
@@ -1 +1 @@
-1.8.0
+1.8.1
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/rack/oauth2/client.rb
new/lib/rack/oauth2/client.rb
--- old/lib/rack/oauth2/client.rb 2018-02-14 10:30:10.000000000 +0100
+++ new/lib/rack/oauth2/client.rb 2018-02-20 05:43:39.000000000 +0100
@@ -80,11 +80,20 @@
params[:scope] = Array(options.delete(:scope)).join(' ') if
options[:scope].present?
params.merge! options
- if client_auth_method == :basic
+ case client_auth_method
+ when :basic
cred = ["#{identifier}:#{secret}"].pack('m').tr("\n", '')
headers.merge!(
'Authorization' => "Basic #{cred}"
)
+ when :jwt_bearer
+ params.merge!(
+ client_assertion_type: URN::ClientAssertionType::JWT_BEARER
+ )
+ when :saml2_bearer
+ params.merge!(
+ client_assertion_type: URN::ClientAssertionType::SAML2_BEARER
+ )
else
params.merge!(
client_id: identifier,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2018-02-14 10:30:10.000000000 +0100
+++ new/metadata 2018-02-20 05:43:39.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: rack-oauth2
version: !ruby/object:Gem::Version
- version: 1.8.0
+ version: 1.8.1
platform: ruby
authors:
- nov matake
autorequire:
bindir: bin
cert_chain: []
-date: 2018-02-14 00:00:00.000000000 Z
+date: 2018-02-20 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rack
@@ -287,7 +287,7 @@
version: 1.3.6
requirements: []
rubyforge_project:
-rubygems_version: 2.6.11
+rubygems_version: 2.6.13
signing_key:
specification_version: 4
summary: OAuth 2.0 Server & Client Library - Both Bearer and MAC token type
are supported