commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2020-10-05 19:32:51 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.4249 (New) Package is "rubygem-rack-oauth2" Mon Oct 5 19:32:51 2020 rev:11 rq:838068 version:1.16.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2020-05-11 13:39:28.784881872 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.4249/rubygem-rack-oauth2.changes 2020-10-05 19:33:01.321175536 +0200 @@ -1,0 +2,6 @@ +Fri Sep 25 14:42:16 UTC 2020 - Stephan Kulow + +updated to version 1.16.0 + no changelog found + +--- Old: rack-oauth2-1.12.0.gem New: rack-oauth2-1.16.0.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.gpbZ7n/_old 2020-10-05 19:33:02.309179703 +0200 +++ /var/tmp/diff_new_pack.gpbZ7n/_new 2020-10-05 19:33:02.313179720 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-rack-oauth2 -Version:1.12.0 +Version:1.16.0 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} ++ rack-oauth2-1.12.0.gem -> rack-oauth2-1.16.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2020-03-25 09:56:53.0 +0100 +++ new/.travis.yml 2020-07-17 04:08:36.0 +0200 @@ -2,6 +2,6 @@ - gem install bundler rvm: - - 2.3.6 - - 2.4.3 - - 2.5.0 + - 2.5.8 + - 2.6.6 + - 2.7.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/README.rdoc new/README.rdoc --- old/README.rdoc 2020-03-25 09:56:53.0 +0100 +++ new/README.rdoc 2020-07-17 04:08:36.0 +0200 @@ -28,17 +28,11 @@ === Bearer -Running on Heroku -https://rack-oauth2-sample.heroku.com - Source on GitHub https://github.com/nov/rack-oauth2-sample === MAC -Running on Heroku -https://rack-oauth2-sample-mac.heroku.com - Source on GitHub https://github.com/nov/rack-oauth2-sample-mac diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2020-03-25 09:56:53.0 +0100 +++ new/VERSION 2020-07-17 04:08:36.0 +0200 @@ -1 +1 @@ -1.12.0 +1.16.0 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 2020-03-25 09:56:53.0 +0100 +++ new/lib/rack/oauth2/client.rb 2020-07-17 04:08:36.0 +0200 @@ -16,12 +16,12 @@ end def authorization_uri(params = {}) +params[:redirect_uri] ||= self.redirect_uri params[:response_type] ||= :code params[:response_type] = Array(params[:response_type]).join(' ') params[:scope] = Array(params[:scope]).join(' ') Util.redirect_uri absolute_uri_for(authorization_endpoint), :query, params.merge( - client_id: self.identifier, - redirect_uri: self.redirect_uri + client_id: self.identifier ) end @@ -73,17 +73,20 @@ http_client = Rack::OAuth2.http_client # NOTE: -# Using Array#estract_options! for backward compatibility. +# Using Array#extract_options! for backward compatibility. # Until v1.0.5, the first argument was 'client_auth_method' in scalar. options = args.extract_options! -client_auth_method = args.first || options.delete(:client_auth_method) || :basic +client_auth_method = args.first || options.delete(:client_auth_method).try(:to_sym) || :basic params[:scope] = Array(options.delete(:scope)).join(' ') if options[:scope].present? params.merge! options case client_auth_method when :basic - cred = ["#{identifier}:#{secret}"].pack('m').tr("\n", '') + cred = Base64.strict_encode64 [ +Util.www_form_url_encode(identifier), +Util.www_form_url_encode(secret) + ].join(':') headers.merge!( 'Authorization' => "Basic #{cred}" ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/oauth2/server/rails/response_ext.rb new/lib/rack/oauth2/server/rails/response_ext.rb --- old/lib/rack/oauth2/server/rails/response_ext.rb2020-03-25 09:56:53.0 +0100 +++
commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2020-05-11 13:39:26 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.2738 (New) Package is "rubygem-rack-oauth2" Mon May 11 13:39:26 2020 rev:10 rq:802365 version:1.12.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2020-03-07 21:39:34.520326306 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.2738/rubygem-rack-oauth2.changes 2020-05-11 13:39:28.784881872 +0200 @@ -1,0 +2,6 @@ +Thu May 7 21:18:08 UTC 2020 - Stephan Kulow + +- updated to version 1.12.0 + no changelog found + +--- Old: rack-oauth2-1.10.1.gem New: rack-oauth2-1.12.0.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.cbG5xN/_old 2020-05-11 13:39:29.432883230 +0200 +++ /var/tmp/diff_new_pack.cbG5xN/_new 2020-05-11 13:39:29.436883238 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-rack-oauth2 -Version:1.10.1 +Version:1.12.0 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} ++ rack-oauth2-1.10.1.gem -> rack-oauth2-1.12.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2019-11-15 02:58:45.0 +0100 +++ new/VERSION 2020-03-25 09:56:53.0 +0100 @@ -1 +1 @@ -1.10.1 \ No newline at end of file +1.12.0 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/util.rb new/lib/rack/oauth2/util.rb --- old/lib/rack/oauth2/util.rb 2019-11-15 02:58:45.0 +0100 +++ new/lib/rack/oauth2/util.rb 2020-03-25 09:56:53.0 +0100 @@ -35,11 +35,12 @@ def redirect_uri(base_uri, location, params) redirect_uri = parse_uri base_uri + encoded_response_params = Util.compact_hash(params).to_query.gsub('+', '%20') case location when :query -redirect_uri.query = [redirect_uri.query, Util.compact_hash(params).to_query].compact.join('&') +redirect_uri.query = [redirect_uri.query, encoded_response_params].compact.join('&') when :fragment -redirect_uri.fragment = Util.compact_hash(params).to_query +redirect_uri.fragment = encoded_response_params end redirect_uri.to_s end @@ -59,4 +60,4 @@ end end end -end \ No newline at end of file +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2019-11-15 02:58:45.0 +0100 +++ new/metadata2020-03-25 09:56:53.0 +0100 @@ -1,29 +1,29 @@ --- !ruby/object:Gem::Specification name: rack-oauth2 version: !ruby/object:Gem::Version - version: 1.10.1 + version: 1.12.0 platform: ruby authors: - nov matake autorequire: bindir: bin cert_chain: [] -date: 2019-11-15 00:00:00.0 Z +date: 2020-03-25 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rack requirement: !ruby/object:Gem::Requirement requirements: -- - ">=" +- - "<" - !ruby/object:Gem::Version -version: '0' +version: '2.1' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: -- - ">=" +- - "<" - !ruby/object:Gem::Version -version: '0' +version: '2.1' - !ruby/object:Gem::Dependency name: httpclient requirement: !ruby/object:Gem::Requirement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rack-oauth2.gemspec new/rack-oauth2.gemspec --- old/rack-oauth2.gemspec 2019-11-15 02:58:45.0 +0100 +++ new/rack-oauth2.gemspec 2020-03-25 09:56:53.0 +0100 @@ -13,7 +13,7 @@ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } s.files = `git ls-files`.split("\n") s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") - s.add_runtime_dependency 'rack' + s.add_runtime_dependency 'rack', '< 2.1' s.add_runtime_dependency 'httpclient' s.add_runtime_dependency 'activesupport' s.add_runtime_dependency 'attr_required' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/spec/rack/oauth2/client_spec.rb new/spec/rack/oauth2/client_spec.rb --- old/spec/rack/oauth2/client_spec.rb
commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2020-03-07 21:39:27 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.26092 (New) Package is "rubygem-rack-oauth2" Sat Mar 7 21:39:27 2020 rev:9 rq:773837 version:1.10.1 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2019-08-06 15:10:31.331770536 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.26092/rubygem-rack-oauth2.changes 2020-03-07 21:39:34.520326306 +0100 @@ -1,0 +2,6 @@ +Mon Feb 10 15:28:34 UTC 2020 - Stephan Kulow + +- updated to version 1.10.1 + no changelog found + +--- Old: rack-oauth2-1.10.0.gem New: rack-oauth2-1.10.1.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.JGAPPh/_old 2020-03-07 21:39:35.352326868 +0100 +++ /var/tmp/diff_new_pack.JGAPPh/_new 2020-03-07 21:39:35.356326872 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rack-oauth2 # -# 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-rack-oauth2 -Version:1.10.0 +Version:1.10.1 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} @@ -33,7 +33,7 @@ BuildRequires: %{rubygem rdoc > 3.10} BuildRequires: %{ruby} BuildRequires: ruby-macros >= 5 -Url:http://github.com/nov/rack-oauth2 +URL:http://github.com/nov/rack-oauth2 Source: https://rubygems.org/gems/%{mod_full_name}.gem Source1:gem2rpm.yml Summary:OAuth 2.0 Server & Client Library - Both Bearer and MAC token type ++ rack-oauth2-1.10.0.gem -> rack-oauth2-1.10.1.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2019-06-06 11:24:50.0 +0200 +++ new/VERSION 2019-11-15 02:58:45.0 +0100 @@ -1 +1 @@ -1.10.0 \ No newline at end of file +1.10.1 \ 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/metadata new/metadata --- old/metadata2019-06-06 11:24:50.0 +0200 +++ new/metadata2019-11-15 02:58:45.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: rack-oauth2 version: !ruby/object:Gem::Version - version: 1.10.0 + version: 1.10.1 platform: ruby authors: - nov matake autorequire: bindir: bin cert_chain: [] -date: 2019-06-06 00:00:00.0 Z +date: 2019-11-15 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rack @@ -72,14 +72,14 @@ requirements: - - ">=" - !ruby/object:Gem::Version -version: 1.9.0 +version: 1.11.0 type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version -version: 1.9.0 +version: 1.11.0 - !ruby/object:Gem::Dependency name: rake requirement: !ruby/object:Gem::Requirement diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rack-oauth2.gemspec new/rack-oauth2.gemspec --- old/rack-oauth2.gemspec 2019-06-06 11:24:50.0 +0200 +++ new/rack-oauth2.gemspec 2019-11-15 02:58:45.0 +0100 @@ -17,7 +17,7 @@ s.add_runtime_dependency 'httpclient' s.add_runtime_dependency 'activesupport' s.add_runtime_dependency 'attr_required' - s.add_runtime_dependency 'json-jwt', '>= 1.9.0' + s.add_runtime_dependency 'json-jwt', '>= 1.11.0' s.add_development_dependency 'rake' s.add_development_dependency 'simplecov' s.add_development_dependency 'rspec'
commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2019-08-06 15:10:30 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.4126 (New) Package is "rubygem-rack-oauth2" Tue Aug 6 15:10:30 2019 rev:8 rq:717318 version:1.10.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2018-12-04 20:57:07.752666398 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.4126/rubygem-rack-oauth2.changes 2019-08-06 15:10:31.331770536 +0200 @@ -1,0 +2,6 @@ +Fri Jul 19 09:31:01 UTC 2019 - Stephan Kulow + +- updated to version 1.10.0 + no changelog found + +--- Old: rack-oauth2-1.9.3.gem New: rack-oauth2-1.10.0.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.lsNzFO/_old 2019-08-06 15:10:31.947770251 +0200 +++ /var/tmp/diff_new_pack.lsNzFO/_new 2019-08-06 15:10:31.947770251 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rack-oauth2 # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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-rack-oauth2 -Version:1.9.3 +Version:1.10.0 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} ++ rack-oauth2-1.9.3.gem -> rack-oauth2-1.10.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2018-10-29 07:45:48.0 +0100 +++ new/VERSION 2019-06-06 11:24:50.0 +0200 @@ -1 +1 @@ -1.9.3 +1.10.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/rack/oauth2/access_token.rb new/lib/rack/oauth2/access_token.rb --- old/lib/rack/oauth2/access_token.rb 2018-10-29 07:45:48.0 +0100 +++ new/lib/rack/oauth2/access_token.rb 2019-06-06 11:24:50.0 +0200 @@ -2,7 +2,7 @@ module OAuth2 class AccessToken include AttrRequired, AttrOptional - attr_required :access_token, :token_type, :httpclient + attr_required :access_token, :token_type attr_optional :refresh_token, :expires_in, :scope attr_accessor :raw_attributes delegate :get, :patch, :post, :put, :delete, to: :httpclient @@ -15,10 +15,13 @@ end @raw_attributes = attributes @token_type = self.class.name.demodulize.underscore.to_sym -@httpclient = Rack::OAuth2.http_client("#{self.class} (#{VERSION})") do |config| +attr_missing! + end + + def httpclient +@httpclient ||= Rack::OAuth2.http_client("#{self.class} (#{VERSION})") do |config| config.request_filter << Authenticator.new(self) end -attr_missing! end def token_response(options = {}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2018-10-29 07:45:48.0 +0100 +++ new/metadata2019-06-06 11:24:50.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: rack-oauth2 version: !ruby/object:Gem::Version - version: 1.9.3 + version: 1.10.0 platform: ruby authors: - nov matake autorequire: bindir: bin cert_chain: [] -date: 2018-10-29 00:00:00.0 Z +date: 2019-06-06 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rack @@ -301,8 +301,7 @@ - !ruby/object:Gem::Version version: '0' requirements: [] -rubyforge_project: -rubygems_version: 2.7.6 +rubygems_version: 3.0.3 signing_key: specification_version: 4 summary: OAuth 2.0 Server & Client Library - Both Bearer and MAC token type are supported
commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2018-12-04 20:57:07 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.19453 (New) Package is "rubygem-rack-oauth2" Tue Dec 4 20:57:07 2018 rev:7 rq:653708 version:1.9.3 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2018-07-18 22:52:11.367309176 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new.19453/rubygem-rack-oauth2.changes 2018-12-04 20:57:07.752666398 +0100 @@ -1,0 +2,6 @@ +Thu Nov 22 05:30:16 UTC 2018 - Stephan Kulow + +- updated to version 1.9.3 + no changelog found + +--- Old: rack-oauth2-1.9.2.gem New: rack-oauth2-1.9.3.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.MnwsfB/_old 2018-12-04 20:57:08.07041 +0100 +++ /var/tmp/diff_new_pack.MnwsfB/_new 2018-12-04 20:57:08.080666036 +0100 @@ -12,7 +12,7 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ # Name: rubygem-rack-oauth2 -Version:1.9.2 +Version:1.9.3 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} ++ rack-oauth2-1.9.2.gem -> rack-oauth2-1.9.3.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2018-04-27 12:00:23.0 +0200 +++ new/VERSION 2018-10-29 07:45:48.0 +0100 @@ -1 +1 @@ -1.9.2 \ No newline at end of file +1.9.3 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/access_token/bearer.rb new/lib/rack/oauth2/access_token/bearer.rb --- old/lib/rack/oauth2/access_token/bearer.rb 2018-04-27 12:00:23.0 +0200 +++ new/lib/rack/oauth2/access_token/bearer.rb 2018-10-29 07:45:48.0 +0100 @@ -5,7 +5,14 @@ def authenticate(request) request.header["Authorization"] = "Bearer #{access_token}" end + +def to_mtls(attributes = {}) + (required_attributes + optional_attributes).each do |key| +attributes[key] = self.send(key) + end + MTLS.new attributes +end end end end -end \ No newline at end of file +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/oauth2/access_token/mtls.rb new/lib/rack/oauth2/access_token/mtls.rb --- old/lib/rack/oauth2/access_token/mtls.rb1970-01-01 01:00:00.0 +0100 +++ new/lib/rack/oauth2/access_token/mtls.rb2018-10-29 07:45:48.0 +0100 @@ -0,0 +1,16 @@ +module Rack + module OAuth2 +class AccessToken + class MTLS < Bearer +attr_required :private_key, :certificate + +def initialize(attributes = {}) + super + self.token_type = :bearer + httpclient.ssl_config.client_key = private_key + httpclient.ssl_config.client_cert = certificate +end + end +end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/oauth2/access_token.rb new/lib/rack/oauth2/access_token.rb --- old/lib/rack/oauth2/access_token.rb 2018-04-27 12:00:23.0 +0200 +++ new/lib/rack/oauth2/access_token.rb 2018-10-29 07:45:48.0 +0100 @@ -38,3 +38,4 @@ require 'rack/oauth2/access_token/bearer' require 'rack/oauth2/access_token/mac' require 'rack/oauth2/access_token/legacy' +require 'rack/oauth2/access_token/mtls' 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-04-27 12:00:23.0 +0200 +++ new/lib/rack/oauth2/client.rb 2018-10-29 07:45:48.0 +0100 @@ -3,7 +3,7 @@ class Client include AttrRequired, AttrOptional attr_required :identifier - attr_optional :secret, :private_key, :redirect_uri, :scheme, :host, :port, :authorization_endpoint, :token_endpoint + attr_optional :secret, :private_key, :certificate, :redirect_uri, :scheme, :host, :port, :authorization_endpoint, :token_endpoint def initialize(attributes = {}) (required_attributes +
commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2018-07-18 22:50:52 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new (New) Package is "rubygem-rack-oauth2" Wed Jul 18 22:50:52 2018 rev:6 rq:621026 version:1.9.2 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2018-02-27 16:58:07.267688098 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new/rubygem-rack-oauth2.changes 2018-07-18 22:52:11.367309176 +0200 @@ -1,0 +2,12 @@ +Fri Apr 27 11:15:40 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.9.2 + no changelog found + +--- +Tue Mar 20 10:14:44 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.9.1 + no changelog found + +--- Old: rack-oauth2-1.9.0.gem New: rack-oauth2-1.9.2.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.GC2X0a/_old 2018-07-18 22:52:11.767307850 +0200 +++ /var/tmp/diff_new_pack.GC2X0a/_new 2018-07-18 22:52:11.771307837 +0200 @@ -24,7 +24,7 @@ # Name: rubygem-rack-oauth2 -Version:1.9.0 +Version:1.9.2 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} ++ rack-oauth2-1.9.0.gem -> rack-oauth2-1.9.2.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2018-02-23 04:35:00.0 +0100 +++ new/VERSION 2018-04-27 12:00:23.0 +0200 @@ -1 +1 @@ -1.9.0 +1.9.2 \ 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/rack/oauth2/server/authorize.rb new/lib/rack/oauth2/server/authorize.rb --- old/lib/rack/oauth2/server/authorize.rb 2018-02-23 04:35:00.0 +0100 +++ new/lib/rack/oauth2/server/authorize.rb 2018-04-27 12:00:23.0 +0200 @@ -78,7 +78,7 @@ class Response < Abstract::Response attr_required :redirect_uri - attr_optional :state, :approval + attr_optional :state, :session_state, :approval def initialize(request) @state = request.state @@ -94,7 +94,7 @@ end def protocol_params -{state: state} +{state: state, session_state: session_state} end def redirect_uri_with_credentials diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/oauth2/util.rb new/lib/rack/oauth2/util.rb --- old/lib/rack/oauth2/util.rb 2018-02-23 04:35:00.0 +0100 +++ new/lib/rack/oauth2/util.rb 2018-04-27 12:00:23.0 +0200 @@ -13,7 +13,7 @@ end def urlsafe_base64_encode(text) - Base64.urlsafe_encode64(text).delete('=') + Base64.urlsafe_encode64(text, padding: false) end def compact_hash(hash) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2018-02-23 04:35:00.0 +0100 +++ new/metadata2018-04-27 12:00:23.0 +0200 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: rack-oauth2 version: !ruby/object:Gem::Version - version: 1.9.0 + version: 1.9.2 platform: ruby authors: - nov matake autorequire: bindir: bin cert_chain: [] -date: 2018-02-23 00:00:00.0 Z +date: 2018-04-27 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rack @@ -301,7 +301,7 @@ version: '0' requirements: [] rubyforge_project: -rubygems_version: 2.6.11 +rubygems_version: 2.7.3 signing_key: specification_version: 4 summary: OAuth 2.0 Server & Client Library - Both Bearer and MAC token type are supported
commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2018-02-27 16:58:04 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new (New) Package is "rubygem-rack-oauth2" Tue Feb 27 16:58:04 2018 rev:5 rq:579859 version:1.9.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2018-02-22 15:02:37.489617971 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new/rubygem-rack-oauth2.changes 2018-02-27 16:58:07.267688098 +0100 @@ -1,0 +2,12 @@ +Fri Feb 23 05:32:08 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.9.0 + no changelog found + +--- +Thu Feb 22 05:31:18 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.8.2 + no changelog found + +--- Old: rack-oauth2-1.8.1.gem New: rack-oauth2-1.9.0.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.zUDD48/_old 2018-02-27 16:58:08.411646765 +0100 +++ /var/tmp/diff_new_pack.zUDD48/_new 2018-02-27 16:58:08.415646621 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-rack-oauth2 -Version:1.8.1 +Version:1.9.0 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} ++ rack-oauth2-1.8.1.gem -> rack-oauth2-1.9.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Gemfile new/Gemfile --- old/Gemfile 2018-02-20 05:43:39.0 +0100 +++ new/Gemfile 2018-02-23 04:35:00.0 +0100 @@ -1,7 +1,7 @@ -source 'http://rubygems.org' +source 'https://rubygems.org' platforms :jruby do gem 'jruby-openssl', '>= 0.7' end -gemspec \ No newline at end of file +gemspec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2018-02-20 05:43:39.0 +0100 +++ new/VERSION 2018-02-23 04:35:00.0 +0100 @@ -1 +1 @@ -1.8.1 +1.9.0 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-20 05:43:39.0 +0100 +++ new/lib/rack/oauth2/client.rb 2018-02-23 04:35:00.0 +0100 @@ -3,7 +3,7 @@ class Client include AttrRequired, AttrOptional attr_required :identifier - attr_optional :secret, :redirect_uri, :scheme, :host, :port, :authorization_endpoint, :token_endpoint + attr_optional :secret, :private_key, :redirect_uri, :scheme, :host, :port, :authorization_endpoint, :token_endpoint def initialize(attributes = {}) (required_attributes + optional_attributes).each do |key| @@ -90,6 +90,18 @@ params.merge!( client_assertion_type: URN::ClientAssertionType::JWT_BEARER ) + # NOTE: optionally auto-generate client_assertion. + if params[:client_assertion].blank? +require 'json/jwt' +params[:client_assertion] = JSON::JWT.new( + iss: identifier, + sub: identifier, + aud: absolute_uri_for(token_endpoint), + jti: SecureRandom.hex(16), + iat: Time.now, + exp: 3.minutes.from_now +).sign(private_key || secret).to_s + end when :saml2_bearer params.merge!( client_assertion_type: URN::ClientAssertionType::SAML2_BEARER diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata2018-02-20 05:43:39.0 +0100 +++ new/metadata2018-02-23 04:35:00.0 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: rack-oauth2 version: !ruby/object:Gem::Version - version: 1.8.1 + version: 1.9.0 platform: ruby authors: - nov matake autorequire: bindir: bin cert_chain: [] -date: 2018-02-20 00:00:00.0 Z +date: 2018-02-23 00:00:00.0 Z dependencies: - !ruby/object:Gem::Dependency name: rack @@ -16,70 +16,84 @@ requirements: - - ">=" - !ruby/object:Gem::Version -version: '1.1' +version: '0' type: :runtime prerelease: false version_requirements: !ruby/object:Gem::Requirement requirements: - - ">=" - !ruby/object:Gem::Version -version: '1.1' +version: '0' - !ruby/object:Gem::Dependency name: httpclient
commit rubygem-rack-oauth2 for openSUSE:Factory
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 - factory-a...@kulow.org + +- 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.0 +0100 +++ new/VERSION 2018-02-20 05:43:39.0 +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.0 +0100 +++ new/lib/rack/oauth2/client.rb 2018-02-20 05:43:39.0 +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/metadata2018-02-14 10:30:10.0 +0100 +++ new/metadata2018-02-20 05:43:39.0 +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.0 Z +date: 2018-02-20 00:00:00.0 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
commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2018-02-18 11:44:57 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new (New) Package is "rubygem-rack-oauth2" Sun Feb 18 11:44:57 2018 rev:3 rq:577557 version:1.8.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2018-02-14 09:28:39.069939234 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new/rubygem-rack-oauth2.changes 2018-02-18 11:45:03.555796196 +0100 @@ -1,0 +2,12 @@ +Thu Feb 15 05:33:33 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.8.0 + no changelog found + +--- +Wed Feb 14 05:31:37 UTC 2018 - factory-a...@kulow.org + +- updated to version 1.7.1 + no changelog found + +--- Old: rack-oauth2-1.7.0.gem New: rack-oauth2-1.8.0.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.sqW5Nf/_old 2018-02-18 11:45:06.055706452 +0100 +++ /var/tmp/diff_new_pack.sqW5Nf/_new 2018-02-18 11:45:06.059706309 +0100 @@ -24,7 +24,7 @@ # Name: rubygem-rack-oauth2 -Version:1.7.0 +Version:1.8.0 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} ++ rack-oauth2-1.7.0.gem -> rack-oauth2-1.8.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2017-12-26 02:35:40.0 +0100 +++ new/.travis.yml 2018-02-14 10:30:10.0 +0100 @@ -2,5 +2,6 @@ - gem install bundler rvm: - - 2.3.5 - - 2.4.2 + - 2.3.6 + - 2.4.3 + - 2.5.0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2017-12-26 02:35:40.0 +0100 +++ new/VERSION 2018-02-14 10:30:10.0 +0100 @@ -1 +1 @@ -1.7.0 +1.8.0 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 2017-12-26 02:35:40.0 +0100 +++ new/lib/rack/oauth2/client.rb 2018-02-14 10:30:10.0 +0100 @@ -64,6 +64,10 @@ ) end + def force_token_type!(token_type) +@forced_token_type = token_type.to_s + end + def access_token!(*args) headers, params = {}, @grant.as_json @@ -118,8 +122,8 @@ end def handle_success_response(response) -token_hash = parse_json response.body -case token_hash[:token_type].try(:downcase) +token_hash = JSON.parse(response.body).with_indifferent_access +case (@forced_token_type || token_hash[:token_type]).try(:downcase) when 'bearer' AccessToken::Bearer.new(token_hash) when 'mac' @@ -129,22 +133,17 @@ else raise 'Unknown Token Type' end - rescue MultiJson::DecodeError + rescue JSON::ParserError # NOTE: Facebook support (They don't use JSON as token response) AccessToken::Legacy.new Rack::Utils.parse_nested_query(response.body).with_indifferent_access end def handle_error_response(response) -error = parse_json response.body +error = JSON.parse(response.body).with_indifferent_access raise Error.new(response.status, error) - rescue MultiJson::DecodeError + rescue JSON::ParserError raise Error.new(response.status, error: 'Unknown', error_description: response.body) end - - def parse_json(raw_json) -# MultiJson.parse('') returns nil when using MultiJson::Adapters::JsonGem -MultiJson.load(raw_json).try(:with_indifferent_access) || {} - end end end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/oauth2/server/abstract/error.rb new/lib/rack/oauth2/server/abstract/error.rb --- old/lib/rack/oauth2/server/abstract/error.rb2017-12-26 02:35:40.0 +0100 +++ new/lib/rack/oauth2/server/abstract/error.rb2018-02-14 10:30:10.0 +0100 @@ -28,7 +28,7 @@ yield response if block_given? unless response.redirect? response.header['Content-Type'] = 'application/json' - response.write MultiJson.dump(Util.compact_hash(protocol_params)) + response.write
commit rubygem-rack-oauth2 for openSUSE:Factory
Hello community, here is the log from the commit of package rubygem-rack-oauth2 for openSUSE:Factory checked in at 2018-02-14 09:28:27 Comparing /work/SRC/openSUSE:Factory/rubygem-rack-oauth2 (Old) and /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new (New) Package is "rubygem-rack-oauth2" Wed Feb 14 09:28:27 2018 rev:2 rq:574087 version:1.7.0 Changes: --- /work/SRC/openSUSE:Factory/rubygem-rack-oauth2/rubygem-rack-oauth2.changes 2018-01-10 23:32:00.960897930 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rack-oauth2.new/rubygem-rack-oauth2.changes 2018-02-14 09:28:39.069939234 +0100 @@ -1,0 +2,6 @@ +Tue Jan 9 07:41:43 UTC 2018 - co...@suse.com + +- updated to version 1.7.0 + no changelog found + +--- Old: rack-oauth2-1.6.4.gem New: rack-oauth2-1.7.0.gem Other differences: -- ++ rubygem-rack-oauth2.spec ++ --- /var/tmp/diff_new_pack.NpZPmX/_old 2018-02-14 09:28:40.213897779 +0100 +++ /var/tmp/diff_new_pack.NpZPmX/_new 2018-02-14 09:28:40.213897779 +0100 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rack-oauth2 # -# 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-rack-oauth2 -Version:1.6.4 +Version:1.7.0 Release:0 %define mod_name rack-oauth2 %define mod_full_name %{mod_name}-%{version} ++ rack-oauth2-1.6.4.gem -> rack-oauth2-1.7.0.gem ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.travis.yml new/.travis.yml --- old/.travis.yml 2017-10-19 03:48:38.0 +0200 +++ new/.travis.yml 2017-12-26 02:35:40.0 +0100 @@ -2,7 +2,5 @@ - gem install bundler rvm: - - 2.2.2 - - 2.2.6 - - 2.3.3 - - 2.4.0 \ No newline at end of file + - 2.3.5 + - 2.4.2 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/VERSION new/VERSION --- old/VERSION 2017-10-19 03:48:38.0 +0200 +++ new/VERSION 2017-12-26 02:35:40.0 +0100 @@ -1 +1 @@ -1.6.4 \ No newline at end of file +1.7.0 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 2017-10-19 03:48:38.0 +0200 +++ new/lib/rack/oauth2/client.rb 2017-12-26 02:35:40.0 +0100 @@ -76,18 +76,16 @@ params[:scope] = Array(options.delete(:scope)).join(' ') if options[:scope].present? params.merge! options -if secret - if client_auth_method == :basic -cred = ["#{identifier}:#{secret}"].pack('m').tr("\n", '') -headers.merge!( - 'Authorization' => "Basic #{cred}" -) - else -params.merge!( - client_id: identifier, - client_secret: secret -) - end +if client_auth_method == :basic + cred = ["#{identifier}:#{secret}"].pack('m').tr("\n", '') + headers.merge!( +'Authorization' => "Basic #{cred}" + ) +else + params.merge!( +client_id: identifier, +client_secret: secret + ) end handle_response do Rack::OAuth2.http_client.post( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/rack/oauth2/server/abstract/error.rb new/lib/rack/oauth2/server/abstract/error.rb --- old/lib/rack/oauth2/server/abstract/error.rb2017-10-19 03:48:38.0 +0200 +++ new/lib/rack/oauth2/server/abstract/error.rb2017-12-26 02:35:40.0 +0100 @@ -53,13 +53,13 @@ end class ServerError < Error - def initialize(error = :forbidden, description = nil, options = {}) + def initialize(error = :server_error, description = nil, options = {}) super 500, error, description, options end end class TemporarilyUnavailable < Error - def initialize(error = :forbidden, description = nil, options = {}) + def initialize(error = :temporarily_unavailable, description = nil, options = {}) super 503, error, description, options end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata