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 <[email protected]>
+
+- 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.000000000 +0100
+++ new/VERSION 2020-03-25 09:56:53.000000000 +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.000000000 +0100
+++ new/lib/rack/oauth2/util.rb 2020-03-25 09:56:53.000000000 +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/metadata 2019-11-15 02:58:45.000000000 +0100
+++ new/metadata 2020-03-25 09:56:53.000000000 +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.000000000 Z
+date: 2020-03-25 00:00:00.000000000 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.000000000 +0100
+++ new/rack-oauth2.gemspec 2020-03-25 09:56:53.000000000 +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 2019-11-15 02:58:45.000000000 +0100
+++ new/spec/rack/oauth2/client_spec.rb 2020-03-25 09:56:53.000000000 +0100
@@ -49,12 +49,12 @@
context 'when response_type is an Array' do
subject { client.authorization_uri(response_type: [:token, :code]) }
- it { should include 'response_type=token+code' }
+ it { should include 'response_type=token%20code' }
end
context 'when scope is given' do
subject { client.authorization_uri(scope: [:scope1, :scope2]) }
- it { should include 'scope=scope1+scope2' }
+ it { should include 'scope=scope1%20scope2' }
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/rack/oauth2/server/authorize/code_spec.rb
new/spec/rack/oauth2/server/authorize/code_spec.rb
--- old/spec/rack/oauth2/server/authorize/code_spec.rb 2019-11-15
02:58:45.000000000 +0100
+++ new/spec/rack/oauth2/server/authorize/code_spec.rb 2020-03-25
09:56:53.000000000 +0100
@@ -51,7 +51,7 @@
error: :access_denied,
error_description:
Rack::OAuth2::Server::Authorize::ErrorMethods::DEFAULT_DESCRIPTION[:access_denied]
}
- response.location.should ==
"#{redirect_uri}?#{error_message.to_query}&state=state"
+ response.location.should ==
"#{redirect_uri}?#{error_message.to_query.gsub('+', '%20')}&state=state"
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/spec/rack/oauth2/server/authorize/extensions/code_and_token_spec.rb
new/spec/rack/oauth2/server/authorize/extensions/code_and_token_spec.rb
--- old/spec/rack/oauth2/server/authorize/extensions/code_and_token_spec.rb
2019-11-15 02:58:45.000000000 +0100
+++ new/spec/rack/oauth2/server/authorize/extensions/code_and_token_spec.rb
2020-03-25 09:56:53.000000000 +0100
@@ -54,7 +54,7 @@
error: :access_denied,
error_description:
Rack::OAuth2::Server::Authorize::ErrorMethods::DEFAULT_DESCRIPTION[:access_denied]
}
- response.location.should == "#{redirect_uri}##{error_message.to_query}"
+ response.location.should ==
"#{redirect_uri}##{error_message.to_query.gsub('+', '%20')}"
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/rack/oauth2/server/authorize/token_spec.rb
new/spec/rack/oauth2/server/authorize/token_spec.rb
--- old/spec/rack/oauth2/server/authorize/token_spec.rb 2019-11-15
02:58:45.000000000 +0100
+++ new/spec/rack/oauth2/server/authorize/token_spec.rb 2020-03-25
09:56:53.000000000 +0100
@@ -67,7 +67,7 @@
error: :access_denied,
error_description:
Rack::OAuth2::Server::Authorize::ErrorMethods::DEFAULT_DESCRIPTION[:access_denied]
}
- response.location.should ==
"#{redirect_uri}##{error_message.to_query}&state=state"
+ response.location.should ==
"#{redirect_uri}##{error_message.to_query.gsub('+', '%20')}&state=state"
end
end
end